Skip to content

Reject blank engine/verifier version at construction (D-8.4, D-9.1) - #2

Merged
arnavdhar07 merged 1 commit into
mainfrom
fix/version-required-d8-4-d9-1
Aug 10, 2026
Merged

Reject blank engine/verifier version at construction (D-8.4, D-9.1)#2
arnavdhar07 merged 1 commit into
mainfrom
fix/version-required-d8-4-d9-1

Conversation

@arnavdhar07

Copy link
Copy Markdown
Collaborator

version is now required and validated non-empty on OCROutput, since an all-blank batch previously collapsed to one (model_name, version) pair and passed aggregate()'s mixed-version check silently — defeating rule #9. Extends the same guard to the verifier arm's identity in run_harness/aggregate, and adds version_source to Runner so the contract test can cross-check each registered runner's version against the real library's version instead of trusting a hand-typed value.

version is now required and validated non-empty on OCROutput, since an
all-blank batch previously collapsed to one (model_name, version) pair
and passed aggregate()'s mixed-version check silently — defeating rule
#9. Extends the same guard to the verifier arm's identity in
run_harness/aggregate, and adds version_source to Runner so the
contract test can cross-check each registered runner's version against
the real library's __version__ instead of trusting a hand-typed value.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@arnavdhar07
arnavdhar07 merged commit 056818b into main Aug 10, 2026
1 check failed
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