Skip to main content

Trails B

Trails B is a digital adaptation of Part B of the Trail Making Test. The participant selects dots containing numbers and letters in ascending order, alternating between numbers and letters (1-A-2-B-3-C...). Unlike the paper-and-pencil version, participants tap each dot discretely rather than drawing a continuous line.

ActivitySpec: lamp.trails_b

Cognitive domain: Frontoexecutive function

Configurationโ€‹

  1. Navigate to the Activities tab and click + Add.
  2. Select Trails B.
  3. Configure the following settings:
SettingDescription
Number of dots for Level 110 or 12
Timeout period for Level 1Time limit in seconds
Number of dots for Level 220 or 24
Timeout period for Level 2Time limit in seconds

Sample Instructionsโ€‹

"For this game, you will alternate between tapping on numbers and letters in increasing order: for instance, 1-A-2-B etc."

Usageโ€‹

The participant sees an array of dots containing numbers and letters and must tap them in the correct alternating sequence. The game has 3 levels (numbers only, letters only, alternating numbers-letters). A 5-mistake limit triggers game over.

Scoringโ€‹

Scoring is based on the accuracy with which the user taps out each sequence.

References
  1. Army Individual Test Battery (1984)

Screenshotsโ€‹

Trails B gameplayTrails B customization
Trails B phase 1Trails B phase 2Trails B phase 3Trails B phase 4

Dataโ€‹

static_dataโ€‹

FieldTypeDescription
scorenumberOverall score
correct_answersnumberCorrect taps
wrong_answersnumberIncorrect taps
total_questionsnumberTotal items
total_tapsnumberTotal taps made
total_itemsnumberTotal dots to connect
percentageCorrectOverallnumberOverall accuracy percentage
total_levelsnumberNumber of levels completed
end_reasonstring"completed", "timeout", "too_many_mistakes", or "manual_exit"
pointnumberScore indicator
level_summariesarrayPer-level breakdown (see below)
questionnaireobjectPost-game ratings: clarity (1-5), happiness (1-5)

Each entry in level_summaries:

FieldTypeDescription
duration_msnumberTime spent on this level (ms)
correct_tapsnumberCorrect dot taps
wrong_tapsnumberIncorrect taps
total_itemsnumberTotal dots in this level
sequencestringExpected sequence type
dot_positionsarrayDot coordinates

temporal_slicesโ€‹

FieldTypeDescription
itemstringLabel of the dot tapped
typebooleantrue = correct, false = incorrect
valuenullUnused
durationnumberTime since last tap (ms)
levelnumberGame level (1-3)
tappedstringWhat was tapped
expectedstringWhat should have been tapped
correctbooleanWhether the tap was correct

Cortex Featuresโ€‹

trails_b (raw). No primary or secondary Cortex features currently process Trails B data.

View in Portal | Python SDK | API Reference