Research Article
EducaSim: Interactive Simulacra for CS1 Instructional Practice
Synthesis: Generative agents that simulate a small-group classroom section offer low-cost, scalable, experiential teaching practice for instructors — especially in massive online courses. EducaSim implements diverse pedagogical-based student personas, actual course material, and agent-based architectures so teachers-in-training can practice instruction through role play without the trained-facilitator overhead that makes live role play hard to scale. Deployed as an optional preparation tool in a six-week CS1 course supporting ~20,000 students (focused on 150 of 1,300 volunteer teachers), it logged 254 sessions with a mean duration of ~16 minutes, and teachers who engaged generally found it a positive experience. The framework is designed to fix three weaknesses of prior student simulations: lack of in-context domain knowledge, inconsistent agent behavior, and missing feedback/self-reflection.
Key Findings
- Role play is high-impact but hard to scale for teacher training. It is well-recognized for improving learning outcomes and preparing teachers for classroom scenarios, but depends on trained, available facilitators — an acute problem for massive online courses with hundreds to thousands of novice teachers.
- EducaSim's agents combine personas, memory, and a decision-making framework. Student personas capture engagement and speech styles (deliberately avoiding sensitive demographic traits to limit bias); a node-based memory system grounds agents in actual chronological course material with varied knowledge states; and a response framework classifies each utterance as an error or success archetype before an Large Language Models (LLMs) generates the final response.
- Extended interaction modes beyond text. A runnable Python IDE (whose code is piped into the agent memory stream) and low-latency voice-to-text (via Whisper) support realistic practice; an LLM-as-a-judge "speech oracle" decides who speaks next, mirroring real classroom dynamics.
- Post-session feedback and self-reflection are built in. The tool computes talk-time statistics and uses an LLM to identify instructional behaviors (teacher uptake, questioning quality, Misconceptions about AI), then offers structured feedback and reflective prompts.
- Low cost and positive uptake. At roughly $0.05–$0.10 per session (GPT-4.1-mini + Whisper-1), with hosting under $5 for 150 users, EducaSim is inexpensive; user reactions on the teachers' forum were positive, including one teacher who improved engagement after acting on feedback.
What this means for practice
- Teacher educators. Offer a student simulator as optional, self-serve practice for novice teachers rather than a required module: EducaSim drew 254 sessions averaging about 16 minutes each from 150 of the 1,300 volunteer teachers in a six-week CS1 course.
- Instructional designers. Ground simulated students in actual course material and varied knowledge states — EducaSim ties node-based memory to real lecture content with per-document engagement levels — because generic chatbots hallucinate or lack domain knowledge.
- Instructors. Close the learning loop with post-session feedback and reflection: talk-time statistics, LLM-identified instructional behaviors (teacher uptake, questioning quality, Misconceptions about AI), and reflective prompts are what turn the simulation into coaching rather than a toy.
- Instructional designers. Budget for affordability at scale: sessions cost roughly $0.05-$0.10 each (GPT-4.1-mini plus Whisper-1) with hosting under $5 for 150 users, which frees scarce human coaches for higher-value synchronous feedback.
Limitations
- Simulated students are an explicit approximation of human learners: the authors state the framework cannot represent cultural context, neurodivergence, or individual perception, and that the agent names sampled for a global audience may carry bias.
- The architecture is text-based (plus speech input and output), so it loses tone and visual cues and cannot model interaction patterns such as popcorning or think-pair-shares that confuse the LLM-as-judge speaker oracle.
- Uptake was voluntary and sessions averaged about 16 minutes, and the evidence for benefit is forum reactions plus one teacher's improved engagement rather than a control-group comparison.
- The authors note that learning depends on experience and uptake of the generated feedback, that some instructors may need structured in-session hints, and that isolation in MOOCs limits collaborative practice.
Citation
Mohne, C., Vo, N., Demszky, D., & Piech, C. (2026). EducaSim: Interactive simulacra for CS1 instructional practice.