Back to search

University of Saskatchewan

Enhancing Knowledge Quality in Crowd-Sourced Developer Q&A Platforms through AI-driven Software Solutions

Abstract

dc:description.abstract

Programming question-and-answer (Q&A) platforms have transformed how developers seek and share programming knowledge, addressing limitations of traditional documentation and tutorial resources. Among them, Stack Overflow (SO) stands as the most prominent community-driven repository where developers exchange solutions and insights. Despite its impact, SO faces persistent challenges that threaten the clarity, reliability, and longevity of its content. Many code snippets shared in answers lack inline comments, accepted answers can become outdated as technologies evolve, and subtle forms of technical debt (TD) often appear in optimization questions without explicit recognition. This thesis presents three interrelated studies that leverage Large Language Models (LLMs) to enhance the comprehensibility, adaptability, and quality awareness of knowledge shared on SO. In our first study, we focus on improving the interpretability of code snippets in SO answers. We observe that a large number of shared code examples lack meaningful inline comments, reducing their reusability, particularly for novice programmers. To address this, we develop AUTOGENICS, a context-aware tool powered by LLMs that automatically generates inline comments aligned with both the code and its corresponding question context. Through manual evaluation and practitioner feedback, AUTOGENICS demonstrates significant improvements in accuracy, adequacy, conciseness, and usefulness, offering developers clearer, noise-free code explanations that enhance comprehension. While addressing code comprehensibility, we notice that even well-explained answers may lose relevance over time as technologies change. The valuable discussions embedded in user comments often remain underutilized, despite containing suggestions and corrections that could improve answer quality. Motivated by these observations, our second study introduces AUTOCOMBAT, a tool that automatically synthesizes improvement-oriented comments to produce enhanced answers. Using the ReSOlve benchmark and multiple state-of-the-art LLMs, AUTOCOMBAT integrates comment-based feedback into semantically faithful answer revisions. Evaluations using syntactic and semantic similarity metrics, along with a user survey, confirm that AUTOCOMBAT effectively transforms community feedback into coherent and updated answers while preserving technical intent, thereby promoting the continuous evolution of SO knowledge. During the investigation of answer evolution, we discover that many optimization-related questions contain signs of unacknowledged quality concerns in the form of TD, such as inefficient design or premature optimization decisions. Recognizing this gap, our third study introduces DebtNetX, a multimodal late-fusion transformer that combines textual and code representations to detect TD in SO questions. By integrating DeBERTa for text encoding and CodeBERT for code encoding, DebtNetX outperforms text-only baselines, revealing that nearly one-third of optimization-related questions on SO show latent TD. A lightweight browser plugin operationalizes this approach by enabling developers to identify the presence and type of TD, as well as reflect on potential debt indicators while engaging with community content. Collectively, these studies present complementary AI-assisted approaches for improving the clarity, currency, and quality awareness of developer knowledge on SO. Together, they contribute toward a more comprehensible, adaptive, and sustainable ecosystem of community-driven software knowledge.

Degree

thesis:*
Name thesis:degree_name
Master of Science (M.Sc.)
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor
University of Saskatchewan
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Bappon, Suborno Deb
Advisors dc:contributor.advisor
  • Roy, Chanchal
  • Schneider, Kevin
Committee members dc:contributor.committeemember
  • Roy, Banani
  • McQuillan, Ian
ORCID person:identifier.orcid

Subjects

dc:subject × 6

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/10388/17731

Chain of custody

source
Harvested from
University of Saskatchewan
Base URL
harvest.usask.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Bappon, Suborno Deb. Enhancing Knowledge Quality in Crowd-Sourced Developer Q&A Platforms through AI-driven Software Solutions. Masters thesis, University of Saskatchewan, 2026. https://hdl.handle.net/10388/17731