Files
leleka/scripts/e2e/evidence/sample_component_kernel.json
Pavlo RatushnyiandClaude Sonnet 5.5 bcd8321941 Add COMPONENT evidence-record schemas and validator (STRA-287, S0.1b)
COMPONENT_STARTUP, COMPONENT_TABLE and COMPONENT_KERNEL record schemas
(schema_component.json), validate_component.py (record / --negative-suite /
merge), one sample per level (two for start-up: ours and vanilla), a
negative-case table and 41 unittest tests. Shares the STRA-246 evaluator and
definitions; stdlib only, Python >= 3.9. Classes are computed elsewhere
(STRA-313); the validator checks presence and consistency.

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

88 lines
2.4 KiB
JSON

{
"schema_version": "1",
"level": "COMPONENT_KERNEL",
"synthetic": true,
"record_id": "sample-kernel-0001",
"created_utc": "2026-01-01T01:00:00Z",
"run_started_utc": "2026-01-01T00:30:00Z",
"machine": {
"machine_role": "sample-machine",
"cpu_model": "Sample CPU 16-Core",
"gpu_name": "none",
"os": "Sample OS"
},
"kernel": "sample-routed-expert-gate-up-down",
"toolchain": {
"ours": {
"compiler": "rustc",
"version": "0.0.0-sample",
"target_triple": "x86_64-unknown-linux-gnu",
"flags": "sample rustflags"
},
"reference": {
"compiler": "sample-cxx",
"version": "0.0.0-sample",
"target_triple": "x86_64-linux-gnu",
"flags": "sample cmake flags"
}
},
"case_id": "sample-case-0001",
"input_sha256": "d13f5df72105a7a4ae12f452c09a4dece2d64b32faa24b4937f9a88e3738c9a0",
"kab1_manifest_sha256": "3b86764a23ef1654ba243617b81964d5c4b5513161ceff3d621b95715f9f9864",
"tree": {
"ours": "avx512",
"reference": "avx512"
},
"regime": "streamed",
"streamed": {
"copies": 64,
"expert_bytes": 3000000,
"llc_bytes": 67108864
},
"pin": {
"logical_cpu": 4,
"sibling_idle": true
},
"strata_upstream_commit": "89abcdef0123456789abcdef0123456789abcdef",
"clock_calibration": {
"method": "sample dependent-add loop before and after each slice",
"ghz_before": 4.5,
"ghz_after": 4.49,
"max_drift_fraction": 0.01,
"slices_total": 300,
"slices_dropped": 3
},
"rows": [
{
"row_type": "SAMPLE_Q2",
"unit": "ns",
"rounds": 30,
"ours": {"median": 1000.0, "p05": 980.0, "p95": 1040.0},
"reference": {"median": 1010.0, "p05": 990.0, "p95": 1050.0}
},
{
"row_type": "SAMPLE_IQ",
"unit": "cycles",
"rounds": 30,
"ours": {"median": 4500.0, "p05": 4400.0, "p95": 4700.0},
"reference": {"median": 4600.0, "p05": 4450.0, "p95": 4750.0}
}
],
"aa_noise_floor": {
"ours_vs_ours": {"n": 30, "ci95_low": -0.002, "ci95_high": 0.003},
"reference_vs_reference": {"n": 30, "ci95_low": -0.003, "ci95_high": 0.002},
"floor_fraction": 0.003
},
"equality": {
"mode": "tolerance",
"verdict": "EQUAL",
"compared_values": 20480,
"mismatches": 0,
"tolerance": {
"value": 0.003,
"basis": "sample: order-only difference of the horizontal sum, fixed in the case before the run",
"basis_written_utc": "2026-01-01T00:00:00Z"
}
}
}