It is currently Fri Jun 26, 2026 1:01 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: My non-GIMP coding rabbit hole: rating tennis players with Python
PostPosted: Fri Jun 26, 2026 11:29 am  (#1) 
Offline
New Member

Joined: Jun 26, 2026
Posts: 1
Between Script-Fu and the odd Python-Fu plugin, I clearly can't stop coding even when I'm meant to be relaxing - so my "downtime" project is yet more Python, just pointed at something totally different: rating tennis players.

It reads historical ATP and WTA results and gives every player a single strength number, then adjusts it after each match - an Elo-style approach, the same idea behind chess ratings. It started as a tiny script and slowly grew into a little engine: surface adjustments (clay vs grass changes a lot), decay for players who go inactive, and sane handling of mid-match retirements. As usual the data cleaning eats most of the time - public match records are surprisingly messy.

Figured this crowd would get the "I relax by writing more code" thing. Does anyone here keep a coding hobby that has nothing to do with images? And if you've ever messed with rating systems (Elo, Glicko, TrueSkill), how did you handle volatility for players with very few matches? That part I keep rewriting.


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group