feat(parser): de-duplicate repeated receipt copies #113
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!113
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/100-dedup-copies"
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
CopyDeduplicator(Parsing/Multiline): collapses a receipt photographed as stacked merchant/customer/kitchen copies back to one.duplicate-receipt-copy(deduped) andrepeated-order-not-copy(preserved). The existing corpus stays byte-for-byte green - includingjack-daniels-gratuity, whose legitimately repeated dishes are untouched.Test plan
dotnet test backend/tests/BillSplitter.Tests-> 93 passed, 0 failed.duplicate-receipt-copyfails without the de-dupe step (items appear twice);repeated-order-not-copy(identical blocks but a 2x total) confirms the reconciliation gate keeps a genuine double order intact.Closes #100