|
|
@@ -24,14 +24,14 @@ def test_rule_pack_thresholds_drive_decision(tmp_path):
|
|
|
thresholds[1]["min_score"] = 70
|
|
|
thresholds[1]["max_score"] = 79
|
|
|
|
|
|
- # M3 2-dim score: relevance 0.6 -> 45, platform_heat 0.6 -> 30 => 75, lands in the
|
|
|
- # reconfigured 70<=score<=79 review band.
|
|
|
+ # 2-dim score(2026-06-12 贴题档位 45/25→40/20):relevance 0.6 -> 40, platform_heat 0.6 -> 30
|
|
|
+ # => 70, lands in the reconfigured 70<=score<=79 review band.
|
|
|
bundle = deepcopy(state["evidence_bundles"][0])
|
|
|
bundle["pattern_match_result"]["relevance_score"] = 0.6
|
|
|
bundle["content_engagement_metrics"]["platform_heat"] = 0.6
|
|
|
|
|
|
decision = decide(run_id, state["policy_run_id"], 1, bundle, policy_bundle)
|
|
|
- assert decision["score"] == 75
|
|
|
+ assert decision["score"] == 70
|
|
|
assert decision["decision_action"] == "KEEP_CONTENT_FOR_REVIEW"
|
|
|
assert decision["decision_reason_code"] == "content_score_review"
|
|
|
assert decision["decision_replay_data"]["matched_threshold"] == "70<=score<=79"
|