Skip to main content

deterministic_links

Function deterministic_links 

Source
pub fn deterministic_links(bundles: &mut [FindingBundle]) -> usize
Expand description

Run a fast, deterministic linking pass based on shared entities between findings. Returns the number of links created.

Rules:

  • Shared entity, different papers -> “extends”
  • Shared entity, opposite direction (positive/negative) -> “contradicts”
  • Shared entity, same direction, newer + higher confidence -> “supersedes”
  • 2+ shared entities -> noted as strong overlap in the link note