Self-regulation of learning in programming has been extensively investigated, emphasising an individual's metacognitive and motivational regulation components. However, learning often happens in socially situated contexts, and little emphasis has been paid to studying social modes of regulation in programming. We designed Thyone, a collaborative Jupyter Notebook extension to support learners' programming regulation in an online classroom context with the overall aim to foster their intrinsic motivation toward programming. Thyone's salient features - Flowchart, Discuss and Share Cell - incorporate affordances for learners to co-regulate their learning and drive their motivation. In an exploratory quasi-experimental study, we investigated learners' engagement with Thyone's features and assessed its influence on their learning motivation in an introductory programming course. We found that Thyone facilitated the co-regulation of programming learning and that the users' engagement with Thyone appeared to positively influence components of their motivation: interest, autonomy, and relatedness. Our results inform the design of technological interventions to support co-regulation in programming learning.
Hybrid learning modalities, where learners can attend a course in-person or remotely, have gained particular significance in post-pandemic educational settings. In introductory programming courses, novices’ learning behaviour in the collaborative context of classrooms differs in hybrid mode from that of a traditional setting. Reflections from conducting an introductory programming course in hybrid mode led us to recognise the need for re-designing programming tools to support students’ collaborative learning practices. We conducted a participatory design study with nine students, directly engaging them in design to understand their interaction needs in hybrid pedagogical setups to enable effective collaboration during learning. Our findings first highlighted the difficulties that learners face in hybrid modes. The results then revealed learners’ preferences for design functionalities to enable collective notions, communication, autonomy, and regulation. Based on our findings, we discuss design principles and implications to inform the future design of collaborative programming environments for hybrid modes.
LLM-based chatbots like ChatGPT have become popular tools for assisting with coding tasks. However, they often produce isolated responses and lack mechanisms for social learning or contextual grounding. In contrast, online coding communities like Kaggle offer socially mediated learning environments that foster critical thinking, engagement, and a sense of belonging. Yet, growing reliance on LLMs risks diminishing participation in these communities and weakening their collaborative value. To address this, we propose Community-Enriched AI, a design paradigm that embeds social learning dynamics into LLM-based chatbots by surfacing user-generated content and social design features from online coding communities. Using this paradigm, we implemented a RAG-based AI chatbot leveraging resources from Kaggle to validate our design. Across two empirical studies involving 28 and 12 data science learners, respectively, we found that Community-Enriched AI significantly enhances user trust, encourages engagement with community, and effectively supports learners in solving data science tasks. We conclude by discussing design implications for AI assistance systems that bridge—rather than replace—online coding communities.