AI-generated editorial illustration: two standing professionals compare a projected code change with acceptance criteria.

The code is ready. The evidence is not.

A developer describes a change, AI produces code and the automated checks turn green. That can save substantial work. It does not yet establish that the solution does what the organisation needs. Convincing-looking code can contain a mistaken assumption, miss an exception or conflict with existing agreements.

Review tools are developing quickly too. On 17 November, GitHub announced Adaptive, among other updates: a public preview in which Copilot selects review depth based on a change’s complexity and risk. [1] Such assistance makes one question more important: how does the team organise assessment as AI prepares more of the work?

A better prompt helps, but offers no guarantee

Errors can have different causes. The request may be ambiguous, relevant context may be missing or the documentation may be outdated. AI may also suggest a function, library or capability that does not exist. This kind of invented but plausible answer is often called a hallucination.

Not every error comes from a poor prompt. AI can produce incorrect code even with clear instructions. GitHub explicitly warns that generated code may appear valid while being semantically or syntactically incorrect, or failing to reflect the developer’s intent. [2] Providing more context reduces some uncertainties; review and testing remain necessary.

Include the business rule, relevant system agreements, versions and examples. Also specify what must remain unchanged. Ask AI to surface ambiguities before implementation. Use only information that may be shared under your organisation’s rules. A lengthy prompt containing confidential information does not automatically represent a better way of working.

Two green checks can confirm the same mistake

Consider a fictional request-management application. The instruction says: ‘An employee may approve a request.’ AI implements an ‘employee’ role check and writes a test demonstrating that this role receives access. Everything passes. But the business rule also says nobody may approve their own request. That exception is missing from both the code and the test.

This is not a reported client incident. The example shows why expected outcomes should not be derived solely from the implementation. A test must also be able to demonstrate that the solution is wrong. Compare scenarios with agreed requirements, business rules and user needs. Ask what should happen with someone’s own request, a different role or revoked permissions.

Review and testing answer different questions

A code review assesses the proposed solution: is the interpretation correct, is the code understandable and maintainable, and does it handle permissions, data and failures appropriately? Also verify that suggested dependencies exist and match the version in use. GitHub’s review guide identifies intent, context and dependencies among its checkpoints. [3]

Tests then examine behaviour. Does the intended scenario work, are prohibited actions rejected, and do existing features still function? Combine appropriate automated checks with focused investigation of exceptions. A successful build provides different evidence from a passing authorisation test; neither replaces an assessment of the business process.

AI can help suggest tests, explain code and provide an additional review. Treat those outputs as proposals too: a finding may be incorrect, and the absence of findings does not prove there are no defects. The reviewer must understand the change and substantiate the conclusions, even when AI provides a convincing explanation.

Let review capacity grow with delivery

Producing code faster achieves little if changes accumulate while waiting for review. Teams may then be tempted to approve large batches superficially. Keep changes small and coherent. Google recommends small changes partly because reviewers can examine them more thoroughly. [4] A refactoring and a new business rule do not automatically belong in the same proposal.

Reserve review time and involve testing expertise early when identifying risks and acceptance criteria. Agree which changes require specialist attention, such as those affecting payments, personal data or access control. Automate recurring checks, but make unexamined areas visible. When evidence is missing, gaining clarity is more useful than generating more code.

Make ‘done’ verifiable

For each change, request a short explanation of the problem, the chosen solution, the scenarios checked and the remaining uncertainties. Record who reviews it and who decides whether the remaining risk is acceptable. Alongside development speed, examine waiting time, rework and defects found later, without treating any single measure as a complete picture of quality.

The practical lesson is clear: AI makes mistakes, so organise the checks deliberately. For SBIT, that means quality from the first question, with clear expectations and useful evidence. AI can accelerate the work. The team remains responsible for what it delivers.

Sources

← All articles