Filter by game version, parse levels and rate variants across all generations, aggregate encounters by pokemon+method, and build parent/child route hierarchy. Also completes encounter method coverage (73/73) and pokemon form mapping (1180/1181) with manual overrides. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1.5 KiB
1.5 KiB
title, status, type, priority, created_at, updated_at, parent, blocking
| title | status | type | priority | created_at | updated_at | parent | blocking | |
|---|---|---|---|---|---|---|---|---|
| Build reference data mappings | completed | task | normal | 2026-02-11T08:43:02Z | 2026-02-11T09:03:01Z | nuzlocke-tracker-bs05 |
|
Build the lookup maps needed to translate PokeDB identifiers into our seed format.
Checklist
- Pokemon form mapping: Map
pokemon_form_identifier(e.g. "pidgey-default", "mr-mime-default") topokeapi_idusing the existingbackend/src/app/seeds/data/pokemon.jsonas reference. Handle naming convention differences between PokeDB and PokeAPI (may need fuzzy matching or a manual override table). - Location area mapping: Map
location_area_identifierto human-readable location names and regions usinglocations.jsonandlocation_areas.json. Produce names matching our existing format (e.g. "Route 1", "Viridian Forest"). - Encounter method mapping: Map PokeDB's 73 encounter methods to our simplified set. See the draft mapping in the parent bean. Implement as a dictionary/config that's easy to extend.
- Version mapping: Map PokeDB
version_identifiersto our game slugs (should mostly be 1:1 but verify).
Notes
- The pokemon form mapping is the trickiest part — PokeDB uses identifiers like "mr-mime-default" while our pokemon.json uses names like "Mr. Mime" and pokeapi IDs
- Log warnings for any unmapped identifiers so we can add overrides
- The
pokemon_forms.jsonfrom PokeDB may help bridge the gap