{
  "model": "Opus 5.5",
  "source_run": "runs/bench-v1-all-pde-rsi-v3.16-opus55-s1-20261105/tex/rsi",
  "data_scope": "20 public validation cases in the Full classical/fractional group",
  "rounds": [
    2,
    3,
    4,
    7,
    9
  ],
  "step_ms": 3600,
  "duration_ms": 18000,
  "width": 1440,
  "height": 736,
  "frames": 75,
  "gif": {
    "url": "figures/paper/code-evolution-b4da9b00ebd8.gif",
    "sha256": "b4da9b00ebd80075a35b805d64f043502fe409cfdfab2b0af8be701aa7194113",
    "bytes": 334005
  },
  "poster": {
    "round": 2,
    "url": "figures/paper/code-round-2-fce1b2f11a6c.png",
    "sha256": "fce1b2f11a6c073592f660832d5765466fd00b6a967ceec5dfec9e1a684127a5"
  },
  "snapshots": [
    {
      "round": 2,
      "url": "figures/paper/code-round-2-fce1b2f11a6c.png",
      "sha256": "fce1b2f11a6c073592f660832d5765466fd00b6a967ceec5dfec9e1a684127a5"
    },
    {
      "round": 3,
      "url": "figures/paper/code-round-3-7a3b50054246.png",
      "sha256": "7a3b50054246484a7620e89d4a21b07b380a343977e7f92684a44b99d7307551"
    },
    {
      "round": 4,
      "url": "figures/paper/code-round-4-55d014732ca9.png",
      "sha256": "55d014732ca9603008e03d1079cde2a1ffab098a7e9e4e4c3d5ee210d7719a10"
    },
    {
      "round": 7,
      "url": "figures/paper/code-round-7-c032a4275dc5.png",
      "sha256": "c032a4275dc544f143baafbe387409a90fb02006cd21783373ea914d12e59408"
    },
    {
      "round": 9,
      "url": "figures/paper/code-round-9-27f6f07b7ddb.png",
      "sha256": "27f6f07b7ddb7a3dce23a62f8c889868892314ebe28beeafbe7a07bb3a0959d5"
    }
  ],
  "stages": [
    {
      "round": 2,
      "file": "identify.py",
      "purpose": "Fit candidate equations and refine the solver",
      "feedback": "Initial executable solver retained.",
      "accepted": true,
      "candidate_macro_l2": 0.006191612800323715,
      "candidate_passes": 16,
      "validation_cases": 20,
      "excerpt": [
        {
          "line": 126,
          "text": "    for i, cls in enumerate(cands):"
        },
        {
          "line": 127,
          "text": "        if i > 0 and el() > 50:"
        },
        {
          "line": 128,
          "text": "            break"
        },
        {
          "line": 129,
          "text": "        z = res[cls][0]"
        },
        {
          "line": 130,
          "text": "        if cls in ID_FRAC:"
        },
        {
          "line": 131,
          "text": "            r = (128, 499)"
        },
        {
          "line": 132,
          "text": "        elif id_par(problem, cls, z)['D'] < 0.02:"
        },
        {
          "line": 133,
          "text": "            r = (1022, 499)"
        },
        {
          "line": 134,
          "text": "        else:"
        },
        {
          "line": 135,
          "text": "            r = (511, 499)"
        },
        {
          "line": 136,
          "text": "        k = ID_K[cls]"
        },
        {
          "line": 137,
          "text": "        fin[cls] = id_opt(problem, ob(cls, *r), [z], 0.1, {1: 20, 2: 40, 5: 150}[k], 52)"
        }
      ],
      "proposal_file": "runs/bench-v1-all-pde-rsi-v3.16-opus55-s1-20261105/tex/rsi/proposal-002-2.json",
      "proposal_sha256": "a7046b0b579ac143335f7bc2d221bccb34b19316639cb0a39471560327625763",
      "program_sha256": "aaa5c317a3eb77b4be983845d28b0e4fb5921d7899b77ea7366d53559f7cd2c6",
      "kept_macro_l2": 0.006191612800323715,
      "kept_passes": 16,
      "kept_round": 2
    },
    {
      "round": 3,
      "file": "identify.py",
      "purpose": "Change fractional-order bounds",
      "feedback": "Multi-term regression: keep the previous solver.",
      "accepted": false,
      "candidate_macro_l2": 0.0008924740178541526,
      "candidate_passes": 17,
      "validation_cases": 20,
      "excerpt": [
        {
          "line": 28,
          "text": "def id_am(z):"
        },
        {
          "line": 29,
          "text": "    return 0.03 + 0.965 * id_sig(z)"
        },
        {
          "line": 30,
          "text": ""
        },
        {
          "line": 31,
          "text": ""
        },
        {
          "line": 32,
          "text": "def id_iam(a):"
        },
        {
          "line": 33,
          "text": "    q = (min(max(a, 0.035), 0.99) - 0.03) / 0.965"
        },
        {
          "line": 34,
          "text": "    return id_lg(q)"
        }
      ],
      "proposal_file": "runs/bench-v1-all-pde-rsi-v3.16-opus55-s1-20261105/tex/rsi/proposal-003-2.json",
      "proposal_sha256": "a89f4ebe5751759b13b841e09773a6d98bfc8af0b00701887928c28521ce3d31",
      "program_sha256": "7a13b325800fe411547e3bce1eb47573741e831f325ae3c13b0a8c60a64f277d",
      "kept_macro_l2": 0.006191612800323715,
      "kept_passes": 16,
      "kept_round": 2
    },
    {
      "round": 4,
      "file": "identify.py",
      "purpose": "Filter degenerate multi-term fits",
      "feedback": "Lower error without a protected-case regression.",
      "accepted": true,
      "candidate_macro_l2": 0.0007881509895703506,
      "candidate_passes": 17,
      "validation_cases": 20,
      "excerpt": [
        {
          "line": 117,
          "text": "    zm = res['multi_term'][0]"
        },
        {
          "line": 118,
          "text": "    if zm is not None:"
        },
        {
          "line": 119,
          "text": "        pm = id_par(problem, 'multi_term', zm)"
        },
        {
          "line": 120,
          "text": "        if min(pm['alpha1'], pm['alpha2']) < 0.03 or min(pm['w1'], pm['w2']) < 1e-3:"
        },
        {
          "line": 121,
          "text": "            del res['multi_term']"
        },
        {
          "line": 122,
          "text": ""
        },
        {
          "line": 123,
          "text": "    order = sorted([c for c in res if res[c][0] is not None], key=lambda c: res[c][1])"
        },
        {
          "line": 124,
          "text": "    fb = res[order[0]][1]"
        },
        {
          "line": 125,
          "text": "    cands = [c for c in order if res[c][1] <= fb + math.log(10.0)]"
        },
        {
          "line": 126,
          "text": "    for c in order[:2]:"
        }
      ],
      "proposal_file": "runs/bench-v1-all-pde-rsi-v3.16-opus55-s1-20261105/tex/rsi/proposal-004-1.json",
      "proposal_sha256": "7e08e65c94596781e46b9a38fbce73e77c27c4477ccbdbfdd4fcb7e28cd57ce2",
      "program_sha256": "abde66ce9de0c2c9f615c3928610f712500eac2306f59a5acb4cb90e226ddb96",
      "kept_macro_l2": 0.0007881509895703506,
      "kept_passes": 17,
      "kept_round": 4
    },
    {
      "round": 7,
      "file": "identify.py",
      "purpose": "Estimate D from known physical inputs",
      "feedback": "Refined coefficients; one more validation pass.",
      "accepted": true,
      "candidate_macro_l2": 0.0007071405977298788,
      "candidate_passes": 18,
      "validation_cases": 20,
      "excerpt": [
        {
          "line": 100,
          "text": "    s2 = float(np.dot(d2, d2))"
        },
        {
          "line": 101,
          "text": "    fs = float(np.max(np.abs(f0)))"
        },
        {
          "line": 102,
          "text": "    if not (s2 > 0 and fs > 0):"
        },
        {
          "line": 103,
          "text": "        return None"
        },
        {
          "line": 104,
          "text": "    D = -float(np.dot(d2, f0)) / s2"
        },
        {
          "line": 105,
          "text": "    if not D > 0:"
        },
        {
          "line": 106,
          "text": "        return None"
        },
        {
          "line": 107,
          "text": "    if float(np.max(np.abs(f0 + D * d2))) > 1e-6 * fs:"
        },
        {
          "line": 108,
          "text": "        return None"
        },
        {
          "line": 109,
          "text": "    return D"
        }
      ],
      "proposal_file": "runs/bench-v1-all-pde-rsi-v3.16-opus55-s1-20261105/tex/rsi/proposal-007-1.json",
      "proposal_sha256": "32a64d0213daa3e2d2b7efe8c8d8f2cdb099fa405e929a9804b1f1b74e83776d",
      "program_sha256": "7f168a7132973b6a7165b5e52cb737b34488869f3fab9a4edea2d8daa117bef1",
      "kept_macro_l2": 0.0007071405977298788,
      "kept_passes": 18,
      "kept_round": 7
    },
    {
      "round": 9,
      "file": "identify.py",
      "purpose": "Fit a separable forcing profile",
      "feedback": "Lower macro error; validation passes retained.",
      "accepted": true,
      "candidate_macro_l2": 0.0006868177322542282,
      "candidate_passes": 18,
      "validation_cases": 20,
      "excerpt": [
        {
          "line": 144,
          "text": "    def bas(q):"
        },
        {
          "line": 145,
          "text": "        pp, aa = float(q[0]), float(q[1])"
        },
        {
          "line": 146,
          "text": "        al = aa * np.ones_like(ts) if cls == 'caputo' else aa * np.sin(ts) ** 2"
        },
        {
          "line": 147,
          "text": "        b1 = id_gm(pp + 1) / id_gm(pp + 1 - al) * ts ** (pp - al)"
        },
        {
          "line": 148,
          "text": "        return np.stack([b1, ts ** pp], axis=1)"
        },
        {
          "line": 149,
          "text": ""
        },
        {
          "line": 150,
          "text": "    def rs(q):"
        },
        {
          "line": 151,
          "text": "        B = bas(q)"
        },
        {
          "line": 152,
          "text": "        cf = np.linalg.lstsq(B, h, rcond=None)[0]"
        },
        {
          "line": 153,
          "text": "        return (B @ cf - h) / hn"
        }
      ],
      "proposal_file": "runs/bench-v1-all-pde-rsi-v3.16-opus55-s1-20261105/tex/rsi/proposal-009-1.json",
      "proposal_sha256": "1b726affc5bca487fdfb02985df511c27f31b99e01305a55382f4cd4985d1535",
      "program_sha256": "67bf7e998fbc6448009b66cd943a868548e4a6e4a59c486cb6ede0d8c22ec276",
      "kept_macro_l2": 0.0006868177322542282,
      "kept_passes": 18,
      "kept_round": 9
    }
  ],
  "code_note": "Abridged source excerpts with actual source line numbers; proposed code is not executed by this renderer."
}
