Identify the Infinity Nikki page by its headings, not by finding a row
The wiki emptied both its Current and Upcoming tables on 2026-09-03 — 2.7's events had ended and 2.8 was not listed yet — and said so in words: "There are no Events in this category". Nothing else moved; Past Events still carries twenty tables of the same shape. `isInfinityNikkiEventPage` looked for a *populated* table, so it read that as a redesign. The source spent four cycles reporting "the source has likely been redesigned" at a page nobody had touched, reached the broken tier, and went on serving a snapshot whose every row expired on 27 August. A check that reads data cannot tell a rewrite from a quiet week. It now reads the section headings, which an empty table does not take with it — either heading rather than both, since requiring the pair would fail the source over a renamed heading it does not even read, and one already separates this page from the other three Fandom templates. docs/INGESTION.md asked for structural checks all along; this one had drifted into content. `statesNoEvents` then reports the page's own declaration, so the runner can tell an answer from a failure. It insists on the statement rather than an empty table, because a redesign yields an empty table too. The emptied page is pinned as a fixture: an empty answer is a shape, and it is the one that used to read as a redesign. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5
parent
0809fa1122
commit
a73f35b7cd
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user