Who Are You?
My name is Adam Cohen. That's my Yahoo "card", over there, to the right. As you can see I've been a player since 200C. Go Yahoo! Among other things, I am a:
- Software Developer
- Jets Season Ticket Holder
- Statistics Nerd
- Uber-Competitive Fantasy Football Player
and I am currently based out of New York City.
Most of my time is spent running the engineering team at SeatGeek
How Does This Work?
At some point I intend to make a complete explanation of how this all works. But for now, I'll give you the 30-second version.
When you create an account and log into Yahoo, the first thing I do is check to see how many live fantasy leagues you're in. I then pull a whole bunch of data out of their nifty API such as the schedule for the season, outcomes of every game so far, and current standings.
Then I take all that data and I pound on it with my foot for a little while until I come up with an Expected Points Total and Standard Deviation for all of the teams in the league. To answer the question some of you are currently thinking: yes, I assume that the point outcomes are normally distributed.
Once I have the point estimates, the simulations are a simple matter of playing out the season 10,000 times while keeping track of who makes the playoffs in each scenario.
I'm A Programmer Too! How Did You Build This?
The whole site is written in Python with a MySQL backend.
The simulations are run using pieces of the Python Numerical Library (aka numpy).
Yahoo currently supports a Fantasy Sports API which is a bit raw but does the job. I use it to pull league information and team points. Their authentication is based on OAuth.
The site itself is built in Django
I Found A Bug
Please email me and tell me what it is. I will do my best to fix it. [acslater AT gmail DOT com]
There are a couple of known issues. For example, if you have an unusual playoff system (in particular, divisions) I probably can't handle it right now. But I'm working on it.
You Seem Like A Pretty Awesome Guy. How Do I Get In Touch With You?
You can follow/message me on Twitter
You can email me at [acslater AT gmail DOT com]
Do You Think I Should Trade Matt Forte For Ryan Mathews?
First of all, no. But I don't care.