Skip to main content
Experiments are interactive tasks — typically built with jsPsych — that participants complete as part of a quest. A quest can hold multiple experiments with defined ordering, and participants can run them on both web and mobile.

What Is an Experiment?

Each experiment in a quest has:
FieldRequired?Description
Name✅ YesDisplay name shown on the experiment card
DescriptionOptionalShort description shown below the name
Image URLOptionalThumbnail image for the experiment card
Code✅ YesHTML/JavaScript code (typically jsPsych)
Duration (minutes)OptionalEstimated time shown to participants
CategoryOptionalCategory tag
InstructionsOptionalHTML instructions shown before the experiment

Multi-Experiment Quests

A quest can have multiple experiments. When participants view the quest:
  • Experiments are displayed as horizontally scrollable cards with thumbnail, name, description, and duration
  • The active experiment is highlighted
  • Clicking a card selects that experiment
  • Participants can complete experiments in sequence
  • Experiments can have dependencies — locking them until prerequisites are completed
  • Auto-trigger can automatically advance to the next experiment after completion

Data Flow

When a participant completes an experiment:
  1. The jsPsych experiment calls jatos.endStudy(data) to submit results
  2. Data is captured by the NeuroFusion runner
  3. Saved locally first (for offline resilience on mobile)
  4. Synced to the server and stored in Azure Blob Storage
  5. Recorded as an experiment_data dataset

Billing

Each experiment data submission is billed as quest_experiment to the quest’s organization. See the Pricing page for current costs.

Backward Compatibility

Older quests with a single experimentUrl string (the legacy format) continue to work. The system automatically treats them as a single-experiment quest.

Explore