Files
leleka/scripts/e2e/evidence/golden/validity_cases.json
T
Pavlo RatushnyiandClaude Sonnet 5.5 ac12774de3 Add tests-first golden vectors for validity rules E2, balanced schedule E1 and ledger/manifest cross-check (STRA-311)
57 synthetic cases with a written-out basis, an independent oracle (gen_validity.py --check)
and a unittest that runs validity.py through its INTERFACE v1; fails 57/57 until STRA-312 exists.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 20:21:50 +01:00

2446 lines
105 KiB
JSON

{
"format_version": 1,
"leaf": "STRA-311",
"role": "SDET",
"note": "Synthetic fixtures only (no machine telemetry). Generated by golden/gen_validity.py; do not edit by hand. The oracle that re-checks every expected value lives in gen_validity.py and shares no code with validity.py (STRA-312).",
"interface": "validity.py INTERFACE v1 (STRA-312): pairs --records --schedule --ledger --machine laptop|server ; schedule --check <file>",
"fixture_format": [
"These cases fix a FIXTURE FORMAT for validity.py (STRA-312) because the schedule and ledger files are produced by STRA-316/STRA-257, which do not exist yet. A field name here wins over a guess; if STRA-316 renames a field it amends this file through an SDET-reviewed change.",
"records dir: one END_TO_END record (STRA-246 schema v1) per file, named <run_id>.json; run_id = <pair_id>.<arm> (pair_id = 'pair-NNNN', NNNN = block number, zero padded 4 digits). arm_identity.block is the pair number.",
"ledger (JSONL, one JSON object per line, append-only; the LAST line of a run_id is its state): keys run_id, state (QUEUED|STARTED|DONE|INVALID|INTERRUPTED), pair_id, block, arm, schedule_sha256, utc, pid, boot_time. An INVALID line of a failed attempt adds outcome (CRASH|TIMEOUT|INTEGRITY_FAILURE) and attributed_to (null | POWER|WORKLOAD|CACHE|LOCK|WATCHDOG|TELEMETRY). Failed attempts of one arm slot have run_id <pair_id>.<arm>.a<k> (k = 1, 2, ...). The ledger is also the manifest (E8): every run_id whose last state is DONE must have a record, every record must have a ledger line, an INVALID line is an invalid listing and needs no record.",
"schedule.json: {seed, arms, n_pairs, blocks: [{block, order: [arm, ...]}], context_tokens, cache_residency_band: {min, max}, interim_looks, foreign_load_threshold: {cpu_percent_of_core, duration_s}}. The schedule hash is computed by validity.py; the fixtures write sha256 of the compact sorted-key JSON into the records, validity.py must not depend on that value.",
"pairs output: JSON {pairs: [{pair, valid, reasons, event}], manifest_ok, invalid_rate}; pairs are matched by number, reasons compared as sets; invalid_rate = (pairs with valid=false) / (pairs listed). Exit 0 result produced, 2 ledger/manifest refusal (the offending run_id appears in stdout or stderr), 3 malformed input.",
"event: null for a pair that is invalid by measurement (POWER, WORKLOAD, CACHE, FOREIGN_LOAD, COUNTABLE_MISMATCH); RERUN for an attributable infrastructure failure (reason INFRASTRUCTURE), for the build-id mismatch (reason INFRASTRUCTURE) and for a vanilla crash/timeout not attributable (first and second failure of the slot, reasons empty); OWNER for a missing attestation (reason ATTESTATION_MISSING) and for the third vanilla failure of a slot (reasons empty); FAIL for an ours crash/timeout/integrity failure not attributable (reasons empty, the series stops FAILED). valid=true needs no reason and no event. Precedence if several apply: FAIL > OWNER > RERUN.",
"countable: every fixture record types countable = the pair's expected validity (a countable pair has all arms valid), except in the two COUNTABLE_MISMATCH cases; validity.py derives the value and reports COUNTABLE_MISMATCH (pair valid=false) when a typed value disagrees.",
"power: summaries are in power_sample_summary (min_w, max_w, mean_w, power_max_limit_w); start/end enforced limits are min_w/max_w, power_limit_changed = (start != end); a changed limit is NOT by itself a reason. Floor 100 W applies on the laptop; the maximum-limit check applies on both machines; on the server every arm has spread 0 W and all arms have the same limit.",
"series_eval order tables (kind order_tables, optional until STRA-290 exists): series_eval.py output gains the key order_tables = {by_position: {metric: {arm: {'1'|'2'|'3': mean ln(value)}}}, by_predecessor: {metric: {arm: {predecessor arm | 'none': mean ln(value)}}}} (mean of the natural log of the arm's own metric value grouped by the arm's position / predecessor; this extends INTERFACE v1 of STRA-290)."
],
"thresholds": {
"laptop_power_floor_w": 100.0,
"arm_mean_limit_diff_max_w": 10.0,
"arm_spread_max_w": 20.0,
"server_spread_w": 0.0,
"context_tokens": 262144,
"max_prompt_tokens_min": 200000,
"foreign_load_percent_of_core": 5.0,
"foreign_load_duration_s": 2.0,
"vanilla_rerun_cap": 2,
"n_pairs": 30,
"group_size": 6
},
"templates": {
"ours": {
"schema_version": "1",
"level": "END_TO_END",
"synthetic": true,
"arm_identity": {
"arm": "ours",
"series_id": "sample-series-0001",
"schedule_sha256": "3db8b24d4f714d5f146610f1cfc170e4a335808fbc71cacc6db4f474ae957e99",
"block": 1,
"position": 1,
"predecessor_arm": "none",
"pair_id": "sample-pair-0001",
"h0_id": "sample-h0-0001"
},
"ours_build_id_observed": {
"commit": "0123456789abcdef0123456789abcdef01234567",
"target_triple": "x86_64-unknown-linux-gnu",
"cargo_features": ["cuda", "native-cpu-expert"],
"profile_value_sha256": "f467e6a6af8f3bc29f37fe326d5dd922ebcf260e69561d160a1637fe8cd04dd0"
},
"ours_build_id_frozen": {
"commit": "0123456789abcdef0123456789abcdef01234567",
"target_triple": "x86_64-unknown-linux-gnu",
"cargo_features": ["cuda", "native-cpu-expert"],
"profile_value_sha256": "f467e6a6af8f3bc29f37fe326d5dd922ebcf260e69561d160a1637fe8cd04dd0"
},
"countable": false,
"invalid_reasons": ["SYNTHETIC_SAMPLE"],
"power_sample_summary": {
"min_w": 118.0,
"max_w": 126.5,
"mean_w": 122.0,
"gap_count": 0,
"series_sha256": "4bd2f82a72c8002e4ee4f34032dc6dad223019713344643d93dc9f4846054824",
"power_max_limit_w": 150.0,
"power_limit_changed": false,
"power_limit_source": "enforced.power.limit"
},
"thresholds_source": "BOOTSTRAP",
"thresholds_sha256": "0bf18d635f3bbcd7a832ffb3470087a916f07374bc88b9064667f5b7de86c558",
"workload": {
"long_session_argv": [
"long_session.py",
"--turns",
"5",
"--target-tokens",
"215000",
"--max-output",
"700",
"--context",
"262144"
],
"source_snapshot_sha256": "9a92ae6bcccad3bcd49333ad426e8563725a56569409e4685f465a2029380171",
"turn1_tokens": 43000
},
"cache": {
"state": "WARM-OS/EMPTY-ENGINE",
"page_cache_residency_before": {"metric": "model_file_resident_fraction", "value": 0.97, "unit": "fraction"}
},
"hardware": {
"machine_role": "sample-machine",
"cpu_model": "Sample CPU 16-Core",
"gpu_name": "Sample GPU 16GB",
"os": "Sample OS",
"enforced_power_limit_w_start": 130.0,
"enforced_power_limit_w_end": 130.0,
"power_sample_series_file": "power-ours.csv",
"owner_attestation": {"present": true, "identifier": "sample-attestation-1", "time_utc": "2026-01-01T00:00:00Z"},
"foreign_load": {"samples": [{"process_name": "sample-indexer", "cpu_percent_of_core": 1.5, "duration_s": 1.0}]}
},
"software": {
"driver_version": "000.00",
"cuda_version": "00.0",
"leleka_commit": "0123456789abcdef0123456789abcdef01234567",
"strata_upstream_commit": "89abcdef0123456789abcdef0123456789abcdef"
},
"model": {"digest": "sample-model-digest", "digest_mapping": "sample-digest-mapping-ref"},
"configuration": {"context_tokens": 262144, "kv": "sample-kv", "slots": 1, "batch": 512, "speculation": "off"},
"metrics": {
"turns": [
{
"turn": 1,
"prompt_tokens": 43000,
"cached_tokens": 0,
"output_tokens": 700,
"ttft_s": 20.0,
"prefill_tok_s": 2000.0,
"decode_tok_s": 100.0,
"wall_s": 30.0,
"prompt_sha256": "ec083f628134f3a280e427d6e0da67fdb4b642b87215489fd676024615c9802c",
"reply_sha256": "2c86e9d5103cdc914c5b33d4f3b41608b3f066ddb03627415118ba9db65ae770"
},
{
"turn": 2,
"prompt_tokens": 86500,
"cached_tokens": 43700,
"output_tokens": 700,
"ttft_s": 25.0,
"prefill_tok_s": 2010.0,
"decode_tok_s": 100.0,
"wall_s": 35.0,
"prompt_sha256": "577a9d6aa198933c601acb4d7487c626fca0fd5a2273a2ab774552bc4810ecf0",
"reply_sha256": "e4a42272c02ebfa2a42db49068a731a524810cb672610d885ccc2dbb4fc24dca"
},
{
"turn": 3,
"prompt_tokens": 130000,
"cached_tokens": 87200,
"output_tokens": 700,
"ttft_s": 30.0,
"prefill_tok_s": 2020.0,
"decode_tok_s": 100.0,
"wall_s": 40.0,
"prompt_sha256": "d05147290cd606a408c3f27c4ccbce4b3b23bca7d3686931fae8e9ac4a90706a",
"reply_sha256": "3ed2c7db71330b39ba84ba47467250fae9e5f24fd8f71d6f61d4628fc30ed6d6"
},
{
"turn": 4,
"prompt_tokens": 172500,
"cached_tokens": 130700,
"output_tokens": 700,
"ttft_s": 35.0,
"prefill_tok_s": 2030.0,
"decode_tok_s": 100.0,
"wall_s": 45.0,
"prompt_sha256": "346b0fb987971973f6cfe83f6fb541b2848c2cf2cab330efc0ecec423a65f156",
"reply_sha256": "4a2e125c048147f45f10561b3660a60d1436189892570d1671bad7cba5d05072"
},
{
"turn": 5,
"prompt_tokens": 215000,
"cached_tokens": 173200,
"output_tokens": 700,
"ttft_s": 40.0,
"prefill_tok_s": 2040.0,
"decode_tok_s": 100.0,
"wall_s": 50.0,
"prompt_sha256": "9b1a18caa443327f4f02c05226d96e74e40113ea7406dea63c1d30a9a8e95a88",
"reply_sha256": "055d4b078c7dd4c8cd34ac4be59fc32b3cffbbf145c54089275285abedd6ba04"
}
],
"wall_s": 350.0,
"wall_norm_s": 350.0,
"draft_acceptance": null,
"expert_cache_hit": 0.9,
"kv_streaming_hit": null
},
"quality": {
"verdict": "SAMPLE_NOT_MEASURED",
"tolerance": "greedy identical",
"basis": "sample fixture",
"baseline": "sample-baseline",
"tool_call_integrity": "sample: not measured"
},
"kernel_lines": [
"leleka-serve cpu: logical cores 16, sample line",
"leleka-serve cpu: process kernel family avx512, sample line",
"leleka-serve gpu: sample device line"
]
},
"vanilla_default": {
"schema_version": "1",
"level": "END_TO_END",
"synthetic": true,
"arm_identity": {
"arm": "vanilla_default",
"series_id": "sample-series-0001",
"schedule_sha256": "3db8b24d4f714d5f146610f1cfc170e4a335808fbc71cacc6db4f474ae957e99",
"block": 1,
"position": 2,
"predecessor_arm": "ours",
"pair_id": "sample-pair-0001",
"h0_id": "sample-h0-0001"
},
"ours_build_id_observed": null,
"ours_build_id_frozen": {
"commit": "0123456789abcdef0123456789abcdef01234567",
"target_triple": "x86_64-unknown-linux-gnu",
"cargo_features": ["cuda", "native-cpu-expert"],
"profile_value_sha256": "f467e6a6af8f3bc29f37fe326d5dd922ebcf260e69561d160a1637fe8cd04dd0"
},
"countable": false,
"invalid_reasons": ["SYNTHETIC_SAMPLE"],
"power_sample_summary": {
"min_w": 118.0,
"max_w": 126.5,
"mean_w": 122.0,
"gap_count": 0,
"series_sha256": "24d840e9cffb1207e16ce08ea78c910ab4f156c2238964af1edebbd304125146",
"power_max_limit_w": 150.0,
"power_limit_changed": false,
"power_limit_source": "enforced.power.limit"
},
"thresholds_source": "BOOTSTRAP",
"thresholds_sha256": "0bf18d635f3bbcd7a832ffb3470087a916f07374bc88b9064667f5b7de86c558",
"workload": {
"long_session_argv": [
"long_session.py",
"--turns",
"5",
"--target-tokens",
"215000",
"--max-output",
"700",
"--context",
"262144"
],
"source_snapshot_sha256": "9a92ae6bcccad3bcd49333ad426e8563725a56569409e4685f465a2029380171",
"turn1_tokens": 43000
},
"cache": {
"state": "WARM-OS/EMPTY-ENGINE",
"page_cache_residency_before": {"metric": "model_file_resident_fraction", "value": 0.97, "unit": "fraction"}
},
"hardware": {
"machine_role": "sample-machine",
"cpu_model": "Sample CPU 16-Core",
"gpu_name": "Sample GPU 16GB",
"os": "Sample OS",
"enforced_power_limit_w_start": 130.0,
"enforced_power_limit_w_end": 130.0,
"power_sample_series_file": "power-vanilla_default.csv",
"owner_attestation": {"present": true, "identifier": "sample-attestation-1", "time_utc": "2026-01-01T00:00:00Z"},
"foreign_load": {"samples": [{"process_name": "sample-indexer", "cpu_percent_of_core": 1.5, "duration_s": 1.0}]}
},
"software": {
"driver_version": "000.00",
"cuda_version": "00.0",
"leleka_commit": "0123456789abcdef0123456789abcdef01234567",
"strata_upstream_commit": "89abcdef0123456789abcdef0123456789abcdef"
},
"model": {"digest": "sample-model-digest", "digest_mapping": "sample-digest-mapping-ref"},
"configuration": {"context_tokens": 262144, "kv": "sample-kv", "slots": 1, "batch": 512, "speculation": "off"},
"metrics": {
"turns": [
{
"turn": 1,
"prompt_tokens": 43000,
"cached_tokens": 0,
"output_tokens": 700,
"ttft_s": 20.0,
"prefill_tok_s": 2000.0,
"decode_tok_s": 100.0,
"wall_s": 30.0,
"prompt_sha256": "ec083f628134f3a280e427d6e0da67fdb4b642b87215489fd676024615c9802c",
"reply_sha256": "2c86e9d5103cdc914c5b33d4f3b41608b3f066ddb03627415118ba9db65ae770"
},
{
"turn": 2,
"prompt_tokens": 86500,
"cached_tokens": 43700,
"output_tokens": 700,
"ttft_s": 25.0,
"prefill_tok_s": 2010.0,
"decode_tok_s": 100.0,
"wall_s": 35.0,
"prompt_sha256": "577a9d6aa198933c601acb4d7487c626fca0fd5a2273a2ab774552bc4810ecf0",
"reply_sha256": "e4a42272c02ebfa2a42db49068a731a524810cb672610d885ccc2dbb4fc24dca"
},
{
"turn": 3,
"prompt_tokens": 130000,
"cached_tokens": 87200,
"output_tokens": 700,
"ttft_s": 30.0,
"prefill_tok_s": 2020.0,
"decode_tok_s": 100.0,
"wall_s": 40.0,
"prompt_sha256": "d05147290cd606a408c3f27c4ccbce4b3b23bca7d3686931fae8e9ac4a90706a",
"reply_sha256": "3ed2c7db71330b39ba84ba47467250fae9e5f24fd8f71d6f61d4628fc30ed6d6"
},
{
"turn": 4,
"prompt_tokens": 172500,
"cached_tokens": 130700,
"output_tokens": 700,
"ttft_s": 35.0,
"prefill_tok_s": 2030.0,
"decode_tok_s": 100.0,
"wall_s": 45.0,
"prompt_sha256": "346b0fb987971973f6cfe83f6fb541b2848c2cf2cab330efc0ecec423a65f156",
"reply_sha256": "4a2e125c048147f45f10561b3660a60d1436189892570d1671bad7cba5d05072"
},
{
"turn": 5,
"prompt_tokens": 215000,
"cached_tokens": 173200,
"output_tokens": 700,
"ttft_s": 40.0,
"prefill_tok_s": 2040.0,
"decode_tok_s": 100.0,
"wall_s": 50.0,
"prompt_sha256": "9b1a18caa443327f4f02c05226d96e74e40113ea7406dea63c1d30a9a8e95a88",
"reply_sha256": "055d4b078c7dd4c8cd34ac4be59fc32b3cffbbf145c54089275285abedd6ba04"
}
],
"wall_s": 350.0,
"wall_norm_s": 350.0,
"draft_acceptance": null,
"expert_cache_hit": 0.9,
"kv_streaming_hit": null
},
"quality": {
"verdict": "SAMPLE_NOT_MEASURED",
"tolerance": "greedy identical",
"basis": "sample fixture",
"baseline": "sample-baseline",
"tool_call_integrity": "sample: not measured"
},
"vanilla_cpu_family": {
"printed": "none printed",
"reading_rule": "native pack: absence of the no-AVX-512 note means cpu_avx512_ok() was true; negative indicator only",
"control": {
"env": "STRATA_FORCE_AVX2=1",
"printed": ["sample: this CPU has no AVX-512 note, text is a placeholder"]
},
"predicate": "unavailable: sample fixture, predicate dump (S0.7c) not run",
"binary_identity": {
"engine_version": "sample-engine-0.0.0",
"sha256": "a879b093c70e663f151a2b05b020c9548c5baff7c1a9aa97facf4526ac55c474"
}
}
},
"vanilla_noskip": {
"schema_version": "1",
"level": "END_TO_END",
"synthetic": true,
"arm_identity": {
"arm": "vanilla_noskip",
"series_id": "sample-series-0001",
"schedule_sha256": "3db8b24d4f714d5f146610f1cfc170e4a335808fbc71cacc6db4f474ae957e99",
"block": 1,
"position": 3,
"predecessor_arm": "vanilla_default",
"pair_id": "sample-pair-0001",
"h0_id": "sample-h0-0001"
},
"ours_build_id_observed": null,
"ours_build_id_frozen": {
"commit": "0123456789abcdef0123456789abcdef01234567",
"target_triple": "x86_64-unknown-linux-gnu",
"cargo_features": ["cuda", "native-cpu-expert"],
"profile_value_sha256": "f467e6a6af8f3bc29f37fe326d5dd922ebcf260e69561d160a1637fe8cd04dd0"
},
"countable": false,
"invalid_reasons": ["SYNTHETIC_SAMPLE"],
"power_sample_summary": {
"min_w": 118.0,
"max_w": 126.5,
"mean_w": 122.0,
"gap_count": 0,
"series_sha256": "f5e42c9e224a73b90de61a98b55eb585b05a1c79a583fd2b7eee71167db8cd82",
"power_max_limit_w": 150.0,
"power_limit_changed": false,
"power_limit_source": "enforced.power.limit"
},
"thresholds_source": "BOOTSTRAP",
"thresholds_sha256": "0bf18d635f3bbcd7a832ffb3470087a916f07374bc88b9064667f5b7de86c558",
"workload": {
"long_session_argv": [
"long_session.py",
"--turns",
"5",
"--target-tokens",
"215000",
"--max-output",
"700",
"--context",
"262144"
],
"source_snapshot_sha256": "9a92ae6bcccad3bcd49333ad426e8563725a56569409e4685f465a2029380171",
"turn1_tokens": 43000
},
"cache": {
"state": "WARM-OS/EMPTY-ENGINE",
"page_cache_residency_before": {"metric": "model_file_resident_fraction", "value": 0.97, "unit": "fraction"}
},
"hardware": {
"machine_role": "sample-machine",
"cpu_model": "Sample CPU 16-Core",
"gpu_name": "Sample GPU 16GB",
"os": "Sample OS",
"enforced_power_limit_w_start": 130.0,
"enforced_power_limit_w_end": 130.0,
"power_sample_series_file": "power-vanilla_noskip.csv",
"owner_attestation": {"present": true, "identifier": "sample-attestation-1", "time_utc": "2026-01-01T00:00:00Z"},
"foreign_load": {"samples": [{"process_name": "sample-indexer", "cpu_percent_of_core": 1.5, "duration_s": 1.0}]}
},
"software": {
"driver_version": "000.00",
"cuda_version": "00.0",
"leleka_commit": "0123456789abcdef0123456789abcdef01234567",
"strata_upstream_commit": "89abcdef0123456789abcdef0123456789abcdef"
},
"model": {"digest": "sample-model-digest", "digest_mapping": "sample-digest-mapping-ref"},
"configuration": {"context_tokens": 262144, "kv": "sample-kv", "slots": 1, "batch": 512, "speculation": "off"},
"metrics": {
"turns": [
{
"turn": 1,
"prompt_tokens": 43000,
"cached_tokens": 0,
"output_tokens": 700,
"ttft_s": 20.0,
"prefill_tok_s": 2000.0,
"decode_tok_s": 100.0,
"wall_s": 30.0,
"prompt_sha256": "ec083f628134f3a280e427d6e0da67fdb4b642b87215489fd676024615c9802c",
"reply_sha256": "2c86e9d5103cdc914c5b33d4f3b41608b3f066ddb03627415118ba9db65ae770"
},
{
"turn": 2,
"prompt_tokens": 86500,
"cached_tokens": 43700,
"output_tokens": 700,
"ttft_s": 25.0,
"prefill_tok_s": 2010.0,
"decode_tok_s": 100.0,
"wall_s": 35.0,
"prompt_sha256": "577a9d6aa198933c601acb4d7487c626fca0fd5a2273a2ab774552bc4810ecf0",
"reply_sha256": "e4a42272c02ebfa2a42db49068a731a524810cb672610d885ccc2dbb4fc24dca"
},
{
"turn": 3,
"prompt_tokens": 130000,
"cached_tokens": 87200,
"output_tokens": 700,
"ttft_s": 30.0,
"prefill_tok_s": 2020.0,
"decode_tok_s": 100.0,
"wall_s": 40.0,
"prompt_sha256": "d05147290cd606a408c3f27c4ccbce4b3b23bca7d3686931fae8e9ac4a90706a",
"reply_sha256": "3ed2c7db71330b39ba84ba47467250fae9e5f24fd8f71d6f61d4628fc30ed6d6"
},
{
"turn": 4,
"prompt_tokens": 172500,
"cached_tokens": 130700,
"output_tokens": 700,
"ttft_s": 35.0,
"prefill_tok_s": 2030.0,
"decode_tok_s": 100.0,
"wall_s": 45.0,
"prompt_sha256": "346b0fb987971973f6cfe83f6fb541b2848c2cf2cab330efc0ecec423a65f156",
"reply_sha256": "4a2e125c048147f45f10561b3660a60d1436189892570d1671bad7cba5d05072"
},
{
"turn": 5,
"prompt_tokens": 215000,
"cached_tokens": 173200,
"output_tokens": 700,
"ttft_s": 40.0,
"prefill_tok_s": 2040.0,
"decode_tok_s": 100.0,
"wall_s": 50.0,
"prompt_sha256": "9b1a18caa443327f4f02c05226d96e74e40113ea7406dea63c1d30a9a8e95a88",
"reply_sha256": "055d4b078c7dd4c8cd34ac4be59fc32b3cffbbf145c54089275285abedd6ba04"
}
],
"wall_s": 350.0,
"wall_norm_s": 350.0,
"draft_acceptance": null,
"expert_cache_hit": 0.9,
"kv_streaming_hit": null
},
"quality": {
"verdict": "SAMPLE_NOT_MEASURED",
"tolerance": "greedy identical",
"basis": "sample fixture",
"baseline": "sample-baseline",
"tool_call_integrity": "sample: not measured"
},
"vanilla_cpu_family": {
"printed": "none printed",
"reading_rule": "native pack: absence of the no-AVX-512 note means cpu_avx512_ok() was true; negative indicator only",
"control": {
"env": "STRATA_FORCE_AVX2=1",
"printed": ["sample: this CPU has no AVX-512 note, text is a placeholder"]
},
"predicate": "unavailable: sample fixture, predicate dump (S0.7c) not run",
"binary_identity": {
"engine_version": "sample-engine-0.0.0",
"sha256": "a879b093c70e663f151a2b05b020c9548c5baff7c1a9aa97facf4526ac55c474"
}
},
"vanilla_noskip_environment": ["STRATA_ROUTE_TAIL_SKIP=0", "STRATA_PREFILL_CPU_SHARE=0"]
}
},
"schedules": {
"pairs_n6": {
"seed": 7,
"arms": ["ours", "vanilla_default", "vanilla_noskip"],
"n_pairs": 6,
"blocks": [
{"block": 1, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 2, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 3, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 4, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 5, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 6, "order": ["vanilla_default", "ours", "vanilla_noskip"]}
],
"context_tokens": 262144,
"cache_residency_band": {"min": 0.9, "max": 1.0},
"interim_looks": [],
"foreign_load_threshold": {"cpu_percent_of_core": 5.0, "duration_s": 2.0}
},
"n30_balanced": {
"seed": 311,
"arms": ["ours", "vanilla_default", "vanilla_noskip"],
"n_pairs": 30,
"blocks": [
{"block": 1, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 2, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 3, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 4, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 5, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 6, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 7, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 8, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 9, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 10, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 11, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 12, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 13, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 14, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 15, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 16, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 17, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 18, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 19, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 20, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 21, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 22, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 23, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 24, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 25, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 26, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 27, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 28, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 29, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 30, "order": ["vanilla_noskip", "vanilla_default", "ours"]}
],
"context_tokens": 262144,
"cache_residency_band": {"min": 0.9, "max": 1.0},
"interim_looks": [12, 24],
"foreign_load_threshold": {"cpu_percent_of_core": 5.0, "duration_s": 2.0}
},
"n29": {
"seed": 311,
"arms": ["ours", "vanilla_default", "vanilla_noskip"],
"n_pairs": 29,
"blocks": [
{"block": 1, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 2, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 3, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 4, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 5, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 6, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 7, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 8, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 9, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 10, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 11, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 12, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 13, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 14, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 15, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 16, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 17, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 18, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 19, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 20, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 21, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 22, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 23, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 24, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 25, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 26, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 27, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 28, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 29, "order": ["ours", "vanilla_default", "vanilla_noskip"]}
],
"context_tokens": 262144,
"cache_residency_band": {"min": 0.9, "max": 1.0},
"interim_looks": [],
"foreign_load_threshold": {"cpu_percent_of_core": 5.0, "duration_s": 2.0}
},
"n30_group_missing_permutation": {
"seed": 311,
"arms": ["ours", "vanilla_default", "vanilla_noskip"],
"n_pairs": 30,
"blocks": [
{"block": 1, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 2, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 3, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 4, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 5, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 6, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 7, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 8, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 9, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 10, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 11, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 12, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 13, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 14, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 15, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 16, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 17, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 18, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 19, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 20, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 21, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 22, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 23, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 24, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 25, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 26, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 27, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 28, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 29, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 30, "order": ["vanilla_noskip", "vanilla_default", "ours"]}
],
"context_tokens": 262144,
"cache_residency_band": {"min": 0.9, "max": 1.0},
"interim_looks": [12, 24],
"foreign_load_threshold": {"cpu_percent_of_core": 5.0, "duration_s": 2.0}
},
"n30_groups_broken": {
"seed": 311,
"arms": ["ours", "vanilla_default", "vanilla_noskip"],
"n_pairs": 30,
"blocks": [
{"block": 1, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 2, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 3, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 4, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 5, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 6, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 7, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 8, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 9, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 10, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 11, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 12, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 13, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 14, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 15, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 16, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 17, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 18, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 19, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 20, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 21, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 22, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 23, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 24, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 25, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 26, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 27, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 28, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 29, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 30, "order": ["vanilla_noskip", "vanilla_default", "ours"]}
],
"context_tokens": 262144,
"cache_residency_band": {"min": 0.9, "max": 1.0},
"interim_looks": [12, 24],
"foreign_load_threshold": {"cpu_percent_of_core": 5.0, "duration_s": 2.0}
},
"n36_balanced": {
"seed": 311,
"arms": ["ours", "vanilla_default", "vanilla_noskip"],
"n_pairs": 36,
"blocks": [
{"block": 1, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 2, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 3, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 4, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 5, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 6, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 7, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 8, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 9, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 10, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 11, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 12, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 13, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 14, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 15, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 16, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 17, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 18, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 19, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 20, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 21, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 22, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 23, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 24, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 25, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 26, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 27, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 28, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 29, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 30, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 31, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 32, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 33, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 34, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 35, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 36, "order": ["vanilla_noskip", "ours", "vanilla_default"]}
],
"context_tokens": 262144,
"cache_residency_band": {"min": 0.9, "max": 1.0},
"interim_looks": [],
"foreign_load_threshold": {"cpu_percent_of_core": 5.0, "duration_s": 2.0}
},
"two_arms_alternating": {
"seed": 311,
"arms": ["ours", "vanilla_default"],
"n_pairs": 30,
"blocks": [
{"block": 1, "order": ["ours", "vanilla_default"]},
{"block": 2, "order": ["vanilla_default", "ours"]},
{"block": 3, "order": ["ours", "vanilla_default"]},
{"block": 4, "order": ["vanilla_default", "ours"]},
{"block": 5, "order": ["ours", "vanilla_default"]},
{"block": 6, "order": ["vanilla_default", "ours"]},
{"block": 7, "order": ["ours", "vanilla_default"]},
{"block": 8, "order": ["vanilla_default", "ours"]},
{"block": 9, "order": ["ours", "vanilla_default"]},
{"block": 10, "order": ["vanilla_default", "ours"]},
{"block": 11, "order": ["ours", "vanilla_default"]},
{"block": 12, "order": ["vanilla_default", "ours"]},
{"block": 13, "order": ["ours", "vanilla_default"]},
{"block": 14, "order": ["vanilla_default", "ours"]},
{"block": 15, "order": ["ours", "vanilla_default"]},
{"block": 16, "order": ["vanilla_default", "ours"]},
{"block": 17, "order": ["ours", "vanilla_default"]},
{"block": 18, "order": ["vanilla_default", "ours"]},
{"block": 19, "order": ["ours", "vanilla_default"]},
{"block": 20, "order": ["vanilla_default", "ours"]},
{"block": 21, "order": ["ours", "vanilla_default"]},
{"block": 22, "order": ["vanilla_default", "ours"]},
{"block": 23, "order": ["ours", "vanilla_default"]},
{"block": 24, "order": ["vanilla_default", "ours"]},
{"block": 25, "order": ["ours", "vanilla_default"]},
{"block": 26, "order": ["vanilla_default", "ours"]},
{"block": 27, "order": ["ours", "vanilla_default"]},
{"block": 28, "order": ["vanilla_default", "ours"]},
{"block": 29, "order": ["ours", "vanilla_default"]},
{"block": 30, "order": ["vanilla_default", "ours"]}
],
"context_tokens": 262144,
"cache_residency_band": {"min": 0.9, "max": 1.0},
"interim_looks": [12, 24],
"foreign_load_threshold": {"cpu_percent_of_core": 5.0, "duration_s": 2.0}
},
"two_arms_blocks_not_alternating": {
"seed": 311,
"arms": ["ours", "vanilla_default"],
"n_pairs": 30,
"blocks": [
{"block": 1, "order": ["ours", "vanilla_default"]},
{"block": 2, "order": ["ours", "vanilla_default"]},
{"block": 3, "order": ["ours", "vanilla_default"]},
{"block": 4, "order": ["ours", "vanilla_default"]},
{"block": 5, "order": ["ours", "vanilla_default"]},
{"block": 6, "order": ["ours", "vanilla_default"]},
{"block": 7, "order": ["ours", "vanilla_default"]},
{"block": 8, "order": ["ours", "vanilla_default"]},
{"block": 9, "order": ["ours", "vanilla_default"]},
{"block": 10, "order": ["ours", "vanilla_default"]},
{"block": 11, "order": ["ours", "vanilla_default"]},
{"block": 12, "order": ["ours", "vanilla_default"]},
{"block": 13, "order": ["ours", "vanilla_default"]},
{"block": 14, "order": ["ours", "vanilla_default"]},
{"block": 15, "order": ["ours", "vanilla_default"]},
{"block": 16, "order": ["vanilla_default", "ours"]},
{"block": 17, "order": ["vanilla_default", "ours"]},
{"block": 18, "order": ["vanilla_default", "ours"]},
{"block": 19, "order": ["vanilla_default", "ours"]},
{"block": 20, "order": ["vanilla_default", "ours"]},
{"block": 21, "order": ["vanilla_default", "ours"]},
{"block": 22, "order": ["vanilla_default", "ours"]},
{"block": 23, "order": ["vanilla_default", "ours"]},
{"block": 24, "order": ["vanilla_default", "ours"]},
{"block": 25, "order": ["vanilla_default", "ours"]},
{"block": 26, "order": ["vanilla_default", "ours"]},
{"block": 27, "order": ["vanilla_default", "ours"]},
{"block": 28, "order": ["vanilla_default", "ours"]},
{"block": 29, "order": ["vanilla_default", "ours"]},
{"block": 30, "order": ["vanilla_default", "ours"]}
],
"context_tokens": 262144,
"cache_residency_band": {"min": 0.9, "max": 1.0},
"interim_looks": [12, 24],
"foreign_load_threshold": {"cpu_percent_of_core": 5.0, "duration_s": 2.0}
},
"n30_first_block_reversed": {
"seed": 311,
"arms": ["ours", "vanilla_default", "vanilla_noskip"],
"n_pairs": 30,
"blocks": [
{"block": 1, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 2, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 3, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 4, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 5, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 6, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 7, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 8, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 9, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 10, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 11, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 12, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 13, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 14, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 15, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 16, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 17, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 18, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 19, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 20, "order": ["vanilla_noskip", "vanilla_default", "ours"]},
{"block": 21, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 22, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 23, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 24, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 25, "order": ["ours", "vanilla_noskip", "vanilla_default"]},
{"block": 26, "order": ["vanilla_noskip", "ours", "vanilla_default"]},
{"block": 27, "order": ["vanilla_default", "vanilla_noskip", "ours"]},
{"block": 28, "order": ["vanilla_default", "ours", "vanilla_noskip"]},
{"block": 29, "order": ["ours", "vanilla_default", "vanilla_noskip"]},
{"block": 30, "order": ["vanilla_noskip", "vanilla_default", "ours"]}
],
"context_tokens": 262144,
"cache_residency_band": {"min": 0.9, "max": 1.0},
"interim_looks": [12, 24],
"foreign_load_threshold": {"cpu_percent_of_core": 5.0, "duration_s": 2.0}
}
},
"cases": [
{
"name": "power_sample_below_100w",
"class": "POWER",
"kind": "pairs",
"basis": "E2(1) floor 100 W. ours min 99.9 W < 100 -> POWER. Isolated: ours 99.9..112.0 (spread 12.1 <= 20, mean 105.0), the other arms 100.5..112.0 (mean 105.0): mean difference 0.0 <= 10, no sample above the 150.0 W maximum limit.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 99.9,
"power_sample_summary.max_w": 112.0,
"power_sample_summary.mean_w": 105.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 99.9,
"hardware.enforced_power_limit_w_end": 112.0
}
},
"vanilla_default": {
"set": {
"power_sample_summary.min_w": 100.5,
"power_sample_summary.max_w": 112.0,
"power_sample_summary.mean_w": 105.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 100.5,
"hardware.enforced_power_limit_w_end": 112.0
}
},
"vanilla_noskip": {
"set": {
"power_sample_summary.min_w": 100.5,
"power_sample_summary.max_w": 112.0,
"power_sample_summary.mean_w": 105.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 100.5,
"hardware.enforced_power_limit_w_end": 112.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["POWER"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "power_51w_recorded_run",
"class": "POWER",
"kind": "pairs",
"basis": "The recorded run of docs/laptop-vs-vanilla.md section 14 (the run with the prefix-checkpoint fix: 'the GPU power limit read 51 W (P3) for the whole run'): ours min = max = mean = 51.0 W. 51.0 < 100 -> POWER (also: mean difference to the 122.0 W arms = 71.0 > 10). The other two arms keep the clean template band 118.0..126.5.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 51.0,
"power_sample_summary.max_w": 51.0,
"power_sample_summary.mean_w": 51.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": false,
"hardware.enforced_power_limit_w_start": 51.0,
"hardware.enforced_power_limit_w_end": 51.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["POWER"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "power_sample_above_max_limit",
"class": "POWER",
"kind": "pairs",
"basis": "E2(1) above the card's max limit. power_max_limit_w = 150.0; ours max sample 150.5 > 150.0 -> POWER. Isolated: ours 140.0..150.5 (spread 10.5 <= 20, mean 145.0), others 140.0..148.0 (mean 144.0): mean difference 1.0 <= 10, all samples >= 100.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 140.0,
"power_sample_summary.max_w": 150.5,
"power_sample_summary.mean_w": 145.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 140.0,
"hardware.enforced_power_limit_w_end": 150.5
}
},
"vanilla_default": {
"set": {
"power_sample_summary.min_w": 140.0,
"power_sample_summary.max_w": 148.0,
"power_sample_summary.mean_w": 144.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 140.0,
"hardware.enforced_power_limit_w_end": 148.0
}
},
"vanilla_noskip": {
"set": {
"power_sample_summary.min_w": 140.0,
"power_sample_summary.max_w": 148.0,
"power_sample_summary.mean_w": 144.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 140.0,
"hardware.enforced_power_limit_w_end": 148.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["POWER"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "power_floor_exactly_100w_valid",
"class": "POWER",
"kind": "pairs",
"basis": "The floor is 'below 100 W': a minimum of exactly 100.0 W is valid. ours 100.0..112.0 (spread 12.0, mean 105.0), others 100.5..112.0 (mean 105.0); all <= 150.0; mean difference 0.0.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 100.0,
"power_sample_summary.max_w": 112.0,
"power_sample_summary.mean_w": 105.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 100.0,
"hardware.enforced_power_limit_w_end": 112.0
}
},
"vanilla_default": {
"set": {
"power_sample_summary.min_w": 100.5,
"power_sample_summary.max_w": 112.0,
"power_sample_summary.mean_w": 105.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 100.5,
"hardware.enforced_power_limit_w_end": 112.0
}
},
"vanilla_noskip": {
"set": {
"power_sample_summary.min_w": 100.5,
"power_sample_summary.max_w": 112.0,
"power_sample_summary.mean_w": 105.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 100.5,
"hardware.enforced_power_limit_w_end": 112.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "power_means_differ_10_01w",
"class": "POWER",
"kind": "pairs",
"basis": "E2(1) arms' mean limits. ours and vanilla_noskip 110.0..126.0 mean 118.0; vanilla_default 120.0..130.0 mean 128.01. 128.01 - 118.0 = 10.01 > 10 -> POWER. Spreads 16.0 and 10.0 <= 20, samples within 100..150.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 126.0,
"power_sample_summary.mean_w": 118.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 126.0
}
},
"vanilla_default": {
"set": {
"power_sample_summary.min_w": 120.0,
"power_sample_summary.max_w": 130.0,
"power_sample_summary.mean_w": 128.01,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 120.0,
"hardware.enforced_power_limit_w_end": 130.0
}
},
"vanilla_noskip": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 126.0,
"power_sample_summary.mean_w": 118.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 126.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["POWER"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "power_means_differ_9_99w",
"class": "POWER",
"kind": "pairs",
"basis": "E2(1) arms' mean limits. ours and vanilla_noskip 110.0..126.0 mean 118.0; vanilla_default 120.0..130.0 mean 127.99. 127.99 - 118.0 = 9.99 <= 10 -> valid. Spreads 16.0 and 10.0 <= 20, samples within 100..150.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 126.0,
"power_sample_summary.mean_w": 118.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 126.0
}
},
"vanilla_default": {
"set": {
"power_sample_summary.min_w": 120.0,
"power_sample_summary.max_w": 130.0,
"power_sample_summary.mean_w": 127.99,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 120.0,
"hardware.enforced_power_limit_w_end": 130.0
}
},
"vanilla_noskip": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 126.0,
"power_sample_summary.mean_w": 118.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 126.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "power_means_differ_exactly_10w",
"class": "POWER",
"kind": "pairs",
"basis": "E2(1) arms' mean limits. ours and vanilla_noskip 110.0..126.0 mean 118.0; vanilla_default 120.0..130.0 mean 128.0. 128.0 - 118.0 = 10.0, not MORE than 10 -> valid. Spreads 16.0 and 10.0 <= 20, samples within 100..150.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 126.0,
"power_sample_summary.mean_w": 118.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 126.0
}
},
"vanilla_default": {
"set": {
"power_sample_summary.min_w": 120.0,
"power_sample_summary.max_w": 130.0,
"power_sample_summary.mean_w": 128.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 120.0,
"hardware.enforced_power_limit_w_end": 130.0
}
},
"vanilla_noskip": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 126.0,
"power_sample_summary.mean_w": 118.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 126.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "power_spread_20_01w",
"class": "POWER",
"kind": "pairs",
"basis": "E2(1) spread within one arm. ours 110.0..130.01: 130.01 - 110.0 = 20.01 > 20 -> POWER. Mean 120.0 vs 122.0 of the others = 2.0 <= 10; samples within 100..150.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 130.01,
"power_sample_summary.mean_w": 120.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 130.01
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["POWER"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "power_spread_exactly_20w_valid",
"class": "POWER",
"kind": "pairs",
"basis": "Spread 'exceeds 20 W': ours 110.0..130.0 = exactly 20.0 is valid. Mean 120.0 vs 122.0 = 2.0 <= 10; samples within 100..150.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 130.0,
"power_sample_summary.mean_w": 120.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 130.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "clean_laptop_run",
"class": "POWER",
"kind": "pairs",
"basis": "The recorded clean run g2-vanilla-noskip of docs/laptop-vs-vanilla.md section 11: limit 110.0 rising to 126.6 W over the whole run. Spread 126.6 - 110.0 = 16.6 <= 20; floor 110.0 >= 100; max 126.6 <= 150.0; all three arms 110.0..126.6 mean 118.3 so the mean difference is 0.0. The limit changed during the run (start 110.0, end 126.6, power_limit_changed true) and the pair MUST stay valid (SDET remark H, QA-2).",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 126.6,
"power_sample_summary.mean_w": 118.3,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 126.6
}
},
"vanilla_default": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 126.6,
"power_sample_summary.mean_w": 118.3,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 126.6
}
},
"vanilla_noskip": {
"set": {
"power_sample_summary.min_w": 110.0,
"power_sample_summary.max_w": 126.6,
"power_sample_summary.mean_w": 118.3,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 110.0,
"hardware.enforced_power_limit_w_end": 126.6
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "server_limit_spread_0w_valid",
"class": "POWER",
"kind": "pairs",
"basis": "E2(1) server: the enforced limit is the configured value, spread 0 W. All arms 575.0..575.0 mean 575.0, power_max_limit_w 600.0: spread 0.0, means equal, <= max limit.",
"input": {"machine": "server", "schedule": "pairs_n6", "pairs": [{"pair": 1, "arms": {}}]},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "server_limit_spread_1w",
"class": "POWER",
"kind": "pairs",
"basis": "E2(1) server: ours 574.0..575.0 (mean 574.5): spread 1.0 != 0 -> POWER; the mean also differs by 0.5 from the other arms.",
"input": {
"machine": "server",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 574.0,
"power_sample_summary.max_w": 575.0,
"power_sample_summary.mean_w": 574.5,
"power_sample_summary.power_max_limit_w": 600.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 574.0,
"hardware.enforced_power_limit_w_end": 575.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["POWER"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "server_limit_differs_between_arms",
"class": "POWER",
"kind": "pairs",
"basis": "E2(1) server: 'the limit must be unchanged between the arms'. vanilla_default constant 550.0 (spread 0), the others constant 575.0: mean difference 25.0 != 0 -> POWER. The 10 W tolerance is a laptop rule.",
"input": {
"machine": "server",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {
"set": {
"power_sample_summary.min_w": 550.0,
"power_sample_summary.max_w": 550.0,
"power_sample_summary.mean_w": 550.0,
"power_sample_summary.power_max_limit_w": 600.0,
"power_sample_summary.power_limit_changed": false,
"hardware.enforced_power_limit_w_start": 550.0,
"hardware.enforced_power_limit_w_end": 550.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["POWER"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "prompt_sha256_differs_between_arms",
"class": "WORKLOAD",
"kind": "pairs",
"basis": "E2(3)/E7: the prompt sha256 of turn 3 (index 2) of vanilla_noskip is replaced by sha256('golden-different-prompt'); the other two arms keep the template hash -> the three hashes of turn 3 are not equal -> WORKLOAD.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_noskip": {
"set": {
"metrics.turns.2.prompt_sha256": "e645e86df062b0f6b6faac1a82f9ff2666a6b283c1e0aa84b672de5ce2fbb76f"
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["WORKLOAD"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "max_prompt_tokens_199999",
"class": "WORKLOAD",
"kind": "pairs",
"basis": "256k class (BA decision, common paragraph): context_tokens 262144 AND largest per-turn prompt_tokens >= 200,000. Turn 5 of every arm set to 199999 (turns 1-4 are 43000..172500, so the largest is turn 5): 199999 < 200000 -> WORKLOAD.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {"set": {"metrics.turns.4.prompt_tokens": 199999}},
"vanilla_default": {"set": {"metrics.turns.4.prompt_tokens": 199999}},
"vanilla_noskip": {"set": {"metrics.turns.4.prompt_tokens": 199999}}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["WORKLOAD"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "max_prompt_tokens_200000",
"class": "WORKLOAD",
"kind": "pairs",
"basis": "256k class (BA decision, common paragraph): context_tokens 262144 AND largest per-turn prompt_tokens >= 200,000. Turn 5 of every arm set to 200000 (turns 1-4 are 43000..172500, so the largest is turn 5): 200000 >= 200000 -> valid.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {"set": {"metrics.turns.4.prompt_tokens": 200000}},
"vanilla_default": {"set": {"metrics.turns.4.prompt_tokens": 200000}},
"vanilla_noskip": {"set": {"metrics.turns.4.prompt_tokens": 200000}}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "context_tokens_131072",
"class": "WORKLOAD",
"kind": "pairs",
"basis": "256k class needs context_tokens == 262144. All arms configured with 131072 (charter: half the window) -> WORKLOAD even though the prompts (largest 215000) would pass the token test.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {"set": {"configuration.context_tokens": 131072}},
"vanilla_default": {"set": {"configuration.context_tokens": 131072}},
"vanilla_noskip": {"set": {"configuration.context_tokens": 131072}}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["WORKLOAD"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "missing_metadata_field",
"class": "WORKLOAD",
"kind": "pairs",
"basis": "E2(3): the metadata of the common paragraph is missing. software.driver_version removed from the vanilla_default record -> WORKLOAD (the field list: hardware, driver and CUDA versions, commits, model digest, configuration, cache state, token counts).",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [{"pair": 1, "arms": {"vanilla_default": {"unset": ["software.driver_version"]}}}]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["WORKLOAD"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "cache_residency_below_band",
"class": "CACHE",
"kind": "pairs",
"basis": "E2(4): the schedule band is 0.90..1.00 of the model file resident. ours page_cache_residency_before = 0.80 < 0.90 -> CACHE; the other arms keep 0.97.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [{"pair": 1, "arms": {"ours": {"set": {"cache.page_cache_residency_before.value": 0.8}}}}]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["CACHE"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "cache_residency_inside_band",
"class": "CACHE",
"kind": "pairs",
"basis": "E2(4): ours 0.91 and vanilla_noskip 0.99 are inside 0.90..1.00 (0.90 <= 0.91, 0.99 <= 1.00) -> valid.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {"set": {"cache.page_cache_residency_before.value": 0.91}},
"vanilla_noskip": {"set": {"cache.page_cache_residency_before.value": 0.99}}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "infra_crash_attributed_to_power",
"class": "INFRASTRUCTURE",
"kind": "pairs",
"basis": "E2(5): the vanilla_default run crashed and the ledger attributes it to POWER (one of power/cache/lock/watchdog/telemetry) -> pair invalid, reason INFRASTRUCTURE, event RERUN. The other two arms have clean records.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {"record": false, "attempts": [{"outcome": "CRASH", "attributed_to": "POWER"}]}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["INFRASTRUCTURE"], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "infra_crash_attributed_to_cache",
"class": "INFRASTRUCTURE",
"kind": "pairs",
"basis": "E2(5): the vanilla_default run crashed and the ledger attributes it to CACHE (one of power/cache/lock/watchdog/telemetry) -> pair invalid, reason INFRASTRUCTURE, event RERUN. The other two arms have clean records.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {"record": false, "attempts": [{"outcome": "CRASH", "attributed_to": "CACHE"}]}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["INFRASTRUCTURE"], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "infra_crash_attributed_to_lock",
"class": "INFRASTRUCTURE",
"kind": "pairs",
"basis": "E2(5): the vanilla_default run crashed and the ledger attributes it to LOCK (one of power/cache/lock/watchdog/telemetry) -> pair invalid, reason INFRASTRUCTURE, event RERUN. The other two arms have clean records.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {"record": false, "attempts": [{"outcome": "CRASH", "attributed_to": "LOCK"}]}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["INFRASTRUCTURE"], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "infra_crash_attributed_to_watchdog",
"class": "INFRASTRUCTURE",
"kind": "pairs",
"basis": "E2(5): the vanilla_default run crashed and the ledger attributes it to WATCHDOG (one of power/cache/lock/watchdog/telemetry) -> pair invalid, reason INFRASTRUCTURE, event RERUN. The other two arms have clean records.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {"record": false, "attempts": [{"outcome": "CRASH", "attributed_to": "WATCHDOG"}]}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["INFRASTRUCTURE"], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "infra_crash_attributed_to_telemetry",
"class": "INFRASTRUCTURE",
"kind": "pairs",
"basis": "E2(5): the vanilla_default run crashed and the ledger attributes it to TELEMETRY (one of power/cache/lock/watchdog/telemetry) -> pair invalid, reason INFRASTRUCTURE, event RERUN. The other two arms have clean records.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {"record": false, "attempts": [{"outcome": "CRASH", "attributed_to": "TELEMETRY"}]}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["INFRASTRUCTURE"], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "infra_ours_crash_attributed_to_watchdog",
"class": "INFRASTRUCTURE",
"kind": "pairs",
"basis": "E2(5): an OURS crash attributable to the watchdog is infrastructure, not a FAIL event: invalid, INFRASTRUCTURE, RERUN.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {"ours": {"record": false, "attempts": [{"outcome": "CRASH", "attributed_to": "WATCHDOG"}]}}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["INFRASTRUCTURE"], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "build_id_mismatch",
"class": "BUILD_IDENTITY",
"kind": "pairs",
"basis": "E1b/E2(5): ours_build_id_observed.commit = fedcba9876543210fedcba9876543210fedcba98 differs from ours_build_id_frozen.commit = 0123456789abcdef0123456789abcdef01234567 -> invalid, reason INFRASTRUCTURE, event RERUN.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {"ours": {"set": {"ours_build_id_observed.commit": "fedcba9876543210fedcba9876543210fedcba98"}}}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["INFRASTRUCTURE"], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "build_id_mismatch_cargo_features",
"class": "BUILD_IDENTITY",
"kind": "pairs",
"basis": "E1b: the build id is commit + target triple + cargo features + profile hash. Observed cargo_features ['cuda'] differs from frozen ['cuda','native-cpu-expert'] -> INFRASTRUCTURE, RERUN.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [{"pair": 1, "arms": {"ours": {"set": {"ours_build_id_observed.cargo_features": ["cuda"]}}}}]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["INFRASTRUCTURE"], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "build_id_equal_valid",
"class": "BUILD_IDENTITY",
"kind": "pairs",
"basis": "Observed and frozen ids both set to commit fedcba9876543210fedcba9876543210fedcba98 (all other fields equal): identical -> no build-identity finding, valid.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"ours_build_id_observed.commit": "fedcba9876543210fedcba9876543210fedcba98",
"ours_build_id_frozen.commit": "fedcba9876543210fedcba9876543210fedcba98"
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "fail_event_ours_crash_unattributed",
"class": "FAIL_EVENT",
"kind": "pairs",
"basis": "E2(5): an ours CRASH that is not attributable to (1)-(5) is NOT a re-run: event FAIL, the series stops FAILED. The pair is not valid; no E2 reason code applies, so reasons is empty.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {"ours": {"record": false, "attempts": [{"outcome": "CRASH", "attributed_to": null}]}}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": [], "event": "FAIL"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "fail_event_ours_timeout_unattributed",
"class": "FAIL_EVENT",
"kind": "pairs",
"basis": "E2(5): an ours TIMEOUT that is not attributable to (1)-(5) is NOT a re-run: event FAIL, the series stops FAILED. The pair is not valid; no E2 reason code applies, so reasons is empty.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {"ours": {"record": false, "attempts": [{"outcome": "TIMEOUT", "attributed_to": null}]}}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": [], "event": "FAIL"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "fail_event_ours_integrity_failure_unattributed",
"class": "FAIL_EVENT",
"kind": "pairs",
"basis": "E2(5): an ours INTEGRITY_FAILURE that is not attributable to (1)-(5) is NOT a re-run: event FAIL, the series stops FAILED. The pair is not valid; no E2 reason code applies, so reasons is empty.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {"record": false, "attempts": [{"outcome": "INTEGRITY_FAILURE", "attributed_to": null}]}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": [], "event": "FAIL"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "vanilla_crash_unattributed_first",
"class": "VANILLA_RERUN_CAP",
"kind": "pairs",
"basis": "E2(5): a vanilla crash not attributable is re-run at most twice. One failed attempt (a1) of the vanilla_default slot -> event RERUN, reasons empty.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {"record": false, "attempts": [{"outcome": "CRASH", "attributed_to": null}]}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": [], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "vanilla_crash_unattributed_second",
"class": "VANILLA_RERUN_CAP",
"kind": "pairs",
"basis": "Two failed attempts (a1, a2) of the slot: the second re-run is still allowed (2 <= cap 2) -> RERUN.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {
"record": false,
"attempts": [{"outcome": "CRASH", "attributed_to": null}, {"outcome": "CRASH", "attributed_to": null}]
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": [], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "vanilla_crash_unattributed_third_owner",
"class": "VANILLA_RERUN_CAP",
"kind": "pairs",
"basis": "Three failed attempts (a1, a2, a3): 3 > cap 2 -> the series stops and the third failure is reported to the owner: event OWNER, reasons empty.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {
"record": false,
"attempts": [
{"outcome": "CRASH", "attributed_to": null},
{"outcome": "TIMEOUT", "attributed_to": null},
{"outcome": "CRASH", "attributed_to": null}
]
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": [], "event": "OWNER"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "vanilla_timeout_unattributed_first",
"class": "VANILLA_RERUN_CAP",
"kind": "pairs",
"basis": "A vanilla TIMEOUT counts like a crash: one failed attempt of vanilla_noskip -> RERUN.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_noskip": {"record": false, "attempts": [{"outcome": "TIMEOUT", "attributed_to": null}]}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": [], "event": "RERUN"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "ledger_orphan_run_id",
"class": "LEDGER",
"kind": "pairs",
"basis": "E8: the ledger has run pair-0002.vanilla_noskip with last state DONE, but there is no record and no INVALID listing -> the series is refused (no pair may be dropped silently): exit 2, the run id is named. Pair 1 is clean.",
"input": {
"machine": "server",
"schedule": "pairs_n6",
"pairs": [{"pair": 1, "arms": {}}],
"ledger_extra": [
{"pair": 2, "arm": "vanilla_noskip", "state": "QUEUED"},
{"pair": 2, "arm": "vanilla_noskip", "state": "STARTED"},
{"pair": 2, "arm": "vanilla_noskip", "state": "DONE"}
]
},
"expected": {"exit": 2, "names": ["pair-0002.vanilla_noskip"]}
},
{
"name": "ledger_record_not_in_manifest",
"class": "LEDGER",
"kind": "pairs",
"basis": "E8: the record pair-0001.vanilla_noskip.json exists but the ledger (the manifest) has no line for its run id -> exit 2, the run id is named.",
"input": {
"machine": "server",
"schedule": "pairs_n6",
"pairs": [{"pair": 1, "arms": {}}],
"drop_ledger": ["pair-0001.vanilla_noskip"]
},
"expected": {"exit": 2, "names": ["pair-0001.vanilla_noskip"]}
},
{
"name": "ledger_invalid_listing_is_not_an_orphan",
"class": "LEDGER",
"kind": "pairs",
"basis": "A run with no record whose last ledger state is INVALID is an invalid listing, not an orphan: exit 0, manifest_ok true. Pair 1 clean (valid); pair 2: the vanilla_noskip attempt crashed, attributed to LOCK -> INFRASTRUCTURE/RERUN. invalid_rate = 1 invalid pair / 2 pairs = 0.5.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{"pair": 1, "arms": {}},
{
"pair": 2,
"arms": {
"vanilla_noskip": {"record": false, "attempts": [{"outcome": "CRASH", "attributed_to": "LOCK"}]}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [
{"pair": 1, "valid": true, "reasons": [], "event": null},
{"pair": 2, "valid": false, "reasons": ["INFRASTRUCTURE"], "event": "RERUN"}
],
"manifest_ok": true,
"invalid_rate": 0.5
}
},
{
"name": "countable_typed_true_derived_false",
"class": "COUNTABLE",
"kind": "pairs",
"basis": "`countable` is derived, never typed: the ours record types countable=true while its power sample (99.9 W < 100) makes the pair invalid (derived false). The disagreement adds COUNTABLE_MISMATCH next to POWER; the pair is rejected. The other arms type false (their own derived value).",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {
"power_sample_summary.min_w": 99.9,
"power_sample_summary.max_w": 112.0,
"power_sample_summary.mean_w": 105.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 99.9,
"hardware.enforced_power_limit_w_end": 112.0
},
"countable": true
},
"vanilla_default": {
"set": {
"power_sample_summary.min_w": 100.5,
"power_sample_summary.max_w": 112.0,
"power_sample_summary.mean_w": 105.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 100.5,
"hardware.enforced_power_limit_w_end": 112.0
}
},
"vanilla_noskip": {
"set": {
"power_sample_summary.min_w": 100.5,
"power_sample_summary.max_w": 112.0,
"power_sample_summary.mean_w": 105.0,
"power_sample_summary.power_max_limit_w": 150.0,
"power_sample_summary.power_limit_changed": true,
"hardware.enforced_power_limit_w_start": 100.5,
"hardware.enforced_power_limit_w_end": 112.0
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["COUNTABLE_MISMATCH", "POWER"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "countable_typed_false_derived_true",
"class": "COUNTABLE",
"kind": "pairs",
"basis": "A clean pair (derived countable true) whose ours record types countable=false: any disagreement between typed and derived value is COUNTABLE_MISMATCH -> rejected, valid=false.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [{"pair": 1, "arms": {"ours": {"countable": false}}}]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["COUNTABLE_MISMATCH"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "attestation_missing",
"class": "ATTESTATION",
"kind": "pairs",
"basis": "E2(2): the owner's session-start attestation (Turbo, unlocked screen) is absent in the ours record (present false, identifier and time null per RULE_ATTESTATION) -> invalid, reason ATTESTATION_MISSING, event OWNER. It is checked present, not measured.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"ours": {
"set": {"hardware.owner_attestation": {"present": false, "identifier": null, "time_utc": null}}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["ATTESTATION_MISSING"], "event": "OWNER"}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "attestation_present",
"class": "ATTESTATION",
"kind": "pairs",
"basis": "Every record carries a present attestation (identifier golden-attestation-1, time 2026-01-01T00:00:00Z) -> no attestation finding, valid.",
"input": {"machine": "laptop", "schedule": "pairs_n6", "pairs": [{"pair": 1, "arms": {}}]},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "foreign_load_6pct",
"class": "FOREIGN_LOAD",
"kind": "pairs",
"basis": "SC14: a non-harness process at 6.0 percent of a core for 3.0 s in vanilla_default: 6.0 > 5.0 and 3.0 >= 2.0 -> invalid, reason FOREIGN_LOAD.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {
"set": {
"hardware.foreign_load.samples": [{"process_name": "golden-indexer", "cpu_percent_of_core": 6.0, "duration_s": 3.0}]
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": false, "reasons": ["FOREIGN_LOAD"], "event": null}],
"manifest_ok": true,
"invalid_rate": 1.0
}
},
{
"name": "foreign_load_4pct",
"class": "FOREIGN_LOAD",
"kind": "pairs",
"basis": "SC14: 4.0 percent of a core for 3.0 s: 4.0 <= 5.0 -> not flagged, valid.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {
"set": {
"hardware.foreign_load.samples": [{"process_name": "golden-indexer", "cpu_percent_of_core": 4.0, "duration_s": 3.0}]
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "foreign_load_6pct_1s",
"class": "FOREIGN_LOAD",
"kind": "pairs",
"basis": "SC14: 6.0 percent but only 1.0 s: 1.0 < 2.0 s -> below the duration threshold, not flagged, valid.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [
{
"pair": 1,
"arms": {
"vanilla_default": {
"set": {
"hardware.foreign_load.samples": [{"process_name": "golden-indexer", "cpu_percent_of_core": 6.0, "duration_s": 1.0}]
}
}
}
}
]
},
"expected": {
"exit": 0,
"pairs": [{"pair": 1, "valid": true, "reasons": [], "event": null}],
"manifest_ok": true,
"invalid_rate": 0.0
}
},
{
"name": "record_malformed_json",
"class": "MALFORMED",
"kind": "pairs",
"basis": "Interface: exit 3 = malformed input. The record file pair-0001.ours.json contains '{not json' -> exit 3.",
"input": {
"machine": "laptop",
"schedule": "pairs_n6",
"pairs": [{"pair": 1, "arms": {"ours": {"record": false}}}],
"raw_records": {"pair-0001.ours.json": "{not json"}
},
"expected": {"exit": 3}
},
{
"name": "schedule_n30_three_arms_balanced",
"class": "SCHEDULE",
"kind": "schedule",
"basis": "E1/D5: N = 30, 3 arms -> 30/6 = 5 groups, each of the 6 permutations of (ours, vanilla_default, vanilla_noskip) exactly once, group and in-group order drawn with a seeded stream (seed 311). Counts re-derived: each arm appears 5 groups x 2 permutations = 10 times in each of positions 1, 2, 3, and follows each other arm 5 x 2 = 10 times.",
"input": {"schedule": "n30_balanced"},
"expected": {"exit": 0, "balanced": true}
},
{
"name": "schedule_n29_rejected",
"class": "SCHEDULE",
"kind": "schedule",
"basis": "E1: N = 29 (the first 29 blocks of the N = 30 schedule): 29 is not a multiple of 6, the last group is incomplete (5 of 6 permutations) -> balanced false, exit 0.",
"input": {"schedule": "n29"},
"expected": {"exit": 0, "balanced": false}
},
{
"name": "schedule_group_missing_permutation",
"class": "SCHEDULE",
"kind": "schedule",
"basis": "N = 30 but group 3 (blocks 13-18) has its last permutation replaced by a copy of its first: one permutation is missing and one appears twice -> balanced false.",
"input": {"schedule": "n30_group_missing_permutation"},
"expected": {"exit": 0, "balanced": false}
},
{
"name": "schedule_balanced_overall_groups_broken",
"class": "SCHEDULE",
"kind": "schedule",
"basis": "Blocks 6 and 8 are traded between group 1 and group 2: the multiset of all 30 orders is unchanged (each permutation 5 times, overall position counts still 10) but group 1 now misses a permutation and group 2 doubles one -> the rule is per group of 6 -> balanced false.",
"input": {"schedule": "n30_groups_broken"},
"expected": {"exit": 0, "balanced": false}
},
{
"name": "schedule_n36_six_groups_balanced",
"class": "SCHEDULE",
"kind": "schedule",
"basis": "D2/E1: N is raised in multiples of 6 when the spread says 30 pairs cannot resolve 1 percent: N = 36 = 6 groups of all 6 permutations (same seed stream) -> balanced true.",
"input": {"schedule": "n36_balanced"},
"expected": {"exit": 0, "balanced": true}
},
{
"name": "schedule_two_arms_alternate_ab_ba",
"class": "SCHEDULE",
"kind": "schedule",
"basis": "D5: two arms (rows coincide, A/A cells) alternate AB, BA: blocks 1,3,5,... = [ours, vanilla_default], blocks 2,4,6,... = reversed; N = 30 -> 15 AB + 15 BA, each arm 15 times first -> balanced true.",
"input": {"schedule": "two_arms_alternating"},
"expected": {"exit": 0, "balanced": true}
},
{
"name": "schedule_two_arms_not_alternating",
"class": "SCHEDULE",
"kind": "schedule",
"basis": "Two arms with 15 x AB followed by 15 x BA: the totals are balanced (15 first each) but the blocks do not alternate AB, BA -> balanced false.",
"input": {"schedule": "two_arms_blocks_not_alternating"},
"expected": {"exit": 0, "balanced": false}
},
{
"name": "schedule_hash_stable_under_reserialisation",
"class": "SCHEDULE",
"kind": "schedule_hash",
"basis": "The schedule hash is a function of the content, not of the bytes: the N = 30 schedule written compact with its keys in file order, and written with indent 4 and the keys of every object in reverse order, gives the same hash; the same schedule with block 1 reversed gives a different hash. The test asserts equality / inequality and a 64-hex string, not a particular value.",
"input": {
"schedule": "n30_balanced",
"variants": [{"indent": null, "reverse_keys": false}, {"indent": 4, "reverse_keys": true}],
"other": "n30_first_block_reversed"
},
"expected": {"exit": 0, "same_across_variants": true, "differs_from_other": true}
},
{
"name": "schedule_malformed_json",
"class": "MALFORMED",
"kind": "schedule_raw",
"basis": "Interface: exit 3 = malformed input. The schedule file contains 'not json{' -> `schedule --check` exits 3.",
"input": {"raw": "not json{"},
"expected": {"exit": 3}
},
{
"name": "order_tables_hand_computed",
"class": "ORDER_TABLES",
"kind": "order_tables",
"basis": "E1: the evaluator prints the mean by arm position and by predecessor. One group of the 6 permutations; wall_norm = 2^k with k (blocks 1-6): ours 0,1,2,3,4,5; vanilla_default 1,1,2,2,3,3; vanilla_noskip 2,0,2,0,2,0. ours is at position 1 in blocks 1,2 (k 0,1: mean 1/2), position 2 in blocks 3,5 (k 2,4: 3), position 3 in blocks 4,6 (k 3,5: 4); its predecessor is none in blocks 1,2, vanilla_default in blocks 3,6 (k 2,5: 7/2), vanilla_noskip in blocks 4,5 (k 3,4: 7/2). Means of ln(value) are these exponents times ln 2. The remaining rows are the same arithmetic (see the stored tables).",
"input": {
"series": {
"machine": "laptop",
"ours_build_id": "golden-build-1",
"cache_state": "WARM-OS/EMPTY-ENGINE",
"schedule_hash": "golden-order-tables",
"N": 6,
"rows_coincide": false,
"pairs": [
{
"pair": 1,
"valid": true,
"reasons": [],
"position": {"ours": 1, "vanilla_default": 2, "vanilla_noskip": 3},
"predecessor": {"ours": null, "vanilla_default": "ours", "vanilla_noskip": "vanilla_default"},
"arms": {
"ours": {"wall_norm": 1.0, "ttft_sum": 1.0, "decode_tps": 1.0, "exp2": 0},
"vanilla_default": {"wall_norm": 2.0, "ttft_sum": 2.0, "decode_tps": 2.0, "exp2": 1},
"vanilla_noskip": {"wall_norm": 4.0, "ttft_sum": 4.0, "decode_tps": 4.0, "exp2": 2}
}
},
{
"pair": 2,
"valid": true,
"reasons": [],
"position": {"ours": 1, "vanilla_default": 3, "vanilla_noskip": 2},
"predecessor": {"ours": null, "vanilla_default": "vanilla_noskip", "vanilla_noskip": "ours"},
"arms": {
"ours": {"wall_norm": 2.0, "ttft_sum": 2.0, "decode_tps": 2.0, "exp2": 1},
"vanilla_default": {"wall_norm": 2.0, "ttft_sum": 2.0, "decode_tps": 2.0, "exp2": 1},
"vanilla_noskip": {"wall_norm": 1.0, "ttft_sum": 1.0, "decode_tps": 1.0, "exp2": 0}
}
},
{
"pair": 3,
"valid": true,
"reasons": [],
"position": {"ours": 2, "vanilla_default": 1, "vanilla_noskip": 3},
"predecessor": {"ours": "vanilla_default", "vanilla_default": null, "vanilla_noskip": "ours"},
"arms": {
"ours": {"wall_norm": 4.0, "ttft_sum": 4.0, "decode_tps": 4.0, "exp2": 2},
"vanilla_default": {"wall_norm": 4.0, "ttft_sum": 4.0, "decode_tps": 4.0, "exp2": 2},
"vanilla_noskip": {"wall_norm": 4.0, "ttft_sum": 4.0, "decode_tps": 4.0, "exp2": 2}
}
},
{
"pair": 4,
"valid": true,
"reasons": [],
"position": {"ours": 3, "vanilla_default": 1, "vanilla_noskip": 2},
"predecessor": {"ours": "vanilla_noskip", "vanilla_default": null, "vanilla_noskip": "vanilla_default"},
"arms": {
"ours": {"wall_norm": 8.0, "ttft_sum": 8.0, "decode_tps": 8.0, "exp2": 3},
"vanilla_default": {"wall_norm": 4.0, "ttft_sum": 4.0, "decode_tps": 4.0, "exp2": 2},
"vanilla_noskip": {"wall_norm": 1.0, "ttft_sum": 1.0, "decode_tps": 1.0, "exp2": 0}
}
},
{
"pair": 5,
"valid": true,
"reasons": [],
"position": {"ours": 2, "vanilla_default": 3, "vanilla_noskip": 1},
"predecessor": {"ours": "vanilla_noskip", "vanilla_default": "ours", "vanilla_noskip": null},
"arms": {
"ours": {"wall_norm": 16.0, "ttft_sum": 16.0, "decode_tps": 16.0, "exp2": 4},
"vanilla_default": {"wall_norm": 8.0, "ttft_sum": 8.0, "decode_tps": 8.0, "exp2": 3},
"vanilla_noskip": {"wall_norm": 4.0, "ttft_sum": 4.0, "decode_tps": 4.0, "exp2": 2}
}
},
{
"pair": 6,
"valid": true,
"reasons": [],
"position": {"ours": 3, "vanilla_default": 2, "vanilla_noskip": 1},
"predecessor": {"ours": "vanilla_default", "vanilla_default": "vanilla_noskip", "vanilla_noskip": null},
"arms": {
"ours": {"wall_norm": 32.0, "ttft_sum": 32.0, "decode_tps": 32.0, "exp2": 5},
"vanilla_default": {"wall_norm": 8.0, "ttft_sum": 8.0, "decode_tps": 8.0, "exp2": 3},
"vanilla_noskip": {"wall_norm": 1.0, "ttft_sum": 1.0, "decode_tps": 1.0, "exp2": 0}
}
}
]
}
},
"expected": {
"unit": "ln2",
"by_position": {
"ours": {"1": "1/2", "2": "3", "3": "4"},
"vanilla_default": {"2": "2", "3": "2", "1": "2"},
"vanilla_noskip": {"3": "2", "2": "0", "1": "1"}
},
"by_predecessor": {
"ours": {"none": "1/2", "vanilla_default": "7/2", "vanilla_noskip": "7/2"},
"vanilla_default": {"ours": "2", "vanilla_noskip": "2", "none": "2"},
"vanilla_noskip": {"vanilla_default": "1", "ours": "1", "none": "1"}
}
}
}
]
}