antar1011 / smogon-usage-stats Goto Github PK
View Code? Open in Web Editor NEWScripts for compiling usage stats from the Smogon server
Home Page: http://www.smogon.com
License: MIT License
Scripts for compiling usage stats from the Smogon server
Home Page: http://www.smogon.com
License: MIT License
When batchLogReader
chokes on a log (usually due to not knowing what a Pokemon is), it should copy the problematic log into a "test" folder so that it's easier to make sure that any changes fix the problem (rather than having to run the whole script again).
A1 vs. B1--A1 is switched out, A2 is brought in and dies to entry hazards. Meanwhile, B1 is switched out in favor of B2
Currently, the encounter is parsed as:
A1 vs. B1: A2 was u-turn KOed
THAT'S DEFINITELY wrong, but it's not clear what's right. A1vB1 double-switch with B2 getting the KO on A2? A1 single-switch, then B1 u-turn KO against A2? Or a new category entirely?
Currently, the top 6 EV spreads are listed. This often means a large proportion of EV spreads aren't listed. For instance, view the 1695+ 2016-12 moveset stats:
http://www.smogon.com/stats/2016-12/moveset/ou-1695.txt
Over half of Landorus-Therian's used EV spreads are bucketed under Other.
I'd suggest that in addition to listing a minimum of 6 spreads, that spreads be listed until the Other bucket contains fewer than 20% of spreads.
I'd be happy to send a pull request to make this happen.
'Nuff said
So that moveset data matches the usage stats.
I noticed while going through the code that Parting Shot is not counted as a u-turn move:
elif move in ["U-Turn","U-turn","Volt Switch","Baton Pass"]: uturn = True
This seems like a mistake, as it's very much similar to the listed moves - is there a reason for this, or should it be updated?
A user asked whether they could obtain data on Pokemon happiness (specifically of Ditto). This is not currently being mined by batchLogReader. I don't think it's necessary to include this data in the moveset stats, but it shouldn't be too much work to throw it into the "chaos" jsons.
I need to check with PS about how it determines happiness (defaults, etc.)
Three issues:
-Using the PS species names now, not the PO ones
-Species field is larger because of goddamn Thundurus-Therian
-We're probably not gonna keep maintaining the tier yaml, so we're gonna need some other way of determining old tiers (pokedex.js?)
At this point, it's kinda obvious that Onix has stalled out. I regret nothing, in that I learned a metric ton about SQLAlchemy, CICD, packaging, documentation...
but at the end of the day, Onix is probably over-engineered.
I'd like to spec out an "80/20" stats rewrite solution--something that's robust and easily maintained, but not nearly as complex as Onix.
I'm thinking:
I'm thinking the rewrite will live in this repo.
It's probably still going to be months before I can get around to tackling this, but the reduction in scope should make this actually attainable.
Is it acceptable to modify the source code for private use? (e.g. modded alt servers)
When a Pokemon that can Mega Evolve is holding a Mega Stone, Team Analysis adjusts stalliness by averaging the stalliness associated with the base Pokemon and its Mega. In Hackmons, you can have, say, a Mega Charizard X on your team holding a Charizardite-Y, which will allow it to Mega Evolve into Mega Charizard Y. These events won't be detected, nor will it be taken into account that the Pokemon has access to the Drought ability (for team-type classification).
This should be a relatively simple fix: just adding lines to the megas list to detect X -> Y and Y -> X Mega Evolutions.
Where can I find the actual logs online? I could only find this, and I don't think that's the same thing.
'Nuff said
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.