2024-02-08
Goal
Refresh / update data for the SpiritFighter
s of the HitHub App.
Notes
Had to walk through some of my old code to get to my update procedure Bash script for the SpiritFighter
priors (currently located and documented in the C:\Users\Billy\Documents\HitHub\data\update
location). Once this data was refreshed (which was long overdue!) I filtered it through my prior extractor in the fight_simulator.ipynb
and saved the now 4k fighters and their stats (previously it was ~2k). got back to analyzing the simulator. Loading this data into the site / flushing out the old SpiritFighter
data could be interesting way to try out the use of django-import-export.
Anyways I got distracted when looking into globes using Googles globe.gl because I found an example I liked online and wanted to know how they built it. Here are some examples from the documentation that I liked:
- globe.gl/example/random-arcs/
- globe.gl/example/random-rings/
- globe.gl/example/emit-arcs-on-click/
- Could I make some kind of game out of this?
- globe.gl/example/custom-layer/
- globe.gl/example/world-population/
- https://globe.gl/example/random-paths/
- globe.gl/example/airline-routes/us-international-outbound.html
- globe.gl/example/satellites/index.html
- globe.gl/example/submarine-cables/index.html
Not sure if I want/need to integrate this into the DIMMiN App... It could be really cool to do for the HitHub App tho. Maybe you could see the location of the fighter / their next fight? That would be an interesting idea. Or maybe the main event fights are located in some area that's displayed on the globe?
Results
- Updated the
SpiritFighter
dataset to be current (up to 20240208, was previously 2022)- Processed this into the ~4k fighters file that I was hoping for
- Looked into globe.gl / pretty globes
Next Time
- Stream HitHub dev on Twitch, looking into potentially re-structuring or re-weighting some of the priors.
- Exploring the ufcstats dataset more generally to see if some re-weighting of priors is in order