J.

Jev Incident severity Code Example

Triage service impact before an incident commander reviews it.

Every checkout payment has failed for the last eight minutes.

Service Checkout
Impact All payments fail
Duration Minutes 8

Which severity review should be opened?

0% Critical.
Critical 83%
Major 12%
Minor 5%

Let the application critical.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "service": "Checkout",
  "impact": "All payments fail",
  "duration_minutes": 8
};

const decision = await evaluateDecision({
  state,
  question: "Which severity review should be opened?",
  options: ["Critical","Major","Minor"],
});

// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Critical"
    && decision.probability >= 0.85) {
  pageIncidentCommander(decision);
} else {
  queueForReview(decision);
}

This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.