59 / 100
Capacity anomaly triage
The application receives context for a capacity anomaly triage decision.
How should this traffic increase be treated?
Expected demand78%
Investigate anomaly15%
Security review7%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"traffic": "+300%",
"campaign": "scheduled launch now",
"errors": "normal"
};
const decision = await evaluateDecision({
state,
question: "How should this traffic increase be treated?",
options: ["Expected demand","Investigate anomaly","Security review"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Expected demand"
&& decision.probability >= 0.85) {
tagCapacityEvent(decision);
} else {
queueForReview(decision);
}Let the application expected demand.