Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#1,423 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
領域
api, data

調査の方向性

まず、ability_changelog_prose.csv と API が使用する対応する過去の ability データを見つけ、世代をまたいだ Sturdy のレコードを issue の Gen 4 の例と比較します。各世代で ability の挙動が示されるように英語の過去の説明を更新し、その後、CSV が API の past_* の構成と一貫しており、引用されたケースをカバーしていることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
5.4k
フォーク
1.2k
平均マージ
2日 12時間
マージ済み PR(30日)
18

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PokeAPI/pokeapi のほかの issue

PokeAPI/pokeapi の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。