Progressive title truncation, publisher tiebreak, thematic-year fix
Long transcribed box titles that defeat search now retry with shorter heads (pre-separator, pre-"Game ..." descriptor, first-two-words from the pre-subtitle part) matched exact-only against the head — fuzzy thresholds stay untouched. Tie-breaks gain a publisher pick: when the box showed a publisher and exactly one exact-named candidate is from that publisher, it wins (SPI's Sorcerer 1975 now beats the more-owned White Wizard Sorcerer 2019). The extract prompt excludes thematic/ subject years from year_hint; re-extracting Flat Top's photo drops the bogus 1942, and a regression test pins that a wrong year can never drive version selection. Re-extraction also drifted two transcriptions (DUNGEON!, and Herbaceous misread as "Hebarceos") — fixtures added; the misread demos review's re-search rescue in the end-to-end run. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -84,6 +84,9 @@ SEARCHES: dict[str, list[tuple]] = {
|
||||
(172242, "Exploding Kittens: NSFW Edition", 2015, BG, "primary"),
|
||||
],
|
||||
"Herbaceous": [(195314, "Herbaceous", 2017, BG, "primary")],
|
||||
# vision misread of Herbaceous on one run — search finds nothing;
|
||||
# review's free-text re-search ("f Herbaceous") rescues it
|
||||
"Hebarceos": [],
|
||||
"Wiz-War": [
|
||||
(1218, "Wiz-War", 1983, BG, "primary"),
|
||||
(104710, "Wiz-War", 2012, BG, "alternate"), # primary: Wiz-War (Eighth Edition)
|
||||
@@ -94,6 +97,7 @@ SEARCHES: dict[str, list[tuple]] = {
|
||||
"Age of Renaissance": [(26, "Age of Renaissance", 1996, BG, "primary")],
|
||||
"History of the World": [(224, "History of the World", 1991, BG, "primary")],
|
||||
"Dungeon!": [(1339, "Dungeon!", 1975, BG, "primary")],
|
||||
"DUNGEON!": [(1339, "Dungeon!", 1975, BG, "primary")], # spelling drift
|
||||
}
|
||||
|
||||
# ids-param -> [(bgg_id, name, year, type, owned, rank, [publishers])]
|
||||
|
||||
@@ -54,6 +54,7 @@ SEARCHES = {
|
||||
+ search_item(205398, "Citadels", 2016, "boardgame")
|
||||
),
|
||||
"Blorvath: Quest of the Zzyzx": "",
|
||||
"Blorvath": "", # truncation-retry head of the nonsense title
|
||||
}
|
||||
|
||||
THINGS = {
|
||||
|
||||
Reference in New Issue
Block a user