Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7948d3c79a2971b6f158a64576176c5b8a0f824cdf93d28850838696a9e855de
Ticket: b93ebb1e80c40731f569ff83fd5e298b69ff5eef
Corpus parity check belongs in CI
User & Date: dmestas on 2026-08-16 23:55:18
Changes

  1. comment changed to:
    Landed in 86b84567 as two tests.
    
    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.
    
  2. resolution changed to: "Fixed"
  3. status changed to: "Closed"