Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

ability_changelog_prose.csv inconsist compared to handling of other past_x variables.

Aperta
#1,423 4 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Ambito
api, data

Direzione di ricerca

Inizia individuando ability_changelog_prose.csv e i dati corrispondenti delle abilità passate utilizzati dall'API; confronta i record di Sturdy tra le generazioni con l'esempio di Gen 4 dell'issue. Aggiorna le descrizioni storiche in inglese in modo che ogni generazione indichi il comportamento dell'abilità, quindi verifica che il CSV rimanga coerente con l'organizzazione past_* dell'API e copra il caso citato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

For most things, like past learnsets, past_stats, or past_abilities, the api lists what those things were, and then what generation they changed.

Example would be Clefable, whose Special Attack went from 85 to 95 in Gen 6.

In the API, it looks like this:

  • pokemon_id, generation_id, stat_id, base_stat, effort
  • 36,5,4,85,0,

This means if I want to pull Clefables stats from Gen 5 or earlier, I have them.

Rather than doing that for abilities, the ability_changelog_prose.csv is presenting something closer to patch notes but backwards.

For example, sturdy changed in Gen 5 to be its current effect:

  • When this Pokémon is at full HP, any hit that would knock it out will instead leave it with 1 HP. Regardless of its current HP, it is also immune to the one-hit KO moves: fissure, guillotine, horn drill, and sheer cold. If this Pokémon is holding a focus sash, this ability takes precedence and the item will not be consumed.

I would expect this, if I pulled gen 4 data, to say:

  • The Pokemon is immune to the one-hit KO moves: fissure, guillotine, horn drill, and sheer cold.

What the changelog actually says is:

  • Does not prevent regular KOs from full HP.

Would we be open to the idea that the changelog_prose contains what the ability actually does in its past gens to be consistent with data is organized?

I would be willing to do the work for English.

Lingua principale
Python
Stelle
5.4k
Fork
1.2k
Merge medio
2g 4h
PR unite (30g)
18

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PokeAPI/pokeapi

Tutte le issue di PokeAPI/pokeapi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.