File size: 930 Bytes
4576a6c 5c406bd 4576a6c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | # Benchmark Documents
This folder contains the canonical benchmark dataset used by the standalone runner.
Open-source github repository that benchmarks this dataset on 17 LLM models:
<https://github.com/ArbitrHq/ocr-mini-bench>
## Layout
- `Invoices/`
- `Receipts/`
- `Logistics/`
Each domain folder contains:
- source PDFs (one file per document)
- `ground_truth/*.json` labels
## Ground Truth Expectations
- One JSON file per document.
- JSON uses field-object schema (`value`, `critical`, `type`, optional metadata).
- Nested fields are allowed; they are flattened for scoring.
## Maintenance Rules
1. Keep PDF filenames stable once benchmark results are published.
2. Re-run manifest generation after adding/removing docs:
- `npm run benchmark:bootstrap-dataset`
3. Validate before runs:
- `npm run benchmark:validate`
4. Keep canonical PDFs at domain root; store alternates in `reduced_size/` or `full_size/`.
|