apps(osint): summarizer fa745ee3f7ae — closed window + fallback score floor

PR #54: get_recent_news() now ends at NOW() so future-dated event listings are
no longer re-graded every interval, and the fallback can only pick blocks with
score >= SUMMARY_FALLBACK_MIN_SCORE (40) instead of taking the top N blind.
This commit is contained in:
Lance Walters 2026-11-13 21:58:06 -05:00
commit 7edb32f627
2 changed files with 4 additions and 1 deletions

View file

@ -72,6 +72,9 @@ data:
SUMMARY_MIN_SCORE: "60" SUMMARY_MIN_SCORE: "60"
SUMMARY_TOP_N: "12" SUMMARY_TOP_N: "12"
SUMMARY_FALLBACK_TOP: "3" SUMMARY_FALLBACK_TOP: "3"
# Lowest score the fallback may pick when nothing clears SUMMARY_MIN_SCORE;
# below this the brief is the honest "no significant developments" one.
SUMMARY_FALLBACK_MIN_SCORE: "40"
NEWS_SUMMARIZE_INTERVAL_S: "900" NEWS_SUMMARIZE_INTERVAL_S: "900"
NEWS_SUMMARIZE_RUN_ON_START: "1" NEWS_SUMMARIZE_RUN_ON_START: "1"
NEWS_RECAP_HOUR: "23" NEWS_RECAP_HOUR: "23"

View file

@ -23,7 +23,7 @@ spec:
kubernetes.io/hostname: siriussec kubernetes.io/hostname: siriussec
containers: containers:
- name: news-summarizer - name: news-summarizer
image: forgejo.siriusdevops.com/sirius/osint-news-summarizer:amd64-2c41737d42dd image: forgejo.siriusdevops.com/sirius/osint-news-summarizer:amd64-fa745ee3f7ae
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
# Loop: batch the last window, call Nous Portal, write summaries. # Loop: batch the last window, call Nous Portal, write summaries.
command: ["python", "run_news_summarizer.py"] command: ["python", "run_news_summarizer.py"]