Independent thesis Advanced level (degree of Master (Two Years)), 20 credits / 30 HE credits
Software engineering normally proceeds from requirements to design and then to im-plementation. Requirements verification examines whether requirement statements are sufficiently complete, consistent, clear, feasible, and testable. Requirements validation examines whether the specified requirements accurately reflect stakeholder needs and intended use. Design verification against requirements examines a down-stream artifact: whether a design addresses the specified requirements. This thesis concerns design verification at the documentary level. The Non-Functional Requirements (NFRs) provide the evaluation criteria, and a High-Level Design (HLD) is the design artifact examined to determine whether it documents design decisions that address those criteria. The study does not verify the implemented system.
Manually tracing NFRs to supporting design evidence is time-consuming and difficult to scale because relevant information may be implicit or distributed across a large document. Large Language Models (LLMs) may assist this task, but they can also produce plausible claims or citations that are not supported by the designated source. This thesis therefore presents and evaluates a grounded LLM-based pipeline that assesses the documentary support provided by an HLD for specified NFRs. For each requirement, the pipeline decomposes compound conditions, retrieves candidate HLD passages, assigns one of four documentary-support decisions, attributes the decision to a verbatim passage and source section when evidence is available, classifies documentary gaps using an LLM-proposed and researcher-reviewed G1–G8 scheme, and fails closed when the required source document is unavailable.
The framework was developed and evaluated using a design-science methodology in one industry-derived case comprising 60 pseudonymized NFRs 30 KPI/SLA requirements and 30 security requirements decomposed into 158 conditions and assessed against one HLD. The pipeline’s parent decisions were reported to agree with a reference prepared by one engineer for all 60 NFRs. All 60 grounded findings contained a quotation and source location. Fifty-nine citations were manually assessed, and all 59 assessed quotations were found in the HLD and judged relevant; one citation was not assessed. In one source-unavailability run, a run-level gate prevented substantive document-based assessment and produced refusal or Not Enough Information records for all 60 inputs without generating source citations.
An exploratory practitioner study collected 11 evaluations of 10 findings from two engineers. The engineers valued verifiable source evidence, but the citation-present findings and researcher-adapted citation-absent findings differed in wording, provenance, and reasoning detail, and they were presented in a fixed order. The study therefore identifies factors that influenced these engineers’ trust and intended actions but does not isolate a causal effect of citation presence.
The results demonstrate the feasibility of traceable, fail-closed LLM assistance for HLD-to-NFR document verification in the examined case. They do not establish general accuracy, citation faithfulness, implementation-level compliance, or performance on unseen projects. Human engineering review and sign-off remain necessary.
2026. , p. 65