Sub topic 14
Monitor and Revisit the Decision After Launch
Assume you know how software features are shipped, what machine learning and large language models do, and how to read short Python snippets. This chapter focuses on what happens after deciding to use AI.
A launch decision is a hypothesis: the AI feature will solve a user problem well enough to justify its cost and risk. Production data tests that hypothesis. Monitoring should show whether the feature still meets its target, not only whether the model is running.
Monitor the decision, not only the model
Track four kinds of signals:
- Outcome: Does the feature improve the user or business result?
- Quality: Are the answers correct, useful, and safe?
- Operations: Are latency, failures, and cost within limits?
- Behavior: Do users accept, correct, ignore, or bypass the feature?
A request count or uptime chart cannot tell you whether an AI feature is helping. For example, a support classifier can process every ticket successfully while routing many tickets to the wrong team.
Choose signals and thresholds
Define a measurement before launch. Each signal needs an owner, a review period, and a threshold that causes action.
| Signal | Example measure | Possible review trigger |
|---|---|---|
| Quality | Correct routing rate | Below 90% for two weeks |
| Outcome | Tickets solved without reassignment | No improvement over the rules baseline |
| Latency | 95th-percentile response time | Above the product limit |
| Cost | Cost per completed task | Above the approved budget |
| Safety | Rate of harmful or private outputs | Any severe incident |
A threshold is not automatically a rollback command. It is a prompt to inspect the evidence. A temporary provider outage and a gradual decline in quality require different responses.
Watch for drift and weak feedback
Drift means that production conditions have changed from the data or assumptions used during evaluation. New user language, new products, changed policies, or a different customer mix can all cause drift.
Feedback can also become less reliable. If users stop correcting suggestions because corrections take too many clicks, an apparent increase in acceptance may hide poor quality. Sample a set of accepted results and have reviewers label them. Compare those labels with the model output.
Keep the baseline in the monitoring system. If the AI classifier has 92% accuracy and the keyword rules have 91%, the small gain may not justify extra latency, cost, or risk.
def accuracy(predictions, labels):
correct = sum(
prediction == label
for prediction, label in zip(predictions, labels)
)
return correct / len(labels)
def review_needed(ai_predictions, baseline_predictions, labels):
ai_score = accuracy(ai_predictions, labels)
baseline_score = accuracy(baseline_predictions, labels)
return {
"ai_accuracy": ai_score,
"baseline_accuracy": baseline_score,
"review": ai_score <= baseline_score,
}
result = review_needed(
["billing", "bug", "billing", "bug"],
["billing", "bug", "bug", "bug"],
["billing", "bug", "billing", "bug"],
)
print(result)Set review points before launch
Schedule reviews at useful intervals, such as one week after launch, after the first thousand tasks, and every quarter afterward. Also review immediately after a major policy, product, data, or model change.
At each review, ask:
- Is the user outcome better than the non-AI baseline?
- Which errors increased, and who bears their cost?
- Have input patterns, policies, or user expectations changed?
- Do cost and latency still fit the product?
- Should the feature continue, be restricted, be redesigned, or be removed?
Keep a decision record with the measurements, assumptions, and chosen action. This prevents the original launch rationale from becoming invisible.
Exercise
An AI support router has higher accuracy than its rules baseline, but reassignment rates and per-ticket costs have both risen. What should the product team do?
Show answer
Review the affected ticket sample, compare the business outcome with the baseline, and investigate cost and routing errors. Keep the feature only if the measured benefit still exceeds its added cost and risk. Otherwise, limit, redesign, or replace it.