Last Saturday, the ultramarathon scene finally, quietly, reached the Kingdom
of Saudi Arabia. There was no fanfare and certainly no media coverage at this
first organized footrace of more than marathon length. The course involved
50 kilometers of dirt, sand, gravel, and rocks in the hills north...
Welcome to step 7 in your training as a scientific Python code ninja: test automation.
Tests are extremely useful, as long as you run them. Unfortunately, a common
pattern in many projects is this:
Tests are written and run by the person who wrote them.
Others, and even the test-writer at a f...
Welcome to step 6 in your training as a scientific Python code ninja: issue tracking.
Look at you! You've got your nice code with some docstrings and tests, and you're
humming along analyzing data, simulating widgets, and whatnot. In the middle of it
all, you realize that your regressi...
This is step 5 in your journey toward rock-solid scientific Python code: write tests.
I hear you. Writing tests is not an inherently fun process. However, the alternative is debugging, staring at code and thinking real hard about what could be wrong, and more debugging. I'll...