Skip to content

v0.5.67 — Data-Return Validation Tool (Loop 47) - #163

Merged
cschanhniem merged 2 commits into
mainfrom
loop47-data-validation
Jul 6, 2026
Merged

cschanhniem merged 2 commits into
mainfrom
loop47-data-validation

Conversation

@cschanhniem

Copy link
Copy Markdown
Collaborator

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 against schemas/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).

OpenCode 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.
@cschanhniem
cschanhniem merged commit ac168c4 into main Jul 6, 2026
1 check failed
@cschanhniem
cschanhniem deleted the loop47-data-validation branch July 6, 2026 10:02
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