Convert from doctest to IPython Sphinx extensions.
Convert statistical test results to named tuples.