Evidence for release decisions

AI for Quality Assurance

Evaluate AI-assisted testing and inspection through defect severity, reference evidence, false acceptance and controlled release.

AI can help quality teams find defects, propose tests and organise evidence. It should improve the decision about whether a product, service or software change is acceptable. A larger number of detected anomalies is not automatically better quality: some anomalies are harmless, some genuine defects are missed and an overloaded review queue can delay release without improving it.

This guide is for quality managers and release owners evaluating AI-assisted inspection or testing. It focuses on the relationship between a requirement, the evidence collected and the authorised release decision. The same discipline applies to a visual inspection station and to software test assistance, although their data, failure consequences and validation methods differ.

Start with an acceptance requirement, not a model label

Define what counts as a defect in the operating context. A cosmetic mark may be acceptable on an internal component but unacceptable on a visible surface. A software response may be grammatically correct but fail a required calculation or access rule. The quality team needs a versioned specification, severity definitions and examples that distinguish acceptable variation from nonconformance.

Separate detection from disposition. AI may flag an item for review, but a reviewer may accept it, request rework, reject it or investigate the measurement process. Do not collapse these outcomes into a single pass/fail label. A final rejection can depend on contractual requirements, engineering judgment or an approved concession that the detector does not possess.

Choose where assistance enters the quality process

In physical inspection, a model can highlight suspected surface defects or measurement anomalies for an inspector. The scope must include the camera, lighting, part positioning and calibration conditions, because a good model cannot recover evidence that the capture process never recorded. For process-quality monitoring, the signal may be a trend requiring investigation rather than a specific defective item.

In software quality, AI can draft test cases from requirements, suggest boundary conditions and summarise failures. A generated test is only useful if its expected outcome is independently justified. If the same model invents the requirement, test and expected answer, a passing result can merely demonstrate internal agreement. Keep deterministic tests for exact rules and use AI where interpretation or breadth adds value.

Build a release evidence record

AI-assisted quality acceptance record
Evidence fieldRequired content
RequirementSpecification ID, version, scope and severity of nonconformance
Test itemProduct batch, specimen or software build with traceable input
Expected outcomeReviewed reference result and how disagreement was resolved
Observed outputAI finding, supporting image or execution evidence and configuration
DispositionAccepted, reworked, rejected or escalated, with authorised reviewer
LimitationsConditions not covered and triggers requiring renewed evaluation

This record should allow someone outside the project to reconstruct why release was permitted. Link bulky images and test logs rather than copying everything into a summary. Preserve failed cases as well as successful examples. A release report that displays only the cleanest demonstrations cannot establish the behaviour of the inspection process.

Understand both kinds of quality error

A false acceptance lets a defective item pass. A false rejection sends an acceptable item for unnecessary investigation or rework. Their consequences differ, so the quality owner should define acceptable trade-offs by defect severity and product context. An inspection threshold that suits a cosmetic issue may be unsuitable for a material safety or functional requirement.

In an illustrative test, 500 specimens contain 40 reviewed defects and 460 acceptable items. The detector flags 36 defects and 18 acceptable items. It misses four defects. Defect recall is 36 ÷ 40 = 90%; precision among flagged items is 36 ÷ 54 ≈ 66.7%; the false-rejection rate among acceptable items is 18 ÷ 460 ≈ 3.9%. These are different denominators and should be reported explicitly.

None of those figures establishes that the system is suitable for release. Inspect the four missed defects, the cost of reviewing 54 flags and the representativeness of the specimens. The example is arithmetic, not a target or a reported customer result. For rare defects, an apparently excellent overall accuracy can be achieved while failing to identify the cases that matter.

Create reference evidence the model cannot manufacture

Use competent inspectors or subject specialists to establish reference outcomes. Resolve disagreements and preserve uncertain cases as a separate category where necessary. For physical defects, obtain enough views or measurements to support the label. For software, link the expected result to the approved requirement and a reproducible execution.

Keep training examples separate from evaluation examples, including near-duplicate images, repeated parts and related software cases. A random image split can leak the same physical item into both groups. Test across relevant production lots, devices, lighting conditions or software versions. NIST's AI measurement and evaluation programme emphasises measurement and evaluation methods; your acceptance evidence still needs to represent your own operating task.

Keep the reviewer from becoming a rubber stamp

Show the evidence before the proposed disposition when that helps reduce anchoring. Give reviewers a way to disagree and record why. Sample apparently accepted items, because reviewing only flagged cases leaves false acceptances largely invisible. Reviewers need enough time and domain competence to assess the evidence; a mandatory approval click does not itself provide meaningful control.

Set a policy for uncertainty. An out-of-scope product, missing view or changed software dependency should trigger a defined fallback rather than an overconfident pass. For extracted operational data, field-level acceptance addresses source and record correctness. For physical assets, predictive maintenance concerns future failure and intervention timing, which is different from deciding whether today's inspected output meets specification.

Test the whole station or release process

Measure capture failures, inference delay, queue capacity, review effort and final disposition, not just model scores. A camera that occasionally captures the wrong part can undermine an otherwise strong detector. A software test assistant that produces useful suggestions but cannot associate them with the correct build creates a different traceability problem.

Exercise the reject mechanism or software release gate under realistic conditions. Confirm what happens if the model is unavailable, evidence storage fails or a reviewer is absent. Production teams should know whether work stops, enters manual inspection or proceeds under a separately authorised fallback. These decisions belong in the operating procedure and must not be improvised by the model.

Control changes that invalidate earlier evidence

Version the specification, data preparation, model, threshold and relevant capture or execution conditions. A new camera angle or product finish may change performance even when the model file is unchanged. A requirement update may change the correct expected answer without any technical failure. Identify which changes require a targeted retest and which require a broader qualification.

Keep a protected regression set covering previously observed failures. Add new production issues after review without replacing the original test history. The automation failure post-mortem helps reconstruct a serious escape or disruption; the quality process should then turn the lesson into a verified acceptance check and a clear release condition.

Connect findings to the people who can improve the process

Classify defects by actionable cause when evidence supports it, such as a recurring packaging error, a changed supplier component or an ambiguous requirement. Avoid presenting speculative root causes as findings. A detector may identify a pattern without explaining why it occurs. Engineering or process owners should confirm the cause before changing production conditions.

For manufacturing operations, link accepted findings to batch and process records so that containment and corrective action remain traceable. For software, route verified failures to the appropriate team with reproduction steps. Measure whether confirmed issues recur after the corrective action, and distinguish a decrease in observed defects from a decrease in inspection coverage.

State what the test does not establish

A release test may contain no observed failures and still cover only a narrow set of conditions. Record the specimen count, product variants, shifts, software environments and excluded cases. Do not convert a clean demonstration into a universal reliability claim. The acceptance decision should explain why the covered conditions are sufficient for the intended scope and what happens outside them.

For a rare but severe defect, collecting many easy examples does not replace relevant challenge cases. Agree how those cases are obtained and reviewed without letting synthetic examples become the only evidence of operational performance. Where the test population is deliberately enriched with defects, explain that its precision does not automatically represent the everyday production mix. Keep qualification evidence and routine monitoring distinct: the former supports a release decision, while the latter checks whether actual operation remains within the conditions that decision relied on. Both require an owner and a response when evidence becomes insufficient.

Specify the pilot as a release decision experiment

Agree the requirement set, defect families, reference process, severity-based measures, review capacity and permitted authority. Run alongside the existing quality process until the evidence supports a defined change. Compare the complete workflow with the existing baseline, including rework, escaped defects and review burden. Do not replace a proven deterministic check merely because the new system can produce an explanation.

Use operations tool evaluation to control the comparison and the use-case brief to document its scope. Bring a small set of accepted and rejected examples with sensitive information masked, the relevant specification and a recent release disagreement to discuss AI-assisted quality assurance through OpenForAI's AI Solutions.

FAQ

Your questions, answered.

Can AI generate software tests from requirements?

It can propose tests and boundary cases, but the expected results need an independent basis in approved requirements. Review coverage, execute the tests and preserve reproducible evidence. A generated test that passes against an invented expected answer proves little. Keep exact checks for calculations, permissions and other deterministic rules where those checks provide reliable acceptance evidence.

What matters more: false acceptances or false rejections?

Their relative importance depends on defect severity, customer consequences, review capacity and rework cost. Define the trade-off explicitly rather than choosing a universal threshold. Report both error types with their denominators and examine consequential misses individually. A threshold that reduces review workload may allow more defects through, so the quality owner must approve the resulting operating policy.

Can visual inspection work with existing cameras?

Possibly, but suitability must be demonstrated on the actual capture conditions. Review resolution, positioning, lighting, motion, occlusion and whether the defect is physically visible. Test across relevant shifts and product variants. Reusing a camera is valuable only if the captured evidence supports the inspection requirement; model sophistication cannot compensate for an unseen surface or consistently blurred image.

Who should approve an AI-assisted release decision?

The person or role authorised by the existing quality and release process should remain responsible unless a formally agreed change reallocates authority. AI may collect evidence and recommend disposition. Record the applicable specification, review outcome and limitations. A technology supplier or model score cannot independently grant the business authority required to release a product or software change.

When should an inspection model be re-evaluated?

Use defined change triggers, including new product variants, altered capture conditions, specification changes, new failure patterns and relevant model or threshold updates. The extent of testing should match what changed and what earlier evidence depended on. Preserve a regression set, but do not assume that passing old examples demonstrates performance on a newly introduced material or operating condition.

How can we detect defects that the AI passed?

Review a representative sample of accepted items and compare downstream findings with the original inspection evidence. Include sufficiently challenging examples and severity-based sampling where justified. Reviewing only alerts measures the quality of flags but leaves missed defects poorly observed. If an escape is found, reconstruct capture, model output, review and disposition before deciding which part of the process needs correction.

LET’S WORK TOGETHER

Ready to build what’s next?

Tell us about your project or the platform you want to explore, and we’ll come back to confirm a suitable time.