University of Saskatchewan
AI-Augmented Quality Engineering for Developer Knowledge Artifacts in Human-AI Ecosystems
Abstract
dc:description.abstractModern software development operates within hybrid human-AI ecosystems, where developer knowledge is continuously created, refined, and reused through online forums such as Stack Overflow. These platforms have become indispensable infrastructure, providing large-scale access to collective expertise and reusable solutions. However, their effectiveness is constrained by persistent quality deficiencies: knowledge artifacts are often incomplete, irreproducible, inconsistently evolved, and vulnerable to security risks. These deficiencies originate at different stages of the knowledge lifecycle and hinder timely problem resolution, often leading to development delays and sub-optimal solutions. Moreover, as community-generated knowledge is increasingly incorporated into the pretraining corpora of large language models (LLMs), such deficiencies can propagate beyond their original sources and influence AI-generated responses, potentially amplifying their impact across the broader software engineering ecosystem. This dissertation advances the premise that developer knowledge quality is not merely an emergent outcome of community interactions, but a systematically engineerable property. To this end, we propose an AI-augmented knowledge quality framework that enforces quality across four fundamental dimensions -- completeness, reproducibility, evolution quality, and trustworthiness -- spanning the lifecycle from formation to validation. The framework integrates machine learning (ML)-based techniques for detection and prediction with LLM-based techniques for generation, verification, and repair, enabling coordinated, end-to-end quality assurance. We operationalize this framework through six interrelated studies. For knowledge formation, we detect missing required code using CSChecker and introduce GENCNIPPET to generate contextual code artifacts. For reproducibility, we develop predictive models to estimate whether reported issues can be reliably reproduced. For knowledge evolution, we introduce EditEx to predict and reduce low-quality edits and conduct a large-scale, multi-dimensional analysis that reveals that accepted edits do not consistently improve intrinsic quality. For trustworthiness, we present SafeSnippet, an LLM-based framework for detecting and repairing vulnerabilities in both parsable and non-parsable code. Our results demonstrate that pre-submission interventions can double the likelihood of receiving acceptable answers and reduce resolution delays by up to 50%, while post-submission support can reduce commonly rejected edits by 49%. Furthermore, our vulnerability repair approach successfully fixes 71.4% of detected security issues across critical CWE categories. These findings highlight the importance of lifecycle-aware quality control and suggest broader implications for improving the reliability of developer knowledge in human-AI ecosystems. This dissertation establishes that developer knowledge quality can be systematically engineered through lifecycle-aware interventions, contributing to more reliable and effective software engineering practices.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy (Ph.D.)
- Level thesis:degree_level
- Doctoral
- 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
-
- Mondal, Saikat
- Advisor dc:contributor.advisor
-
- Roy, Chanchal K.
- Committee members dc:contributor.committeemember
-
- Zou, Ying
- Eager, Derek
- Roy, Banani
- Mondal, Manishankar
- ORCID person:identifier.orcid
Subjects
dc:subject × 12Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10388/18850