Script Author: Katja Borchert, Ph.D. (katjab@millisecond.com), Millisecond
Created: January 14, 2020
Last Modified: January 30, 2024 by K. Borchert (katjab@millisecond.com), Millisecond
Script Copyright © Millisecond Software, LLC
This script implements the Director Task; a computerized task to study theory-of-mind development in in children and adolescents.
The implemented procedure is based on Dumontheil et al (2010).
develop in late adolescence, Developmental science, 13, 331–338. 10.1111/j.1467-7687.2009.00888.x
Original e-prime program at: https://sites.google.com/site/idcnlab/director-task?authuser=0
15 minutes
Participants are asked to move objects within a cupboard from one cubby to another. Some of the objects are located in cubbies that have a 'see through' back; others are located in cubbies that are opaque (gray background).
The task is run under two conditions:
1. Director Present (dp): The instructions to move the objects are given by an instructor/director who is standing behind the cupboard. This director can only 'see' the objects in the 'see through' cubbies. The given instructions thus only apply to those objects that the director can see. Participants have to take the point of view of the director into account to choose the correct object to move.
2. Director Absent (da) - Control Condition: Rather than using 'point of view' as the guiding theme to follow instructions, participants are explicitly told to ignore objects in the cubbies with gray background when following to the instructions.
Participants run the task under 2 conditions: Director Present (dp) and Director Absent (da, control
condition). The dp condition is always run before the da condition.
1. dp condition
- 16 different cupboard set-ups; each used for 3 consecutive trials (= 48 trials total)
- 8 of the 48 trials are experimental trials (experimental trials present foil objects in cubbies with gray backgrounds that need to be ignored to follow the instructions)
- 8 of the 48 trials are control trials (comparable cupboard to experimental trials except the foil object was replaced with an irrelevant object)
- 32 trials are filler trials (filler trials only applied to objects in clear cubbies)
=> the order of the trials is fixed*
2. da condition
- 16 different cupboard set-ups; each used for 3 consecutive trials (= 48 trials total)
- 8 of the 48 trials are experimental trials (experimental trials present foil objects in cubbies with gray backgrounds that need to be ignored to follow the instructions)
- 8 of the 48 trials are control trials (comparable cupboard to experimental trials except the foil object was replaced with an irrelevant object)
- 32 trials are filler trials (filler trials only applied to objects in clear cubbies)
=> the order of the trials is fixed*
the cupboard set-ups were identical in the dp and da condition but contain different objects.
Trial Sequence:
- cupboard setup presented for 2000ms (default; editable parameter)
- soundFile played after 2000ms (each soundFile plays for 2200ms)
- response times measured from onset of soundFile
Cupboard setup:
The stimuli show a 4 x 4 set of shelves containing eight different objects (with 5 'gray' cubbies)
•Fixed Trialsequences
3 different trial orders were created by Dumontheil et al (2010) (order1, order2, order3);
resulting in 6 different test orders when used in dp/da conditions
Test1: dp (order1) -> da (order2); Test4: dp (order2) -> da (order1)
Test2: dp (order2) -> da (order3); Test5: dp (order3) -> da (order2)
Test3: dp (order3) -> da (order1); Test6: dp (order1) -> da (order3)
=> the 6 different tests are selected by groupnumber in this script
This script makes use of material (images/soundFiles) made available by Dumontheil et al (2010) at
https://sites.google.com/site/idcnlab/director-task?authuser=0
This script uses drag/drop functionality to move objects within the cupboards which is different from
the original procedure which uses mouseclicks of the target objects followed by 'pretend' moves
The individual objects used in this script were downloaded from: www.coolclips.com
to re-create the original cupboard images provided by Dumontheil et al (2010).
the provided soundFiles are delivered in British English and contain British English vocabulary
(e.g lorry)
This script uses the instructions provided by Dumontheil et al (2010).
In some cases the instructions were slightly altered to reflect the changes in object drag and drop
functionality implemented in this script.
See section Editable Instructions for more details.
File Name: directortask_summary*.iqdat
| Name | Description |
|---|---|
| inquisit.version | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| startDate | Date the session was run |
| startTime | Time the session was run |
| subjectId | Participant ID |
| groupId | Group number |
| sessionId | Session number |
| elapsedTime | Session duration in ms |
| completed | 0 = Test was not completed 1 = Test was completed |
| propCorrect1ExpDP | Proportion correct object selection in experimental dp trials |
| numberErrors1ExpDP | Number of incorrect object selections in experimental dp trials |
| trialCountExpDP | Number of experimental trials run in the dp condition |
| numberCorrect1ExpDP | Number of correct object selections (answer1) in experimental dp trials |
| propCorrect1ExpDP | Proportion correct object selection in experimental dp trials |
| numberErrors1ExpDP | Number of general incorrect object selections in experimental dp trials |
| countWrongAnswersDP | Number of times participants chose the dedicated foil object in experimental dp trials |
| meanCorrRT1ExpDP | Mean time (in ms) it took participant to select the object in experimental dp trials (measured from: onset of soundFile; all soundFiles are 2200ms long) |
| numberCorrect2ExpDP | Number of times objects were dropped in the correct final position (answer 2) in experimental dp trials |
| propCorrect2ExpDP | Proportion correct object drop-offs in experimental dp trials |
| meanCorrRT2ExpDP | Mean time (in ms) it took participant to drop off the objects in experimental dp trials (measured from: onset of soundFile; all soundFiles are 2200ms long) ****Control dp Condition**** |
| propCorrect1CtrlDP | Proportion correct object selection in control dp trials |
| numberErrors1CtrlDP | Number of incorrect object selections in control dp trials |
| trialCountCtrlDP | Number of control trials run in the dp condition |
| numberCorrect1CtrlDP | Number of correct object selections (answer1) in control dp trials |
| propCorrect1CtrlDP | Proportion correct object selection in control dp trials |
| meanCorrRT1CtrlDP | Mean time (in ms) it took participant to select the object in control dp trials (measured from: onset of soundFile; all soundFiles are 2200ms long) |
| numberCorrect2CtrlDP | Number of times objects were dropped in the correct final position (answer 2) in control dp trials |
| propCorrect2CtrlDP | Proportion correct object drop-offs in control dp trials |
| meanCorrRT2CtrlDP | Mean time (in ms) it took participant to drop off the objects in control dp trials (measured from: onset of soundFile; all soundFiles are 2200ms long) same for experimental/control da trials |
File Name: directortask_raw*.iqdat
| Name | Description |
|---|---|
| build | Inquisit version number |
| computer.platform | Device platform: win | mac |ios | android |
| date | Date the session was run |
| time | Time the session was run |
| subject | Participant ID |
| group | Group number |
| session | Session number |
| blockCode | Name of the current block |
| blockNum | Number of the current block |
| trialCode | Name of the current trial |
| trialNum | Number of the current trial |
| setOrderDP | The set order (1-3) the dp-'Director Present' trials run |
| setOrderDA | The set order (1-3) the da-'Director Absent' trials run |
| test | 1: dp (order 1) -> da (order 2) 2: dp (order 2) -> da (order 3) 3: dp (order 3) -> da (order 1) 4: dp (order 2) -> da (order 1) 5: dp (order 3) -> da (order 2) 6: dp (order 1) -> da (order 3) the tests are selected by groupnumber |
| condition | 1 = "Director Present"; 2 = "Director Absent" |
| set | The set the current trial belongs to (1-16) for the current condition each set is assigned a specific visual stimulus |
| actualSet | Set 1-32 ( a total of 32 sets are used) |
| trialType | The trialtype of the current trial (filler, control, experimental) |
| setItemNumber | The itemnumber of the current set (1-3) there are three items per set |
| taskInstructions | The presented task instructions in visual format |
| image | The original image belonging to the current trial the original images contain different image representation of the objects used in this script |
| soundFile | The presented soundFile (taskInstructions in audio format) |
| correctAnswer1 | The correct location box of the object that should be moved (A-P) |
| correctAnswer2 | The correct location box that the object should be moved TO (A-P) |
| wrongAnswer | The location of the foil object in experimental trials |
| blockType | 1 = block of 3 trials containing a control trial + 2 fillers 2 = block of 3 trials containing an experimental trial + 2 fillers |
| position | Position of the Control or Experimental instruction among the 3 trials associated with each visual stimulus (1-3) Example: position = 1 => the current controlexp trial is run as the first trial with the current visual stimulus Dependent Variables |
| answer1 | The original location box of the object that was moved (A-P) |
| answer2 | The location box that participant moved the object TO (A-P) |
| correct1 | Correctness of answer1 (1 = correct; 0 = otherwise) |
| foilSelected | 1 = wrong (foil) answer in an experimental trial was selected; 0 = in any other case |
| correct2 | Correctness of answer2 (1 = correct; 0 = otherwise) |
| answer1RT | Stores the latency of answer1 (the selection of the moved object; measured from onset of soundFile) |
| answer2RT | Stores the latency of answer2 (the drop latency of the moved object; measured from onset of soundFile) |
| countWrongAnswersDP | Counts the number of answer1 in experimental dp trials that are the dedicated 'wrong' answers |
| countWrongAnswersDA | Counts the number of answer1 in experimental da trials that are the dedicated 'wrong' answers |
| droppedObject | Stores the object that was dropped into a different cubby built-in DV Variables |
| response | The participant's response |
| correct | Accuracy of response: 1 = correct selection of dropped object (answer1); 0 = otherwise |
| latency | The response latency (in ms); measured from: onset of soundFile |
| parameters.debugShowOriginalCupboardImages | Should be set to false (0) for testing |
The procedure can be adjusted by setting the following parameters.
| Name | Description | Default |
|---|---|---|
| skipIntro | True = instruction blocks are skipped, instructions are only presented verbally to the child false = instruction blocks are run on the computer (default in this script) original (verbal) instructions can be found under section 'Editable Instructions' | |
| soundFileDelay | The delay (in ms) of the soundFile after presenting the current cupboard image | 2000ms |
| responseTimeout | Response timeout (in ms); measured from onset of soundFile | 4500ms |
| soundFileDuration | The duration of each soundFiles the soundFiles played by this script are all 2200ms long. If different soundFiles are played, this time needs to be adjusted. | 2200ms |
| posttrialPause | The duration (in ms) at the end of each trial during which the dropped object appears in its new position (default: 500ms) | |
| blankITI | The intertrial interval (in ms) that presents a blank screen in between trials | 100ms |
| debugShowOriginalCupboardImages | True (1): this setting starts a debugging mode in which the original cupboard images are presented together with the runtime generated ones in order to compare the two cupboards. This setting also increases the time allowed for a response. false (0): only the runtime generated cupboards are presented. This is the default setting for a testing session. |