Bridging awareness and behavior: decoding implicit metacognitive behaviors in AI-assisted programming via fine-grained log analysis
= 60) within a Python programming course. Using a customized Jupyter environment, an integrated autonomous AI agent monitored real-time behavioral logs and triggered non-directive, process-oriented prompts based on specific algorithmic thresholds. Data collection integrated fine-grained log analysis with standardized assessments to quantify implicit planning, monitoring, and regulation processes. The AI intervention significantly optimized learning behaviors, facilitating a shift from impulsive "trial-and-error" approaches to deliberate planning and superior debugging precision. These behavioral improvements were accompanied by significant gains in both academic performance and subjective metacognitive awareness compared to the control group. The findings confirm that when designed as a process-oriented scaffold, AI functions as a catalyst for self-regulated learning rather than a passive crutch. This study highlights the role of AI as a psychological scaffold that supports metacognitive regulation, providing an evidence-based blueprint for the design of effective learning environments in educational psychology.
Authors
- Nianfeng Shi (ORCID: https://orcid.org/0000-0002-0346-6071)
- Zhichun Liu (ORCID: https://orcid.org/0000-0001-9645-3052)
- Xiaojing Hou
- Guoqiang Wang
Institutions
- Luoyang Institute of Science and Technology (CN)
Publication Details
- Journal
- Frontiers in Psychology
- Published
- 2026-04-10
- DOI
- https://doi.org/10.3389/fpsyg.2026.1790196
- Primary Topic
- Intelligent Tutoring Systems and Adaptive Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00