Controls testing

What should we automate in operating effectiveness testing, and what should we not automate?

Automate matching and full population checks. Do not automate thresholds, exception judgment, or conclusions.

Ola Duduyemi, CBAP, CIA · Co-founder and CEO, CoAuditor

The automation line
AI and workflow do this
Read the full population
Match evidence to attributes
Flag exceptions above the threshold
Assemble the evidence trail
Auditors do this
Set population and threshold
Review every exception
Judge cause, extent and rating
Sign the conclusion
Source: CoAuditor analysisCoAuditor

Short answer

Automate the reading, matching, and checking that a system can do at scale, including full population tests, evidence extraction, and exception flagging. Do not automate the judgments that need context, including setting thresholds, deciding what an exception means, rating a deficiency, and signing a conclusion. That line is what makes automation trustworthy.

Key facts

  • The PCAOB staff update on 2025 inspections, published October 22, 2026, reported that the share of integrated audits with at least one ICFR deficiency fell from 27% to 14%, while review controls, control selection, and deficiency evaluation remained recurring problem areas. PCAOB Staff Update on 2025 Inspections
  • In the PCAOB 2025 inspection cycle, staff inspected 143 firms and reviewed portions of 780 public company audits, mostly for fiscal years ending in 2024. The 2025 figures are estimates because some reports were not yet final. Thomson Reuters, PCAOB 2025 inspections
  • The IIA Global Internal Audit Standards, Standard 10.3, require the chief audit executive to ensure the function has the technology needed to achieve its objectives. Technology is a condition for effectiveness, not a replacement for judgment. IIA Global Internal Audit Standards
  • Under PCAOB AS 2201, the auditor must evaluate design and operating effectiveness, and deficiency evaluation rests on magnitude and likelihood, with compensating controls considered. That evaluation is a judgment. PCAOB AS 2201
  • At 95% confidence, a 5% tolerable rate, and zero expected deviations, the illustrative attribute sample size for a large population is 59 items. Full population testing removes sampling risk where the data allows it. AICPA Audit Guide, Audit Sampling

Why automate operating effectiveness testing at all?

Operating effectiveness testing is where audit hours go, and where they are hardest to defend. A manual test asks an auditor to pull a sample, check each item against every attribute, record the result, and repeat that for the next control. The work is necessary, and it scales badly. A team of five cannot test ten times more evidence by working ten times harder. It can only sample, defer, or work late.

Automation changes the shape of that work. Where a control leaves system data, a tool can test the full population, flag the exceptions, and assemble the evidence trail as it goes. The auditor then spends time on the exceptions, not on pulling the sample. That is the case for automation. Manual testing is not wrong. Manual testing of a population a system could test in full is a use of scarce judgment time on work that does not need judgment.

The case against careless automation is just as strong. A tool that tests the wrong population, against the wrong attributes, at scale, produces a larger volume of weak evidence, faster. Automation needs a line, written down, that the team actually uses.

What should you automate first?

Start where the attributes are clear, the population is in a system, and the volume is high.

Automate firstWhy it fitsExample
Full population matchingAttributes are clear, data is in a system, volume is highThree way match of invoices, orders, and receiving reports, for every payment in the quarter
Approval and timing checksThe rule is a date, a name, and an amountChecking that orders over 5,000 dollars were approved by the budget owner before purchase
Duplicate and outlier detectionThe rule is a threshold, and the exceptions are fewFlagging duplicate payments and amounts above a threshold
Evidence extraction and linkingThe evidence is a document or a system recordPulling the invoice, order, and receiving report into one test file
Status and follow up trackingThe work is reminding, threading, and recordingTracking which evidence is in, which is overdue, and which exceptions are open

These five share a trait. The auditor can state the rule before the tool runs and check the result after it runs. That checkability makes them safe to automate.

What should you not automate?

Some work should stay with a human, even if a tool could produce a draft. The distinction is whether the decision needs context the tool does not have.

Do not automateWhy a human must own itWhat happens if you do
Setting the thresholdThe threshold reflects risk appetite and materialityA threshold is set that fits the data, not the risk
Deciding what an exception meansMeaning depends on cause, context, and patternExceptions are closed without judgment
Rating a deficiencyRating rests on magnitude, likelihood, and compensating controlsA rating is produced without the required judgment
Writing the final conclusionThe conclusion is owned by the auditor who signs itA conclusion is issued that no one can defend
Choosing which controls to testSelection rests on risk assessment and professional judgmentThe program tests what is easy, not what matters

A useful test is this: if the tool produced the answer, can the auditor explain it, defend it, and re-perform it? If yes, automation is working. If not, the task should not have been automated in that way.

How do you decide, control by control?

Use a short decision table before you automate a control. It takes ten minutes per control and prevents automating what is easy instead of what is ready.

Decision questionIf yes, automateIf no, keep manual
Is the population defined and in a system?Test the full population or a defined sample from that systemDefine the population first, or test manually from the source
Are the attributes clear and testable?Write the attributes down and automate the check against themClarify the attributes with the control owner first
Is the threshold stated?Automate the flagging of items above the thresholdSet the threshold with the auditor and the owner, then automate
Can a human check the result?Automate, with human review of every exceptionRedesign the test so the result is checkable
Does the exception need context to judge?Automate the flagging, keep the judgment manualKeep both the flagging and the judgment manual, or redesign the control

Work through that table for one control first, as a pilot. Automate it, run it, and have the auditor review every exception. Note what the tool got right and what it missed. Adjust the attributes and threshold, then run it again. Do not pilot five controls at once.

How do you keep human judgment in the loop?

Human judgment is not a final sign off at the end. It is a set of checks built into the workflow. First, a human sets the population, the attributes, and the threshold, before the tool runs. Second, a human reviews every exception the tool flags, including cause, extent, and disposition. Third, a human samples the items the tool passed, to check that it is not systematically missing a type of exception. Fourth, a human signs the conclusion and can explain how it was reached. That four step loop is simple enough to teach and specific enough to audit. No one has to guess whether they are expected to check the draft. They are expected to check it.

What are the risks of automating badly?

Four risks recur. The first is automation bias, where a clean result is trusted more than it should be because it looks complete. A full population test that used the wrong population is still the wrong test. The second is threshold drift, where the tool is adjusted to reduce exceptions instead of the control being fixed. Fewer flags is not a stronger control. The third is evidence without judgment, where the file is longer but the conclusion is weaker because no one judged the exceptions. The fourth is skill loss, where the team stops understanding the control because the tool does the checking. Keep manual skill alive by rotating the team through manual tests, even where automation is in place.

Where is the automation line?

AI and workflow do thisAI
  • Read the full population
  • Match evidence to attributes
  • Flag exceptions above the threshold
  • Assemble the evidence trail
The automation line← Adjust attributes and threshold from what review found
Auditors do thisPeople
  • Set the population, attributes, and threshold
  • Review every exception
  • Judge cause, extent, and rating
  • Sign the conclusion
Automation is not a handoff. It is a cycle.

What are the limits of automation in testing?

Automation does not make every control testable in full, and it does not remove the need for sampling where the population is not in a system or the evidence is judgmental. A review control that depends on a conversation, a control where the population is paper, and a control where the attributes are not yet clear, all need manual testing or a redesign first. Automation also does not remove bias or error. Human review is the control that makes automation defensible, not a formality.

How CoAuditor helps

CoAuditor lets auditors set the population, attributes, and thresholds once, then test the full population or a sample in one place, with Agentic AI checking every item and surfacing exceptions, while auditors own the threshold, the exception judgment, the rating, and the conclusion.

Sources

Frequently asked questions

Will automation replace the need for sampling?
For controls where full population testing fits, it removes sampling risk, because every item is tested. For manual and judgmental controls, sampling is still the right approach, using the method in Article 13.
How do we start automating without a large project?
Pick one control that passes the decision table, automate it as a pilot, and have an auditor review every exception. That pilot gives the team a pattern and evidence that the approach works.
What if the tool flags too many exceptions?
That is useful information, not a failure. It may mean the threshold is too low, the attributes are too broad, or the control is genuinely failing. Investigate the cause before adjusting the threshold.
Who is accountable when an automated test is wrong?
The auditor who signed the conclusion. Automation does not transfer accountability to a tool. That is why the signer must be able to explain and defend the result.

Watch the 3-minute film

How internal audit keeps pace with AI-era risk, and what MJ does in a real audit, start to finish.

About the author

Ola Duduyemi

Ola Duduyemi is the co-founder and CEO of CoAuditor, a Certified Business Analysis Professional (CBAP) and a member of the IIA Toronto Chapter. Ola studied economics and built a career in internal audit.

Your seat is waiting.

Speak on our shows, bring an outside view, co-author an article or open doors. Pick a program:

See MJ work on your own audit in 30 minutes.