Add P0 infrastructure for the Volve-DIA benchmark

Set up the data, parsing and quality-control layer for a public benchmark
on the Volve daily drilling reports (DDR) and WITSML real-time data.

- Data manifest with SHA-256 hashes of the three Volve subtrees in use.
- DDR XML parser into DuckDB (1,759 reports, 26 wellbores, 23,447
  activities, 17 tables) with locked expected counts.
- Render QC of the publisher HTML against the XML (272,544 items).
- OCR client for the shared chandra vLLM service, with a page cache keyed
  on model, prompt hash, dpi, max_tokens and temperature, and OCR QC
  against the HTML on a 26-report pilot.
- Run logging (scripts/runlog.sh, logs/index.csv), the P0 runner and
  40 tests.
- Research plan, technical overview and progress page (in Vietnamese).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 12:45:34 +00:00
commit a3c175638f
172 changed files with 145856 additions and 0 deletions

8
scripts/runlog.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Run a command, saving log + runtime to logs/runs/<timestamp>_<name>/ and appending one row to logs/index.csv
# (details: volve_dia/runlog.py). Examples:
# scripts/runlog.sh scripts/02_parse_ddr.py # .py files are run with $PY
# scripts/runlog.sh -n ocr_full --note "full DDR corpus" -- scripts/04_ocr.py --all
# scripts/runlog.sh ls # most recent runs
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
exec "${PY:-$ROOT/.venv/bin/python}" -m volve_dia.runlog "$@"