Files
hyperframes/evals/catalog-retrieval
Miguel Angel Simon Sierra 10b1a89aee fix(evals): key committee resume on the brief, not its position
The committee checkpoint defaulted under HERE while the briefs, gold and
audit it belongs to had already moved under CORPUS_ROOT, so every corpus
shared one file. Resume then matched on brief_id alone. Ids are positions:
a regenerated corpus numbers from the start again, so each id collides with
an older brief that says something else, and resume answered the new corpus
with the old corpus's verdicts without spending a call to notice. The audit
prunes on those verdicts, so the corpus would have been cut on judgements of
briefs no committee ever read.

The checkpoint now sits under CORPUS_ROOT and every record carries the sha256
of the brief text it judged. A record whose digest does not match the brief
now on disk is re-read, and one written before this change cannot prove which
brief it saw, so it is re-read too.

Also splits the brief gate's distractor rejection in two. A competitor count
of zero means the brief has a score band and stands alone in it, which is a
brief that gives its move away. No overlap with its own entry means it never
scored at all, which is what a thin shelf entry does to every brief written
for it whatever the brief says. Both printed "distractor:0", which sent a
diagnosis of the second down the path of the first.

Tests cover both branches, and the cross-corpus case fails against the old
resume with new_reads 0 where it should be 3.
2026-08-01 02:32:15 +02:00
..