Repository navigation
v0.5.67 — Data-Return Validation Tool (Loop 47) - #163
Merged
Merged
Conversation
added 2 commits
July 6, 2026 16:58
Validates lab result JSON files against the schema. Clear per-file errors. Changes: - scripts/validate_lab_data_return.py -- validates against lab_result.schema.json, reports per-file errors, detects control failures. - tests/test_validate_lab_data_return.py -- 8 tests. - docs updated. 2008 tests passing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Validates lab result JSON files against the schema. Clear per-file error messages.
Primary:
scripts/validate_lab_data_return.py— validates all JSON files in a directory againstschemas/lab_result.schema.json. Reports per-file pass/fail with specific errors. Detects control failures. Exit 0 all pass, 3 any fail, 2 missing files.Tests: 8 tests covering valid pass, multiple files, missing required fields, invalid JSON, missing dir, no JSON files, CLI endpoints.
Doc sync: Updated doc consistency tests for rewritten ASSAY_PREREGISTRATION.md and EXPERT_REVIEW_PACK.md.
2008 tests passing (pre-push full suite).