# Completion chances versus mean remaining service Invented total service X: 1 ms with probability 9/10, otherwise 100 ms. Age is attained service, not time since arrival. Compare a fresh job with an unfinished job that has received 90 ms; the latter must be the long type. At each stopping age b>a, divide P(X<=b | X>a) by E[min(X,b)-a | X>a]. Maximize that completion/work ratio. Fresh has mean remaining service 10.9 ms but index 0.9/ms at b=1; old has 10 ms remaining and index 0.1/ms. SERPT selects old; Gittins selects fresh. Reciprocal rank is in ms and minimized. ## Exact two-job decision Start with those states already present, no future arrivals, one unit-speed server, free preempt-resume. Measure remaining response from this decision time; elapsed response of old is common to both policies. This is not a stationary experiment. Finish old first: responses (old,new) are (10,11) with probability 9/10 and (10,110) with probability 1/10. Mean over jobs and outcomes is 309/20 = 15.45 ms. Probe fresh for at most 1 ms, finish old, then any remaining fresh work: responses are (11,1) and (11,110). Mean is 229/20 = 11.45 ms. The 4 ms difference is a consequence of these inputs, not an SSD speedup, general bound or optimality proof. ## Algorithm and reproduction Between support points, completion mass is constant while work cannot decrease. An optimum therefore exists at a support point. Sort and combine equal sizes, condition on X>a, then sweep cumulative completed mass and work. At one fixed age, this uses O(n log n) sorting plus O(n) scan operations, not n full rescans. These are arithmetic-operation counts, not arbitrary-precision bit complexity or the cost of computing the whole age-dependent function. python3 -B model.py --check python3 -B -m unittest discover -p test_model.py python3 -B -O -m unittest discover -p test_model.py Standard-library Fraction only. Independent direct sums and between-atom checks cover 648 law/age combinations; unit-slot enumeration checks both decision paths. Tests also cover atom conditioning, units, reciprocal direction, reordered/split mass and invalid inputs. No Monte Carlo seed, empirical sample or confidence interval. results.json records the model SHA-256; retain model and tests together. ## References and boundaries [Aalto and Scully (2022), section 2, equation 1](https://doi.org/10.1007/s11134-022-09760-z): completion-rate index. [Scully, Harchol-Balter and Scheller-Wolf (2020), section 2.1](https://doi.org/10.1145/3379477): reciprocal rank and SERPT distinction. No third-party figures or datasets redistributed. This calculation does not model SSD parallelism, switching cost, workload drift, p99, multistage observations or estimation of an unknown distribution. It is not a general queue simulator.