Sampling exists because reading every record by hand was impossible. For digital records that limit is gone. An auditor can screen every cycle log, test result or inspection image before deciding where to spend time on site, and sampling becomes a deliberate choice instead of a necessity.
Screening everything only helps if the data can be trusted. Ask whether the export is complete, whether clocks across systems agree, who can edit or delete records and whether the system keeps an audit trail. In regulated sectors, the familiar data integrity expectations, that records be attributable, readable, captured at the time of the event, original, accurate, complete, consistent and preserved as long as needed, offer a ready checklist. A sophisticated analysis of an incomplete export is only a confident wrong answer.
An anomaly is a statistical surprise, not a proven nonconformity. It may be a genuine deviation, a legitimate special event such as a maintenance trial, a data fault such as a drifting sensor, or an undocumented change to the process. Only investigation tells which. And when the audited process itself uses machine vision, look at both error directions: false rejects, where good parts are scrapped, and false accepts, where defective parts pass. The second is the one that reaches customers.
The same discipline applies when you question a generative model. These systems are built to be agreeable, and sycophancy is a real failure mode: hint at the answer you expect and the model will build a persuasive case for it, evidence or not. Ask it to explain why a training process fails a requirement and you will get a fluent argument for failure, even from a procedure that is perfectly compliant. The cure is a better prompt. Bind the model to the supplied evidence, forbid outside assumptions, demand exact quotes or record IDs for every observation, and explicitly allow the answer "not found". Because models can also produce a different answer on a second run, keep the prompt and the output you relied on.
Standard Procedure
- 1Request raw exports and field definitions during preparation, and record how and when the data was extracted.
- 2Test the export before analysis: compare record counts with system totals, look for gaps and duplicates, check timestamps and ask for the edit history.
- 3Focus on streams tied to product conformity: temperature profiles, pressures, torque curves, cycle times, yields, calibration offsets and vision-system rejects.
- 4For each anomaly cluster, list the alternative explanations (real deviation, planned event, data fault, process change) and decide which on-site evidence would separate them.
- 5Examine how the auditee handled exceptions: containment, investigation and the release decision.
- 6For vision-based processes, request data on both false rejects and false accepts, and give false accepts more weight.
- 7Write analysis prompts in four parts: a neutral role, a strict scope (only the attached evidence), explicit criteria and an uncertainty rule. For example: "You are reviewing training records against the requirement text below. Use only the attached records. For each requirement, list the supporting record IDs with exact quotes, or write NOT FOUND. Do not assume anything the records do not state."
- 8For serious observations, run a counter-prompt that asks for evidence against your preliminary view, check that every quote really exists in the source, save prompts and outputs, and keep proven prompts in a shared, version-controlled library.
Lesson Summary
- ✓Full-population screening turns sampling from a hard limit into a choice, provided the data is complete and trustworthy.
- ✓An anomaly is a lead. The trail from signal to physical root cause is the evidence.
- ✓For vision-governed processes, the false accept rate matters most.
- ✓Neutral, quote-demanding prompts counter sycophancy. Leading questions manufacture findings.