Skip to Content
Recodocs

15 · Make a release decision

Decide whether the Facilities Helpdesk scoped router clears the registered release checks, then rehearse restoring the incumbent.

7 min read
Part 4
Operate and release
Model
Qwen2.5-1.5B-Instruct
Data
Registered release split of the facilities benchmark
Hardware
Tesla T4 and CPU, in Google Colab
Open in Colab

Should this version go to the desk?

The North Yard operator has been looking up fan F-250 and asks, “What is its maximum temperature?” The scoped router can answer from the authorised manual if its saved reference is still current. If the saved revision is stale, the same words should trigger clarification. Try both references before deciding what evidence you would require from a release test.

Ventilation fan representing F-250
North Yard · operator · saved fan F-250

“What is its maximum temperature?”

Current authorised manual revision r3
Saved reference r3
Still current
Saved reference r2
Earlier revision
Check what the candidate did

The current reference returned 101 °C with its manual citation. The earlier reference triggered clarification and returned no evidence.

Augapfel’s factory fan photo illustrates F-250. CC BY 2.0.

Change one fact. Keep the operator, question and asset the same. Switch the saved manual revision.

Saved referenceExpected action
r3 matches the current authorised manualAnswer with the temperature and cite that revision.
r2 is older than the current manualClarify and return no evidence.

The scoped router passed 250 of 300 release tickets

Strict decisions, values and evidence across the sealed families

1
PolicyPassesShare
Always model100/30033.3%
Scoped router250/30083.3%
Ask or deny100/30033.3%
Source: verified Lesson 15 T4 export.

Register what would change the decision

Write down the release requirements before looking at the new scores. This is how the comparison stays about the service people need rather than about whichever metric improved.

The F-250 revision pair is a development example. It shows what a policy must do without spending the release holdout. Before opening the release families, the notebook records the model revision, candidate and incumbent, holdout digest, thresholds and critical slices. It then checks the digest and confirms that release equipment families do not appear in either training or development.

Spotify registers a combined A/B test decision rule in which a success metric and every guardrail have distinct jobs. Here the decision is offline and the registered quality test allows a small loss, while the scope and critical-slice checks can veto the candidate. Spotify Engineering, risk-aware product decisions

A ticket passes when its decision, exact value and evidence match the contract. The candidate’s estimated gain is the average difference on the same tickets. The interval resamples whole equipment families to keep related variants together.

Δ=1N∑i(ci−bi),ci,bi∈{0,1}.\begin{aligned} \Delta &= \frac{1}{N}\sum_i (c_i-b_i),\\ c_i,b_i &\in \{0,1\}. \end{aligned}

The gain came from three slices and the multi-source gap remained

Strict passes out of 50 tickets in each release slice

2
SliceAlways modelScoped routerAsk or deny
manual0500
numeric0500
multi source000
ambiguity505050
boundary505050
follow up0500
Source: verified Lesson 15 T4 export.

The candidate gained 150 tickets, lost none and tied on the remaining 150. Its gain was 50 points, with a 95% family-bootstrap interval of 33.3 to 66.7 points. The overall gain came from manual, numeric and follow-up tickets. None of the policies passed a multi-source ticket. For ambiguity and boundary, the scoped router retained the incumbent’s 50/50 score in both slices. Microsoft describes slicing results by segment and using an automatic shutdown rule when a Bing experiment unexpectedly led to a 404 page. An aggregate gain alone would not diagnose that kind of failure. Microsoft Research, during-experiment stage

Verify the harness contract before grading

Pin a harness revision alongside each checkpoint. Before replay, compare the deployed tool names, argument and result schemas, tool permissions and stop rules with the versions in the release manifest. For the F-250 revision probe, check that the registered manual tool still returns the revision and evidence fields the scorer expects. Check that the workflow stops when those fields are available and records an explicit reason if its budget expires. Repeat the contract checks after rollback.

Register an infrastructure gate alongside the quality rubric. Classify faults using transport, tool and grader receipts before reading task scores. Track the attempted, faulted and usable counts for each arm, and preserve a separate end-to-end reliability rate. If a harness contract differs, a critical slice lacks usable pairs, or the fault rate exceeds its predeclared ceiling, hold the comparison until a matched replay under the same retry rule repairs the evidence. Treat a repeatable fault caused by the candidate’s interface as a release failure. These checks extend the recorded helpdesk gate for a future deployment.

Follow the route into the output

All policies first handle the scope decision. Always model sends the remaining answerable cases to generation, while the scoped router sends supported manual and numeric questions to deterministic reads. The ask-or-deny fallback requests clarification on cases it could otherwise answer. The route totals show which policy changes could account for the gains.

Manual and inventory reads replaced 150 model calls

Recorded route counts across the same 300 requests

3
PolicyManualInventoryModelClarifyDeny
Always model002005050
Scoped router10050505050
Ask or deny00025050
Source: verified Lesson 15 T4 export.

F-250 · What is its maximum temperature?

Saved r3 → manual
{"decision":"answer","value":"101","evidence":["manual-F-250-r3"]}
Saved r2 → clarify
{"decision":"clarify","value":"","evidence":[]}

The development opening changes only the saved manual revision. The release test below uses separate equipment families.

F300-00 · What is the maximum temperature for P-300?

Expected
{"decision":"answer","value":"79","evidence":["manual-P-300-r3"]}
Always model
```json { "decision": "The maximum temperature for P-300 is 79°C.", "value": null, "evidence": [ "manual-P-300-r3", "inventory-P-300-r3", "graph-P-300-r3 Recorded decision: clarify
Scoped router
{"decision":"answer","value":"79","evidence":["manual-P-300-r3"]}

The incumbent’s raw reply named the temperature but did not parse into the required answer. The scoped route returned the value and the single required citation.

F320-00 · Give the last inspection date and supporting system for V-320.

Expected
{"decision":"answer","value":"2025-09-24 | S-720","evidence":["inventory-V-320-r3","graph-V-320-r3"]}
Always model
```json { "decision": "The last inspection date for V-320 was 2025-09-24.", "value": null, "evidence": [ "inventory-V-320-r3", "graph-V-320-r3" ] Recorded decision: clarify
Scoped router
```json { "decision": "The last inspection date for V-320 was 2025-09-24.", "value": null, "evidence": [ "inventory-V-320-r3", "graph-V-320-r3" ] Recorded decision: clarify

Both policies reached generation for this two-source request and neither returned the required value and citations.

The two F-250 requests keep the same wording and permission. Their different outcomes follow the saved evidence revision. Netflix reported tracing a playback incident to bad catalogue metadata while code and configuration stayed fixed. This is why an evidence revision belongs in the decision record along with a logic revision. Netflix Technology Blog, The Data Canary

Time the whole serial decision

The quality run uses batches and the latency profile uses serial calls. The profile measures one fixed variant per release family across the same configurations, covering routing, model invocation when applicable and answer handling. It excludes network or service queue time. Reducing model calls can change capacity without changing the tail by the same proportion.

The candidate’s serial p95 was slightly lower

Thirty separately timed tickets per policy. No service queue or network in the timer.

4
Policyp95, msModel on quality run
Always model2879.0200
Scoped router2789.150
Ask or deny0.0470
Source: verified Lesson 15 T4 export.

The candidate’s serial p95 was 2,789 ms versus 2,879 ms for the incumbent, a ratio of 0.969. The registered rule allows at most 1.10. The fallback takes under a millisecond at p95 and scores 100/300, reflecting the work it leaves to the operator.

All four registered checks passed

Each row is a required check. A failed row vetoes eligibility.

5
CheckObservedRuleResult
Quality lower bound33.3 pp≥ −2.0 ppPass
p95 ratio0.969×≤ 1.100×Pass
Boundary failures0= 0Pass
Critical slice Δ0.0 pp≥ 0.0 ppPass
Source: verified Lesson 15 T4 export.

The four checks combine as a conjunction. The lower end of the paired quality interval, the p95 ratio, the boundary count and the smaller change across the two critical slices each have a veto. Eligibility on the full run also requires verified restoration, denoted by R.

Eligible=Q∧L∧S∧C∧R,Q:lower95%(Δ)≥−0.02,L:p95c/p95b≤1.10,S:boundary failures=0,C:min⁡(Δamb,Δbound)≥0.\begin{aligned} \mathrm{Eligible} &= Q \land L \land S \land C \land R,\\ Q &: \mathrm{lower}_{95\%}(\Delta) \ge -0.02,\\ L &: p95_c/p95_b \le 1.10,\\ S &: \mathrm{boundary\ failures}=0,\\ C &: \min(\Delta_{\mathrm{amb}},\Delta_{\mathrm{bound}})\ge0. \end{aligned}

Rehearse restoration before recommending the change

The rollback probe is F-310’s last inspection. Before the switch, the incumbent returned clarification. The candidate found the date in inventory. On restoration, the incumbent again returned clarification with its original route, prompt digest and allowed evidence IDs. That is a verified restoration even though the original response did not answer this ticket.

# Compare the restored configuration with the recorded incumbent.
before, _, restored = timeline
rollback_ok = all(before[key] == restored[key] for key in checked_fields)

Rollback restored the incumbent’s observed behaviour

Local configuration rehearsal on F310-00

6
PhaseConfigRouteDecision
beforeAlways modelmodelclarify
candidateScoped routerinventoryanswer
restoredAlways modelmodelclarify
Source: verified Lesson 15 T4 export.

Amazon describes versioned deployment packages, alarms that restore the previous package, and time to observe a deployment before widening it. The local rehearsal exercises configuration and behaviour readback. A live rollout would need its own trigger, signal and observation window. NIST’s profile recommends sharing pre-deployment evaluation results with people responsible for release approval. The notebook produced evidence for that decision and recorded an eligible recommendation. Amazon Builders’ Library, automating safe deployments · NIST Generative AI Profile, MS-2.3-002 and MS-2.3-003

What to keep

ConfigurationUse it when…Evidence from the release set
Scoped routerThe authorised source and route are established.250/300, with no recorded boundary failures and a known multi-source gap.
Always modelThe rollback is invoked and the prior configuration must be restored.100/300. The rehearsal restored the route and response on the F-310 probe.
Ask or denyA response cannot be supported safely.100/300. The policy leaves otherwise answerable work unresolved.

Next to try, not tested here

  • Repair the multi-source path on development families, then pre-register a fresh release test.
  • Use traffic and timeout limits from the intended serving environment to design a separate queue-latency check.
  • Name a rollback owner, trigger, monitored signal and observation period before shifting live traffic.

How it was built

ItemSetting
RuntimeTesla T4, Python 3.13.16, PyTorch 2.14.1+cu130, Transformers 4.51.3
ModelQwen2.5-1.5B-Instruct at 989aa7980e4cf806f80c7fef2b1adb7bc71aa306
Release inputs300 synthetic tickets, 30 disjoint equipment families and six slices
GenerationQuality batches of 12, up to 68 new tokens, greedy decoding
Tail and interval30 separately timed serial tickets per policy, 1,500 paired family resamples for quality
Release digestRecorded in the gate receipt before loading the release set
RehearsalSwap configuration locally, rerun the same probe, read back recorded fields

Time and cost The evaluation took 151.10 s, after the separately measured model load of 15.48 s. Full notebook execution took 182.3 s. Colab compute-unit charging is separate.

Run it yourself

Start with the registered gate and the revision pair. After the release replay, inspect the strict outcomes and the latency profile separately. Read the rollback receipt before making a recommendation.

  1. Change only the saved F-250 revision in the development example and predict the route before inspecting its returned evidence.
  2. On a separate development experiment, set a required minimum for the multi-source slice. Predict what a zero would do to the combined recommendation before evaluating it.
  3. Rehearse the swap on another development probe. Predict which response fields can differ under the candidate and which must match again after restoration.

Return to the course overview and compare release evidence with the choices made in the benchmark, retrieval and operating lessons.

How is this page?

Last updated on