Skip to content

Promote to production: receipt row-grouping fix - #47

Merged
slaveofcode merged 2 commits into
mainfrom
develop
Jul 30, 2026
Merged

Promote to production: receipt row-grouping fix#47
slaveofcode merged 2 commits into
mainfrom
develop

Conversation

@slaveofcode

Copy link
Copy Markdown
Owner

Fixes subtotal/total/tax detection when OCR splits a receipt's label and amount into separate boxes (#46). Affects both the OCR Parse-as-receipt mode and the Receipt Scanner. 470 tests pass, lint clean, build green.

Merging triggers the production Cloudflare deploy.

Kresna and others added 2 commits July 31, 2026 06:27
PP-OCR emits a label and its amount as separate boxes on the same visual row,
so 'Subtotal'/'$100.00' never matched (keyword and amount were on different
lines) — subtotal/total/tax came back empty. Group detections into rows by
vertical overlap first, then run the finders. Fixes both the OCR 'Parse as
receipt' mode and the Receipt Scanner tool.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
fix(receipt): detect subtotal/total when OCR splits label and amount
@slaveofcode
slaveofcode merged commit 60697bb into main Jul 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant