Files
Pavlo RatushnyiandClaude Sonnet 5.5 79c4e29927 Add END_TO_END evidence-record schema and validator (STRA-246, S0.1)
New files only under scripts/e2e/evidence/: schema.json (v1), a stdlib-only
Python 3.9 validator that interprets it (validate.py, CLI v1: record,
--negative-suite, merge), three synthetic sample records, 33 neg_*.json
fixtures with their expected reasons, a placeholder row (b) environment
list, the charter 4.3 field map and 40 unittest tests.

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

144 lines
3.4 KiB
JSON

{
"$comment": "Expected rejection per fixture; the suite fails when a fixture is accepted or rejected for another reason. row_b_env names the file passed as --row-b-env.",
"samples": [
"sample_ours.json",
"sample_vanilla_default.json",
"sample_vanilla_noskip.json"
],
"cases": [
{
"file": "neg_bare_cpu_prefix.json",
"expect": "BAD_PATTERN"
},
{
"file": "neg_build_id_without_features.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_build_id_without_triple.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_cache_warm_cold_mixed.json",
"expect": "SERIES_CACHE_MIXED"
},
{
"file": "neg_component_level.json",
"expect": "LEVEL_NOT_END_TO_END"
},
{
"file": "neg_context_131072.json",
"expect": "RULE_256K_CONTEXT"
},
{
"file": "neg_countable_under_bootstrap.json",
"expect": "RULE_COUNTABLE_BOOTSTRAP"
},
{
"file": "neg_countable_without_power_summary.json",
"expect": "RULE_COUNTABLE_POWER_SUMMARY"
},
{
"file": "neg_enforced_power_limit_absent.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_enforced_power_limit_na.json",
"expect": "WRONG_TYPE"
},
{
"file": "neg_missing_arm_identity.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_build_id.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_cache_state.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_configuration.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_countable.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_hardware.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_kernel_lines.json",
"expect": "RULE_OURS_CPU_LINE"
},
{
"file": "neg_missing_metrics.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_model_digest.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_noskip_environment.json",
"expect": "RULE_NOSKIP_ENV"
},
{
"file": "neg_missing_pair_id.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_schedule_hash.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_software.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_missing_workload.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_noskip_environment_differs.json",
"expect": "RULE_NOSKIP_ENV",
"row_b_env": "row_b_env_placeholder.txt"
},
{
"file": "neg_ours_without_cpu_lines.json",
"expect": "RULE_OURS_CPU_LINE"
},
{
"file": "neg_position_predecessor.json",
"expect": "RULE_POSITION"
},
{
"file": "neg_power_limit_changed_flag_wrong.json",
"expect": "RULE_POWER_LIMIT_CHANGED"
},
{
"file": "neg_prompt_tokens_199999.json",
"expect": "RULE_256K_PROMPT"
},
{
"file": "neg_quality_without_tool_call_integrity.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_vanilla_claims_cpu_lines.json",
"expect": "RULE_VANILLA_CLAIMS_CPU"
},
{
"file": "neg_vanilla_family_block_incomplete.json",
"expect": "MISSING_FIELD"
},
{
"file": "neg_vanilla_without_family_block.json",
"expect": "RULE_VANILLA_BLOCK"
}
]
}