pub struct OracleReport {Show 14 fields
pub schema: &'static str,
pub source_commit: Option<String>,
pub symbols_codegraph: usize,
pub symbols_roteiro: usize,
pub symbols_matched: usize,
pub symbols_scope_diff: usize,
pub codegraph_only: usize,
pub roteiro_only: usize,
pub codegraph_only_sample: Vec<String>,
pub roteiro_only_sample: Vec<String>,
pub constants_codegraph: usize,
pub calls_codegraph: usize,
pub calls_agree: usize,
pub calls_codegraph_only: usize,
}Expand description
The result of comparing Roteiro’s derived graph against a codegraph snapshot.
Counts cover Rust function/struct/enum/trait symbols (the overlap
where both tools operate) and function-to-function calls.
Fields§
§schema: &'static strStable schema tag (ORACLE_SCHEMA).
source_commit: Option<String>The commit codegraph indexed, from the snapshot meta (for context —
a mismatch with the current HEAD explains divergence).
symbols_codegraph: usizeComparable Rust symbols codegraph found.
symbols_roteiro: usizeComparable Rust symbols in Roteiro’s derived graph.
symbols_matched: usizeSymbols present in both with the same key (exact agreement).
symbols_scope_diff: usizeSymbols both tools found in the same file with the same leaf name but a
different scope (e.g. codegraph #foo vs Roteiro #tests::foo) — the
same symbol, keyed differently, not a real divergence.
codegraph_only: usizeSymbols codegraph found that Roteiro genuinely lacks (no same-file, same-leaf match) — a real extraction-coverage gap.
roteiro_only: usizeSymbols Roteiro found that codegraph genuinely lacks.
codegraph_only_sample: Vec<String>A capped, ordered sample of the genuine codegraph-only keys.
roteiro_only_sample: Vec<String>A capped, ordered sample of the genuine roteiro-only keys.
constants_codegraph: usizeConstants codegraph extracted — a known Roteiro gap (it does not yet
extract const/static), reported so the symbol counts stay honest.
calls_codegraph: usizeInternal function→function calls edges codegraph found (both ends Rust).
calls_agree: usizeOf those, how many Roteiro also has (agreement).
calls_codegraph_only: usizecodegraph calls Roteiro lacks — expected, since Roteiro only links unambiguously-resolved calls while codegraph resolves by name too.
Trait Implementations§
Source§impl Clone for OracleReport
impl Clone for OracleReport
Source§fn clone(&self) -> OracleReport
fn clone(&self) -> OracleReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more