Bridging Instead of Replacing Online Coding Communities with AI through Community-Enriched Chatbot Designs
Junling Wang, Lahari Goswami, Gustavo Kreia Umbelino, Kiara Chau, Mrinmaya Sachan, April Yi Wang
TL;DR
The paper addresses the tendency of LLM-based chatbots to provide isolated, decontextualized assistance, which can erode participation in online coding communities. It introduces Community-Enriched AI, a paradigm that grounds AI responses in community-generated content and social cues from platforms like Kaggle, operationalized in the ChatCommunity system using a retrieval-augmented generation pipeline. Through two empirical studies (N=28 and N=12), it demonstrates that surface-level previews, author identities, and engagement signals can significantly boost trust, community engagement, and task performance, especially for higher-order data science reasoning. The work offers design guidelines for building AI assistants that augment rather than replace online communities, promoting socially informed learning and ongoing participation in peer-driven knowledge ecosystems.
Abstract
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 feature 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.
