Skip to main content

Module evaluation

Module evaluation 

Source
Expand description

GraphRAG evaluation harness for retrieval and code-impact observations.

The harness is intentionally pure: callers run CLI/API/storage workflows, then submit compact observations here so exact fact, multi-hop, temporal, negative, stale-index, ambiguous-entity, and code-impact checks share one scoring contract.

Structs§

EvaluationCase
Expected behavior for one evaluation query or workflow.
EvaluationObservation
Compact observation submitted by integration tests or diagnostics commands.
EvaluationReport
Aggregated report for a Phase 4 evaluation run.
EvaluationResult
Per-case evaluation result with concrete failure reasons.

Enums§

EvaluationCaseKind
Phase 4 GraphRAG evaluation scenario family.
EvaluationError
Evaluation input validation error.

Functions§

evaluate_case
Scores one case against one observation.
evaluate_suite
Scores a suite where observations are supplied in case order.
phase4_fixture_cases
Small deterministic Phase 4 fixture suite used by integration and CI gates.