Skip to content

Preserve OCR failure diagnostics and organize tests by responsibility - #370

Merged
SakuraMathcraft merged 2 commits into
mainfrom
codex/preserve-recognition-diagnostics
Sep 7, 2026
Merged

SakuraMathcraft merged 2 commits into
mainfrom
codex/preserve-recognition-diagnostics

Conversation

@SakuraMathcraft

Copy link
Copy Markdown
Owner

Recognition failures could show a generic retry message in both the UI and logs, hiding the original exception reported in #361. Preserve worker exception types, messages, and tracebacks, and record unexpected recognition failures with execution context while keeping public error responses stable. Sync mathcraft-ocr to the published 0.3.0 release. Organize tests by their current module responsibilities, remove six ineffective or historical tests and redundant assertions, and centralize import-path setup in conftest for the reorganized modules. Validation: 398 passed, 1 skipped, 57 subtests passed; Ruff and git diff --check passed. The existing Pillow getdata deprecation warnings remain. This improves diagnosis of #361; it does not claim to resolve the underlying GPU recognition failure.

@SakuraMathcraft
SakuraMathcraft merged commit eb56e01 into main Sep 7, 2026
1 check passed
@SakuraMathcraft
SakuraMathcraft deleted the codex/preserve-recognition-diagnostics branch September 7, 2026 04:14
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