Select samples that expose material failure

A delivery platform's AI system temporarily restricts a bicycle courier after an unusually slow trip, even though delays came from a broken lift, a late restaurant order, and a closed street. Management points to a low overall restriction rate, but the audit committee wants to k…

A bicycle courier finishes a restaurant delivery twenty minutes later than the app predicted. The lift at the customer's building was broken, the order was not ready when the courier arrived, and a street was closed for repairs. The delivery platform's AI service flags the trip as suspiciously slow and temporarily restricts the courier's account. The courier appeals, but the restriction remains in place long enough to remove several shifts from the week's schedule. In this constructed case, the platform tells its audit committee that the system handles millions of trips and that only a small percentage lead to account restrictions. That reassuring percentage is exactly where a poorly planned audit can go wrong.

The committee wants to know whether restrictions are appropriately supported and whether people can correct unjustified decisions in time. Auditors cannot examine every delivery in depth. They will need selected cases. But selecting a few convenient records from the platform's existing appeal dashboard could produce a conclusion about the wrong population. The dashboard shows the cases that couriers chose and managed to appeal. It may exclude restrictions that ended before an appeal, complaints submitted through another channel, couriers who stopped using the platform, and cases the system never flagged. The first sampling decision is therefore not how many records to inspect. It is what complete set of events could answer the audit question.

For an optional study companion, the Bare Metal Cyber AAIA study guide is useful for revisiting the connection between audit objectives, populations, and evidence after listening. The examples in a guide can help you practice that reasoning, but the courier platform's logs and control expectations determine whether any actual sample is fit for this engagement. There is no universal number of records that magically makes the review defensible.

Suppose the objective is to determine whether account restrictions were issued only when the required evidence and review controls were present. The relevant population is the set of restriction decisions during the defined audit period, including those reversed, quickly lifted, and still under appeal. Each selected decision needs the context in which it was made. The number of deliveries is useful background but is not the direct denominator for this assertion. If the question changes to whether potentially abusive deliveries are being missed, the auditor may also need an appropriate population of nonrestricted trips and trustworthy outcome evidence. One sample cannot answer both questions simply because the records all came from the same app.

Start by defining the unit being sampled. A courier can complete many trips, and a trip can generate more than one alert. An alert might lead to no restriction, a warning, or a suspended account. If the audit uses trips as units while the control operates on restriction decisions, frequent couriers and repeated alerts can distort the result. The work program should make the unit explicit and connect it to the control. It may also need to distinguish an original restriction from an extension or renewal, because a fresh restriction decision may require a new approval or another opportunity for review.

Before anyone draws a sample, the audit team needs confidence that the population is complete. Ask where restriction records originate, whether older decisions are archived, and whether different regions use the same event store. Compare the decision counts against account-status histories, customer support reports, and the payment or scheduling system where feasible. A restriction that affected a courier's ability to accept shifts should leave some trace beyond an appeals dashboard. If the extract excludes records that were deleted after reversal, a perfectly random sample from that extract will still overlook an important class of failures.

The simplest random selection has a genuine advantage. It gives ordinary cases a chance to appear without the auditor choosing only the dramatic complaints already familiar to management. Under an appropriate statistical design, it can support an estimate of a defined deviation rate, with stated uncertainty. But the selection must be drawn from a reliable population, and the method and sample size must fit the desired assurance. Calling fifty casually chosen cases a random sample will not make them representative. Nor will random selection reliably surface rare failures when the subgroup at risk is very small.

To understand the last problem, picture two thousand account restrictions in a quarter. Most involve short delivery delays that were quickly reviewed. A much smaller set occurs on overnight bicycle routes during severe weather, when the predicted trip time may become unreliable. An unrestricted random sample could contain very few of those cases. The average control result might look satisfactory even if that small group experiences prolonged account suspensions with weak evidence. The audit should not hide those cases inside an overall rate that answers a narrower, less consequential question.

The team can supplement broad coverage with deliberately targeted selections. Include restrictions following abnormal route conditions, unusually long review delays, repeated appeals, decisions close to a model's risk threshold, and periods immediately after a system change. That is risk-based selection. It can reveal whether a failure mode exists and how the control handles it. It is not interchangeable with a properly designed statistical sample for estimating a population-wide error rate. An auditor who deliberately chooses the most suspicious cases should not take the fraction of exceptions found and claim that the same fraction applies to every courier.

Sometimes separating the population into meaningful groups is more effective than choosing an undifferentiated sample. The platform operates in dense city centers, suburban routes, and towns where restaurant pickup times are less predictable. It uses several model versions and different overnight staffing arrangements. Stratifying selections by those conditions can help reveal whether the same policy is implemented consistently. It can also make comparisons more defensible. Segments must reflect the engagement's risks, and any combined estimate needs a method that accounts for the actual sizes of the groups rather than treating a deliberately oversampled small group as half the business.

A Bare Metal Cyber Cyber Wiki entry on AI audit sampling strategy offers useful follow-up when this distinction becomes difficult. It covers population definition, sampling units, stratification, selection records, and limits on projection. You can use it after the lesson to challenge a proposed sample, especially when someone offers a large number of records without explaining which cases were eligible to be selected. A large sample from a biased extract can still leave the central audit question unanswered.

Now trace one selected restriction back to the decision that produced it. The auditor needs the route conditions available at the time, the event the model evaluated, any data-quality warnings, the model or configuration version, the policy threshold, and the human action that followed. A note entered a week later may explain a courier's delay, but it is not necessarily evidence the system possessed at the original decision point. That difference becomes important when evaluating whether the restriction was reasonable given the information available, whether a review should have requested more context, and how the appeals process handled new evidence.

The audit should also sample decisions that appear successful. If the team selects only overturned restrictions, it can learn how failures happen but not how consistently the control operates when reviewers agree with the system. Conversely, reviewing only decisions that remained in force would exclude the cases most likely to reveal corrective action and mistaken restrictions. A sound design preserves both ordinary and exceptional paths, with a clear reason for each group. What counts as an error must come from the agreed criterion, not from whether a courier complained or a reviewer happened to agree.

Threshold cases can teach the auditor something that a random sample might overlook. Suppose the model treats delays just above a certain risk level as requiring review, while delays just below it receive no action. Cases close to that boundary may differ only slightly in their recorded features. Looking at both sides can reveal abrupt treatment differences, rounding issues, or an unanticipated effect of missing data. That approach helps test how the rule behaves near an important decision. It does not, by itself, establish how often serious misconduct was missed in the full set of deliveries.

Time deserves its own attention. During the audit period, the platform changes its risk model and later reduces its appeals team's overnight staffing. A sample dominated by the newest model might conceal failures under the old one. A sample of model outputs alone might miss the staffing change, even though delayed review creates most of the economic harm. The selection plan should preserve both the model version and the human process in force when each restriction occurred. An improvement in today's system does not prove that last month's controls operated effectively.

There is a temptation to ask whether the model is fair across every imaginable demographic group and then gather whatever personal data makes the comparison possible. An auditor should instead begin with the risk and lawful, approved data use. A location or time-of-day analysis may expose concentrated error, but location can also reflect business conditions and may correlate imperfectly with protected characteristics. If an assessment requires sensitive information, its collection, access, interpretation, and retention need appropriate authorization and safeguards. Finding unequal results calls for investigation of cause and consequence, not an automatic claim about intent or discrimination.

Missing selected items create a subtler sampling hazard. Suppose twenty restrictions drawn for review have no original model score because an old vendor system retained only the final decision. Replacing those items with easy-to-retrieve records may produce a cleaner workpaper and a more misleading conclusion. The unavailable cases should remain visible as an evidence limitation. The auditor can investigate whether they cluster in a particular period, vendor, or decision outcome. Any justified replacement method should be documented, and the team needs to reconsider what can be concluded about the original population.

For a statistical estimate, the team must explain the sampling design and the uncertainty around its result. The required sample size depends on factors such as population, expected deviation, tolerable error, and desired confidence. There is no need to recite formulas during a spoken lesson to understand the decision. If management wants to know whether deviations remain below an approved tolerance, the audit must choose a design capable of estimating that rate with appropriate precision. If the immediate aim is to find whether a severe failure path exists, targeted tests may be more efficient, provided their limits are communicated.

Consider what happens when one sampled case reveals a courier restricted for three days because the appeals queue never reached an authorized reviewer. The event may be too rare to dominate a population-rate estimate, but its consequence may be serious enough to warrant urgent investigation. The auditor should distinguish frequency from severity, determine whether the same failure could affect other couriers, and ask what the control was supposed to prevent. Ten minor documentation errors and one prolonged unjustified loss of earning opportunity do not necessarily carry the same significance. Sampling informs professional judgment; it does not replace it.

At the end of the work, the audit committee deserves a conclusion proportional to the method. A properly designed statistical sample might support a qualified estimate of how often restrictions lacked a required approval during a defined period. Targeted examination of severe-weather cases might support a finding that the review process fails under particular conditions. A set of complaint files might show that appeals sometimes take too long, without establishing the rate across all couriers. Each is potentially useful evidence. None should be described as proving more than its selection method and source quality allow.

Return to the courier whose delayed trip began the case. The most useful audit is not the one that boasts of inspecting the largest number of records. It is the one that can say which decisions were eligible for selection, where the selected evidence came from, what situations were deliberately tested, and how far the conclusions can extend. The original restriction may reveal a poor model threshold, weak contextual data, a slow appeals process, or several interacting problems. A carefully designed sample helps distinguish those possibilities without hiding the rare harms inside averages or projecting exceptional cases onto everyone. That is how sampling becomes an act of disciplined judgment rather than a ritual of counting.

Select samples that expose material failure
Broadcast by