Experiments as Code: A Concept for Reproducible, Auditable, Debuggable, Reusable, & Scalable Experiments
Leonel Aguilar, Michal Gath-Morad, Jascha Gr\"ubel, Jasper Ermatinger,, Hantao Zhao, Stefan Wehrli, Robert W. Sumner, Ce Zhang, Dirk Helbing,, Christoph H\"olscher

TL;DR
This paper introduces the 'Experiments as Code' paradigm, advocating for automating and documenting experiments through code to enhance reproducibility, auditability, reusability, and scalability, demonstrated via a VR experiment proof of concept.
Contribution
It defines the 'Experiments as Code' concept, provides a taxonomy for implementation components, and demonstrates its benefits through a practical VR experiment example.
Findings
Enhanced reproducibility and auditability of experiments.
Improved reusability and scalability of experimental setups.
Successful proof of concept with a desktop VR experiment.
Abstract
A common concern in experimental research is the auditability and reproducibility of experiments. Experiments are usually designed, provisioned, managed, and analyzed by diverse teams of specialists (e.g., researchers, technicians and engineers) and may require many resources (e.g. cloud infrastructure, specialized equipment). Even though researchers strive to document experiments accurately, this process is often lacking, making it hard to reproduce them. Moreover, when it is necessary to create a similar experiment, very often we end up "reinventing the wheel" as it is easier to start from scratch than trying to reuse existing work, thus losing valuable embedded best practices and previous experiences. In behavioral studies this has contributed to the reproducibility crisis. To tackle this challenge, we propose the "Experiments as Code" paradigm, where the whole experiment is not only…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsData Visualization and Analytics · Neural and Behavioral Psychology Studies · Mobile Crowdsensing and Crowdsourcing
