Reproducibility notes#

We use evaluation data from the KTO tutorial for the examples in the evaluation article. See its reproducibility instructions for the checkpoints, subtask split, and evaluation settings.

Statistical methods#

  • SciCode accuracy: to estimate the mean accuracy difference, first average each model’s correctness across repetitions within each subtask, then compute Candidate − Baseline for that subtask. Average those differences across subtasks. For the confidence interval and p-values, group all scored subtasks and their repetitions by parent problem. For the 95% interval, draw 50,000 resamples of paired parent problems with replacement and take the 2.5th and 97.5th percentiles of the resulting mean differences. For the one-sided paired permutation p-values, swap model labels for whole parent problems and count permuted mean differences at least as extreme as the observed difference in the tested direction. Use 50,000 random swap patterns and calculate the p-value as (extreme swaps + 1) / (total swaps + 1).

    When question-level differences are independent and a t approximation is suitable, a paired t-based confidence interval and a one-sided paired t-test are alternatives.

  • Non-inferiority: use a one-sided t-test to assess whether Candidate’s accuracy loss is smaller than an acceptable margin. Use the same mean paired accuracy difference as above and estimate its standard error by grouping subtasks by parent problem. With all three quantities in pp, the t statistic is (mean_difference + margin) / standard_error. Calculate the p-value from the upper tail of the t distribution with degrees of freedom equal to the number of parent problems minus one.

  • Cap-hit rates: for each model, divide the number of responses that hit the completion cap by the total number of responses across all subtasks and repetitions.

    Calculate a two-sided 95% paired-bootstrap confidence interval for the rate difference using 50,000 resamples of whole SciCode parent problems with replacement. Keep all repetitions and both models together within each sampled group. The interval endpoints are the 2.5th and 97.5th percentiles. If neither model has an observed failure, bootstrapping gives a [0, 0] interval. This does not establish that failures cannot occur or that the models have equal failure rates.

  • SciCode cap-hit p-values

    For the one-sided paired permutation p-values, swap model labels for whole parent problems and count permuted cap-hit rate differences at least as extreme as the observed difference in the tested direction. For an exact p-value, divide this count by the total number of possible swap patterns. To estimate the p-value from random swaps, sample 50,000 swap patterns and use the same formula as for accuracy. Cap hits are rare, so most subtask differences are zero. The permutation test avoids relying on a t-distribution approximation for these sparse differences.

    The outcomes are binary, but a simple binomial test on pooled responses would ignore question pairing and repetitions within each question. With one response per model and question and independent question pairs, an exact McNemar test is another paired option.

  • Verbosity: to compare mean completion lengths, average each model’s response lengths across repetitions within each question, then subtract Baseline’s average from Candidate’s. Use these paired differences to calculate a two-sided t-based 95% confidence interval and run one-sided paired t-tests for the stated direction. Degrees of freedom equal the number of questions minus one. Compute each model’s median completion length across all its responses. The verbosity tests compare mean lengths.

Resampling at fixed response budgets#

For each allocation, we simulate 50,000 evaluations using 294 eligible SciCode subtasks and eight saved runs. For R = 1, 2, 4, or 8 repetitions, draw 280/R subtask IDs with replacement and independently select R run IDs without replacement. This gives 280 sampled scores per model. Use the same selected runs for all subtasks in a simulated evaluation. If a subtask is drawn twice, its saved scores count twice. At eight repetitions, each evaluation uses all eight runs and the sampled subtasks still vary.

We use NumPy’s random generator with seed 20261201. We compute Candidate accuracy for each simulated evaluation and report the mean in percent and the sample standard deviation in percentage points.

Subtask order for the cap-hit plot#

For the cap-hit plot, shuffle the sorted IDs of the 294 eligible subtasks with seed 20261124 and select prefixes of that order.

Saved metrics#

We save the means, standard deviations, confidence intervals, and p-values as CSV summaries:

Reproducibility limits#

The checkpoints and paired measurements are stored outside the public ModelOpt repository. To keep the repository lightweight, we include summary results here rather than question-level data, generated responses, or a full experiment environment.