Skip to main content

Module eval

Module eval 

Source
Expand description

Graph-quality evaluation: compare resolved edges against a gold set (expected.toml).

A fixture dir holds one subdirectory per repo plus expected.toml. Edges are keyed by repo:path (file) or repo:path::Qualified.name, independent of the descriptor scheme.

Structs§

Counts
EvalReport
GoldEdge

Constants§

EVAL_KINDS
Edge kinds the gold set covers; other kinds are ignored on both sides.

Functions§

eval_fixture
Parse + resolve every repo under fixture and score the result against its expected.toml.
eval_with
Like eval_fixture, limited to only repos (gold filtered to edges among them), with <scip>/<repo>.scip indexes attached where present.
keyed_edges
Render resolved edges of the evaluated kinds as gold keys.
score

Type Aliases§

KeyedEdge
A produced edge, in gold-key form: (kind, src, dst).