Skip to main content

Tools to analyze and build dashboards for trading card game tournaments

Project description

Tcg-Research-Desk

Various tools for analysing trading card game tournament results. Behind Urza's Research Desk - a web app to display and interrogate win rates and aggregate archetypes from magic the gathering. See the app here!

Dev Notes

V1 Requirements

There is some major functionality/things to investigate before making this more widely available:

TODO

  • Bug: "Unholy Annex // Ritual Chamber" and "Unholy Annex && Ritual Chamber" both show up in the data.
  • Bug: "(BRO 16)", "(DAR 213)", etc. show up in data for Pioneer.
  • Bug: All decks have valid WRs - Fix globbing in get_tournament_files (related to broader problem of format id from file).
  • Split into preprocess and postprocess pip imports (mainly an sklearn thing).
  • Process_data:
    • TODO: Need to fix the below, currently melee doesn't have round results.
    • Remove pre-modern and premodern from modern
  • Docco/how to.
  • HTML hover in top left corner.
  • Confidence on matrix.

DONE (Pending testing)

  • Hover broken on flip cards in HTML.

DONE

  • Lock light/dark mode.
  • Fix selection default info.
  • Double check interaction between selection and individual card analysis - 0 coppies now show up.
  • Lock plots in place.
  • Tables can't be edited.
  • Automated updates from MTGODecklistCache.
  • Card images onhover.
  • Fix selection updates.
  • How do mixed format events (PTs) look in the data? - Just constructed rounds show up.
  • Mishra's Research Desk artist credit.
  • Tooltip hover not covered by tabs.
  • Fix tooltip in general. - Breaks when you go straight from one to another.
  • Win rate scatter legend placement.
  • Archetype bundles.
  • Reset all selections option.
  • Handle for when no selected decks play 0 coppies of any card.
  • Process_data also saves a minimized AtomicCards.json
  • Process_data to also save opening clusters

V2 Goals

  • Temporal analysis.
  • (Option to) Remove mirrors.
  • Add tooltip to cards in html vis.
  • Show last data read time
  • Easy time select on format boundaries (new set release, bans).
  • Filter to specific event.
  • Loading messages
  • Card search on mobile.
  • Plotting accessibility features (colours and fill/marker styles, not just colour).
  • Highlight cards of interest (extreme wr variation by qtty within archetypes).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tcg_research_desk-0.1.26.tar.gz (385.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tcg_research_desk-0.1.26-py3-none-any.whl (385.8 kB view details)

Uploaded Python 3

File details

Details for the file tcg_research_desk-0.1.26.tar.gz.

File metadata

  • Download URL: tcg_research_desk-0.1.26.tar.gz
  • Upload date:
  • Size: 385.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.11 Darwin/23.4.0

File hashes

Hashes for tcg_research_desk-0.1.26.tar.gz
Algorithm Hash digest
SHA256 5d83ede648dbffa16d87b587b02079f491709d417ae4205728893fd1406909bc
MD5 27f9df9b42a5f29485f82ac24b670766
BLAKE2b-256 7fefffcb66820b381bc3d4c20474ed7fe8a5135d142f0fec5734237cb6c0edfb

See more details on using hashes here.

File details

Details for the file tcg_research_desk-0.1.26-py3-none-any.whl.

File metadata

  • Download URL: tcg_research_desk-0.1.26-py3-none-any.whl
  • Upload date:
  • Size: 385.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.12.11 Darwin/23.4.0

File hashes

Hashes for tcg_research_desk-0.1.26-py3-none-any.whl
Algorithm Hash digest
SHA256 9ae0d4fdb1b9dc2fcd60d5b4eaf5c80ef4c62715a23c6faed2958191dc67b251
MD5 c97f2b65a7f2c08a296cd54631cd7285
BLAKE2b-256 31b8dde7a5999a24cb5f60017fe6942b82ecc35c5fd94c2953a7a8ae482ce152

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page