diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..2e8fe9a --- /dev/null +++ b/.codespellrc @@ -0,0 +1,4 @@ +[codespell] +builtin = clear,rare,en-GB_to_en-US +skip = *.pdf,*.png,*.jpg,*.jpeg,*.gif,*.csv,*.tsv,*.json,*.geojson,*.graphml,*.ipynb,*.html,*.svg,*.bib,*.bbl,*.lock,*.parquet,*.rda,*.rds,*.RData,*.dta,*.xlsx,*.xml,*.min.js,*.map,*.log,*.aux,./renv +ignore-words-list = cancelled,colour,colours diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml new file mode 100644 index 0000000..cc542c0 --- /dev/null +++ b/.github/workflows/codespell.yml @@ -0,0 +1,18 @@ +name: codespell + +on: + push: + branches: [main] + pull_request: + +permissions: + contents: read + +jobs: + codespell: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: codespell-project/actions-codespell@e3258cca84ce02b0bb36a3d41f2c18f719a0cc1a # v2.4.3 diff --git a/README.md b/README.md index 55d0e99..45411e7 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Rendering reads the saved publication without fetching data or refitting models. ## Models Elo updates ratings after each completed match. Draws and ties count as half-results; -abandoned, cancelled, and no-result matches cause no update. The published Elo +abandoned, canceled, and no-result matches cause no update. The published Elo model selects K separately for each format using forecasts from the preceding five complete years. Each publication replays history with its selected K. It has no venue adjustment or uncertainty intervals. diff --git a/docs/correctness.md b/docs/correctness.md index edbeb9f..1e87383 100644 --- a/docs/correctness.md +++ b/docs/correctness.md @@ -15,7 +15,7 @@ The original winner assignment treated every result that was not a team-1 win as a team-2 win, except outcomes containing “drawn”. Across the men's international subsets, this affected **415 matches**: -| Format | No result / abandoned / cancelled | Tied | Total | +| Format | No result / abandoned / canceled | Tied | Total | | --- | ---: | ---: | ---: | | Test | 12 | 2 | 14 | | ODI | 273 | 39 | 312 | @@ -63,7 +63,7 @@ monthly extraction. Each of those choices is explicit in the manifest/README. The full Test history through October 24, 2026 contains 2,638 rated matches. Every update agrees exactly with `elo.seq()`. All 2,416 rated Tests shared with -the legacy dataset agree on outcomes; its 12 abandoned/cancelled Tests are not +the legacy dataset agree on outcomes; its 12 abandoned/canceled Tests are not listed in the annual results tables. The ODI overlap also exposes different identifier namespaces: for example, Africa XI is API ID 4058 in the legacy data and profile-link ID 213709 in the annual tables. An ID-only comparison across diff --git a/docs/methods.qmd b/docs/methods.qmd index bc3fc0f..7352f20 100644 --- a/docs/methods.qmd +++ b/docs/methods.qmd @@ -24,7 +24,7 @@ knitr::kable(settings, format = "html", escape = TRUE) ``` Draws and ties count as half-results. A regulation tie resolved by a tiebreaker -is treated as a tie when the source records it that way. Abandoned, cancelled, +is treated as a tie when the source records it that way. Abandoned, canceled, and no-result matches do not update either team's rating. The implementation is `r spec$implementation`, version `r spec$version`, from diff --git a/docs/pipeline.md b/docs/pipeline.md index b1c7b90..a388675 100644 --- a/docs/pipeline.md +++ b/docs/pipeline.md @@ -103,7 +103,7 @@ predictive performance. - Wins score 1 and losses 0. Draws and ties score 0.5 each. Matches recorded as tied are treated as ties even if a bowl-out or Super Over subsequently decided a winner. -- Abandoned, cancelled, and no-result matches cause no rating update. +- Abandoned, canceled, and no-result matches cause no rating update. - Each format has a separate pool. Results are ordered by completion date, start date, and match ID. The latter is a reproducible convention for same-day finishes, not a claim about their exact finish times.