Skip to content

Pin every documented game-math table to code truth (FID-20260915-007) - #54

Merged
savant0x merged 1 commit into
mainfrom
ladder-truth-tables
Sep 15, 2026
Merged

savant0x merged 1 commit into
mainfrom
ladder-truth-tables

Conversation

@savant0x

Copy link
Copy Markdown
Owner

Summary

Extends the ladder-truth CI gate (FID-20260915-006a follow-through) from the three bot tier ladders to every documented game-math table — 7 ladders, 107 cells, 15 documented sites, all parsed from the production source and paired with live function/constant output.

New ladders (65 cells / 10 sites)

  • Regeneration rate (4 sites): rate table + three range summaries; actuals engine-derived via tick(0) ÷ spawner-max — no rate-table mirrors.
  • Unit cost curve (2 sites): roster counts, BALANCING PHILOSOPHY table ↔ TIER_UNLOCK_REQUIREMENTS, slot ladder 1/3/7/15/30.
  • Build rate (2 sites): header intervals ↔ BUILD_RATES; Ghost's rounded reciprocal pinned at docs' one-decimal precision.
  • Army composition (2 sites): header bullets + table comments ↔ ARMY_COMPOSITION, incl. bare 50/50 rows.

First catches, corrected pre-ship

  • Regen summaries said "5-20% per hour" while Boss regenerates at 2% → corrected to 2-20% in all four sites.
  • UNIT_CONFIGS header claimed "all 40 units" vs the real 65 (40 blueprint-derived core + 25 SPEC/PRESTIGE) → rescoped.

Anti-false-pass armor

Per-ladder cell-count assertions in-test; site-count guards in the scanner; truth spot-pins (Boss 120,000/h, Fortress 0.5↔2h, composition 30/70). Drill-proven: comment-only edits to the regen table / range summary / philosophy table each fail 2 tests naming the offending site.

Gates

tsc 0 · lint 0 · vitest 839/1 skipped. Blueprint↔config parity remains pinned by catalog-unification.test.ts (no duplication).

…D-20260915-007)

Extends the ladder-truth gate with four ladders (regen-rate, unit-cost,
build-rate, army-composition — 65 cells / 10 sites), actuals derived from
live functions (regen via tick(0)/spawner-max, no table mirrors). Corrects
the gate's first catches pre-ship: regen summaries said 5-20%/hour while
Boss regenerates at 2% (now 2-20%, four sites); UNIT_CONFIGS header claimed
40 units vs the real 65 (40 blueprint-derived + 25 SPEC/PRESTIGE). Exports
BUILD_RATES/ARMY_COMPOSITION for the gate. Drill-proven: comment-only edits
fail CI; per-ladder cell counts guard against silent parser shrinkage.

Gates: tsc 0, lint 0, vitest 839/1 skipped.
@savant0x
savant0x merged commit 69a246e into main Sep 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant