{
  "notes": "Episode 2 of 5. Eight of nine targets landed at trunk f8457aa88c71525cb99b5a72935ddaa7f207d304. Setup and the four former-source and three current-source packets were handed in. Former-50 was still working with zero prior failures. Let it finish and request its result for episode 3. There were no requester notes, refused decisions or pending children. The code wave can queue behind the first batch. Its eight items take the total from 9 to 17 of 50, leaving 33.\n\nThe accepted setup replay provides two measurements for id50. Rounded scores appear in the order RV32IM / thumbv6m / overall.\n\n| Source | Seed 180434352 | Seed 2851275305 |\n| --- | --- | --- |\n| 50 | 28.5014 / 40.4306 / 33.9460 | 28.6239 / 40.5756 / 34.0798 |\n| 48 | 29.2792 / 43.2725 / 35.5947 | 29.3848 / 43.4302 / 35.7238 |\n| 46 | 30.0473 / 45.7185 / 37.0637 | 30.1247 / 46.1417 / 37.2828 |\n| 42 | 30.8668 / 47.5902 / 38.3270 | 30.8641 / 47.6692 / 38.3571 |\n| 37 | 32.1265 / 48.5907 / 39.5101 | 32.0761 / 48.7230 / 39.5328 |\n50 leads all five public sources on both seeds on every board. Its provisional rows come from eik-work/toolkit/evidence/replay/former-50.evaluate-<seed>.stdout and its pinned bytes are in toolkit/sources/id50.c. Cross-check the dedicated former-50 packet when available. Other rows and source analyses are under eik-work/baselines/former-{37,42,46,48}. Kit 5a32428ad4aa23bce737d50a738ace24ddeeed2e, reference measurement 2c8fd1f3a6711f0639685319fb25262b02bfecf4c6589c52cb58928270a46322. Setup succeeded with a pip-free runner. The Zig/Unicorn wheels and static QEMU are staged by hash in the scratch cache. A cold offline checkout requires that cache to be supplied first. The accepted toolkit is unchanged by this wave.\n\nThe accepted public API packets map RV32IM promotion 59 to submission 52, thumbv6m 60 to 53, overall 61 to 56. All returned HTTP 403 SOURCE_WITHHELD and published absolute S was absent. The rules keep reigning sources private. Matching-seed live scores, takeover ratios and board eligibility are therefore unknown. Preserve these evidence packets. Kit-incumbent ratios, historical promotion ratios and gains over 50 cannot establish a live takeover.\n\nOn seed 180434352, id50 exp costs 42.862 typical instructions on thumbv6m and 30.533 on RV32IM. Thumb tanh has a 79.293 hard mean; all three Thumb tail factors were 1.0. Thumb code+tables total 20500 bytes, RV 18960. The source has RV cubic cells/high-half products and Thumb paths using packed tables and narrow arithmetic. Its existing EIK_SEL wide-character constant selects the RV code on the host and Thumb code on ARM. The sanitizer run alone leaves the latter path unchecked. New target macros/probes are outside the rules. The wave tests eight single changes with separate source/diff/log directories. The two newly drawn seeds are shared across the wave so improvements and regressions can be compared on identical inputs. Static acceptance, quick evaluation and selected target chunks are partial evidence.\n\nEpisode 3 should read the eight experiment summaries and former-50 packet. Use the raw toolkit stdout to confirm source and normalized hashes, input digests, positive finite scores, zero wrong results and the direction of ratios. Disqualify incorrect variants. Integrate the best valid genuinely changed entry into root entry.c. Combine independent edits only after remeasuring the combination against its components. Keep the strongest valid single as fallback. If every variant is wrong or equivalent to a published source, use a repair item before freezing. Keep the best correct changed candidate even if the margin is below 3%. Preserve an experiment ledger including losses and failures. Verify the static gate, size/stack, all three entry points, and the change against the public bases. Freeze the chosen source SHA-256 and target identities. Evaluate the final bytes on at least three new held-out seeds. Refresh official boards and per-board leaderboard IDs at freeze. Remeasure any legitimately public hash-matching reference on identical inputs. For overall, use both scores from that board's single reference. For an unavailable reference, report candidate S, null champion S/ratio and undetermined board status, with date, source status and hash. A separately labeled former-50 paired ratio is still measurable on each seed.\n\nPlan exhaustive checks immediately after the freeze. A target batch can make each independent shard depend on the integration target. Run the final evidence merge in a later wave once the shards have landed, avoiding a single target with more than 16 prerequisites. Budget for 24 items at two half-open half-domains per function/runtime, or fewer if longer shards easily fit. Cover all 4096 chunks of 2^20 words for sigmoid, tanh and exp under host UBSan+ASan and QEMU target objects for rv32im, thumbv6m, thumbv7em. Use candidate pilot wall times in different magnitude bands and toolkit/evidence/replay/throughput.json to size runs. Preserve every kit report, command and exit. Check source/object identity, complete nonoverlapping coverage, zero mismatches and sanitizer errors, and run kit merge with all three targets required. With 33 items left, 1 integration + 24 verification + 1 assembly leaves 7 for repairs or larger shards split into smaller ones. Any candidate byte change requires verification of the new bytes. Keep episodes 4 and 5 for coverage gaps, final comparison, and packaging. Deliver root entry.c, score table and takeover status per board, complete check logs, experiment log, source-change note and next experiments if needed. Never register a hotkey, sign, submit, or spend TAO.",
  "spawn": [
    {
      "name": "e02-kernel-experiments",
      "mode": "code",
      "requires": {
        "platform": [
          "linux-x64"
        ],
        "tools": [
          "python3.12"
        ],
        "minCpus": 4,
        "minMemoryGb": 4
      },
      "minutes": 60,
      "brief": "Run one optimization experiment on public submission 50. {{technique}}\n\nRead the pinned eik-work/toolkit/kit/RULES.md first. Start from eik-work/toolkit/sources/id50.c (SHA-256 88617bb49e36a06cabd7d84ce6fe504ee337f8f41ad7c55bc72f696db94060c3). Save your standalone candidate as {{dir}}/entry.c. Use only your scope for results and test/scratch for builds. Reuse the existing toolkit, its hash-pinned provisioning and run.py. Keep the evaluator, flags, reference and sampling populations fixed. Meet the C11 integer/type/state/size limits and all three function contracts. Use identical preprocessed tokens on all builds. Introduce no architecture, host or sanitizer probes. Perform only local competition runs, without registration, signing, submission or spending TAO.\n\nVerify the candidate differs from the public base under the kit's normalized-source comparison. Run eik check, then eik evaluate --quick --json on the unchanged base AND candidate for fresh seeds 2585574517 and 3214084903, using separate cases. Match inputs_sha256 and measurement identity within each pair. Quick uses full scoring populations and partial correctness coverage. Test affected boundary neighbors, specials, ties and uncertain-path cases. Exercise the changed function on its intended object with targetcheck --function, --target and --chunks over an affected range. Save the report and coverage. Retain the original guard/fallback unless the replacement is justified over its whole range.\n\nUnder {{dir}} retain the exact diff, rationale and error or equivalence argument, any generator needed, and the raw command logs with exits and structured kit outputs. In report.json give status, base/candidate source and normalized hashes, identities, per-seed input hashes, all three boards' raw S before/after and candidate/base ratios, plus changed-function class means, hard tail, linked bytes, stack, wrong counts and tested ranges. Record every trial, including regressions and rejected changes, with its scores or the failing check and unavailable values. Distinguish errors from measured losses. Mark passing quick/shard evidence partial and label id50 a former champion. Summarize the result, numeric rows and evidence paths in the item's notes.",
      "items": [
        {
          "key": "rv-exp-interval",
          "vars": {
            "technique": "Shorten dispatch to the existing exp cells for common negative inputs in eik_exp_r. Trace the currently nested comparisons between -4 and -1/4. Use one unsigned interval test to enter the correct cell region sooner. Keep endpoints, reduction, evaluation and cold paths exact. Report the RV32IM typical and wide exp means.",
            "dir": "eik-work/experiments/rv-exp-interval"
          },
          "scope": [
            "eik-work/experiments/rv-exp-interval/**"
          ]
        },
        {
          "key": "rv-tanh-quadratic",
          "vars": {
            "technique": "Try a centered quadratic in one high-traffic binade of the RV tanh cubic-cell path (rt_cell_r/tld_r). Eliminate a high-half multiply there. Generate coefficients offline if needed. Bound total approximation and fixed-point truncation error per cell, sending ambiguous inputs to the original path. Report RV32IM saved instructions and added table bytes.",
            "dir": "eik-work/experiments/rv-tanh-quadratic"
          },
          "scope": [
            "eik-work/experiments/rv-tanh-quadratic/**"
          ]
        },
        {
          "key": "rv-sigmoid-binade",
          "vars": {
            "technique": "Change the sign/exponent dispatch in eik_sigmoid_r. Group adjacent binades that already enter the same cell path and compute the cell address once for that range. Preserve the existing cell arithmetic, tie tests and extreme-value handlers. Report the RV32IM sigmoid branch/instruction cost in the typical and wide classes.",
            "dir": "eik-work/experiments/rv-sigmoid-binade"
          },
          "scope": [
            "eik-work/experiments/rv-sigmoid-binade/**"
          ]
        },
        {
          "key": "m0-exp-reduction",
          "vars": {
            "technique": "Specialize the range reduction for one frequently used negative exponent binade in t_eik_exp. Fold the binade-dependent t_xrow constants into straight-line 32-bit arithmetic to remove row loads or a multiply on Cortex-M0+. Prove that the resulting table index and residual agree at both interval ends and across carries. Keep the polynomial and rounding unchanged.",
            "dir": "eik-work/experiments/m0-exp-reduction"
          },
          "scope": [
            "eik-work/experiments/m0-exp-reduction/**"
          ]
        },
        {
          "key": "m0-sigmoid-product",
          "vars": {
            "technique": "Replace one expensive multiply sequence in a hot t_eik_sigmoid fixed-point cell with narrower partial products suited to Cortex-M0+. Use the actual operand ranges to prove which bits are needed. If truncation changes the approximation, bound it and retain the precise fallback for ambiguous values. Check the linked code and report whether helpers or instructions disappeared.",
            "dir": "eik-work/experiments/m0-sigmoid-product"
          },
          "scope": [
            "eik-work/experiments/m0-sigmoid-product/**"
          ]
        },
        {
          "key": "m0-tanh-refinement",
          "vars": {
            "technique": "Reduce the cost of t_eik_tanh's rounding refinement. Follow the expensive near-midpoint path and reuse a residual or intermediate already calculated by its fast cell to avoid recomputation. Preserve every tie and sign decision. Base dispatch on a mathematical rounding condition. Report the hard mean, hard p99.9 and effects on typical inputs.",
            "dir": "eik-work/experiments/m0-tanh-refinement"
          },
          "scope": [
            "eik-work/experiments/m0-tanh-refinement/**"
          ]
        },
        {
          "key": "m0-table-layout",
          "vars": {
            "technique": "Shrink a substantial table in the Thumb implementation by losslessly factoring repeated fields from t_eps or its companion rows. Inspect all readers, including byte-offset and shared-table uses, before changing its layout. Preserve coefficient values, alignment and rounding. Measure linked code plus data and the decode cost on thumbv6m.",
            "dir": "eik-work/experiments/m0-table-layout"
          },
          "scope": [
            "eik-work/experiments/m0-table-layout/**"
          ]
        },
        {
          "key": "shared-small-sigmoid",
          "vars": {
            "technique": "Implement one target-independent small-magnitude sigmoid fast path. Use 1/2+x/4 with a derived cubic-remainder bound and the unequal binary32 spacing on the two sides of 1/2. Return only when both error-interval ends round to the same word, using the existing implementation for uncertain inputs. Pick a contiguous interval by arithmetic cost. Measure both targets' wide and typical means.",
            "dir": "eik-work/experiments/shared-small-sigmoid"
          },
          "scope": [
            "eik-work/experiments/shared-small-sigmoid/**"
          ]
        }
      ]
    }
  ],
  "read": [
    "e01-baseline-foundation/former-50",
    "e02-kernel-experiments/rv-exp-interval",
    "e02-kernel-experiments/rv-tanh-quadratic",
    "e02-kernel-experiments/rv-sigmoid-binade",
    "e02-kernel-experiments/m0-exp-reduction",
    "e02-kernel-experiments/m0-sigmoid-product",
    "e02-kernel-experiments/m0-tanh-refinement",
    "e02-kernel-experiments/m0-table-layout",
    "e02-kernel-experiments/shared-small-sigmoid"
  ],
  "cancel": [],
  "wake": {
    "batches": [
      "e01-baseline-foundation",
      "e02-kernel-experiments"
    ],
    "afterMinutes": 480
  },
  "finish": false
}
