Review an AI web tool before release
Key takeaway
Release criteria include the user task, output quality, data access, operational support and a fallback.
Lessons in this path
How it works
Separate preview, business trials and production. Review AI-generated diffs and run application checks in staging. Identify who can disable a feature and what users will see after a failure.
Worked example
A new model release changes response structure. An acceptance run catches drift before it reaches multiple business units.
What makes an AI release different from a normal release?
With classic software, behaviour only changes when code changes. AI applications have further sources of change: a new model version from the provider, an adjusted system instruction, an updated knowledge state or changed retrieval parameters. Each can alter answers without touching a single line in the repository. Release gates, the defined checkpoints before approval, must therefore cover all sources of change.
Outputs are also non-deterministic. A single successful test run proves little. Gates therefore work with test sets and thresholds rather than single yes/no tests.
The gate checklist per stage
The three stages preview, business trial and production each get their own criteria. Whatever is not checked at one stage must not silently slip into the next.
| Stage | Mandatory check | Owner |
|---|---|---|
| Preview | Code review incl. AI-generated changes, unit and schema tests, security scan | Engineering |
| Preview | Automated test set with minimum pass rate, end-to-end browser tests | Engineering, QA |
| Business trial | Review by business experts on realistic, approved cases | Business |
| Production | Monitoring, kill switch, user notice, support channel ready | Operations |
Step by step: a model change through the gates
Model changes are the most common reason for unexpected deviations. This sequence keeps them under control.
- Pin the model version explicitly instead of using a “latest” alias, so changes only happen deliberately.
- Run the new version in parallel against the full test set and compare results per case group, not only on average.
- Add structural checks: does the response follow the schema, are evidence and fields still present.
- Have responsible experts review a sample of the deviations.
- Roll out gradually, for example first to one business unit, behind a feature flag (a switch that turns a function on or off without a new deployment) and with a prepared rollback.
Going deeper: automate gates without replacing judgement
Many checks can be integrated into the CI/CD pipeline (the automated build and delivery chain): schema validation, evidence coverage, prohibited content, answer length, latency and cost per request. Ratings by a second model (so-called LLM-as-a-judge approaches) can help pre-sort large test sets, but should be calibrated regularly against human ratings because they have their own biases.
Decide for every metric in advance whether it blocks or only warns. A gate that blocks on every deviation is soon bypassed; one that never blocks is not a gate. Also document who may override a block in exceptional cases and that every override is logged.
Keep a small set of “golden” cases that must never fail, separate from the broad test set with a threshold.
Example: A provider update just before quarter close
Example (fictional): a finance function uses a web tool that pre-drafts variance comments. The provider announces the retirement of the model version in use. The parallel run shows the new version writes better but, in some cases, outputs amounts without a currency. The schema gate blocks.
The team adjusts the instruction, reruns the test set and, after quarter close, rolls out first to one region’s controlling team. Rollback to the old version remains available via the switch until the retirement date.
Common mistakes
- Integrating the model via a “latest” alias and noticing changes only through user complaints.
- Sending only code changes through gates, not instructions and knowledge states.
- Looking at results only as an average.
- No prepared rollback because the old model version has already been retired by the provider.
Frequently asked questions
How large should a test set be?
As rough orientation, a few dozen to a few hundred cases per task, spread across typical, difficult and critical cases. Coverage of case groups matters more than size.
Who gives final approval?
Each stage has its own owner. Production approval should be given jointly by the business and operations.
What belongs in the user notice after a rollback?
Which function is unavailable, which manual route applies, whether results already produced must be rechecked and when the next update will follow. Write the text before release, not during the incident.
Try it yourself
Define one explicit release criterion each for business, platform and operations.
Check your result
Release is repeatable and rollback has an assigned procedure.