fix(rank): keep out-of-window evidence out of the top ranks (#993)
Cherry-picks the recency contract from #885 so stale items cannot lead ranks, including cluster representatives and the final sort. Co-authored-by: bekonyn <noyanjeanbean@gmail.com>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Out-of-window evidence no longer leads the ranked output. Items whose dates fall outside the run's window were flagged `[date:low]` but ranked normally, so a 2025-10 video took the #1 cluster in a 2026-07 brief and a 2025-12 one took #5. Candidates whose every dated item is out of window are now demoted in both the fusion sort and `_final_score`, so they still appear as evidence but never above in-window material; items with no date at all are untouched, since an unknown date is a coverage gap rather than a stale item. The freshness verdict ("only N of M dated items are from the last 7 days") also reaches the pass-through footer instead of only the report body.
|
||||
Reference in New Issue
Block a user