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).
  • Remove pre-modern and premodern from modern
  • Docco/how to.

DONE (Pending testing)

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
  • Hover broken on flip cards in HTML.
  • HTML hover in top left corner.
  • Scale down.
  • Confidence on matrix.
  • Loading messages

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.
  • 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).
  • Strip out as much data as possible. (do some of the tourney/player/archetype merging in preprocess, only keep card data needed for vis).

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-1.0.1.tar.gz (386.1 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-1.0.1-py3-none-any.whl (386.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tcg_research_desk-1.0.1.tar.gz
  • Upload date:
  • Size: 386.1 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-1.0.1.tar.gz
Algorithm Hash digest
SHA256 0311285193f7431b882d297816e36b8fa3b1381d9000de2765316b4c8d58e341
MD5 aa5c123e9fcd974fd6a0add89ecd4b92
BLAKE2b-256 514bbd07ff7322b0c3ae8cd6c4cbcce9f5af92c9e076b6465cc5a6b58db48b19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tcg_research_desk-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 386.6 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-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a72644c6d8cb21f067680b19b1cfc32d1b352328f750199e3ab85b7ff08aec27
MD5 bd7602f7af8811f4a9c8c65effe9cf6e
BLAKE2b-256 5a29dca00ff4b754c4cba0bd6a45f74d9430bc95b2fc1bdfa1746f64d4ecdb4d

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