Skip to content

Generate sample_data values from a test image with --emit - #159

Merged
abrignoni merged 1 commit into
mainfrom
feat/sample-data-emit
Aug 28, 2026
Merged

abrignoni merged 1 commit into
mainfrom
feat/sample-data-emit

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Adds an --emit mode to validate_sample_data.py so a contributor can generate sample_data values from their own test image:

python3 admin/scripts/validate_sample_data.py --emit /path/image.zip --key my_image

Runs the tool on the image (zip, tar, gz, or an extraction folder, no registry needed) and prints paste-ready values for the artifact modules changed on the branch, or for --modules. Nothing prints unless the run reached its completion marker; caught database errors and disabled capabilities are reported, and zeros are flagged as unverified. Levels the run-integrity checks and the output_types-aware LAVA comparison so the copies of this script match across cores apart from a three-constant header.

🤖 Generated with Claude Code

Runs the tool on a contributor's own image (zip, tar, gz, or an extraction
folder, no registry needed) and prints sample_data values for the artifact
modules changed on the branch, or for --modules. Counts print only when the
run reached its completion marker; caught database errors and disabled
capabilities are reported, and zeros are flagged as unverified. Levels the
run-integrity checks and the output_types-aware comparison across cores, so
the copies of this script match apart from a three-constant header.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit b391ff7 into main Aug 28, 2026
3 checks passed
@abrignoni
abrignoni deleted the feat/sample-data-emit branch August 28, 2026 19:24
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