Tuesday, November 24, 2026SubscribeMastheadAbout
Cali ReporterCalifornia · National · West Coast · Good News

Advertisement

Technology

Inconsistencies in AI-Driven Testing Pose Challenges for Quality Assurance

AI agents used in quality engineering often produce inconsistent results, even when given the same prompts and code, according to recent studies and reports.

Portrait of Benjamin Boyce
Artificial Intelligence & Technology · November 21, 2026
Share

AI-generated editorial illustration from an imagined camera angle.
AI-generated editorial illustration from an imagined camera angle. Source image: dev.to.

AI agents used in quality engineering often produce inconsistent results, even when given the same prompts and code, according to a report from Dev.to. The article highlights that agentic AI testing, which involves giving an agent a human-readable task like 'Test the checkout flow and tell me if anything is broken,' can lead to varying outcomes. This inconsistency arises because agents may take alternate routes through checkout, test different details, or use different test data. In a recent experiment, Slack’s engineering team found that only about 20% of runs follow the exact same sequence of actions, even with the same detailed prompts. This variability is problematic for regression tests and audits, which require consistency to ensure that test failures are due to application changes, not test inconsistency. [1]

Research from arXiv.org reveals that non-determinism is a significant issue in large language models (LLMs) used for code generation. The study found that non-determinism is highly prevalent, with 75.76%, 51.00%, and 47.56% of coding tasks across three benchmarks (CodeContests, APPS, and HumanEval) producing zero equal test outputs across different requests. Even setting the temperature to 0, which is intended to reduce randomness, does not guarantee determinism. This non-determinism poses a threat to the validity of scientific conclusions in LLM-based research, emphasizing the need for researchers to account for this variability in their analyses. [2]

A study from arXiv.org on LLM-based test generation approaches found that these models primarily capture the actual program behavior rather than the expected one, making bug detection difficult. The research compared test oracles generated by LLMs, traditional tools like Evosuite, and those written by developers. It found that LLMs are better at generating oracles than classifying them, and LLM-generated oracles have a higher fault detection potential than Evosuite oracles. However, the study also showed that LLMs often fail to capture the expected behavior, which is crucial for identifying software bugs. [3]

Quality engineering teams using AI agents for testing have reported inconsistent outcomes even when using the same prompts and code. According to a report from Dev.to, many teams connect AI agents to their applications to perform tasks like testing the checkout flow. However, the same request can yield different results due to the agent taking alternate routes or using different test data. In an experiment by Slack’s engineering team, only about 20% of runs followed the exact same sequence of actions, even with the same detailed prompts. This inconsistency poses challenges for regression tests and audits, where consistency is crucial for identifying application changes rather than test variations (Dev.to). [1]

Advertisement

A study from arXiv.org highlights that non-determinism is a significant problem in large language models (LLMs) used for code generation. The paper presents empirical results from 829 code generation problems across three benchmarks (CodeContests, APPS, and HumanEval). The findings reveal that the ratio of coding tasks with zero equal test output across different requests is 75.76%, 51.00%, and 47.56% for CodeContests, APPS, and HumanEval, respectively. Even when the temperature parameter is set to 0, which is intended to reduce randomness, it does not guarantee deterministic code generation (arXiv.org). [2]

Another study from arXiv.org on LLM-based test generation approaches found that these models primarily capture the actual program behavior rather than the expected one, making bug detection difficult. The research examined test cases and oracles written by developers and automatically generated for 24 Java repositories. It was found that LLM-generated oracles are better at identifying faults than traditional tools like Evosuite, but they still predominantly reflect the actual behavior of the program instead of the intended behavior (arXiv.org). [3]

Quality engineering teams using AI agents for testing have reported inconsistent outcomes even when using the same prompts and code (Dev.to). A recent experiment by Slack’s engineering team showed that only about 20% of runs follow the exact same sequence of actions, even with the same detailed prompts. This inconsistency poses significant challenges for regression tests and audits, where predictable and repeatable outcomes are essential. Dev.to highlights that this issue arises because AI agents may take alternate routes through a process or use different test data, leading to varying results. This unpredictability undermines the reliability of AI-generated tests in ensuring software quality. [1]

Research from arXiv.org reveals that non-determinism is a significant issue in large language models (LLMs) used for code generation (arxiv.org). A study of 829 code generation problems from three benchmarks—CodeContests, APPS, and HumanEval—found that the ratio of coding tasks with zero equal test output across different requests was as high as 75.76% for CodeContests. Even when the temperature setting was reduced to 0, which is intended to minimize randomness, the models still did not guarantee deterministic results. This non-determinism raises concerns about the validity of research conclusions drawn from LLM-based code generation and highlights the need for greater control in empirical analyses. [2]

Advertisement

A study from arXiv.org on LLM-based test generation approaches found that these models primarily capture the actual program behavior rather than the expected one, making bug detection difficult (arxiv.org). The research included test cases and oracles written by developers and automatically generated for 24 Java repositories. The findings indicate that LLM-based test generation methods are more likely to reflect the program's actual behavior rather than the expected one, which limits their effectiveness in automatically identifying software bugs. This suggests that while LLMs can generate test cases, they may not be as effective as traditional tools in detecting discrepancies between expected and actual behavior. [3]

Sources

Dev.to

arxiv.org

arxiv.org

Prepared with AI assistance from the cited sources.

The Cali Reporter newsletter

The stories worth your time.

California, the country, and what comes next. Join our free newsletter for reporting that keeps you informed.

By joining, you agree to receive the Cali Reporter newsletter. Unsubscribe at any time. Privacy policy.

More in Technology

  • Modern Web Guidance 1.0 and Browser Compatibility

    Modern Web Guidance 1.0, announced by Chrome for Developers on November 10, introduces browser compatibility data to assist coding agents in building web features. The initiative emphasizes the importance of fallback…

  • Apache mod_http2 Vulnerability Detection with Nmap

    A new Nmap scripting module has been developed to detect the Apache mod_http2 vulnerability (CVE-2026-119618), addressing the challenges of identifying affected systems accurately.

  • Securing Remote Vendor Access in Industrial Networks

    Best practices for managing remote vendor access in operational technology (OT) networks emphasize controlled access points, multifactor authentication, and time-bound sessions to reduce cybersecurity risks.

Advertisement