← All examples
44 / 100
Jev Dependency update triage Code Example
Prioritize package updates from their actual impact.
Remote execution in image parser.
Advisory Remote execution in image parser.
Reachable Yes
Patched Version available
Which update queue should receive this?
0%
Security priority.
Let the application security priority.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"advisory": "Remote execution in image parser.",
"reachable": true,
"patched_version": "available"
};
const decision = await evaluateDecision({
state,
question: "Which update queue should receive this?",
options: ["Security priority","Routine","Investigate exposure"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Security priority"
&& decision.probability >= 0.85) {
queueDependencyReview(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.