Expand description
Retrieval eval — score ground against a golden set so graph changes are MEASURED,
not asserted. Mirrors the discipline of the Python test_retrieval_eval, but runs over
whatever graph it’s handed (a hermetic fixture in tests; the real vault from the CLI).
Metrics (over the CLEAN cases): p_at_1 (top hit is an expected id), hit_at_k (an
expected id appears within the returned hits), mrr (mean reciprocal rank of the first
expected hit). Over the GARBAGE cases: garbage_rejected (the engine did NOT answer with
false confidence — top hit is weak/fallback, or there were no hits at all).
Structs§
- Case
Result - Per-case outcome, for a readable report.
- Class
Stat - Ok/total for one intent class (ok = p@1 for clean, rejected for garbage).
- Combo
Validation Error - Context
Case Result - Per-case context outcome.
- Context
Edge Expectation - Context
Omission Expectation - Context
Report - Aggregate context-quality metrics over cases carrying
context_must/context_must_not. - Dogfood
Case Result - Per-task dogfood trace across route, focus, brief decomposition, and readiness projection.
- Dogfood
Context Judgment - Dogfood
Difficulty Stat - Per-difficulty dogfood roll-up.
- Dogfood
Protocol Comparison - Legacy flat-query output compared with an EKF compact evidence request.
- Dogfood
Protocol Input - Inputs needed to compare legacy flat protocol with compact EKF protocol.
- Dogfood
Protocol Run - Estimated protocol economics for one tool-call style.
- Dogfood
Protocol Summary - Aggregate protocol economics across dogfood cases.
- Dogfood
Report - End-to-end dogfood metrics for task usefulness.
- Eval
Report - Aggregate metrics. Fractions are in
[0.0, 1.0]; nullable fractions were not measured. - Golden
Case - One golden judgment.
expectis the set of acceptable node ids (any one counts as a correct top hit).garbagemarks a nonsense query that MUST be rejected. - Golden
Set - A golden set file:
{ "cases": [ {query, expect|garbage}, ... ] }. - Relation
Match Expectation - Workflow
Case Result - Per-case brief/decomposition outcome.
- Workflow
Inspection Judgment - Workflow
Report - Aggregate brief/decomposition metrics over non-garbage cases.
Enums§
Functions§
- advance_
dogfood_ context_ step - classify_
combo_ case - compare_
protocol_ economics - dogfood_
case_ difficulty - dogfood_
operator_ label - dogfood_
task_ context_ is_ useful - evaluate
- Run every golden case through
groundand aggregate the metrics, using the FROZEN ranker calibration. - evaluate_
context - Score the CONTEXT payload (the activated subgraph’s
context_order), not just the route. Only cases declaringcontext_mustand/orcontext_must_notparticipate. - evaluate_
dogfood - Run a task-shaped dogfood suite across the agent loop: route -> focus context -> brief decomposition -> readiness projection.
- evaluate_
with_ config - Like
evaluate, but with an explicit [RankerConfig] — the injection seam for the dev-only parameter sweep (eidos-eval-runner --k1/--b/--weights). The kernel never reads the environment. - evaluate_
workflow - Score the internal decomposition artifact produced from a focused context pack.
- has_
required_ operator_ chain - is_
dogfood_ code_ kind - is_
dogfood_ docs_ kind - judge_
dogfood_ context - judge_
required_ checks - judge_
risk_ hints - judge_
workflow_ inspections - missing_
relation_ matches - score_
dogfood_ checks - summarize_
dogfood - summarize_
workflow - workflow_
initial_ ready_ context_ only