fix(cli): enforce shortcut avoid_when boilerplate filter and sync eval docs

Self-review follow-ups on the ranking hardening series:

- the avoid_when boilerplate filter compared lowercased phrases against
  a mixed-case constant, so the "需要该 Shortcut..." noise filter never
  fired; the constant is now lowercase (no ranking change: the boilerplate
  was never contained by any query, sentinel 990/1123 unchanged)
- add direct unit coverage for the avoid_when penalty (echoed-phrase
  match, unrelated-query pass-through, boilerplate filter, partial
  overlap, explain annotation)
- update tool-search-ranking-evaluation.md to the post-hardening
  numbers (ensemble R@5 88.16%, Forbidden 0%/0%, action_v1 shadow
  84.24% with the trade-off recorded)
- drop the dead algorithm_freeze manifest block; nothing consumes it
  after the hash decoupling
This commit is contained in:
玉澜
2026-08-13 16:31:52 +08:00
parent 2dc3147cda
commit 9bc803fde0
4 changed files with 94 additions and 31 deletions
-16
View File
@@ -7,22 +7,6 @@
"independent_evaluation": "DWS Agent Evaluation maintainers",
"separation_rule": "The independent evaluation signer must not be an author of Catalog selection metadata used by the evaluated cases."
},
"algorithm_freeze": {
"state": "development_candidate_recorded_before_independent_dev_test_is_sealed",
"diagnostic_proxy_control": "bm25_unfielded",
"go_runtime_default": "fielded_bm25_ensemble",
"shadow_candidates": [
"fielded_bm25_action_v1",
"fielded_tfidf_cosine",
"bm25plus"
],
"changes_forbidden_after_independent_dev_test_is_sealed": [
"tokenizer",
"field_projection",
"field_weights",
"bm25_k1_b_delta"
]
},
"proxy_v1": {
"state": "sealed_diagnostic_only",
"catalog_generation": "go_declarations_to_runtime_assembly",