pub struct SimilarCodeSideEvidence {Show 15 fields
pub source_window: Option<String>,
pub parameter_count: Option<u32>,
pub is_async: Option<bool>,
pub is_generator: Option<bool>,
pub has_await: Option<bool>,
pub has_throw: Option<bool>,
pub side_effect_hint: Option<SimilarCodeSideEffectHint>,
pub entry_point_reachable: Option<bool>,
pub callers: Vec<SimilarCodeNamedReference>,
pub callees: Vec<SimilarCodeNamedReference>,
pub owners: Vec<String>,
pub churn_commits: Option<u64>,
pub tests: Vec<String>,
pub deterministic_clone_coverage: Option<f64>,
pub runtime_observations: Option<u64>,
}Expand description
Bounded evidence for one side of an inspect packet.
Fields§
§source_window: Option<String>Bounded source window included only in inspect output, never raw output or cache.
parameter_count: Option<u32>Declared parameter count when extraction supplied it.
is_async: Option<bool>Whether the inspected function is declared async.
is_generator: Option<bool>Whether the inspected function is a generator.
has_await: Option<bool>Whether the inspected function contains an await expression.
has_throw: Option<bool>Whether the inspected function contains a throw expression.
side_effect_hint: Option<SimilarCodeSideEffectHint>Conservative syntactic side-effect classification.
entry_point_reachable: Option<bool>Whether the function is reachable from a configured entry point.
callers: Vec<SimilarCodeNamedReference>Bounded, deterministically ordered direct callers.
callees: Vec<SimilarCodeNamedReference>Bounded, deterministically ordered direct callees.
owners: Vec<String>Bounded, deterministically ordered ownership labels.
churn_commits: Option<u64>Recent commit count in the configured churn window.
tests: Vec<String>Bounded, root-relative related test paths.
deterministic_clone_coverage: Option<f64>Fraction covered by deterministic clone groups, from zero through one.
runtime_observations: Option<u64>Runtime observation count when compatible runtime evidence is present.