# Modal CPU reproduction

**Verified.** On December 1, 2026, one ephemeral Modal CPU container executed 210 runs over 2,100,000 decisions. Formal campaign time was **53.281 s**, remote validation plus campaign and analysis took **59.870 s**, and the CLI took **77.107 s** including setup and download. The Modal App was `ap-jpqYHLfgM2NNtGxyPXWpXW`. [CLI log](cli.log) · [App log](app.log) · [Original cloud archive](corectron-modal-results.zip) · [SHA-256](SHA256SUMS.txt)

| Method | Best c | Modal mean | 95% Student-t confidence interval |
| --- | ---: | ---: | ---: |
| CoRectron-L | 0.001 | 6.351419 | [6.104059, 6.598779] |
| ONS | 0.1 | 15.336033 | [15.111983, 15.560083] |
| Projected OGD | 1 | 15.403588 | [15.219372, 15.587804] |

The CoRectron-L ratios were 0.414150 versus ONS and 0.412334 versus projected OGD. The ONS interval is disjoint from the CoRectron-L interval. Independent readback recomputed all 21 coefficient statistics, interval bounds, paired contrasts and verdict from the 210 recorded traces. All input hashes and the three executed experiment-source hashes matched the Windows archive. Exact final regrets matched on 200 rows. The ten differences were at ONS `c=0.001`, where the maximum endpoint difference was 2.988445 and the maximum trajectory difference was 4.251837. The selected means and intervals matched exactly. [Comparison](figure1_linear/comparison.json) · [Coefficient sweep](figure1_linear/coefficient_sweep.png) · [Per-seed analysis](cross_platform.csv)

The execution requested four CPU cores and 2 GiB RAM, with one container, a 600-second timeout, and zero automatic retries. Modal reported x86-64 Linux under gVisor with glibc 2.36, Python 3.11.6, NumPy 2.4.2, SciPy 1.17.0 and single-threaded OpenBLAS in each of four workers. The guest exposed a logical CPU affinity of 20 and returned `unknown` for the physical CPU model. [Execution origin](execution_origin.json) · [Runtime metadata](figure1_linear/run_metadata.json)

The first App stopped during image build because Modal selected a nonexistent Python 3.11.6 Trixie tag. The runner now pins the available Python 3.11.6 Bookworm image. The second App stopped in the pre-sweep validation because SLSQP reported a line-search error on Linux. The validation now checks the constructed KKT solution against independent direct linear solves and bisection. The experiment and learner implementations are byte-identical to the archived Windows run. Both preliminary attempts stopped before the formal sweep. [Image attempt](image-build-attempt.log) · [Validation attempt](validation-attempt-test.log) · [Successful validation](validation.log)

Modal's itemized report showed **$0.00399630** for the successful App and **$0.00476761** across the displayed App entries. A near-completion workspace snapshot showed $0.01025178 metered, $0.01 in credits and $0.00025178 in egress allowance. A later summary showed $0.00024068 metered, fully offset by the egress allowance. Both snapshots showed **$0 billed**. The account owner confirmed the Starter plan's $1.00 usage limit and included compute with no payment method. All three Apps reported `stopped`, and both the App and workspace container lists were empty. [Near-completion billing snapshot](billing-after-run.json) · [Later billing snapshot](billing-summary.json) · [Resource-level report](billing-by-resource.json) · [App status](app-status.json) · [Workspace containers](workspace-containers-after.json)

Run from the release root with an authenticated Modal CLI and credit coverage. [Reproduction instructions](../../MODAL_REPRODUCTION.md)

```sh
modal run modal_reproduction.py --output corectron-modal-results.zip
```
