# A rollout decision under declared losses

This synthetic readout helps a product analyst decide whether evidence supports shipping,
stopping, or gathering better evidence. It adds a decision layer to an accepted marketplace
simulator. It does not describe an employer, observed customer experiment, profit or waiting time.

## Frozen target and scenarios

The target is the finite-window all-treated minus all-control completed rides, less an assumed
intervention charge, per 1,000 driver scored slots. Both potential worlds share exogenous draws.
One completed ride is one utility unit; the intervention charge is a stated ride-equivalent
tradeoff, not money or an observed expense. It is charged for every treated driver scored slot,
even if its extra capacity serves no request. Unscored slots advance exposure but are outside this
finite-window utility target. There is no claim about full operating cost or steady-state utility.

The primary estimator is the pinned driver's A/B contrast with pretreatment-only CUPED, divided
by driver scored slots and multiplied by 1,000, less the known full-rollout charge. Its Student
confidence interval is retained separately from the posterior approximation. Driver assignments
are completely randomized within the fixed city. There are no ride-level independent observations.

| Scenario | Grid | Blocks | Mechanism | Extra capacity | Charge per scored driver slot |
|---|---:|---:|---|---:|---:|
| Clear-win setup | 4 by 4 | 8 | Isolated catchments | 1 | 0.10 |
| Flat setup | 4 by 4 | 8 | Isolated catchments | 0 | 0 |
| Harmful utility | 4 by 4 | 8 | Isolated catchments | 1 | 1.25 |
| Underpowered setup | 2 by 2 | 2 | Isolated catchments | 1 | 0.10 |
| Interference | 4 by 4 | 8 | Cross-catchment matching | 1 | 0.10 |

All use four drivers per region, three slots per block, one excluded initial slot, matching radius
1.25, incentive capacity 1 and carryover coefficient 0.7. These are the upstream parameters; only
the underpowered grid/window and V3's explicit cost transform differ. No negative capacity patch
is needed. In the harmful case the all-treated intervention adds at most one completed ride per
driver slot, while charging 1.25. Its true utility is therefore at most negative 250 per 1,000
driver scored slots for every generated world. A negative noisy estimate is not the definition.

Scenario names describe generating assumptions, never a promise that a single draw earns a
particular decision. The app always uses replication zero. All final replications are retained.
Truth is written to a separate evaluation file and never passed to the decision function or app.

## Approximate posterior and losses

For utility U, use estimate y with working likelihood y given U approximately Normal(U, s squared),
where s is the estimated design standard error. This treats s as known and ignores its estimation
uncertainty and the finite-population non-normal shape. It is a declared approximation, not a
Bayesian interpretation of the frequentist confidence interval. Interference invalidates its
rollout interpretation even when the display looks precise.

The prior is Normal(0, 500 squared) in utility units. Sensitivity uses standard deviations 250
and 1,000 with the same zero mean. Meaningful benefit means U greater than 100. Normal conjugacy
gives posterior variance 1 / (1 / prior variance + 1 / s squared) and the corresponding
precision-weighted mean. An exactly zero standard error uses the limiting point mass at y;
negative, missing or non-finite errors are unavailable. Exact point probabilities use strict
greater-than semantics.

Shipping loss is expected max(negative U, 0). It measures the shortfall relative to not shipping
when utility is negative, equivalently shipping regret against the oracle that chooses the better
of ship and do not ship. It is not negative expected utility: favorable outcomes do not cancel
harmful ones. Stopping loss is expected max(U, 0), the forgone benefit against the same oracle.
The difference between stopping and shipping regret equals posterior mean utility. The app names
both the baseline and the oracle. It never calls these losses expected monetary loss.

The rule is threshold-based, not a claim of optimal sequential decision theory. With valid
evidence and a passing operational guardrail, ship when probability of meaningful benefit is at
least 0.95 and shipping regret is at most 25. Stop when that probability is at most 0.05 and
stopping regret is at most 25. Otherwise keep testing. A boundary belongs to its stated inclusive
inequality. Keep testing is deferral, with no asserted value of information or future optimality;
its delay and experiment costs are not modeled. The two terminal action losses are shown so the
unmodeled deferral cost cannot be mistaken for zero measured cost.

## Validity, guardrail and stopping

The only operational guardrail is the observed fraction of completed rides matched across region
borders during the scored window. The simulator records both numerator and denominator. A
fraction above 0.05 fails an assumed boundary-crossing budget; it is a descriptive observation,
not a confidence bound on a future service level. An empty denominator is unavailable, never zero.
The budget is an illustrative operating preference, not a researched city requirement. Home-only
matching has zero crossings by construction; that does not establish any passenger service quality.

The spillover design cannot identify this rollout target with the mixed-driver estimator. Every
interference case returns keep testing with a redesigned experiment, before any probability/loss
threshold can authorize shipping. A failed or missing guardrail, invalid counts or missing
statistics also prevent terminal action. The app distinguishes these reasons. Unit fixtures cover
every guardrail branch, including boundary equality and missing evidence, without inventing extra
final scenarios or silently replacing the five required ones.

The run is fixed-horizon. No peeking, optional stopping or monitoring error guarantee is offered.
The deliberately inadequate comparison displays a p-value and positive/negative point estimate;
it is explicitly labeled inadequate and never drives the recommendation.

## Conditional information planning

The slider ranges from 1 through 16 independent same-sized city experiments, including the
current information equivalent. At m, assume the same target and stable variance with standard
error s divided by square root of m. Each city repeats its declared driver allocation and window;
the independent added information comes from whole new cities, not re-counting rides or correlated
time slots in the observed city. The resulting driver assignment count is m times the scenario's
driver count. This scaling is an assumption, not validated power for a new marketplace.

Show four fixed future estimate assumptions: negative absolute observed estimate, zero, current
estimate, and current estimate plus its current standard error. Each is held fixed along the
information grid and recomputed under each prior. Report the first terminal threshold crossing,
or no crossing within the grid. These conditional paths are not predictive probabilities of a
future decision. Hold the observed guardrail and declared validity fixed; extra information never
repairs invalid interference or predicts an improved operational outcome.

## Collection and checks

The runtime-only pilot uses seed 990013, five replications of all five scenarios, and does not
print outcomes or select parameters. Final seed is 130013. Replication world and assignment seeds
use independent spawn keys; common-sized scenarios share draws. Choose 500 final replications if
the projected collection fits 600 seconds, otherwise 250 if it fits, otherwise report a runtime
blocker. Freeze the final protocol, source hashes and count before final generation.

The release includes each final observed sufficient-statistic row, separate truth records,
all three priors' decisions, conditional planning states and repeated-world summaries. Replaying
decisions needs no random draws, API credentials or upstream checkout. Full simulation reproduction
uses the vendored exact upstream source and pinned packages. Upstream regression checks exercise
all overlapping mechanisms and effects with identical seeds, estimates and potential outcomes.

Tests compare probabilities and partial moments with independent quadrature and elementary
symmetry identities, including tails, point masses, decision boundaries and malformed input.
Repeated-world reporting includes confidence-interval and posterior-interval coverage of paired
policy truth, squared probability error for meaningful benefit, fixed-bin probability versus
truth frequency, action frequency and harmful shipping frequency, with denominators and Wilson
Monte Carlo intervals. Fixed-parameter repeated-world calibration is a stress test, not a theorem
that posterior probabilities equal frequentist rates. Interference failures remain visible.

## Outputs and review coverage

Deliver a local Streamlit app using immutable JSON caches, a Plotly uncertainty view and semantic
table, README and method notes, CSV downloads, and an inspected 20-second local recording with a
matching text summary. Static cold-paint limits do not apply to this app; startup is measured and
warm changes must finish within one second on the recorded reference machine. No simulation runs
on page load. No remote resources or paid APIs are needed after dependency bootstrap.

Finite categories are five scenarios, three prior scales, 16 information counts, four fixed-effect
paths and two themes. The result registry covers the whole set. Render checks cover each scenario,
each terminal/deferral/error/guardrail branch, all slider endpoints and representative combinations.
Missing, corrupt and stale cache states must stop cleanly. The copy extraction includes all registry
strings and numbers, actual rendered states, tooltips, downloads, methods and recording text.
Numerical checks precede copy, accessibility, performance, distinctiveness, blind readers, claims
and independent export acceptance. No PORT-13 claim or publication permission is earned yet.
