Enhancing Knowledge Quality in Crowd-Sourced Developer Q&A Platforms through AI-driven Software Solutions
Notice bibliographique
Résumé
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.
Récupéré en direct depuis OpenAlex et désinversé. Les résumés ne sont pas conservés dans cette base de données : les index inversés représentent 8,6 Go des 9,3 Go de texte de la base, et le serveur dispose de 13 Go libres.
Comment cette classification a été obtenuedéplier
Prédiction machine sur la base complète
Imitation des enseignantsNi prévalence calibrée, ni vérité terrain. Validation humaine à venir. Le volet Gemma est une étiquette directe du modèle pour chaque travail de la base, lue sur la notice réduite au titre. Le volet Codex est un classifieur appris des 10 348 étiquettes directes de Codex et calibré sur les taux pondérés de l'échantillon; les champs sans appui suffisant ne portent aucun appel Codex. Le mode candidate est l'union des deux volets; le consensus est leur intersection. Ces sorties portent le statut machine_predicted_unvalidated et ne sont pas des étiquettes humaines.
Scores du classifieur distillé par catégorie (deux têtes)
| Catégorie | Codex | Gemma |
|---|---|---|
| Métarecherche | 0,034 | 0,140 |
| Méta-épidémiologie (sens strict) | 0,001 | 0,001 |
| Méta-épidémiologie (sens large) | 0,001 | 0,001 |
| Bibliométrie | 0,006 | 0,002 |
| Études des sciences et des technologies | 0,002 | 0,002 |
| Communication savante | 0,008 | 0,009 |
| Science ouverte | 0,004 | 0,012 |
| Intégrité de la recherche | 0,003 | 0,003 |
| Charge utile insuffisante (le modèle a refusé de juger) | 0,006 | 0,003 |
Scores machine (provisoires)
Les deux têtes enseignantes du modèle étudiant, lues sur ce travail. Un score ordonne la base pour la relecture; il n'affirme jamais une catégorie, et le statut de validation accompagne chaque rangée tel quel.
Scores de référence d'un modèle non mature (critères de maturité non atteints, 7 itérations). Un score ordonne; il n'affirme jamais une catégorie.
score_only:v0-immature-baseline · tel quel depuis la passe de notation : score_only signifie que le nombre peut ordonner les travaux, et qu'aucune étiquette de catégorie n'en découleClassification
machine, non validéePrédiction automatique; un appel candidat d’une seule source (Gemma direct ou Codex distillé), pas un consensus.
Le détail, modèle par modèle et score par score, se trouve en fin de page sous « Comment cette classification a été obtenue ».