V10.386 harden Gemini compose defaults
Some checks failed
CD Pipeline / deploy (push) Has been cancelled

This commit is contained in:
OoO
2026-05-21 20:14:19 +08:00
committed by AiderHeal Bot
parent 63470b69d3
commit 2ae377dadf
7 changed files with 54 additions and 2 deletions

View File

@@ -299,11 +299,13 @@ SEARCH_NOISE_TOKENS = {
"美甲",
"3d",
"多色",
"提亮",
"兩入組",
"櫻花輕盈版",
}
SEARCH_IDENTITY_ANCHORS = (
"柔霧裸唇膏",
"潤浸保濕清爽身體乳液",
"閃亮珍珠眼影棒",
"智能光感應無線自動除臭芳香噴霧機",
@@ -1839,6 +1841,20 @@ def score_marketplace_match(
):
score += 0.10
reasons.append("shared_identity_anchor_lactacyd_wash")
if (
"柔霧裸唇膏" in shared_anchor
and {"kate", "凱婷"} & (left.brand_tokens | right.brand_tokens)
and brand_score >= 0.95
and not hard_veto
and price_penalty == 0
and type_score >= 0.55
and spec_score >= 0.45
and token_score >= 0.50
and sequence_score >= 0.50
and not variant_descriptor_conflict
):
score += 0.15
reasons.append("shared_identity_anchor_kate_bare_lip")
if (
"閃亮珍珠眼影棒" in shared_anchor
and {"karadium"} <= (left.brand_tokens | right.brand_tokens)