Skip to content

Add percentile rank to puzzle score displays#1511

Open
tphummel wants to merge 1 commit intomainfrom
ai/add-percentile-rank-to-puzzles
Open

Add percentile rank to puzzle score displays#1511
tphummel wants to merge 1 commit intomainfrom
ai/add-percentile-rank-to-puzzles

Conversation

@tphummel
Copy link
Owner

Summary

  • add a partial to calculate puzzle score percentiles across all recorded puzzles
  • surface the percentile next to the puzzle score on single puzzle pages and in the recent puzzles list

Testing

  • hugo --minify

https://chatgpt.com/codex/tasks/task_e_68d75f605a8c8323b39cba2a8fd0d532

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 27, 2025

Deploying wordle with  Cloudflare Pages  Cloudflare Pages

Latest commit: a00714c
Status: ✅  Deploy successful!
Preview URL: https://3a7c5148.wordle-static.pages.dev
Branch Preview URL: https://ai-add-percentile-rank-to-pu.wordle-static.pages.dev

View logs

@github-actions
Copy link

Hugo Build Profile
Start building sites … 
hugo v0.148.1-98ba786f2f5dca0866f47ab79f394370bcb77d2f linux/amd64 BuildDate=2025-07-11T12:56:21Z VendorInfo=gohugoio


Template Metrics:

     cumulative       average       maximum         
       duration      duration      duration  count  template
     ----------      --------      --------  -----  --------
 8m37.51121861s   384.19541ms  599.601934ms   1347  w/single.html
3m27.845373016s  153.731784ms  312.482456ms   1352  _partials/puzzle-score-percentile.html
2m56.431784894s      95.168µs   52.546062ms  1853885  _partials/puzzle-score.html
1m21.963181401s      43.846µs   46.267641ms  1869312  _partials/guess-count.html
 1m8.923674405s     140.186µs   40.065105ms  491656  _partials/puzzle-hash.html
  23.480316186s     670.444µs    44.88175ms  35022  _partials/letter-counts.html
  22.681696959s   16.838676ms   56.220213ms   1347  _partials/by-month-day.html
  21.745194101s  21.745194101s  21.745194101s      1  index.html
  20.455226494s  659.846015ms  5.480879382s     31  single.html
  10.360375009s  5.180187504s  5.393595402s      2  _partials/non-openers.html
   5.479934436s  5.479934436s  5.479934436s      1  _inline_shortcode/non-opener-usage/om.inline
   5.230262343s  5.230262343s  5.230262343s      1  index.p8s.txt
   5.110513417s    3.785565ms  1.729299674s   1350  _partials/alphabet-pangrams.html
   4.333589923s    3.210066ms  2.048457876s   1350  _partials/front-half-alphabet-pangrams.html
   4.176101478s    3.093408ms   1.90682629s   1350  _partials/back-half-alphabet-pangrams.html
   3.795095252s    2.811181ms  1.520713389s   1350  _partials/single-letter-guesses.html
   3.682079217s    1.764292ms   28.538258ms   2087  taxonomy/word.html
    3.42885151s     2.53989ms  1.383040939s   1350  _partials/all-vowels-plus-y.html
   3.405271272s    2.522423ms  1.330165042s   1350  _partials/all-vowels.html
   2.871704028s     374.651µs   67.755322ms   7665  rss.xml
   2.356942548s      224.15µs   23.836017ms  10515  _partials/emoji-grid.html
   2.316863745s     1.11014ms   15.593342ms   2087  _partials/word-scorecard.html
   2.104775052s   420.95501ms  449.265127ms      5  _partials/openers.html
   2.053021085s  2.053021085s  2.053021085s      1  _inline_shortcode/front-half-alphabet-pangrams/om.inline
    2.03593344s     308.147µs   21.362255ms   6607  _partials/guess-eval-counts.html
   1.909618509s  1.909618509s  1.909618509s      1  _inline_shortcode/back-half-alphabet-pangrams/om.inline
     1.8742653s  156.188775ms  332.879549ms     12  taxonomy/contest.html
   1.827847404s  1.827847404s  1.827847404s      1  _inline_shortcode/guesses/solve.inline
   1.733753704s    1.284262ms  510.431316ms   1350  _partials/no-green-before-solve.html
   1.523494559s  1.523494559s  1.523494559s      1  _inline_shortcode/single-letter-guesses/om.inline
   1.373509256s  1.373509256s  1.373509256s      1  _inline_shortcode/all-vowels-guessed/om.inline
   1.314616353s    1.000469ms    23.91711ms   1314  taxonomy/hash.html
   1.303926703s  1.303926703s  1.303926703s      1  _inline_shortcode/all-vowels-plus-y/om.inline
   1.199627821s     888.613µs  350.513715ms   1350  _partials/anagrams.html
   1.085456894s     804.042µs  392.966996ms   1350  _partials/homo-guesses-only.html
   952.517606ms     105.308µs   20.311524ms   9045  _partials/breadcrumb.html
   937.119677ms  937.119677ms  937.119677ms      1  _inline_shortcode/alphabet-pangrams/om.inline
   841.426074ms      623.74µs  336.911805ms   1349  _partials/true-anagrams.html
   722.423149ms     337.265µs  212.034943ms   2142  _partials/opener-double-misses.html
   680.684846ms     505.333µs   18.556273ms   1347  _partials/share-enhanced.html
   672.722405ms  672.722405ms  672.722405ms      1  w/list.html
   663.211848ms     492.362µs   20.920901ms   1347  _partials/puzzle-score-detail.html
   658.361348ms  658.361348ms  658.361348ms      1  taxonomy/word.terms.html
   651.865457ms     483.938µs   21.750557ms   1347  taxonomy/puzzle.html
   626.477888ms     464.057µs  227.959056ms   1350  _partials/symmetrical.html
    594.90629ms     215.858µs   18.648002ms   2756  term.html
   550.507043ms  550.507043ms  550.507043ms      1  taxonomy/hash.terms.html
   547.906331ms  547.906331ms  547.906331ms      1  _inline_shortcode/homogenous-guesses-only/om.inline
    512.99295ms   512.99295ms   512.99295ms      1  _inline_shortcode/no-green-before-solve/om.inline
   509.269807ms    4.315845ms   67.118919ms    118  taxonomy/openerhash.html
   482.581073ms     358.263µs   20.610598ms   1347  _partials/share-spoilers.html
   437.456308ms     324.763µs   20.751144ms   1347  _partials/share-standard.html
   429.731269ms   61.390181ms   259.01062ms      7  _partials/puzzles-by-hash.html
   427.765794ms  427.765794ms  427.765794ms      1  _inline_shortcode/openers/om.inline
   419.096553ms  419.096553ms  419.096553ms      1  _partials/hourly-breakdown.html
   397.081453ms  397.081453ms  397.081453ms      1  _inline_shortcode/collections/solve.inline
    344.68803ms     255.324µs  114.469067ms   1350  _partials/opener-misses.html
   340.354666ms  340.354666ms  340.354666ms      1  _inline_shortcode/true-anagrams/om.inline
   324.486427ms  324.486427ms  324.486427ms      1  _inline_shortcode/anagrams/om.inline
   303.400164ms  303.400164ms  303.400164ms      1  sitemap.xml
   302.601672ms   60.520334ms  117.163852ms      5  w/year.html
   300.208309ms     222.376µs   82.699318ms   1350  _partials/no-yellow-tiles.html
   253.807499ms   50.761499ms  105.575569ms      5  _partials/calendar-year.html
   220.638909ms  220.638909ms  220.638909ms      1  _inline_shortcode/opener-double-misses/om.inline
   212.371949ms  212.371949ms  212.371949ms      1  _inline_shortcode/solve-in-four/solve.inline
   191.260075ms  191.260075ms  191.260075ms      1  _inline_shortcode/solve-in-five/solve.inline
   185.166642ms  185.166642ms  185.166642ms      1  _inline_shortcode/solve-in-three/solve.inline
   184.635228ms  184.635228ms  184.635228ms      1  taxonomy/puzzle.terms.html
   162.273257ms  162.273257ms  162.273257ms      1  _inline_shortcode/no-yellow-tiles/om.inline
   159.722163ms     118.576µs     562.935µs   1347  _partials/tile-counts.html
    149.73406ms   149.73406ms   149.73406ms      1  _inline_shortcode/symmetrical/om.inline
    147.60413ms   147.60413ms   147.60413ms      1  _inline_shortcode/opener-misses/om.inline
   131.976662ms  131.976662ms  131.976662ms      1  taxonomy/shift.terms.html
    62.810421ms   62.810421ms   62.810421ms      1  _inline_shortcode/solve-in-six/solve.inline
     58.06803ms   29.034015ms   57.506394ms      2  _default/terms.html
    52.504938ms   26.252469ms   51.263923ms      2  a/single.html
    50.529595ms   50.529595ms   50.529595ms      1  _inline_shortcode/solve-in-two/solve.inline
    49.793051ms   49.793051ms   49.793051ms      1  _partials/streak-wins.html
    49.389741ms   49.389741ms   49.389741ms      1  _inline_shortcode/losses/solve.inline
    48.263073ms   48.263073ms   48.263073ms      1  _partials/streak-days-played-won.html
    45.436297ms    3.245449ms   22.140979ms     14  taxonomy/tag.html
     35.04126ms    35.04126ms    35.04126ms      1  _partials/streak-days-played.html
    25.976475ms   25.976475ms   25.976475ms      1  taxonomy/openerhash.terms.html
    24.035349ms   24.035349ms   24.035349ms      1  taxonomy/contest.terms.html
    18.550398ms      78.603µs     291.227µs    236  _partials/first-guess-emoji.html
    12.499081ms   12.499081ms   12.499081ms      1  _inline_shortcode/solve-in-one/solve.inline
     9.565482ms       6.941µs      88.767µs   1378  _partials/tag-list.html
     1.947467ms      19.872µs     136.537µs     98  alias.html
     1.474372ms     491.457µs    1.031779ms      3  list.html
      743.577µs      39.135µs      83.998µs     19  _shortcodes/relref.html
      356.712µs      50.958µs      98.846µs      7  _shortcodes/ref.html
       99.326µs      99.326µs      99.326µs      1  _partials/first-guess-hash.html
        1.042µs       1.042µs       1.042µs      1  _inline_shortcode/contests/2023-01-guide/contest.inline
          862ns         862ns         862ns      1  _inline_shortcode/contests/2023-04-lucky/contest.inline
          781ns         781ns         781ns      1  _inline_shortcode/contests/2023-03-ffa/contest.inline
          772ns         772ns         772ns      1  _inline_shortcode/contests/2023-02-orate/contest.inline
          741ns         741ns         741ns      1  _inline_shortcode/contest-form/contestForm.inline
          732ns         732ns         732ns      1  _inline_shortcode/contests/2023-06-squid/contest.inline
          701ns         701ns         701ns      1  _inline_shortcode/contests/2023-07-tiger/contest.inline
          671ns         671ns         671ns      1  _inline_shortcode/contests/2023-05-relay-mode/contest.inline


                │  EN   
──────────────────┼───────
Pages            │ 16713 
Paginator pages  │     0 
Non-page files   │  2264 
Static files     │    22 
Processed images │     0 
Aliases          │    98 
Cleaned          │     0 

Total in 158937 ms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant