NDOPSYCHO
Runnable course lab

Attention and inhibition lab

A 50-minute class using Stroop, Flanker, and Go / No-Go tasks to compare interference, speed, accuracy, and response inhibition.

Preparation

Complete these checks before sharing participant links.

  • Open one task on every device and confirm keyboard focus.
  • Create one test run and verify the CSV columns before class.
  • Choose whether students run all three tasks or work in groups.

Class flow

The complete plan uses 50 minutes.

  • 8 min · Question: Predict which conditions will slow responses or increase errors.
  • 15 min · Run tasks: Students complete assigned tasks with practice enabled.
  • 10 min · Inspect rows: Export CSV and identify condition, correctness, and reaction-time fields.
  • 12 min · Compare: Compute condition summaries after applying the stated exclusion rule.
  • 5 min · Debrief: Discuss speed-accuracy trade-offs and browser timing limits.

Data and analysis

Core fields: condition, trial_type, response, correct, rt, session_id.

  • How much slower were incongruent trials than congruent trials among correct responses?
  • Did participants trade accuracy for speed in any task?
  • How did the exclusion rule change the condition estimate?

Course materials and experiment templates

FAQ

How long does the class take?

The plan allocates 50 minutes for the question, task run, data inspection, analysis, and discussion.

Which files can I download?

The teacher plan is provided as Markdown and the analysis worksheet as UTF-8 CSV.

Which data should students use?

The shared fields include condition, trial_type, response, correct, rt, session_id. Each task page lists its complete data dictionary.

Updated