Skip to content

ci: validate sample_data blocks, ported from DLEAPP - #405

Merged
abrignoni merged 1 commit into
mainfrom
ci/validate-sample-data
Aug 10, 2026
Merged

ci: validate sample_data blocks, ported from DLEAPP#405
abrignoni merged 1 commit into
mainfrom
ci/validate-sample-data

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Ports DLEAPP's sample_data validator, with only the tool name and env var adapted. CI runs the structural tier (well-formed sample_data mappings, comparable row counts) on artifact PRs; the registry and row-count tiers need the private corpus registry and run locally:

python3 admin/scripts/validate_sample_data.py
python3 admin/scripts/validate_sample_data.py --registry /path/samples.json [--verify-hashes] [--run corpus_key]

One generalization over the DLEAPP original, applied to DLEAPP in the same pass so the five copies stay in lockstep: --run picks the -t input type from the corpus file extension instead of hardcoding zip, since the registries point at zip, tar, and tar.gz images alike.

Verified before opening: structural tier runs clean in this repo, the registry tier was exercised against the local corpus registry, and pylint --disable=C,R scores the script 10/10.

Part of a CI leveling pass across the five cores.

🤖 Generated with Claude Code

Adds DLEAPP's validate_sample_data.py with only the tool name and env var
adapted, plus its workflow. CI runs the structural tier (well-formed
sample_data mappings, comparable row counts) on every artifact PR; the
registry and row-count tiers run locally against the private corpus
registry.

One generalization over the DLEAPP original, applied there in the same
pass: --run picks the -t input type from the corpus file extension
instead of hardcoding zip, since registries point at zip, tar, and
tar.gz images alike.

Verified: structural tier runs clean here, registry tier exercised
against the local corpus registry, pylint --disable=C,R scores 10/10.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit 5f28ddb into main Aug 10, 2026
2 checks passed
@abrignoni
abrignoni deleted the ci/validate-sample-data branch August 10, 2026 22:54
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