{
  "notes": "Episode 3 of 5. The baseline target batch has settled at trunk 35d44b87398d7b9770f711f700fa38a00010d5ec, with 9/9 accepted and independently checked. The plane refused the episode 2 experiment spawn while that wave was still running or merging. Its eight reads and wake therefore named a nonexistent batch. Zero experiments ran. The authoritative budget entering this episode is 9 used of 50, with 10 workers and 41 items available. There are no requester notes or children.\n\nThe handed result e01-baseline-foundation/former-50 (b01-former-50, SHA-256 926c641b55c4ee531084590f97a1c577f5fef3af37d346d05bc45316be9e0670) confirms the provisional replay, check exit 0. Source SHA-256 88617bb49e36a06cabd7d84ce6fe504ee337f8f41ad7c55bc72f696db94060c3. Pinned kit 5a32428ad4aa23bce737d50a738ace24ddeeed2e, measurement 2c8fd1f3a6711f0639685319fb25262b02bfecf4c6589c52cb58928270a46322. Scores below are RV32IM, thumbv6m and overall in order.\nSeed 180434352 gave 28.501406296161065 / 40.4306405096557 / 33.94598815736148.\nSeed 2851275305 gave 28.623918516972903 / 40.575572089958854 / 34.0797868139245.\nThumbv7em diagnostic S was 39.85817679176508 and 40.03987958031529 respectively. Scored inputs and 98,304 target-sample words per target per seed had zero mismatches. The quick host sanitizer runs also passed. Exhaustive coverage is outstanding. The five public sources rank 50, 48, 46, 42, 37 on all three boards on both baseline seeds. Packets, full-precision rows, methods and raw logs are under eik-work/baselines on the trunk.\n\nThe API board promotions still read 59 (rv32im), 60 (thumbv6m) and 61 (overall). The baseline packets mapped these to submissions 52, 53 and 56, whose source requests returned HTTP 403 SOURCE_WITHHELD. No published absolute champion S was present. Current same-seed S, ratio and takeover status are unknown on all three boards. RV and Thumb image sizes for former 50 were 18,960 and 20,500 bytes. Its exp tables and hot negative inputs, the Thumb hard tanh mean of 79.293 and the size penalty motivate the trials. Its wide-character selector gives host/RV and Thumb different paths with the same preprocessed tokens. Run target checks on the path that actually changed.\n\nThis decision requests one new code target batch. The control remeasures id50 once per new seed (1874435642 and 1947282751) and supplies an offline evidence checker. Eight disjoint workers then test one change apiece. The final target can read their landed files through needs and freeze a candidate on the trunk this episode. Nothing is queued behind a separate active code wave. Only the named batch settling should normally wake episode 4. The timer is a scheduler backstop. Ten planned items would bring usage to 19/50, leaving 31 for final scoring, exhaustive checks, evidence assembly and repairs. A materialised negative trial is useful evidence. Missing logs, tool failures and mismatched input or measurement digests cannot support a score. The experiment seed ratios are historical control comparisons. The pinned toolkit includes the kit and reference digests. A cold evaluator replay needs the hash-pinned Zig, Unicorn and QEMU dependencies from the toolkit's provisioner. Scratch caches expire between items. Keep the target acceptance checks executable offline with standard Python and the committed raw evidence.\n\nIn episode 4, check the actual target board, merged commit, results and remaining budget. If freeze is stuck, select from valid landed trials, or repair one failed change in a new target wave; make verification depend on a real frozen candidate. If a wake arrives mid-wave, let that wave settle before proposing another. Inspect root entry.c and the freeze manifest, and use the exact frozen bytes throughout. Collect a fresh dated boards/leaderboards snapshot and source availability from official public endpoints. Compare SHA-256 with each board's declared champion. On at least three new held-out seeds, run eik evaluate and pair the frozen candidate, id50, and any available hash-matching current references on the same kit, measurement and inputs_sha256. Use explicit per-board references for eik compare when available. Each overall denominator is sqrt(RV S * Thumb S) from the same overall champion. Report candidate S regardless of source access. When the reigning source is withheld, include the dated response, null champion S and ratio, and undetermined board status. Label id50 results separately. Keep threshold decisions per seed and board explicit, subject to exhaustive correctness.\n\nDispatch fullcheck under GCC UBSan+ASan and QEMU targetcheck on rv32im, thumbv6m and thumbv7em, for each of sigmoid, tanh and exp. Each of the 12 function/runtime pairs needs exactly chunks [0,4096) of 2^20 inputs, 4,294,967,296 words. Use one full-domain item per pair where throughput permits or split into [0,2048) and [2048,4096). The baseline toolkit's evidence/replay/throughput.json and affected-chunk trial timings inform sizing. Retain all kit reports, raw stdout/stderr, command exits, elapsed times, source/object identities and any failing input or chunk. Use kit merge --require-targets rv32im,thumbv6m,thumbv7em. Require full coverage without gaps/overlaps, matching identities and zero mismatches or sanitizer failures. Recheck any changed candidate from the beginning.\n\nKeep one wave at a time. For example, 12 whole-domain checks, one board snapshot, three held-out seed comparisons and one packaging target fit the remaining 31 items with repair capacity. If choosing 24 half-domain items, group their evidence before final packaging to keep each target at 16 dependencies or fewer. Let episode 5 inspect the landed measurements, merge verdict and final files, and spend reserves on specific gaps. Deliver the root entry, candidate/champion S and ratios per seed and board with source availability, historical control comparisons, all check logs, experiment ledger, short diff rationale and next experiments if no verified 0.970 takeover. Finish on the actual evidence. Registration, signing, submission and TAO spending are outside the goal.",
  "spawn": [
    {
      "name": "e03-kernel-trials",
      "mode": "code",
      "requires": {
        "platform": [
          "linux-x64"
        ],
        "tools": [
          "python3.12"
        ],
        "minCpus": 4,
        "minMemoryGb": 4
      },
      "targets": {
        "attempts": 2
      },
      "brief": "Complete one target on the goal trunk. {{task}}\n\n{{method}}\n\n{{record}}\n\nRead eik-work/toolkit/kit/RULES.md fully first. Use its pinned evaluator through eik-work/toolkit/run.py, with scratch for setup, caches and builds. Use Linux x86-64, Python 3.12 and GCC. Run locally only. Never register a hotkey, sign, submit or spend TAO. Preserve scorer settings, fresh hard pools and full scoring populations. The two trial seeds are 1874435642 and 1947282751. For each new source measured, run eik check and eik evaluate --quick --json --seed for each seed. Save the actual command including source and seed, exit code, stdout and stderr for each new run. Quick limits host coverage. Use a single integer-only C11 file with the three entry points, no includes, floating types/literals/casts, long, plain char or mutable static storage. Respect the 256 KiB source, 64 KiB image, 8 KiB stack and 20M instruction limits, with identical preprocessed tokens across builds. Keep id50's existing selector unmodified and introduce no target or compiler probes. Write only your scoped files. Keep evidence and all inputs of the offline target check in the trunk as ordinary files. Return the outcome, source SHA-256, scores or observed failure, and evidence paths in the item result.",
      "items": [
        {
          "key": "paired-control",
          "vars": {
            "task": "Produce the shared two-seed control packet in eik-work/trials/paired-control for the unchanged eik-work/baselines/former-50/entry.c. Verify its SHA-256 is 88617bb49e36a06cabd7d84ce6fe504ee337f8f41ad7c55bc72f696db94060c3.",
            "method": "Save fingerprint details, static gate and evaluation logs. Index exact seed, inputs_sha256, source and normalised hashes, measurement and verifier IDs, all board S, class means, tail factors, bytes, stack, sample counts and mismatches. Link the existing immutable source. Distinguish absolute S from any printed incumbent ratio.",
            "record": "Provide verify.py DIR, a Python standard-library checker shared by control and trials. Document a compact packet layout, including the filenames and fields the other targets need. Recompute file hashes, read raw kit output, bind the actual source, command exits, seeds and kit measurement. For measured rows require all board scores positive/finite, correct overall GM, full scored sets and target samples with zero errors, passing static and quick checks. For trials verify input digests match this control and recompute candidate/id50 S on each board. Accept a documented duplicate or a real, reproducible candidate rejection with its source and raw evidence as a negative trial only. Reject incomplete runs and infrastructure errors. Control itself must be measured. Expose this interface and the control scores in your result."
          },
          "scope": [
            "eik-work/trials/paired-control/**"
          ],
          "needs": [],
          "check": "python3 eik-work/trials/paired-control/verify.py eik-work/trials/paired-control"
        },
        {
          "key": "rv-exp-interval",
          "vars": {
            "task": "Test one change from former submission 50. Change only the dispatch in eik_exp_r for the common negative exp interval feeding the existing cubic cells between -4 and -1. Test one unsigned word-range check early enough to bypass nested comparisons. Route the same endpoints to the same cell arithmetic and refinements. Compare typical and wide branch counts.",
            "method": "Start with the exact former-50 source measured in eik-work/trials/paired-control. Implement just the named change. Explain why every fast return rounds correctly or gives the identical integer intermediate. Include boundary and midpoint cases and exercise the changed code on its compiled target using the kit's targetcheck on selected affected chunks. Keep the old slow path for unresolved cases. Inspect the emitted instructions for the touched path.",
            "record": "Deliver eik-work/trials/rv-exp-interval/entry.c, the exact diff to id50, and a packet in that directory in the paired-control format. Include the rationale, raw logs, both hashes, before/after S and candidate/id50 ratios per board and seed, affected class means, hard tail, target image bytes/stack and correctness counts. Include regressions. If the kit rejects the candidate, retain the failing evidence and report unavailable scores as null. Distinguish duplicate or unchanged code generation from an eligible optimisation. Use paired-control/verify.py on the packet."
          },
          "scope": [
            "eik-work/trials/rv-exp-interval/**"
          ],
          "needs": [
            "paired-control"
          ],
          "check": "python3 eik-work/trials/paired-control/verify.py eik-work/trials/rv-exp-interval"
        },
        {
          "key": "rv-exp-loads",
          "vars": {
            "task": "Test one change from former submission 50. Change only constant access in eik_exp_r's positive ln(2)/256 reduction. Replace byte-offset loads corresponding to ex8_r.row[0], [1] and [4] with typed constants or direct indexed loads of the same bits. Compare RV instructions for address formation, literal materialisation and loads, including any code-size trade.",
            "method": "Start with the exact former-50 source measured in eik-work/trials/paired-control. Implement just the named change. Explain why every fast return rounds correctly or gives the identical integer intermediate. Include boundary and midpoint cases and exercise the changed code on its compiled target using the kit's targetcheck on selected affected chunks. Keep the old slow path for unresolved cases. Inspect the emitted instructions for the touched path.",
            "record": "Deliver eik-work/trials/rv-exp-loads/entry.c, the exact diff to id50, and a packet in that directory in the paired-control format. Include the rationale, raw logs, both hashes, before/after S and candidate/id50 ratios per board and seed, affected class means, hard tail, target image bytes/stack and correctness counts. Include regressions. If the kit rejects the candidate, retain the failing evidence and report unavailable scores as null. Distinguish duplicate or unchanged code generation from an eligible optimisation. Use paired-control/verify.py on the packet."
          },
          "scope": [
            "eik-work/trials/rv-exp-loads/**"
          ],
          "needs": [
            "paired-control"
          ],
          "check": "python3 eik-work/trials/paired-control/verify.py eik-work/trials/rv-exp-loads"
        },
        {
          "key": "rv-tanh-quadratic",
          "vars": {
            "task": "Test one change from former submission 50. Try a guarded quadratic approximation in one high-traffic cubic cell family of eik_tanh_r. Use the existing high-half multiply formulation. Bound both the discarded cubic contribution and fixed-point error for the whole selected interval. Reuse the original cubic/refinement whenever the bound reaches a midpoint. Time this single degree-reduction change.",
            "method": "Start with the exact former-50 source measured in eik-work/trials/paired-control. Implement just the named change. Explain why every fast return rounds correctly or gives the identical integer intermediate. Include boundary and midpoint cases and exercise the changed code on its compiled target using the kit's targetcheck on selected affected chunks. Keep the old slow path for unresolved cases. Inspect the emitted instructions for the touched path.",
            "record": "Deliver eik-work/trials/rv-tanh-quadratic/entry.c, the exact diff to id50, and a packet in that directory in the paired-control format. Include the rationale, raw logs, both hashes, before/after S and candidate/id50 ratios per board and seed, affected class means, hard tail, target image bytes/stack and correctness counts. Include regressions. If the kit rejects the candidate, retain the failing evidence and report unavailable scores as null. Distinguish duplicate or unchanged code generation from an eligible optimisation. Use paired-control/verify.py on the packet."
          },
          "scope": [
            "eik-work/trials/rv-tanh-quadratic/**"
          ],
          "needs": [
            "paired-control"
          ],
          "check": "python3 eik-work/trials/paired-control/verify.py eik-work/trials/rv-tanh-quadratic"
        },
        {
          "key": "m0-exp-layout",
          "vars": {
            "task": "Test one change from former submission 50. Change only the layout of the 512 high reconstruction words used by Thumb exp. Move them into a contiguous 32-bit bank and adapt the corresponding references, accounting for all aliases in the interleaved t_eps rows. Preserve every coefficient, index and low-bit refinement. Compare emitted Thumb loads and total linked code plus data bytes.",
            "method": "Start with the exact former-50 source measured in eik-work/trials/paired-control. Implement just the named change. Explain why every fast return rounds correctly or gives the identical integer intermediate. Include boundary and midpoint cases and exercise the changed code on its compiled target using the kit's targetcheck on selected affected chunks. Keep the old slow path for unresolved cases. Inspect the emitted instructions for the touched path.",
            "record": "Deliver eik-work/trials/m0-exp-layout/entry.c, the exact diff to id50, and a packet in that directory in the paired-control format. Include the rationale, raw logs, both hashes, before/after S and candidate/id50 ratios per board and seed, affected class means, hard tail, target image bytes/stack and correctness counts. Include regressions. If the kit rejects the candidate, retain the failing evidence and report unavailable scores as null. Distinguish duplicate or unchanged code generation from an eligible optimisation. Use paired-control/verify.py on the packet."
          },
          "scope": [
            "eik-work/trials/m0-exp-layout/**"
          ],
          "needs": [
            "paired-control"
          ],
          "check": "python3 eik-work/trials/paired-control/verify.py eik-work/trials/m0-exp-layout"
        },
        {
          "key": "m0-exp-reduction",
          "vars": {
            "task": "Test one change from former submission 50. Specialise only the reduction in t_eik_exp for one frequently hit negative binade in t_xrow. Fold that row's invariant factors and rotate/shift counts into the reduced-index and residual calculation. Establish bit-equivalence to the original reduction including the endpoints, retain its reconstruction and compare Thumbv6-M typical costs.",
            "method": "Start with the exact former-50 source measured in eik-work/trials/paired-control. Implement just the named change. Explain why every fast return rounds correctly or gives the identical integer intermediate. Include boundary and midpoint cases and exercise the changed code on its compiled target using the kit's targetcheck on selected affected chunks. Keep the old slow path for unresolved cases. Inspect the emitted instructions for the touched path.",
            "record": "Deliver eik-work/trials/m0-exp-reduction/entry.c, the exact diff to id50, and a packet in that directory in the paired-control format. Include the rationale, raw logs, both hashes, before/after S and candidate/id50 ratios per board and seed, affected class means, hard tail, target image bytes/stack and correctness counts. Include regressions. If the kit rejects the candidate, retain the failing evidence and report unavailable scores as null. Distinguish duplicate or unchanged code generation from an eligible optimisation. Use paired-control/verify.py on the packet."
          },
          "scope": [
            "eik-work/trials/m0-exp-reduction/**"
          ],
          "needs": [
            "paired-control"
          ],
          "check": "python3 eik-work/trials/paired-control/verify.py eik-work/trials/m0-exp-reduction"
        },
        {
          "key": "m0-sigmoid-cell",
          "vars": {
            "task": "Test one change from former submission 50. Try one Thumb sigmoid cell representation with directly addressable narrow coefficient fields to remove unpacking in the t_epn2 evaluation used by t_eik_sigmoid. Restrict the change to one busy bank or caller and preserve the modular products, shifts and rounding bits. Account for any row bytes used by other kernels. Compare generated loads/shifts, function means and the size term.",
            "method": "Start with the exact former-50 source measured in eik-work/trials/paired-control. Implement just the named change. Explain why every fast return rounds correctly or gives the identical integer intermediate. Include boundary and midpoint cases and exercise the changed code on its compiled target using the kit's targetcheck on selected affected chunks. Keep the old slow path for unresolved cases. Inspect the emitted instructions for the touched path.",
            "record": "Deliver eik-work/trials/m0-sigmoid-cell/entry.c, the exact diff to id50, and a packet in that directory in the paired-control format. Include the rationale, raw logs, both hashes, before/after S and candidate/id50 ratios per board and seed, affected class means, hard tail, target image bytes/stack and correctness counts. Include regressions. If the kit rejects the candidate, retain the failing evidence and report unavailable scores as null. Distinguish duplicate or unchanged code generation from an eligible optimisation. Use paired-control/verify.py on the packet."
          },
          "scope": [
            "eik-work/trials/m0-sigmoid-cell/**"
          ],
          "needs": [
            "paired-control"
          ],
          "check": "python3 eik-work/trials/paired-control/verify.py eik-work/trials/m0-sigmoid-cell"
        },
        {
          "key": "m0-tanh-refine",
          "vars": {
            "task": "Test one change from former submission 50. Reduce slow refinements in one Thumb tanh cell family by tightening its fast rounding guard. Derive a conservative residual-error bound covering every cell you change and both signs, including ties. Keep the original slow path wherever the refined interval straddles a rounding boundary. Compare hard and typical means and the p99.9 hard cost.",
            "method": "Start with the exact former-50 source measured in eik-work/trials/paired-control. Implement just the named change. Explain why every fast return rounds correctly or gives the identical integer intermediate. Include boundary and midpoint cases and exercise the changed code on its compiled target using the kit's targetcheck on selected affected chunks. Keep the old slow path for unresolved cases. Inspect the emitted instructions for the touched path.",
            "record": "Deliver eik-work/trials/m0-tanh-refine/entry.c, the exact diff to id50, and a packet in that directory in the paired-control format. Include the rationale, raw logs, both hashes, before/after S and candidate/id50 ratios per board and seed, affected class means, hard tail, target image bytes/stack and correctness counts. Include regressions. If the kit rejects the candidate, retain the failing evidence and report unavailable scores as null. Distinguish duplicate or unchanged code generation from an eligible optimisation. Use paired-control/verify.py on the packet."
          },
          "scope": [
            "eik-work/trials/m0-tanh-refine/**"
          ],
          "needs": [
            "paired-control"
          ],
          "check": "python3 eik-work/trials/paired-control/verify.py eik-work/trials/m0-tanh-refine"
        },
        {
          "key": "shared-small-sigmoid",
          "vars": {
            "task": "Test one change from former submission 50. Implement one target-independent fast path for a contiguous small-|x| region of sigmoid using its affine term about one half. Derive an integer input test and a conservative error bound for rounding to the correct output bit pattern on either side of one half, where ulps differ. Return to the base kernel for ambiguous values. Measure the cost of the test on both targets.",
            "method": "Start with the exact former-50 source measured in eik-work/trials/paired-control. Implement just the named change. Explain why every fast return rounds correctly or gives the identical integer intermediate. Include boundary and midpoint cases and exercise the changed code on its compiled target using the kit's targetcheck on selected affected chunks. Keep the old slow path for unresolved cases. Inspect the emitted instructions for the touched path.",
            "record": "Deliver eik-work/trials/shared-small-sigmoid/entry.c, the exact diff to id50, and a packet in that directory in the paired-control format. Include the rationale, raw logs, both hashes, before/after S and candidate/id50 ratios per board and seed, affected class means, hard tail, target image bytes/stack and correctness counts. Include regressions. If the kit rejects the candidate, retain the failing evidence and report unavailable scores as null. Distinguish duplicate or unchanged code generation from an eligible optimisation. Use paired-control/verify.py on the packet."
          },
          "scope": [
            "eik-work/trials/shared-small-sigmoid/**"
          ],
          "needs": [
            "paired-control"
          ],
          "check": "python3 eik-work/trials/paired-control/verify.py eik-work/trials/shared-small-sigmoid"
        },
        {
          "key": "freeze-entry",
          "vars": {
            "task": "Select and freeze one trial candidate as root entry.c. Cross-check all eight experiment packets with the shared verifier. Eligible entries have a genuine algorithm, layout or dispatch change, distinct normalised hash from available accepted sources, and clean static, scored, quick-host and target evidence. Include losses and rejections in the experiment ledger.",
            "method": "Use candidate/id50 on the paired trial seeds as the selection metric. For each candidate take its worse ratio on each board over the two seeds, then pick its best such board. Minimise that ratio, breaking ties by overall. If two compatible gains can help the same board, try adding just one winning edit to the best single. Score the combination on both seeds against both parents before selecting it. Otherwise freeze the best eligible single even for a gain below 3% or a regression. If all are invalid, record the concrete blockers for repair. A copied control cannot complete this target.",
            "record": "Deliver root entry.c, plus eik-work/freeze/{manifest.json,experiments.md,verify.py} and evidence. Check the chosen bytes again with eik check. Bind their SHA-256 and normalised hash, exact base and diff, kit/measurement/verifier IDs, three target object digests, stack/size, all paired scores and commands/logs. Byte-identical trial scores can be referenced by path and digest. Record a brief change note and follow-up based on the results. verify.py must run offline, bind root entry.c to the chosen passing packet or measured combination, recalculate matched-seed ratios from its raw logs, verify static results, hashes and ledger coverage, and reject an absent/invalid/duplicate candidate. Report per-seed S, best board against id50 and manifest path."
          },
          "scope": [
            "entry.c",
            "eik-work/freeze/**"
          ],
          "needs": [
            "rv-exp-interval",
            "rv-exp-loads",
            "rv-tanh-quadratic",
            "m0-exp-layout",
            "m0-exp-reduction",
            "m0-sigmoid-cell",
            "m0-tanh-refine",
            "shared-small-sigmoid"
          ],
          "check": "python3 eik-work/freeze/verify.py"
        }
      ]
    }
  ],
  "read": [
    "e03-kernel-trials/paired-control",
    "e03-kernel-trials/rv-exp-interval",
    "e03-kernel-trials/rv-exp-loads",
    "e03-kernel-trials/rv-tanh-quadratic",
    "e03-kernel-trials/m0-exp-layout",
    "e03-kernel-trials/m0-exp-reduction",
    "e03-kernel-trials/m0-sigmoid-cell",
    "e03-kernel-trials/m0-tanh-refine",
    "e03-kernel-trials/shared-small-sigmoid",
    "e03-kernel-trials/freeze-entry"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "e03-kernel-trials"
    ],
    "afterMinutes": 1440
  },
  "finish": false
}
