|
2026-09-24
| ||
| 00:52 | • Ticket [b93ebb1e80] Corpus parity check belongs in CI status still Closed with 1 other change artifact: 0e157f5d04 user: zeitgeist | |
|
2026-08-18
| ||
| 18:40 | • Ticket [b93ebb1e80]: 1 change artifact: aa723b3cca user: dmestas | |
|
2026-08-16
| ||
| 23:55 | • Closed ticket [b93ebb1e80]. artifact: 7948d3c79a user: dmestas | |
| 19:46 | • New ticket [b93ebb1e80]. artifact: 3dbd75a8c9 user: dmestas | |
Corpus parity check belongs in CI
TestAwkwardArtifactsSurviveIngest is the portable half: it feeds the shapes that bit us — empty C card, empty J value, empty T value, titled technote, forum post with no N card — through parse AND fold and asserts the row lands. Verified to catch the real bug by reverting the tokenizer fix, which fails all three empty-token cases.
TestCorpusParity is the ground-truth half, comparing a built index against fossil's event/ticket/forumpost/attachment tables. Opt-in via QUARRY_PARITY and QUARRY_PARITY_INDEX, since the corpora are hundreds of megabytes and fossil must be installed. Known differences are enumerated individually with reasons rather than tolerated as a range.
It earned its keep immediately: on its first run against libfossil it flagged 16 wiki pages against fossil's 17. The cause was a wiki-tag-propagation-test tag applied to the FIXMEs artifacts — a tag shaped like a page name, with no artifact carrying that L card. quarry was correct; the ground-truth query cannot tell the two apart, so it is recorded as a known delta.