Files
romm/backend/tools
Sam Dornan 4e13e1a612 fix(backend): backfill every rom sharing an IGDB id, not just one
`load_igdb_ids` keyed IGDB id to a single rom id. Region and revision
variants of one game share an id, so the dict collapsed them and all but one
variant was skipped -- the same many-to-one mistake the similarity builder
had, reintroduced in the tool.

On a 12.7k library 2,668 roms share an id with another, and 1,266 of them
were left with no keywords while their duplicate had them. Fixing it lifted
every facet by around ten points: keywords 66% to 76%, themes 64% to 73%,
perspectives 62% to 73%, developers 72% to 83%, publishers 78% to 89%.

Found while investigating why a Tony Hawk entry would not match other
skateboarding games. It still doesn't, its metadata is too thin, but Grind
Session now at least places.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-08 09:30:22 -05:00
..