Expand description
Confidence scoring module — transforms raw dependency data into actionable intelligence.
Implements three approaches from the research synthesis:
- Noisy-OR fusion (Google Knowledge Vault, KDD 2014) — for multi-source evidence
- Temporal decay (TempValid framework, ACL 2024) — confidence is not timeless
- Bayesian update — for incorporating new evidence
A static dependency graph says “A depends on B.” A probabilistic one says “A depends on B with 0.87 confidence based on static analysis (0.92) and test coverage (0.75), decaying at 0.01/day since last verification.”
Structs§
- Confidence
Report - Confidence report for explaining to humans.
- Source
Contribution
Functions§
- bayesian_
update - Simple Bayesian update: combine prior belief with new evidence.
- chain_
confidence - Propagate confidence through a transitive chain.
- multi_
path_ confidence - Combined multi-path confidence: given multiple paths between A and C, compute the overall confidence using noisy-OR over each path’s chain confidence.
- noisy_
or - Noisy-OR model for combining independent evidence sources.
- temporal_
decay - Temporal confidence decay using exponential model.