← All examples
52 / 100
Jev Budget variance explanation routing Code Example
Find the team best placed to explain a spending spike.
Cloud infrastructure
Cost Center Cloud infrastructure
Variance +42%
Context New analytics cluster launched.
Who should review this variance?
0%
Infrastructure owner.
Let the application infrastructure owner.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"cost_center": "Cloud infrastructure",
"variance": "+42%",
"context": "New analytics cluster launched."
};
const decision = await evaluateDecision({
state,
question: "Who should review this variance?",
options: ["Infrastructure owner","Procurement","Payroll"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Infrastructure owner"
&& decision.probability >= 0.85) {
assignVarianceReview(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.