English

BlockPython: A Process-Aware Agent-Supported Platform for the Transition from Block-Based to Python Programming

Artificial Intelligence 2026-08-06 v1

Abstract

The transition from block-based to text-based programming requires learners to convert visible program structures into abstract textual expressions, which may create a cognitive gap between understanding computational concepts and expressing them in Python syntax. To support this transition, we designed and implemented BlockPython. The platform centers on bidirectional translation between blocks and Python and guides learners through four stages: Task Decomposition, Block-Based Practice, Code Challenge, and Extended Interaction. Across these stages, learners progressively establish connections among program structure, runtime behavior, and textual code. During learning, the platform continuously collects process evidence, including block artifacts, code versions, run outcomes, use of support, and dialogue. Deterministic diagnosis, program visualization, and the learning assistant use this evidence to identify different difficulties in computational understanding and Python expression. The rule-based system is responsible for program execution, objective evaluation, and stage control, while the learning assistant uses verified evidence to provide explanations, prompts, and guiding questions. This report describes the design rationale, learning workflow, and process-aware support mechanisms of BlockPython and provides a system-design reference for supporting the transition from block-based to text-based programming and for analyzing learning processes.

Cite

@article{arxiv.2608.05716,
  title  = {BlockPython: A Process-Aware Agent-Supported Platform for the Transition from Block-Based to Python Programming},
  author = {Jesse Yusuf Chan and Haoming Wang and Mingwei Xu and Xianlong Xu},
  journal= {arXiv preprint arXiv:2608.05716},
  year   = {2026}
}

Comments

AIED 2026 Interactive Event Track