bettersight-statement-extra.../fixtures
JasonFraser 18494a0f19 Add a fully-synthetic fixture corpus for measure.py
Replaces the real HSBC/RBC fixtures stripped from git history (real
account numbers/org names - see "Real fixtures removed from git history")
with two invented bank statements, built from a shared Python generator
(fixtures/generate_synthetic_fixtures.py, reportlab + openpyxl) so the
PDF and its ground-truth .xlsx can never drift apart by a transcription
mistake:

- Fake-Bank-A-Synthetic: split Debit/Credit columns, newest-first order,
  no in-table opening/closing balance (HSBC-style) - debit printed as a
  plain positive magnitude, not self-signed.
- Fake-Bank-B-Synthetic: a single signed Amount column, oldest-first
  order, WITH in-table Opening balance/Closing balance rows (RBC-style).

Both auto-detect cleanly via the real keyword/geometry detector alone -
no layout_quirks, no manual mapping. Verified directly against the real
pipeline (python3 backend/measure.py): both report field_accuracy=1.0,
zero count/balance mismatches. Neither reaches "Verified" in this
environment because the Docling container isn't running here - every
page degrades to pdfplumber-only (engine_agreement=needs_review), the
harness's own already-documented degraded mode, not a fixture defect;
every other check (statement_balance/running_balance/date_sanity/
structure_sanity/page_coverage/narrative_direction) passes cleanly for
both. The three real fixtures (still on disk, gitignored by exact
filename) were re-measured in the same run and are unaffected.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-11-24 09:07:23 -04:00
..
Fake-Bank-A-Synthetic.pdf Add a fully-synthetic fixture corpus for measure.py 2026-11-24 09:07:23 -04:00
Fake-Bank-A-Synthetic_ground_truth.xlsx Add a fully-synthetic fixture corpus for measure.py 2026-11-24 09:07:23 -04:00
Fake-Bank-B-Synthetic.pdf Add a fully-synthetic fixture corpus for measure.py 2026-11-24 09:07:23 -04:00
Fake-Bank-B-Synthetic_ground_truth.xlsx Add a fully-synthetic fixture corpus for measure.py 2026-11-24 09:07:23 -04:00
generate_synthetic_fixtures.py Add a fully-synthetic fixture corpus for measure.py 2026-11-24 09:07:23 -04:00