Skip to main content

Module edf

Module edf 

Source
Expand description

Evidence Decay Function (EDF) — PRD §8.14.

Claims decay in reliability based on their content domain. Formula: decayed = base_confidence × e^(−λ × age_days) where λ = ln(2) / half_life_days.

Self-calibrating: adjusts half-lives when staleness flags turn out to be wrong.

Structs§

DecayResult
Result of applying EDF to a confidence score.
EvidenceDecayFunction
Evidence Decay Function engine.

Enums§

Staleness
Staleness classification of a decayed confidence value.

Functions§

classify_url_domain
Classify a URL into a content domain category based on hostname patterns.
domain_half_life
Return the domain-appropriate half-life (in days) for a URL.