penny-dreadful-tools
https://github.com/pennydreadfulmtg/penny-dreadful-tools
Python
A suite of tools for the pdmtgo community
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
Python not yet supported2 Subscribers
Add a CodeTriage badge to penny-dreadful-tools
Help out
- Issues
- the INSERT INTO at the end of preaggregate_season_stats should really happen *before* the _new table is swapped out but for expediency in switching off multiple sql statements i moved it after the preaggregate call
- /rotation/ uses rotationkey.mustache which claims that never before legal, heavily played and moderately played cards will have a different visual treatment but this is no longer true (we have rank instead)
- Explicitly ROUND playabilty to 5 decimal places to avoid mariadb warnings
- Some decks are not legal in the season that their deck_cache.season_id or deck.created_date or contents imply
- stillbugged/notbugged are case sensitive to the card name
- playability uses number of decks, should it use number of matches?
- Consider denormalizing "deck type" (tournament,league,other) to deck_cache as we did with season_id
- Use load_disjoint_archetpes and use the is_leaf/"Other" trick from views/metagame to display a more useful list on /archetypes/ when not in (initial) preorder (so that Aggro is "Other Aggro" and includes only the stats of decks not already accounted for in descendant nodes)
- We should use a technique like this – https://chartio.com/resources/tutorials/how-to-rename-a-database-in-mysql/ – to "swap out" the cards db instead of blowing it away and then trying to build it
- The entries in the season dropdown (which is getting very long) could be darker if the page will have results (player was active, card was legal, etc.)
- Docs
- Python not yet supported