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.
- 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
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 variablesconfigs/consent/— HTML consent formsconfigs/welcome/— HTML welcome messages
Brian Albert Monroe, J. Todd Swarthout