Pulla: A Parsons Problem Tool for Fine-Grained Behavioral Tracing and Instructor-Facing Problem-Solving Analysis

Daniel Prol, Juho Leinonen, Arto Hellas, Saleh Alkhamees, Amin AlipourarXiv 2026

TL;DR

Pulla is an open-source Parsons problem tool that captures fine-grained, client-side interaction data to reveal students' step-by-step programming logic rather than just final correctness. By feeding these behavioral traces into a human-in-the-loop AI pipeline, Pulla automatically surfaces individual and class-wide difficulty patterns, giving instructors actionable insights for targeted classroom interventions.

What Problem Does This Paper Address?

Parsons problems—exercises where students arrange shuffled blocks of code into the correct order—are highly effective tools for learning programming. However, existing platforms suffer from a major visibility gap: they typically only report final correctness scores and attempt counts.

This leaves instructors blind to the actual problem-solving process. They cannot easily see how a student struggled, which distractor blocks were repeatedly selected, or when a student got stuck in a loop of unproductive backtracking. While researchers have long used interaction traces to study student behavior, these insights have rarely been translated into practical, instructor-facing tools. Pulla bridges this gap by turning raw behavioral data into actionable instructional insights.

Methods

Pulla builds upon the open-source autograder CodeCheck by adding a robust behavioral instrumentation layer and an instructor dashboard.

The system's architecture relies on three core components:

  1. Client-Side Event Capture: Instead of just logging final submissions, Pulla tracks browser-level events in real time (e.g., block placements, removals, and retries). This preserves the "within-attempt" behavior that is most diagnostic of conceptual confusion.
  2. Wordle-Style Feedback: When students check their work, the interface provides immediate, block-level color feedback: green for the correct position, yellow if the block belongs elsewhere, and red if it is an incorrect distractor block.
  3. Human-in-the-Loop AI Pipeline: Instructors can trigger an on-demand analysis powered by an LLM (GPT-4.1-mini). The pipeline analyzes the sequence of incorrect placements and distractor selections to generate a natural-language difficulty report for individual students. For the broader cohort, it aggregates these traces to automatically generate a summary PowerPoint slide deck highlighting common mistakes. Crucially, the instructor acts as a reviewer before any feedback reaches the students.

The complete system workflow, from the student interface to the instructor dashboard, is illustrated below:

Overview of the Pulla workflow, showing student problem-solving steps (A–F) and the resulting instructor dashboard views (G–J).

Datasets

The authors evaluated Pulla by deploying it in two distinct university environments during the Spring and Summer of 2026:

  • University of Houston (USA): An upper-division, in-person Software Design course for CS majors ($n = 68$).
  • Aalto University (Finland): An introductory, online, self-paced programming course for non-CS majors ($n = 36$).

To facilitate cross-deployment comparison, both courses featured assignments focused on exception handling, consisting of three sequential problems requiring students to select and order the semantically appropriate exception blocks (e.g., handling division by zero or invalid string inputs).

Key Insights and Ideas

  • Misconceptions Cross Borders: Despite vast differences in student demographics (CS majors vs. non-majors), programming languages (Java vs. Python), and course formats (in-person vs. online), students exhibited remarkably similar conceptual difficulties.
  • The "Silent Exit" Habit: A prominent issue across both cohorts was substituting a return statement for an exception throw/raise. Students frequently treated error conditions as reasons to exit early rather than signaling them as exceptional events.
  • Messy Solving Trajectories: Aggregated correctness scores mask highly non-monotonic solving paths. State-transition graphs of individual sessions revealed that students frequently cycle back to earlier incorrect arrangements, alternate between different misconceptions, and make multiple regressions before finding the correct solution.

Key Results

The deployment successfully categorized three recurring difficulty patterns across both universities:

  • Exception Type Confusion: This was the dominant error pattern. For the first problem, 90% of students with incorrect attempts at the University of Houston selected an imprecise or wrong exception class (e.g., IllegalStateException instead of ArithmeticException). At Aalto University, 89% of students failed a guard condition on the hardest problem by selecting a distractor that checked index < 0 instead of the precise index < -len(items).
  • Return Instead of Raise/Throw: This affected 60% of incorrect attempts in the University of Houston's first problem and 50% of incorrect attempts in Aalto University's second problem.
  • Incorrect Control-Flow Ordering: Upper-division students at the University of Houston frequently cycled through structural orderings, with 43% to 52% of incorrect attempts exhibiting wrong control-flow sequencing across all problems.

Qualitatively, instructors noted that the dashboard made intermediate states beautifully visible, allowing them to quickly gauge student skill levels and use the automated slides to address common mistakes directly during lectures.

Limitations and Future Work

The primary limitation is scope: the evaluation was restricted to exception handling, meaning the findings may not immediately generalize to other programming concepts. Additionally, the Aalto University sample size was relatively small ($n = 36$), and the tool's ultimate classroom value depends heavily on active instructor engagement.

Moving forward, the authors plan to expand Pulla by introducing isomorphic variants to separate true conceptual understanding from accidental correctness. They also aim to implement real-time alerts for repeated failures, embed state-transition graphs directly into the dashboard, and systematically evaluate the quality of the AI-generated difficulty reports.

Summary updated

BibTeX
@misc{prol2026pulla,
  author = {Daniel Prol and Juho Leinonen and Arto Hellas and Saleh Alkhamees and Amin Alipour},
  title = {{Pulla: A Parsons Problem Tool for Fine-Grained Behavioral Tracing and Instructor-Facing Problem-Solving Analysis}},
  year = {2026},
  eprint = {2609.15944},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.15944},
}
Figure