Datasets:
Make release totals registry-driven
#29
by ppuzio - opened
make_docs.py counted every source that had a stats.json, so a source merged to main silently joined the "current release" and the README total row drifted one release behind (4,246,429 docs / 9,597.9M tokens, vs the actual v0.2.5 4,319,200 / 9,639.1M).
src/sources.py: each entry now recordsrelease(the version that admitted it, orNone) andadded(its real date, replacing the single globalADDEDstamp). Reproduces 11/12/13/16/17/18 sources for v0.2.0..v0.2.5.src/make_docs.py: release totals count only sources whosereleaseis set and not newer thanVERSION; the rest render under "on main, not yet released". Also preserves existing CRLF endings, orders versions numerically, and honourscustom_datasheetso hand-authored datasheets survive regeneration.README.md/CHANGELOG.md: corrected totals, plus an Unreleased section forwiktionary_examples,sejm_apiandparlamint_pl.src/verify_paper_claims.py(+ test): checks a paper's release/source tables against the registry, the growth-series literals and the per-sourcestats.json.AGENTS.md: how to push and open PRs on the Hub;release/addedin the add-a-source checklist.
ppuzio changed pull request status to open
Maggio33 changed pull request status to merged