This commit is contained in:
@@ -1716,6 +1716,22 @@ def score_marketplace_match(
|
||||
):
|
||||
score += 0.05
|
||||
reasons.append("shared_variant_descriptor_alignment")
|
||||
if (
|
||||
shared_anchor
|
||||
and len(shared_anchor.replace(" ", "")) >= 8
|
||||
and not hard_veto
|
||||
and price_penalty == 0
|
||||
and brand_score == 0.55
|
||||
and bool(left.brand_tokens) != bool(right.brand_tokens)
|
||||
and type_score >= 0.55
|
||||
and spec_score >= 0.55
|
||||
and token_score >= 0.80
|
||||
and sequence_score >= 0.80
|
||||
and chinese_name_score >= 0.42
|
||||
and not variant_descriptor_conflict
|
||||
):
|
||||
score += 0.09
|
||||
reasons.append("brandless_exact_identity")
|
||||
if (
|
||||
shared_anchor
|
||||
and len(shared_anchor.replace(" ", "")) >= 6
|
||||
|
||||
Reference in New Issue
Block a user