summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYurenHao0426 <Blackhao0426@gmail.com>2026-08-29 19:37:15 -0500
committerYurenHao0426 <Blackhao0426@gmail.com>2026-08-29 19:37:15 -0500
commit0a3dea31da80e1e72158689ddcd8b5bc3a633695 (patch)
treeda7da1ed9a1baf204a91e233637f611ab5bd7929
parent92e8dc989d66d66f41edf6ca5d94013692057664 (diff)
analysis: harden CLLN confirmation provenance
-rw-r--r--experiments/analyze_coupled_ladder_scaling.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/experiments/analyze_coupled_ladder_scaling.py b/experiments/analyze_coupled_ladder_scaling.py
index 4db593e..1c8a926 100644
--- a/experiments/analyze_coupled_ladder_scaling.py
+++ b/experiments/analyze_coupled_ladder_scaling.py
@@ -129,6 +129,8 @@ def validate_core_confirmation(reports: list[dict], records: list[dict]) -> None
raise ValueError("confirmatory cells must complete without failures")
observed_sizes = set()
for report in reports:
+ if not report.get("confirmatory", False):
+ raise ValueError("every confirmation source must be labeled confirmatory")
protocol = report["protocol"]
if protocol["rotations_per_input_diameter"] != 8:
raise ValueError("confirmation requires all eight task rotations")
@@ -365,7 +367,7 @@ def build_analysis(
"methods": side_summary,
}
return {
- "analysis": "digital_coupled_ladder_scaling_pilot_analysis",
+ "analysis": "digital_coupled_ladder_scaling",
"confirmatory": confirmatory,
"bootstrap": {
"unit": "task; component draws averaged within task",