J.

Jev Build failure classification Code Example

Make CI failures actionable at a glance.

No space left on device

Output No space left on device
Step Docker layer extraction
Test Failures 0

What kind of failure is this?

0% Runner capacity.
Runner capacity 94%
Application bug 4%
Dependency conflict 2%

Let the application runner capacity.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "output": "No space left on device",
  "step": "Docker layer extraction",
  "test_failures": 0
};

const decision = await evaluateDecision({
  state,
  question: "What kind of failure is this?",
  options: ["Runner capacity","Application bug","Dependency conflict"],
});

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

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