feat(classify): zero title-only titles, penalize <10min, add discover.candidate_min_score
标题仅含 require_title 不再计分(必须咻咻满+任一正向词);时长 <10 分钟 -1(时长未知不扣);新增 discover.candidate_min_score(默认=notify.min_score)控制是否进候选池,只过标题关的不再入池。库内 796 条:仅过标题关的 8 条从 1/3 分降为 0/-1,其余不变。
This commit is contained in:
1 parent
aa9aa7c589
commit
c6790f0ba1
10 files changed
+138
-69
No files matched your search
@@ -157,7 +157,8 @@ class DiscoveryService:
|
||||
classify=cfg.classify,
|
||||
)
|
||||
summary.scored += 1
|
||||
if score < 0:
|
||||
# 低于候选线直接丢弃:只过标题关(无正向命中)的不再进候选池。
|
||||
if score < cfg.discover.candidate_min_score:
|
||||
return
|
||||
|
||||
candidate = self.repo.upsert_candidate(
|
||||
|
||||
Reference in new issue
Block a user