Skip to content

bamonroe/intro_task

Repository files navigation

intro_task

An oTree app for session setup, informed consent, welcome pages, and final payment display. Designed to be used as the first and last app in an oTree experiment sequence — handles participant variable initialization from CSV lookup files, consent forms, and end-of-session payment summaries.

Features

  • CSV lookup files: Load per-participant configuration (treatment assignments, locale, etc.) from CSV files matched by participant_label
  • Informed consent: Configurable HTML consent forms
  • Welcome page: Customizable welcome message with session end time display
  • Start time enforcement: Prevents subjects from continuing before a scheduled start time
  • Final payment page: Aggregates and displays payment results across all tasks in the session
  • Dual-purpose: Acts as both intro (consent/welcome) and final (payment display) app depending on the app name

Setup

Use as bookends in your app_sequence:

SESSION_CONFIGS = [
    dict(
        name='experiment',
        app_sequence=['intro_task', 'risk_task', 'beliefs_task', 'final_page'],
        num_demo_participants=1,
        lookup_file='default',
    ),
]

Place config files in configs/:

  • configs/lookup_files/ — CSV files with participant variables
  • configs/consent/ — HTML consent forms
  • configs/welcome/ — HTML welcome messages

Authors

Brian Albert Monroe, J. Todd Swarthout

About

oTree app for session setup, consent, welcome, and final payment display

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors