feat(parser): reorder scrambled lines by bounding box #112
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!112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/99-box-sort"
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
BoxOrderer(Parsing/Spatial): sorts priced candidates byBox.YthenBox.Xso rows the sidecar emitted out of reading order parse back top-to-bottom with a correctly anchored grand total.Box.XonCandidateas the same-row tiebreak.PreviousText) is never disturbed - which keeps the columnarlescargot-columnarfixture byte-for-byte green.6.50) is not reunified - the sort reorders items already read, it never invents one; that far-drift stays parked (documented in docs/15).scrambled-line-order; the existing corpus stays byte-for-byte green (no existingexpected.jsonchanged).BoxOrdererin docs/06; record the fixture in docs/11.Test plan
dotnet test backend/tests/BillSplitter.Tests-> 92 passed, 0 failed.Closes #99