Skip to content

Harden OCR runtime and repository safeguards - #3

Merged
AndreaPi merged 11 commits into
masterfrom
codex/fix-codebase-review
Jul 22, 2026
Merged

AndreaPi merged 11 commits into
masterfrom
codex/fix-codebase-review

Conversation

@AndreaPi

Copy link
Copy Markdown
Owner

Summary

  • clear stale readings and ignore OCR/preview results from replaced photos
  • apply EXIF orientation before backend inference and bound uploaded image sizes
  • intersect generic crops at image bounds while preserving trained classifier cell geometry
  • validate canonical QA services and harden DVC/artifact packaging workflows
  • keep capped OCR logs attributable to the correct test-set row
  • refresh operational and OCR documentation, including the repo-local sync skills

Validation

  • npm run test:scripts: 6/6
  • npm run test:backend: 11/11
  • npm run test:e2e: 14/14
  • UI Run test set: MAE 108.76, Exact Match 11/34, No-read 1/34

No model checkpoints, DVC datasets, or production OCR selection policies were changed.

@AndreaPi
AndreaPi merged commit d4b1233 into master Jul 22, 2026
1 check passed
@AndreaPi
AndreaPi deleted the codex/fix-codebase-review branch July 22, 2026 10:59
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