Experiments as Code and its application to VR studies in human-building interaction

  • Leonel Aguilar*
  • , Michal Gath-Morad
  • , Jascha Grübel
  • , Jasper Ermatinger
  • , Hantao Zhao
  • , Stefan Wehrli
  • , Robert W. Sumner
  • , Ce Zhang
  • , Dirk Helbing
  • , Christoph Hölscher
  • *Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

Abstract (may include machine translation)

Experiments as Code (ExaC) is a concept for reproducible, auditable, debuggable, reusable, & scalable experiments. Experiments are a crucial tool to understand Human-Building Interactions (HBI) and build a coherent theory around it. However, a common concern for experiments is their auditability and reproducibility. Experiments are usually designed, provisioned, managed, and analyzed by diverse teams of specialists (e.g., researchers, technicians, engineers) and may require many resources (e.g., cloud infrastructure, specialized equipment). Although researchers strive to document experiments accurately, this process is often lacking. Consequently, it is difficult to reproduce these experiments. Moreover, when it is necessary to create a similar experiment, the “wheel is very often reinvented”. It appears easier to start from scratch than trying to reuse existing work. Thus valuable embedded best practices and previous experiences are lost. In behavioral studies, such as in HBI, this has contributed to the reproducibility crisis. To tackle these challenges, we propose the ExaC paradigm, which not only documents the whole experiment, but additionally provides the automation code to provision, deploy, manage, and analyze the experiment. To this end, we define the ExaC concept, provide a taxonomy for the components of a practical implementation, and provide a proof of concept with an HBI desktop VR experiment that demonstrates the benefits of its “as code” representation, that is, reproducibility, auditability, debuggability, reusability, & scalability.

Original languageEnglish
Article number9883
Number of pages19
JournalScientific Reports
Volume14
Issue number1
DOIs
StatePublished - 30 Apr 2024
Externally publishedYes

Fingerprint

Dive into the research topics of 'Experiments as Code and its application to VR studies in human-building interaction'. Together they form a unique fingerprint.

Cite this