Source code for our TMLR paper on the adoption of software engineering best practices in machine learning research. An example template repository for most concepts discussed in the paper is available here.
First of all, we have to clone this repository,
git clone [email protected]:BonnBytes/position_we_need_more_tests_in_ml.gitIn the next step, you need to configure an environment to use the code in this project.
To do that, create a .env-file with the following content.
PYTHONPATH=.
OPENREVIEW_USERNAME=YOUR_OPENREVIEW_ACCOUNT_NAME
OPENREVIEW_PASSWORD=YOUR_PASSWORDIf your account uses multi-factor authentication, run
python scripts/openreview_token.py once in a terminal. It asks for your code and stores
an OPENREVIEW_TOKEN in .env, which is used instead of the password. The token
expires after one week.
This crawler utilizes the Selenium package, which in turn requires an installed version of the Chrome browser.
After cloning and navigating into this repository, you can install the code in this repository via pip.
pip install .To aggregate the statistical data we used for the paper, run the command below.
./run_all.shSet up a dotenv with your OpenReview account credentials. Make sure you set the
OPENREVIEW_USERNAME and OPENREVIEW_PASSWORD variables are set correctly. To run the tests, type
nox -s testinto the console.
The documentation is built with Sphinx. To generate it, type
nox -s docsinto the console.
The session installs Sphinx and the theme into its own environment and writes the HTML
pages to docs/_build/html. Open docs/_build/html/index.html in a browser to view them.
If you use this code, please cite:
@article{
wolter2026softwareestimation,
title={Estimating the Adoption of Software Engineering Best Practices in Machine Learning Research},
author={Wolter, Moritz and Veeramacheneni, Lokesh and Hoyt, Charles Tapley},
journal={Transactions on Machine Learning Research},
year={2026},
url={https://openreview.net/forum?id=13ThuknGwY},
}The Bundesministerium für Bildung und Forschung (BMBF) supported research through its "BNTrAInee" (16DHBK1022) and "WestAI" (01IS22094A) projects. The sole responsibility for the content of the paper and this corresponding code lies with the authors.
![]() |
![]() |

