Back to projects

Deliberation Lab Experiment Development Tools VS Code Extension

Streamlined and guided development of Deliberation Lab experiments

2025VSCode Extension

A VS Code extension to streamline the development of Deliberation Lab's virtual experiments.

Deliberation Lab Experiment Development Tools VS Code Extension

Tech Stack

TypeScriptMochaReact

Project Description

  • In order to create virtual experiments, Deliberation Lab requires an open source tool called deliberation-empirica
  • Deliberation-empirica takes manifest files and generates virtual experiments
  • These manifest files require a highly specific structure and syntax, each property having its own set of requirements
  • The Deliberation Lab Tools VS Code extension provides a guided development experience for these manifest files, ensuring that all requirements are met and that the files are valid

Key Features

  • Leveraged VS Code event listeners, custom text parsers, and Zod validation to verify files.
  • Implemented live diagnostics that update in real time based on formatting and schema validation.
  • Added experiment component previewing directly within the editor for faster iteration.
  • Integrated a GitHub Actions CI/CD pipeline to automate release and testing workflows.
  • Published to the VS Code Extension Marketplace in June 2025.

Preview

Deliberation Lab Experiment Development Tools VS Code Extension preview