Commit graph

10 commits

Author SHA1 Message Date
Ishaan Jaff
34280bfa25
feat: add --validate-ledger CLI flag
Prints a per-function ledger gap/drift report and skips the dashboard; narrows with the existing --function flag.
2026-09-02 17:55:35 -07:00
Ishaan Jaff
05d0af6653
feat: report ledger gaps per SDK function instead of raising
Replaces the unused exception-based run_audit/LedgerDriftError with a FunctionReport value so a missing ledger is modeled as data, not an error.
2026-09-02 17:55:32 -07:00
Ishaan Jaff
09585ae0de
feat: support per-function ledger paths
Enables looking up a ledger by SDK function instead of a single hardcoded OCR path.
2026-09-02 17:55:29 -07:00
Ishaan Jaff
79586d10cc
fix: point LEDGER_PATH at the new core/ocr location 2026-09-02 17:44:44 -07:00
Ishaan Jaff
45a6a3d659
chore: move OCR test-parity ledger to core/ocr
validate_sub_methods/ mixes strategy-catalog metadata with the ledger. Ledger data belongs under a per-function core/<function>/ path instead.
2026-09-02 17:44:42 -07:00
Ishaan Jaff
a009ba4bd1
fix: correct drift in OCR test-parity ledger
Two entries referenced a typo'd Python test name, four duplicated entries already tracked under TestProxySecurityGuard, five real Python tests in test_rust_bridge.py were untracked, and three real Rust custom_logger tests were missing from rust_only_tests. Found by running validate_ledger.py's audit against the live repo.
2026-09-02 16:55:10 -07:00
Ishaan Jaff
305c61d8ca
feat: add drift audit for OCR test parity ledger (WIP, untested) 2026-09-02 16:36:32 -07:00
Ishaan Jaff
f7c0fad2e8
feat: add ledger loader for OCR test parity data 2026-09-02 16:36:29 -07:00
Ishaan Jaff
9a2d3cd70b
test: add OCR python-to-rust test parity ledger 2026-09-02 16:36:27 -07:00
ishaan-berri
4c51ca72d6
test: add interactive Rust Python parity harness (#39419)
* test: add interactive Rust Python parity harness

* test: simplify Rust Python parity harness structure

* test: show parity confidence by SDK section

---------

Co-authored-by: yuneng-jiang <yuneng@berri.ai>
2026-09-02 15:51:08 -07:00