Basculin-White-Striped Variant is Bugged
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by running the issue's pokemon_species("basculin").varieties reproduction and inspect how the PokéAPI species varieties are converted into Pokémon objects. Compare the third Basculin variant with the resource returned by the API; done means all three names and associated fields match the expected API values.
Written by the indexing model from the issue text.
Description
Description
While writing some code to get the variants of each species I noticed the third variant of basculin was returning None as the name not the expected "basculin-white-striped"
Code to Reproduce
import pokebase as pb
for var in pb.pokemon_species("basculin").varieties:
print(var.pokemon.name)
Expected Results
basculin-red-striped
basculin-blue-striped
basculin-white-striped
Actual Results
basculin-red-striped
basculin-blue-striped
None
Notes
It's not just the name that is wrong, the entire results for the third variant are wrong, containing many fields that shouldn't be there
Also, looking at the resource directly in the browser shows the expected values so this seems to be an issue with pokebase not the api?
- Dominant language
- Python
- Stars
- 361
- Forks
- 58
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from PokeAPI/pokebase
-
Status update Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
All issues in PokeAPI/pokebase
Similar issues
-
bug priority:low
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
CyberAgent/psd2svg#436 ·
-
area/install-update comp/cli comp/desktop P3 sweeper:risk-compatibility type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
NousResearch/hermes-agent#122386 · 1 comment ·
-
ai-generated
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vllm-project/production-stack#1105 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100