Make release totals registry-driven

#29
by ppuzio - opened
Fabryka AI org

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 records release (the version that admitted it, or None) and added (its real date, replacing the single global ADDED stamp). Reproduces 11/12/13/16/17/18 sources for v0.2.0..v0.2.5.
  • src/make_docs.py: release totals count only sources whose release is set and not newer than VERSION; the rest render under "on main, not yet released". Also preserves existing CRLF endings, orders versions numerically, and honours custom_datasheet so hand-authored datasheets survive regeneration.
  • README.md / CHANGELOG.md: corrected totals, plus an Unreleased section for wiktionary_examples, sejm_api and parlamint_pl.
  • src/verify_paper_claims.py (+ test): checks a paper's release/source tables against the registry, the growth-series literals and the per-source stats.json.
  • AGENTS.md: how to push and open PRs on the Hub; release/added in the add-a-source checklist.
ppuzio changed pull request status to open
Maggio33 changed pull request status to merged

Sign up or log in to comment