# Historical five-round improvement loop: numeric evidence

This download preserves a recovered historical run. It is supporting evidence, not a new qualified winner, current product claim, or provider comparison. No GPU was executed to produce this projection. The original public article and tables remain unchanged.

## What was observed

The concurrent arm completed five rounds in 625.642966642 phase seconds while serving 2,257 requests: 2,171 met TTFT ≤ 1 second and TPOT ≤ 60 milliseconds, with no recorded errors. The sequential restart arm completed five rounds in 1,079.134301754 phase seconds and retained all 3,941 offered requests, including 2,346 errors; 1,595 requests met the SLO. The isolated-loop/live-only reference retained 4,033 live requests, all meeting the SLO. Counts are recomputed from all retained observations, including failures.

The original article describes the sequential arm as lacking the guard. However, the associated source enables priority scheduling and the SLO guard for both live-sharing arms, and the retained summary records both settings for each. This is a concurrent trainer/hot-loading versus sequential engine-restart comparison, not an isolated guard ablation.

All three arms completed five rounds; they accepted five, three, and four candidates respectively. Completed rounds/hour must not be labeled accepted improvements/hour. Candidate and retained accepted-model scores are separate: the last sequential candidate scored 131/500 and was rejected, leaving the earlier accepted score of 132/500. The concurrent and isolated-loop final candidates scored 173/500 and 130/500.

## Timing and denominator boundaries

The associated source starts a loop phase clock before serving engine startup and stops it before cleanup. Trainer object construction precedes that clock. Preflight, broader setup, cleanup and provider allocation lifetime are outside this phase denominator. Request counts grow with each arm's duration; this is not one identical total offered-arrival trace.

The source runs the isolated improvement loop and its live-only reference **sequentially on one visible GPU**. It reports the loop's measured 1,034.209326716-second phase and assigns `gpu_seconds = 2 × phase_wall_s`. The live-only phase's own measured wall time is discarded. Thus the reported 2,068.418653432 GPU-seconds are constructed two-resource accounting, **not** a measured sum of both sequential phases, simultaneous two-GPU execution, an allocation receipt, or billed GPU-time.

The source's comparison gate uses 17.40460034 completed rounds per loop-phase GPU-hour; division by the constructed two-resource denominator instead gives 8.70230017. Both values and their distinct meanings are retained. Neither is promoted to physical GPU-hour goodput. Loop serving reserves a 0.45 GPU memory fraction, while isolated live-only serving uses 0.90.

## Evaluation and acceptance limits

Every one of the 15 round evaluations uses the identical ordered set of 500 unique GSM8K questions and targets. The same set is reused to accept candidates whenever the score does not fall below the previously accepted score. It is **not an untouched final holdout**. Accepted sampling trajectories and kept training examples differ across arms. Sampling requests use temperature 0.8 without an explicit per-request seed; scheduling has not been established as the cause of a quality gain.

Evaluation requests use temperature zero with a 256-token output cap. Most outputs terminate at this cap: in the final round, 470/500 concurrent, 500/500 sequential and 488/500 isolated-loop responses report `finish=length`. The source removes complete `<think>...</think>` blocks, truncates at an unmatched `<think>`, takes the last match of `-?\d[\d,]*\.?\d*`, removes commas and a trailing period, and compares strings. This is neither a semantic verifier nor general numerical normalization. No target is null in the retained records; missing extracted predictions remain null and count as misses.

The source's evaluation function does not explicitly require a successful response status before string comparison. This projection retains all statuses, error-presence flags, finish reasons, predictions and targets. Independent parsing of the private original output text agrees with every stored prediction and all 15 candidate scores and acceptance decisions. The public download exposes hashes of prompt/output text, not that text itself, so readers can recompute string-equality scores and input-order equality but cannot independently rerun answer extraction from this file alone.

## Provenance and availability

The archive directory `pr2-f1c30c1` associates the run with source candidate `f1c30c13a36f93d284ebda6b0abd00069410bedb`. The JSON includes hashes and lengths of the retained source candidate, raw summary, live observations and evaluation files. A full receipt binding those source bytes to the execution has **not** been recovered. The source-declared vLLM image digest is not an observed container image receipt.

Retained engine logs observe vLLM 0.30.0, BF16, Qwen/Qwen3-1.7B model and tokenizer revision `70d244cc86ccca08cf5af4e1e306ecf908b1ad5e`, tensor/pipeline/data parallel sizes of one, memory fraction 0.45 and priority scheduling for the concurrent arm. The source pins GSM8K revision `740312add88f781978c0658806c59bc2815b9866`. Actual physical device identity and provider allocation/billing intervals remain unavailable. No current-engine or commercial-provider superiority follows from these historical controls.

The numeric package contains 10,231 live request observations and 7,500 round evaluation observations. Operational error strings, host identifiers, prompt/output text, model weights and private executable source are excluded. Error presence and failure statuses remain included. This download is not an executable reproduction package. The separate published “product-path” observation is outside this receipt and is not evidence of currently shipped platform behavior.

## Recompute the public numeric observations

Run this standard-library example beside `rsi-loop-recovered.json`. It reads historical data only and launches no workload. It reproduces all request SLO/error counts, candidate and accepted scores, completed-round phase rates, constructed B2 accounting and shared evaluation-input order.

```python
import json, math
from pathlib import Path

d = json.loads(Path('rsi-loop-recovered.json').read_text())
reference_pairs = None
for arm in d['arms']:
    rows = [dict(zip(d['live_columns'], r)) for r in arm['live_observations']]
    hits = sum(not r['error_present'] and r['status'] == 'ok'
               and r['ttft_s'] is not None and r['tpot_s'] is not None
               and r['ttft_s'] <= 1 and r['tpot_s'] <= .060 for r in rows)
    errors = sum(r['error_present'] or r['status'] == 'error' for r in rows)
    assert len(rows) == arm['recomputed_live']['offered']
    assert hits == arm['recomputed_live']['hits']
    assert errors == arm['recomputed_live']['errors']
    previous, accepted = 0, 0
    for round_data in arm['rounds']:
        evaluation = [dict(zip(d['evaluation_columns'], r))
                      for r in round_data['observations']]
        pairs = [(r['prompt_sha256'], r['target']) for r in evaluation]
        if reference_pairs is None:
            reference_pairs = pairs
        assert pairs == reference_pairs and len(pairs) == 500
        assert len(set(p for p, _ in pairs)) == 500
        assert all(r['target'] is not None for r in evaluation)
        score = sum(r['prediction'] == r['target'] for r in evaluation) / 500
        keep = score >= previous
        recorded = round_data['reported_round']
        assert score == recorded['accuracy'] and keep == recorded['accepted']
        if keep:
            previous, accepted = score, accepted + 1
    assert accepted == arm['accepted_rounds']
    assert arm['completed_rounds'] == len(arm['rounds']) == 5
    rate = 5 * 3600 / arm['phase_wall_s']
    assert math.isclose(rate, arm['reported_completed_rounds_per_phase_gpu_hour'])
    if arm['id'] == 'b2':
        assert arm['reported_gpu_seconds'] == 2 * arm['phase_wall_s']
        assert math.isclose(5 * 3600 / arm['reported_gpu_seconds'],
                           arm['constructed_two_resource_rounds_per_gpu_hour'])
    print(arm['id'], hits, len(rows), errors, accepted, previous, rate)
```
