ability_changelog_prose.csv inconsist compared to handling of other past_x variables.
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
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, effort36,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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PokeAPI/pokeapi
-
Blank past ability entries Đang mở
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 76/100
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
openapi integers range. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
UV hardlink files Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
-
Ball legality Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Tất cả issue của PokeAPI/pokeapi
Issue tương tự
-
agent-ready documentation needs-triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
-
workflow-status page template still says reusable workflows are "triggered only by workflow_call:" Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
-
Add https://search.jeremyh.xyz/ Đang mởinstance instance add
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
searxng/searx-instances#939 · 1 bình luận ·
-
area-deployment area-integrations triage:bot-seen
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 86/100