apps(osint): map-phase grading — summarizer 2c41737d42dd + score thresholds
PR #53 grades every article 0-100 inside the existing map call (no extra round-trip), passes only blocks >= SUMMARY_MIN_SCORE to the reduce prompt and persists article_scores for threshold tuning. Pin the rebuilt summarizer and set min_score=60 / top_n=12 / fallback_top=3 in the ConfigMap.
This commit is contained in:
parent
550bbdc61d
commit
6d4813e2ec
2 changed files with 8 additions and 1 deletions
|
|
@ -65,6 +65,13 @@ data:
|
|||
# model needs ~30 s for 8 articles, so bigger batches time out and silently
|
||||
# contribute nothing to the reduce phase.
|
||||
BATCH_SIZE: "4"
|
||||
# Map-phase grading (PR #53): the map call scores every article 0-100 against
|
||||
# a rubric and only blocks >= SUMMARY_MIN_SCORE reach the brief. When nothing
|
||||
# clears the bar the top SUMMARY_FALLBACK_TOP are used so the HUD is not blank
|
||||
# (set 0 for a genuinely empty "no significant developments" brief).
|
||||
SUMMARY_MIN_SCORE: "60"
|
||||
SUMMARY_TOP_N: "12"
|
||||
SUMMARY_FALLBACK_TOP: "3"
|
||||
NEWS_SUMMARIZE_INTERVAL_S: "900"
|
||||
NEWS_SUMMARIZE_RUN_ON_START: "1"
|
||||
NEWS_RECAP_HOUR: "23"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ spec:
|
|||
kubernetes.io/hostname: siriussec
|
||||
containers:
|
||||
- name: news-summarizer
|
||||
image: forgejo.siriusdevops.com/sirius/osint-news-summarizer:amd64-c48788d4b614
|
||||
image: forgejo.siriusdevops.com/sirius/osint-news-summarizer:amd64-2c41737d42dd
|
||||
imagePullPolicy: IfNotPresent
|
||||
# Loop: batch the last window, call Nous Portal, write summaries.
|
||||
command: ["python", "run_news_summarizer.py"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue