Skip to content
intermediatevideo

TutorTrace Learner Behavioral States in Programming Sessions

Segment a screen recording into learner behavioral states with video_annotation, after TutorTrace. The sample is one CC0 recording, so items are illustrative.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/video/instructional/tutortrace-learner-states
potato start config.yaml

About this dataset

TutorTrace is a dataset and taxonomy of learner behavioral states during AI-assisted programming education. Barron, Tang, Dwisantika, Kim, Smith, Cui, and Chen presented it at UIST '26. The public release holds telemetry, features, and labels, and holds no session replays.

In the protocol, four domain-expert annotators with teaching and research experience in CS education independently coded replays of learner sessions and met weekly to reconcile disagreements. The annotators were experts, not crowd workers. The design reproduces the coding step with a video_annotation scheme in segment mode, where each segment takes one of the taxonomy states from Table 3. The Testing state is left out because the paper inserts it automatically. The paper reports a mean boundary discrepancy of 2.3 seconds between coders, which the design neither checks nor enforces.

The sample is one 62-second screen recording of a Python box game from Wikimedia Commons (CC0, user Gotocan), reused for three items. The recording is not a TutorTrace session, so every item is illustrative. The source file is Ogg Theora, which Safari cannot play, so the design ships an H.264 MP4 transcoded from it with the audio dropped. No model_training block is included, because no registered Potato trainer consumes a video_annotation segment scheme.

Expert annotators
4 (CS-education researchers and teachers)
Behavioral states annotated by hand
11 (Testing is inserted automatically)
Mean boundary discrepancy
2.3 seconds
Items in this design
3 (one CC0 recording, illustrative)

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# TutorTrace: A Dataset and Taxonomy for Classifying Learner Behavioral States during AI-Assisted Programming Education
# Barron, Tang, Dwisantika, Kim, Smith, Cui and Chen, UIST '26 (Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology), pp. 1-19.
# DOI: https://doi.org/10.1145/3830398.3830712 (Crossref). Open copy: https://doi.org/10.48550/arXiv.2608.26184
# Data: https://github.com/divadbaroon/TutorTrace_dataset_and_benchmark (no LICENSE file on the repo page; the repo's croissant.json names CC BY 4.0).
# The release holds telemetry, CSV features and labels, not session replays, so no TutorTrace data is shipped.
# Protocol (paper section 4): four "domain-expert annotators, each with teaching and research experience in CS education"
# "independently coded replays of learner sessions and met weekly to reconcile disagreements". Annotators put behavioral segment
# boundaries on a timeline (mean boundary discrepancy 2.3 s, section 4.2). Taxonomy (Table 3): Implementing "Writing new code";
# Debugging "Fixing an error"; Testing "Executing tests" (inserted automatically, not annotated by hand); Thinking-Task "Reading the
# task"; Thinking-Code "Reviewing code"; Thinking-Error "Reading an error"; Thinking-Pre-query "Formulating query"; Thinking-Response
# "Reading AI reply"; Seeking Help "Typing query to AI"; Idle "No activity"; Off-Topic "Unrelated activity"; Unknown "Cannot classify".
# Adaptations: Testing is left out because the paper inserts it automatically. Learner session replays are not public, so the sample
# items are one CC0 screen recording from Wikimedia Commons ("A box game written in Python.ogv", user Gotocan, CC0) reused for
# three item ids. The recording is not a TutorTrace session and the labels are for practising the tool only.
# Media: media/box_game.mp4 is an H.264 MP4 transcoded from the Ogg Theora original (which Safari cannot play) with the audio
# track dropped; see media/LICENSE-media.txt. Local clips are served at /media/<file>.

annotation_task_name: "Learner behavioral states"
task_dir: .
output_annotation_dir: annotation_output/
export_annotation_format: jsonl
media_directory: media

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: video_url

instance_display:
  fields:
    - key: task
      type: text
      label: Session

annotation_instructions: |
  Watch the recorded programming session and cut it into consecutive behavioral segments with [ and ] and Enter. Give
  every segment the one state that describes what the learner is doing. Use Unknown when you cannot classify a stretch.

annotation_schemes:
  - annotation_type: video_annotation
    name: behavioral_states
    description: "Mark each behavioral segment with its start and end, then choose its state."
    source_field: video_url
    mode: segment
    min_segments: 1
    labels:
      - name: Implementing
        tooltip: "Writing new code"
      - name: Debugging
        tooltip: "Fixing an error"
      - name: Thinking, Task
        tooltip: "Reading the task"
      - name: Thinking, Code
        tooltip: "Reviewing code"
      - name: Thinking, Error
        tooltip: "Reading an error"
      - name: Thinking, Pre-query
        tooltip: "Formulating query"
      - name: Thinking, Response
        tooltip: "Reading AI reply"
      - name: Seeking Help
        tooltip: "Typing query to AI"
      - name: Idle
        tooltip: "No activity"
      - name: Off-Topic
        tooltip: "Unrelated activity"
      - name: Unknown
        tooltip: "Cannot classify"
    timeline_height: 70
    zoom_enabled: true
    playback_rate_control: true
    frame_stepping: true
    show_timecode: true

user_config:
  allow_all_users: true
  users: []

Sample Data

json
[
  {
    "id": "tutor_001",
    "video_url": "/media/box_game.mp4",
    "task": "Illustrative session 1 (CC0 screen recording, Wikimedia Commons)"
  },
  {
    "id": "tutor_002",
    "video_url": "/media/box_game.mp4",
    "task": "Illustrative session 2 (same recording reused)"
  }
]

// ... and 1 more items

Dataset & paper

Barron et al., UIST '26

Paper DOI
10.1145/3830398.3830712

Citation (BibTeX)

bibtex
@inproceedings{Barron_2026,
  series = {UIST '26},
  title = {TutorTrace: A Dataset and Taxonomy for Classifying Learner Behavioral States during AI-Assisted Programming Education},
  url = {http://dx.doi.org/10.1145/3830398.3830712},
  doi = {10.1145/3830398.3830712},
  booktitle = {Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology},
  publisher = {ACM},
  author = {Barron, David and Tang, Xiaohang and Dwisantika, Rezky and Kim, Minsun and Smith, David H. and Cui, Jiaming and Chen, Yan},
  year = {2026},
  month = nov,
  pages = {1--19}
}

Details

Annotation Types

video_annotation

Domain

Computer Science EducationHuman-Computer InteractionLearning Analytics

Use Cases

Behavioral CodingTemporal SegmentationScreen Recording Analysis

Tags

tutortracelearner behaviorprogramming educationscreen recordinguist 2026

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)