Repo context selection
Rank which files are actually relevant to a task before spending context (and tokens) on them.
"Repository retrieval and context selection" is a core coding-agent pattern: an agent shouldn't stuff every candidate file into the model's context — it's slow, expensive, and dilutes attention. Instead, score each retrieved file for how relevant it is to the task and keep only the ones that clear a bar. A Jev score is ideal here because it's a compact, calibrated judgment you can threshold and audit, run over many files in parallel for a fraction of a cent each — so the agent reads the three files that matter, not the thirty the retriever returned.
ライブで試す
これはモックではなく本物です。入力を編集して「実行」を押すと、Jev が 1 回の往復ですべての型付き回答を返します — 無料、登録不要。同じ呼び出しを数千件のアイテムに並列で実行する様子を想像してみてください。
デモを選んで入力を調整し、こちらを押してください Jev を実行.
Jev が下す意思決定
1 回の呼び出しで、Jev はこれらのそれぞれを — 同じ入力に対して並列に — 評価します:
How relevant is this file to completing the task?
順序付きの尺度で評価します:
- irrelevant
- loosely related
- relevant
- central to the fix
Should this file be included in the agent's working context for this task?
較正済みの yes/no の確率を返します。
Is this file a likely place the fix will need to be made?
較正済みの yes/no の確率を返します。
実際のリクエスト
これがライブデモの背後にある本物のペイロードです — コピーして、state を変えれば、もう構築できています:
{
"model": "jev-latest",
"state": "Task: \"Fix the bug where refunds over the order total are silently accepted.\"\n\nCandidate file surfaced by retrieval: `services/billing/refund.py`\n\nSnippet:\n\n def process_refund(order, amount):\n # TODO: validate against remaining balance\n gateway.refund(order.id, amount)\n record_refund(order, amount)",
"questions": {
"relevance": {
"type": "score",
"instructions": "How relevant is this file to completing the task?",
"criteria": [
"irrelevant",
"loosely related",
"relevant",
"central to the fix"
]
},
"include": {
"type": "noul",
"instructions": "Should this file be included in the agent's working context for this task?"
},
"likely_edit_site": {
"type": "noul",
"instructions": "Is this file a likely place the fix will need to be made?"
}
}
}コードに組み込む
型付きの答えを読んで、素のコードで分岐します — 解析は不要です。確信度の高いケースは自動処理し、不確かなものはより大きなモデルや人へ振り分けます。1 回の API 呼び出しで出力は無料なので、必要な質問はすべて一度に投げてください。
自分のものを作る
上のどのシナリオも 1 回の API 呼び出しです。プレイグラウンドでどれでも無料で試してから、ホスト型キーを取得して数分でそのまま本番投入できます。