cd /news/large-language-models/code-without-context-can-we-trust-ll… · home topics large-language-models article
[ARTICLE · art-91181] src=aclanthology.org ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Code Without Context: Can We Trust LLMs to Test Software from Informal Descriptions?

A study presented at the Second International Conference on Natural Language Processing and Artificial Intelligence for Cyber Security (NLPAICS 2026) found that GPT-5-mini outperformed Qwen2.5-Coder-7B in generating test cases from informal natural language descriptions, achieving 63.72% test-level and 59.16% problem-level pass rates, while Qwen2.5-Coder-7B achieved only 21.62% and 2.09%, respectively. The researchers, Amneh Al Abdi and Saad Ezzini, evaluated the models on 191 programming problems and concluded that both LLMs have limitations in understanding informal descriptions, raising concerns about their safe deployment in automated workflows and safety-critical applications.

read2 min views2 publishedJul 31, 2026
Code Without Context: Can We Trust LLMs to Test Software from Informal Descriptions?
Image: Aclanthology (auto-discovered)
Abstract

Recent advances in Large Language Models (LLMs) have shown their strong abilities in several tasks, such as text understanding and generation. In several domains, such as software engineering, LLMs are increasingly used to automate related tasks. However, LLM-generated outputs still raise major concerns about robustness and reliability, especially in real-world use. These concerns are especially important in cases where the available inputs are informal natural language rather than structured inputs, which raises issues related to the trustworthiness and potential risks of LLM outputs. This paper aims to evaluate LLMs for the automated test case generation task in a weaker-input setting, relying solely on their understanding of these unstructured inputs. A dataset of 191 programming problems is used to evaluate a general-purpose LLM, GPT-5-mini, and a code-specialized LLM, Qwen2.5-Coder-7B. The generated test cases are executed on reference Python solutions and evaluated in terms of both test-level and problem-level pass rates. The results show that GPT-5-mini outperformed Qwen2.5-Coder-7B in terms of both performance metrics, with 63.72% and 59.16% for test-level and problem-level, respectively, while Qwen2.5-Coder-7B achieves only 21.62% and 2.09% test-level and problem-level pass rates, respectively. The results of this study indicate that both models have limitations in understanding the semantics of informal natural language descriptions, and provide early insight into the feasibility and limitations of LLM-based test case generation using only natural language descriptions. These results also raise concerns related to the safe deployment of LLMs and potential risks, including undetected incorrect interpretations, especially in automated workflows and safety-critical applications.- Anthology ID:

- 2026.nlpaics-1.5
- Volume:

Proceedings of the Second International Conference on Natural Language Processing and Artificial Intelligence for Cyber Security- Month:

[NLPAICS](/venues/nlpaics/)- SIG:
- Publisher:
  • Department of Languages and Information Systems, University of Alicante
- Note:
- Pages:
  • 46–54
- Language:
- URL:
[https://aclanthology.org/2026.nlpaics-1.5/](https://aclanthology.org/2026.nlpaics-1.5/)- DOI:
- Cite (ACL):
[Code Without Context: Can We Trust LLMs to Test Software from Informal Descriptions?](https://aclanthology.org/2026.nlpaics-1.5/)(Al Abdi & Ezzini, NLPAICS 2026)- PDF:
[https://aclanthology.org/2026.nlpaics-1.5.pdf](https://aclanthology.org/2026.nlpaics-1.5.pdf)
── more in #large-language-models 4 stories · sorted by recency
── more on @gpt-5-mini 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/code-without-context…] indexed:0 read:2min 2026-07-31 ·