Files
adminandClaude Opus 5.5 e20ff33d88 Parser: a cross-reference split at the line end is not a new unit; synthetic PDF gold set (Atrium#53)
A line ending in "ust." / "pkt" / "lit." continues into the number opening the next
line ("§ 4 ust." + "1."), so that number is not a new unit, point or letter.

scripts/gold_synthetic.py builds 12 Polish contracts with known structure (fonts,
justification, marker gaps, hyphenation, NBSP, footers, headings at page end) and
measures extract_text + parse_structure against truth.json: 994 units, 0 missing,
0 extra (before the fix: 5 missing, 10 extra).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-28 19:15:12 +01:00
..