Repository navigation
Measure both extractors on unseen bill layouts - #5
Merged
Merged
Conversation
Styles 3-5 change the row structure, date format and total labels. They are frozen before either extractor is run on them; neither the baseline rules nor the Gemini prompt may be tuned against them. Existing test sets regenerate byte-identical.
On 20 cases in three held-out layouts, frozen before any run, Gemini reads line items at F1 0.963 with every flag right; the unchanged OCR + regex baseline reads nothing. Record the result, caveats and reproduce commands in GATE1_RESULTS, README and PLAN, and add generator tests (59 pass).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tests whether Gemini's lack of per-format rules is a real advantage over the OCR + regex baseline.
docs/GATE1_RESULTS.md, README and PLAN. Synthetic data only; time to write new baseline rules is not measured.Tests: 59 pass locally. pip-audit: no known vulnerabilities.