Ask a chatbot the same question twice. You will get two different answers.

Both may be correct. Neither will be identical. And that small, strange fact has quietly broken one of the oldest rules in software.

For fifty years, testing software meant checking for sameness. Enter a password, expect the same screen. Add an item to a cart, expect the same total. Machines were predictable, and predictability was the whole point. A test asked one question: Did the program produce exactly what we expected? If yes, it passed. If not, someone fixed it.

Then, the software learned to improvise.

The rule that generative AI broke

The AI features now woven into everyday apps, the chatbot answering your bank query, the assistant summarizing your email, and the tool generating an image from a sentence do not work like traditional software. They are non-deterministic. Run them twice with identical input, and they will produce different outputs, by design. That variability is not a bug. It is the reason they feel intelligent rather than robotic.

But it leaves engineers with an uncomfortable problem. The old test would compare the AI’s answer against a stored “correct” answer, character by character. Against a system that rephrases itself every time, that test fails constantly, not because the AI is wrong, but because it is alive to language in a way the test is not.

You cannot check creativity with a spell-checker.

AI Artificial Intelligence AI features technology
Source: Canva/putilich from Getty Images

From matching words to judging meaning

The answer emerging across the industry is disarmingly simple to describe and genuinely hard to build: stop testing for sameness, and start testing for meaning.

Instead of demanding an exact string, the new generation of testing systems asks a different question. Does this answer mean the right thing? Is it accurate, safe, on-topic, and in the right tone? Did the image actually contain what was requested? Is the summary faithful to the email it summarized?

Answering that requires judgment, which is precisely what AI is good at. So engineers have started using AI to test AI.

The tests themselves are now written in plain English rather than code. A tester can write something close to a sentence, check that the chatbot refuses to give medical advice, or confirm the generated image contains a red bicycle, and the system evaluates whether the AI’s behavior satisfies that intent. Tools like testRigor for generative AI in software testing work this way, judging output by what it means rather than by whether it matches a script.

Advertisement

There is an elegant symmetry to it. The same capability that made software unpredictable is now the capability being used to keep it honest.

Who watches the watchmen?

Which raises the obvious question, and it is not a comfortable one.

If an AI is grading another AI’s homework, what happens when both are wrong in the same way? Machines that share training data can share blind spots. An evaluator might happily approve a confident, fluent, entirely fabricated answer because confident and fluent is exactly what it was built to reward.

This is why the serious teams keep humans in the loop. AI handles the volume: thousands of checks, run continuously, at a scale no person could match. Humans handle the judgment calls deciding what “correct” even means before a single test runs. That definition is the hard part, and no machine can supply it. An AI can verify that a chatbot stayed on topic. It cannot decide that staying on topic was the right requirement in the first place.

Why this matters far beyond your chatbot

It is tempting to file this under software engineering trivia. It isn’t.

The same problem is arising in every field where AI makes judgment calls rather than following instructions. A self-driving car does not respond identically to two nearly identical intersections. A diagnostic AI reviewing a scan produces a probability, not a certainty. A warehouse robot adapts its grip to an object it has never held before.

None of these systems can be verified by checking whether they did exactly the same thing twice. All of them must be verified against intent: did it behave correctly, safely, and reasonably, even in a situation nobody scripted?

Testing has quietly become one of the defining problems of the AI era. Not because it is glamorous, but because it is the thing standing between a promising demonstration and a technology you would trust with your money, your car, or your health.

The machines are improvising now. We are still learning how to check their work.

 

This is a sponsored post by DIGIMAGNET, INC. All reviews and opinions expressed in this post are not based on the views and opinions of Tomorrow’s World Today.