Skip to content

Conversation

@AlexAuragan
Copy link

I wanted to have at least the list of items and abilities for vectorization of observable data for machine learning.
I added scripts/update_items.py and scripts/update_abilities.py with the same format as the other update script.

I think the helper function data_script_utils.py > fetch_and_clean_ps_data() was not working properly on these data but also in moves.py, with the help of LLM I could tweak the regex a bit to have it work on everything currently online.

I also ran update_all_data.py to update all the data

FYI I'm not yet 100% familiar with everything in the poke-env and showdown ecosystem. In the item data many items have the inherit attribute, Idk if it's related their effect or if it's just a coding artifact that we should get rid of since it doesn't concern the ed user.

@codecov
Copy link

codecov bot commented Sep 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.98%. Comparing base (f458350) to head (f9988ca).
⚠️ Report is 191 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #769      +/-   ##
==========================================
+ Coverage   83.38%   84.98%   +1.59%     
==========================================
  Files          39       46       +7     
  Lines        3918     5307    +1389     
==========================================
+ Hits         3267     4510    +1243     
- Misses        651      797     +146     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Owner

@hsahovic hsahovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening this PR - this is a good idea.
I think there's something weird about the data cleaning, as it looks like some of the moves were updated with data from later gen (eg. crabhammer with 100 bp in the gen 1 file). Can you fix it?

"crabhammer": {
"accuracy": 85,
"basePower": 90,
"basePower": 100,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How did that happen? I think this is incorrect - crabhammer had a base power of 90 in gen1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants