Photo-title fixture set + resolve baseline; language-only cues skip fetch
Data-driven stub XML for all 27 extracted titles (searches incl. empty results for the long Avalon Hill/SPI box titles, truncated-head retry queries for later, tie-break stats with publisher links, version lists aligned with the real collection objectids). Language-only cues no longer trigger a versions fetch — language can't reach the plausibility threshold alone, so the request would always be wasted; it still scores when stronger cues exist. Baseline resolve: 22 auto, 1 ambiguous (Wiz-War editions), 4 unmatched (the long box titles — next commit). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
3543005236
commit
09274e039c
@@ -59,12 +59,11 @@ class TitleEntry:
|
||||
|
||||
@property
|
||||
def has_version_cues(self) -> bool:
|
||||
return bool(
|
||||
self.publisher_hint
|
||||
or self.edition_hint
|
||||
or self.year_hint
|
||||
or self.language_hint
|
||||
)
|
||||
"""Cues strong enough to justify a versions fetch. Language alone
|
||||
can never reach the plausibility threshold (it scores 1 of the
|
||||
required 2), so fetching on it would waste a rate-limited request —
|
||||
it still participates in scoring when other cues exist."""
|
||||
return bool(self.publisher_hint or self.edition_hint or self.year_hint)
|
||||
|
||||
|
||||
@dataclass
|
||||
|
||||
Reference in New Issue
Block a user