FP-scan the structure claims; rebuild endnote detection on the fidelity engine's contract
fp_scan.py screens every cascade claim (vetted + fresh reservoir populations) and scores law detectors against the sections oracle. It caught three FP classes: room lists (405..), year tables (1985..), and appendix [55]+ labels claimed as endnotes; and 'Form s'/'Order to' garbage from the named-heading canonicalizer (precision 0.293). endnote_index is no longer hand-authored: labels are the engine's label.line-start table entry copied byte-equal (provenance comment, --parity drift assertion, no runtime import), and ladders open only at expected number 1 or under a Notes/Endnotes heading, per core._infer_note_region_modes. Pairing stays geometric and engine-only; claims carry a typed anchor field instead. Measured after: endnote FP screens 0, 150 false endnote claims corrected to none, 15 new true ladders from label forms the old grammar missed; named precision 0.579 (residue is oracle-scope mismatch on real Schedule/Preamble units), combined law precision 0.955 -> 0.976 at unchanged recall. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
| Repository | eliziff/Beaver |
|---|---|
| Author | Eli Ziff <eliasziff@gmail.com> |
| Authored | |
| Parents | 5e9d5c13 |
| Stats | 2 files changed , +380 , -31 |
| Part of | Legal agent-surface and context-compaction experiments |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-a17781a3.md
from inside the repo you want the change in.