Expand description
2026-09-26: The vision fixtures, written to ~/.metrale/artifacts/vision on
load().
The images are compiled into the binary from crates/bench/assets/vision/
and written out only when a file’s bytes differ (write_asset_bytes),
behind a content-derived Stamp, so a run that already provisioned
writes nothing. The written directory lets an operator send the exact bytes
a run used with any HTTP client.
The same files are in tests/fixtures/images/, and
assets_match_the_repo_fixtures fails when the two copies differ. They are
copied into the crate because cargo package does not include a path
outside it. scripts/gen_test_images.py generates 01 to 09; it does
not generate 10 to 16.
Owner: bench, vision. Invariants:
provisioncommits the stamp only after every fixture write succeeded.
Constants§
- EXIF_
PAIR - 2026-09-26: The EXIF-orientation pair, kept out of the geometry ladder because the integrity leg checks what the model reports, not a token count.
- FIXTURES
- 2026-09-26: The geometry ladder as
(name, bytes, width, height):01to08square, landscape and portrait sizes up to 1280x720,09over the 1280 px fallback clamp,10and11geometry extremes, and12to14decode variants at 224x224. - PLUGIN_
ID - 2026-09-26: The artifact directory name:
~/.metrale/artifacts/vision.
Functions§
- provision
- 2026-09-26: Write the fixtures. With a current stamp it writes nothing.