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:
Eric Wagoner
2026-08-01 14:14:15 -04:00
parent 09274e039c
commit 4a466f2a68
10 changed files with 218 additions and 25 deletions
+18 -18
View File
@@ -249,26 +249,26 @@
"title_normalized": "exploding kittens"
},
{
"title_raw": "Herbaceous",
"confidence": "high",
"title_raw": "Hebarceos",
"confidence": "low",
"publisher_hint": "",
"edition_hint": "",
"year_hint": null,
"language_hint": "English",
"art_notes": "Colorful spine with illustrated herb/plant imagery, 'A player's game of...' text visible",
"language_hint": "",
"art_notes": "yellow box with floral/plant illustration",
"source_photos": [
"IMG_4502.jpeg"
],
"title_normalized": "herbaceous"
"title_normalized": "hebarceos"
},
{
"title_raw": "Wiz-War",
"confidence": "high",
"confidence": "medium",
"publisher_hint": "",
"edition_hint": "",
"year_hint": null,
"language_hint": "English",
"art_notes": "Dark blue/black box, partial text 'board game of...battle and treasures'",
"art_notes": "dark blue box, text 'board game of...battle and treasures'",
"source_photos": [
"IMG_4502.jpeg"
],
@@ -281,7 +281,7 @@
"edition_hint": "",
"year_hint": null,
"language_hint": "English",
"art_notes": "Bright pink/magenta box with striped pattern, tagline 'Doodle your way to disaster'",
"art_notes": "pink and purple striped box, subtitle 'Doodle your way to disaster'",
"source_photos": [
"IMG_4502.jpeg"
],
@@ -292,9 +292,9 @@
"confidence": "high",
"publisher_hint": "",
"edition_hint": "",
"year_hint": 1942,
"year_hint": null,
"language_hint": "English",
"art_notes": "Blue spine, subtitle 'A GAME of Carrier Battles in the Pacific • 1942'",
"art_notes": "light blue spine, subtitle 'A GAME of Carrier Battles in the Pacific • 1942'",
"source_photos": [
"IMG_4502.jpeg"
],
@@ -303,11 +303,11 @@
{
"title_raw": "Diplomacy",
"confidence": "high",
"publisher_hint": "Avalon Hill",
"publisher_hint": "",
"edition_hint": "",
"year_hint": null,
"language_hint": "English",
"art_notes": "Black spine, subtitle 'The Exciting Game of International Intrigue - For 2 to 7 Players'",
"art_notes": "black spine, subtitle 'The Exciting Game of International Intrigue, For 2 to 7 Players'",
"source_photos": [
"IMG_4502.jpeg"
],
@@ -316,11 +316,11 @@
{
"title_raw": "Age of Renaissance",
"confidence": "high",
"publisher_hint": "Avalon Hill",
"publisher_hint": "AH (Avalon Hill)",
"edition_hint": "",
"year_hint": null,
"language_hint": "English",
"art_notes": "Tan/brown spine with gold diamond emblem, subtitle about building dominant civilization of Europe",
"art_notes": "tan/brown spine with gold emblem, subtitle about building dominant civilization of Europe",
"source_photos": [
"IMG_4502.jpeg"
],
@@ -329,24 +329,24 @@
{
"title_raw": "History of the World",
"confidence": "high",
"publisher_hint": "Avalon Hill",
"publisher_hint": "AH (Avalon Hill)",
"edition_hint": "",
"year_hint": null,
"language_hint": "English",
"art_notes": "Blue/purple spine, subtitle 'Game of World Conquest'",
"art_notes": "light blue/lavender spine, subtitle 'Game of World Conquest'",
"source_photos": [
"IMG_4502.jpeg"
],
"title_normalized": "history of world"
},
{
"title_raw": "Dungeon!",
"title_raw": "DUNGEON!",
"confidence": "high",
"publisher_hint": "TSR",
"edition_hint": "",
"year_hint": null,
"language_hint": "English",
"art_notes": "Purple box bottom with fantasy dungeon-themed artwork, visible at base of stack",
"art_notes": "purple/dark spine with stone dungeon texture illustration",
"source_photos": [
"IMG_4502.jpeg"
],