Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,423 4 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
api, data

Hướng nghiên cứu

Bắt đầu bằng cách tìm ability_changelog_prose.csv và dữ liệu ability tương ứng trong quá khứ được API sử dụng; so sánh các bản ghi Sturdy giữa các thế hệ với ví dụ Gen 4 trong issue. Cập nhật các mô tả lịch sử bằng tiếng Anh để mỗi thế hệ nêu rõ hành vi của ability, sau đó xác minh rằng CSV vẫn nhất quán với cách tổ chức past_* của API và bao phủ trường hợp được nêu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
5.4k
Fork
1.2k
Merge trung bình
2 ngày 12 giờ
Pull request đã merge (30 ngày)
18

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PokeAPI/pokeapi

Tất cả issue của PokeAPI/pokeapi

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.