feat(parser): add in-memory parse-decision trace #107
No reviewers
Labels
No labels
area:backend
area:frontend
area:infra
area:ocr
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
phase:M1
phase:M2
phase:M3
phase:M4
phase:M5
phase:M6
phase:M7
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TJC/bill-splitter!107
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/94-parse-decision-trace"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
ParseDecisionper priced line (winning rule, score, evidence) in the item and bill enginesReceiptParseEngine.ParseTraced; the publicReceiptParser.Parsefacade discards it, soOcrWorkerand theParsedReceiptwire contract are unchangedWarningsBillSplitter.TestsviaInternalsVisibleToTest plan
dotnet testgreen: 91 passed, the 34-fixture corpus byte-identical (noexpected.jsonchanged)ReceiptParseTraceTestsasserts the deciding rule/score off the trace - e.g.UnitPriceColumnRuleat score 60 winning2 Roast Beef 27.00 54.00ParsedReceiptCloses #94