Agent HAnS: Using feature traceability to improve comprehension and trust in LLM-based coding

dc.contributor.authorBengtsson, Jacob
dc.contributor.authorHultin, Moltas
dc.contributor.departmentChalmers tekniska högskola / Institutionen för data och informationstekniksv
dc.contributor.departmentChalmers University of Technology / Department of Computer Science and Engineeringen
dc.contributor.examinerFeldt, Robert
dc.contributor.supervisorBerger, Thorsten
dc.date.accessioned2026-07-02T13:42:20Z
dc.date.issued2026
dc.date.submitted
dc.description.abstractAs LLM-based coding projects grow large comprehension and in turn trust of generated code is reduced. Feature models and embedded feature annotations are established concepts for getting an overview of the features present in a codebase. Both of these however require constant maintenance to reflect their associated codebase. Through a three cycle Design Science Research methodology a MCP-based tool, Agent HAnS, is iteratively implemented and evaluated. Agent HAnS automatically generates and maintains feature models and embedded feature annotations in a LLM-based software development workflow. In addition Agent HAnS presents a graphical dashboard between prompts highlighting changes made to the source code from a feature-oriented perspective. To evaluate the tool, a user study and a correctness evaluation was conducted. The results of the user study show no significant effect on trust and comprehension but that Agent HAnS is usable and does not impact the overall effort needed. The correctness evaluation shows that feature models generated by Agent HAnS varies in quality, sometimes equivalent to a human defined baseline and other times misses critical features. A more extensive study would be better positioned to assess the potential benefits of Agent HAnS.
dc.identifier.urihttps://hdl.handle.net/20.500.12380/311814
dc.language.isoeng
dc.setspec.uppsokTechnology
dc.subjectLLM, features, feature models, embedded feature annotations, vibe cod ing, agentic coding
dc.titleAgent HAnS: Using feature traceability to improve comprehension and trust in LLM-based coding
dc.type.degreeExamensarbete för masterexamensv
dc.type.degreeMaster's Thesisen
dc.type.uppsokH
local.programmeSoftware engineering and technology (MPSOF), MSc

Ladda ner

Original bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
CSE 26-115 JB MH.pdf
Size:
4.58 MB
Format:
Adobe Portable Document Format

License bundle

Visar 1 - 1 av 1
Hämtar...
Bild (thumbnail)
Namn:
license.txt
Size:
2.35 KB
Format:
Item-specific license agreed upon to submission
Description: