{
 "schema_version": "0.2",
 "name": "priced-calculus-39-25-3",
 "code_type": "CSS",
 "n": 39,
 "k": 25,
 "checks": {
  "X": [
   [
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9
   ],
   [
    19,
    20,
    21,
    22,
    23,
    24,
    25,
    26,
    27,
    28
   ],
   [
    29,
    30,
    31,
    32,
    33,
    34,
    35,
    36,
    37,
    38
   ],
   [
    1,
    3,
    5,
    8,
    10,
    12,
    14,
    17,
    20,
    22,
    24,
    27,
    30,
    32,
    34,
    37
   ],
   [
    2,
    4,
    6,
    8,
    11,
    13,
    15,
    17,
    21,
    23,
    25,
    27,
    31,
    33,
    35,
    37
   ],
   [
    3,
    4,
    7,
    8,
    12,
    13,
    16,
    17,
    22,
    23,
    26,
    27,
    32,
    33,
    36,
    37
   ],
   [
    4,
    5,
    6,
    9,
    13,
    14,
    15,
    18,
    23,
    24,
    25,
    28,
    33,
    34,
    35,
    38
   ]
  ],
  "Z": [
   [
    0,
    1,
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9
   ],
   [
    19,
    20,
    21,
    22,
    23,
    24,
    25,
    26,
    27,
    28
   ],
   [
    29,
    30,
    31,
    32,
    33,
    34,
    35,
    36,
    37,
    38
   ],
   [
    1,
    3,
    5,
    8,
    10,
    12,
    14,
    17,
    20,
    22,
    24,
    27,
    30,
    32,
    34,
    37
   ],
   [
    2,
    4,
    6,
    8,
    11,
    13,
    15,
    17,
    21,
    23,
    25,
    27,
    31,
    33,
    35,
    37
   ],
   [
    3,
    4,
    7,
    8,
    12,
    13,
    16,
    17,
    22,
    23,
    26,
    27,
    32,
    33,
    36,
    37
   ],
   [
    4,
    5,
    6,
    9,
    13,
    14,
    15,
    18,
    23,
    24,
    25,
    28,
    33,
    34,
    35,
    38
   ]
  ]
 },
 "distance": {
  "d": 3,
  "X": {
   "value": 3,
   "confidence": "upper_bound",
   "witness": [
    15,
    33,
    36
   ],
   "witness_provenance": {
    "found_by": [
     "@mathys"
    ],
    "date": "2026-10-31",
    "found_at_samples": 1000,
    "survived_samples": 1000,
    "tool": "research/kit/surrogate.lightest_logical",
    "seeds": [
     0
    ]
   }
  },
  "Z": {
   "value": 3,
   "confidence": "upper_bound",
   "witness": [
    18,
    21,
    25
   ],
   "witness_provenance": {
    "found_by": [
     "@mathys"
    ],
    "date": "2026-10-31",
    "found_at_samples": 1000,
    "survived_samples": 1000,
    "tool": "research/kit/surrogate.lightest_logical",
    "seeds": [
     1
    ]
   }
  }
 },
 "provenance": {
  "authors": [
   "@mathysrennela"
  ],
  "construction": "priced calculus E-PUNCTURE transform of codes/40-24-4.json",
  "references": [],
  "date": "2026-10-31",
  "notes": "",
  "model": "Beam 1.0"
 },
 "locality": {
  "coordinates": [
   [
    0.0,
    0.0
   ],
   [
    2.0,
    3.0
   ],
   [
    1.0,
    2.0
   ],
   [
    3.0,
    1.0
   ],
   [
    1.0,
    3.0
   ],
   [
    3.0,
    2.0
   ],
   [
    2.0,
    3.0
   ],
   [
    1.0,
    0.0
   ],
   [
    1.0,
    1.0
   ],
   [
    0.0,
    3.0
   ],
   [
    0.0,
    1.0
   ],
   [
    2.0,
    2.0
   ],
   [
    1.0,
    1.0
   ],
   [
    1.0,
    3.0
   ],
   [
    1.0,
    2.0
   ],
   [
    3.0,
    2.0
   ],
   [
    3.0,
    0.0
   ],
   [
    3.0,
    3.0
   ],
   [
    3.0,
    3.0
   ],
   [
    0.0,
    0.0
   ],
   [
    0.0,
    1.0
   ],
   [
    0.0,
    2.0
   ],
   [
    2.0,
    0.0
   ],
   [
    2.0,
    2.0
   ],
   [
    2.0,
    1.0
   ],
   [
    0.0,
    2.0
   ],
   [
    1.0,
    0.0
   ],
   [
    3.0,
    1.0
   ],
   [
    0.0,
    3.0
   ],
   [
    4.0,
    0.0
   ],
   [
    4.0,
    0.0
   ],
   [
    2.0,
    0.0
   ],
   [
    2.0,
    1.0
   ],
   [
    4.0,
    2.0
   ],
   [
    4.0,
    2.0
   ],
   [
    4.0,
    3.0
   ],
   [
    4.0,
    1.0
   ],
   [
    4.0,
    1.0
   ],
   [
    4.0,
    3.0
   ]
  ],
  "layers": 2,
  "contributed_by": {
   "by": [
    "@vprusso"
   ],
   "date": "2026-11-04",
   "method": "Inherited from the laid-out parent codes/40-24-4.json: the parent's coordinates with the entry of the removed qubit (parent index 10) dropped, since this puncture child keeps the parent's qubit order. Radius, layer count, and class re-measured by the verifier."
  }
 },
 "circuit": {
  "d_circ": {
   "Z": {
    "value": 3,
    "confidence": "upper_bound",
    "witness": [
     328,
     411,
     1476
    ]
   },
   "X": {
    "value": 3,
    "confidence": "upper_bound",
    "witness": [
     3939,
     3944,
     5857
    ]
   }
  },
  "rounds": 3,
  "stim_version": "1.16.0",
  "notes": "Johnson-coil + 4 span flags sequential extraction (max_flags=8 per check, 16 X + 16 Z edge-colored data CX layers per round, coloring candidate 0); generated by qldpc submit (research/circuit_autogen.py, seed 0), the first of up to 6 candidates whose RIS screen at 2 rounds found nothing below d; witnesses from RIS on ker(H_dem) at twice the gate's trial budget, validated in GF(2)",
  "contributed_by": {
   "by": [
    "@vprusso"
   ],
   "date": "2026-11-06",
   "method": "circuit_autogen schedule search (two-block interleaved, then layout, then generic), verified by verify/circuit_verify.py before writing"
  }
 }
}
