← All examples
42 / 100
Jev Documentation drift Code Example
Spot examples that no longer match a code signature.
connect(url, timeout)
Docs connect(url, timeout)
Signature connect({ url, timeoutMs })
Does this documentation need an update?
0%
Update example.
Let the application update example.
Code
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"docs": "connect(url, timeout)",
"signature": "connect({ url, timeoutMs })"
};
const decision = await evaluateDecision({
state,
question: "Does this documentation need an update?",
options: ["Update example","Current","Review version"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Update example"
&& decision.probability >= 0.85) {
openDocsTask(decision);
} else {
queueForReview(decision);
} This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.