Hostname: page-component-89b8bd64d-9prln Total loading time: 0 Render date: 2026-05-05T13:06:57.178Z Has data issue: false hasContentIssue false

Prompt engineering study: comparing pre-service engineers to large language models in requirements generation

Published online by Cambridge University Press:  27 August 2025

Shanae Edwards
Affiliation:
University of Texas at Dallas, USA
Kenny Nonso-Anyakwo
Affiliation:
University of Texas at Dallas, USA
Joshua Summers*
Affiliation:
University of Texas at Dallas, USA
Oredola Adebayo
Affiliation:
University of Texas at Dallas, USA

Abstract:

The objective of this research is to compare the requirements generated by human participants and large language models (LLMs). Requirements are statements that capture the needs and desires from stakeholders and organize them into design parameters. These statements are expressed in natural language which may lead to incompleteness and ambiguity. Due to the recent advancements in the natural language model such as ChatGPT and Gemini as a tool for requirement generation, this study investigates the quantity, variety and completeness of requirements generated by 66 pre-service engineers and 4 LLMs. This is because in some design projects, stakeholder access may be limited. The results show that pre-service engineers outperformed LLMs in variety, quantity and completeness. Future work could involve developing and comparing true human personas to LLMs.

Information

Type
Article
Creative Commons
Creative Common License - CCCreative Common License - BYCreative Common License - NCCreative Common License - ND
This is an Open Access article, distributed under the terms of the Creative Commons Attribution-NonCommercial-NoDerivatives licence (http://creativecommons.org/licenses/by-nc-nd/4.0/), which permits non-commercial re-use, distribution, and reproduction in any medium, provided the original work is unaltered and is properly cited. The written permission of Cambridge University Press must be obtained for commercial re-use or in order to create a derivative work.
Copyright
© The Author(s) 2025
Figure 0

Table 1. Design prompts

Figure 1

Table 2. Number of split requirements for human participants

Figure 2

Table 3. Examples of requirement categorizations

Figure 3

Table 4. Summary of the variety in responses between the human participants and the LLMs

Figure 4

Figure 1. Number of categories occupied

Figure 5

Table 5. Percentages of requirement components