Much has been written about reproducible research: that scientific papers should be accompanied by the data and software sufficient to reproduce the results. It’s obviously a Good Thing. But it can be hard to stick to this ideal in practice.
For my early papers, I’m not sure I can find the materials anymore, and that’s just 15 years back.
But I’ve not been distributing the detailed code behind my papers. It’s not always pretty, and it is not well documented. (And “not always” is a bit of a stretch – more like “seldom.”)
When Victoria Stodden visited Madison last fall, I was inspired to release this code, but I never carried through on that.
The repository is incomplete: it doesn’t include the code to do the main analysis and simulations, but just to make the figures, starting from those results. I’ll work to add those additional details.
And, even once complete, it will be far from perfect. The code is (or will be) there, but it would take a bit of work for an interested reader to figure out what it is doing, since much of it is undocumented and poorly written.
But if we ask for perfection, we’ll get nothing. If we ask for the minimal materials for reproducibility, we may get it.
So that’s my goal: to focus first on minimal accessibility of the code and data behind a paper, even if it is minimally readable and so might take quite a bit of effort for someone else to follow.
Open source means everyone can see my stupid mistakes. Version control means everyone can see every stupid mistake I've ever made.
It would be easy to make my working repository public, but it would include things like referees’ reports and my responses to them, as well as the gory details on all of the stupid things that I might do along the way to publication.
I’m more comfortable releasing just a snapshot of the final product.