Skip to content
problem genome

One of 592 unsolved problems in the Problem Genome, a collection written up for student design and engineering teams.

food-safety · agriculture

the error is in the scoop, not the kit

The sample handed to a mycotoxin test carries measurement error as large as the legal limit — and no widely validated sampling design exists for the bagged, heterogeneous lots of smallholder trade

Source: Tittlemier et al., “Current sampling plans can introduce high variance in…” Open ↗needs a better sourceLast updated: 2026-10-20

Problem statement

Aflatoxins and other mycotoxins are distributed extremely unevenly through a lot of grain or nuts — a few heavily contaminated kernels carry most of the toxin — so the concentration a laboratory reports depends less on the assay than on which kernels ended up in the sample. FAO's own sampling calculator shows that even the internationally agreed Codex sampling plans for maize and wheat "could result in total measurement error equivalent or greater than 90% of the current and proposed maximum levels" for aflatoxins in maize and ochratoxin A in wheat. Those plans are built for bulk consignments. Donnelly and colleagues note that most maize moves as cargo consignments, not in bags, and that the standards favour sampling from a moving stream during loading or unloading. In the bagged, mixed-origin lots that move through smallholder aggregation points and informal markets — where aflatoxin exposure is high — there is no widely validated, affordable sampling design, so a rapid test can pass or fail the same lot depending on the scoop.

Why this matters

Sampling error is not an academic nuisance: it decides whether a contaminated lot enters the food supply (a false accept) or a clean farmer's lot is rejected and dumped onto the unregulated market (a false reject). Donnelly and colleagues' 2022 systematic review concludes that "sampling is the major source of error in the accurate assessment of aflatoxin levels in food," that "the sampling step is the most crucial step, as this is the largest contributor to error and variability," and that "there is a lack of evidence to support this or indicate the current utilization of the reviewed procedures" — meaning the review found no evidence of how far the recommended sampling is actually practised. In low-income countries the trade-off is sharper still: "Developing countries have a limited mycotoxin sampling budget. Hence, the risk between sampling cost and effective monitoring of AFs in commodities is difficult, posing a further challenge." If the sample a field assay receives carries error near the regulatory limit, a better assay buys precision on the wrong step.

What’s been tried and why it hasn’t worked

Codex and national authorities publish sampling plans (numbers of incremental samples, aggregate sample mass, grinding and sub-sampling rules) derived from decades of variance studies, and FAO's online Mycotoxin Sampling Tool (2013–) lets a user see the operating-characteristic curve of any plan for 26 mycotoxin–commodity combinations without running costly trials. The Tittlemier–Whitaker analysis shows the limitation: applying the standard plans still leaves total error comparable to the maximum level, and a smaller laboratory sample makes it worse. Reviewers recommend "increasing sample size and frequency, automatic dynamic sampling techniques, adequate storage, and ensuring the complete homogenization of aggregate samples," but automatic dynamic (moving-stream) samplers presuppose bulk conveyance that bagged, hand-traded lots do not have, and larger aggregate samples presuppose grinding capacity and laboratory access that a limited sampling budget may not cover. The prescription for developing countries — "an optimum AF sampling procedure ... must be cost-effective but will also produce accurate results" — has been stated as a requirement rather than delivered as a design. The Tittlemier–Whitaker paper notes that sampling error has been reported to overshadow error due to analysis by more than a factor of 100, leaving sampling as the dominant term.

What would unlock progress

The unlock is a sampling design and physical toolkit sized to the smallholder lot — bag-level probing patterns, low-cost compositing and grinding, and decision rules that treat a rapid-test result as an interval rather than a number — with its operating characteristics quantified using the same variance framework FAO's tool already implements. Adjacent precedents: acceptance-sampling theory in manufacturing quality control, which routinely designs plans for small lots under cost constraints, and portable milling/mixing devices developed for on-farm seed and feed processing.

Where to start

A student team could use FAO's Mycotoxin Sampling Tool to characterize how misclassification risk changes as sample size and increments are reduced toward what a village aggregator can afford, and then design and field-test a bag-probing and compositing protocol whose measured variance beats the naive single-scoop practice. A hardware team could prototype a hand-powered grinder-splitter that produces a homogenized test portion from a 1–5 kg aggregate sample at aggregation-point cost. A decision-science team could design a sequential-testing rule (test, and if near the limit, resample) that minimizes false accepts and false rejects for a given testing budget. Relevant skills: statistics, mechanical design, agricultural extension, food chemistry.

Genes

Related problems

Stuck the same way, in other fields.

field: society & learningthe befriender who never calledA telephone friendship-group trial for people over 74 recruited its older participants but closed early because the charity could not recruit and keep volunteers — 42 enquiries, four who started — and formal volunteering in England has fallen since and not recoveredbuilt without the people who'd live with itsource: primaryfield: health & medicinea voice mostly in englishSouth African adults who use communication aids understand several languages, but their speech-generating devices spoke almost only English: among 18 device users from non-English homes, one had a synthetic voice in her home languagebuilt without the people who'd live with itsource: primaryfield: health & medicinethe locator left unchargedNorwegian towns gave people with dementia GPS locators so they could walk out freely, but in the pilots some ran flat or were thrown away as too big; a 2026 review still names battery and charging among the key limits, and year-long Bluetooth tags remove charging, but fewer than half of carers in one study were satisfied with their accuracybuilt without the people who'd live with itsource: secondaryfield: digital & spacea bubble that keeps every stranger outSocial VR platforms give players mute, block, report and personal-space bubbles, but in a 100-player survey harassment stayed common and the VR-specific tools were little used; for disabled players, reactive tools act too late, default boundaries also keep out welcome strangers, and visible tools carry a social costbuilt without the people who'd live with itsource: primary

Sources

  • Tittlemier, S.A. & Whitaker, T.B, "Current sampling plans can introduce high variance in mycotoxin testing results as demonstrated by the online FAO Mycotoxin Sampling Tool," World Mycotoxin Journal 16(2): 115–126, 2023, accessed 2026-08-17 (abstract and metadata) Link ↗
  • Donnelly, R, Elliott, C, Zhang, G, Baker, B. & Meneely, J, "Understanding Current Methods for Sampling of Aflatoxins in Corn and to Generate a Best Practice Framework," Toxins (Basel), 2022, accessed 2026-08-17. Link ↗
  • FAO Mycotoxin Sampling Tool v1.1, accessed 2026-08-17. Link ↗
Revision notes

This brief gets checked against its sources and contains the following revisions. Future revisions get added here.

Worth knowing

  • the account of smallholder aggregation points, informal markets and village aggregators is the write-up's framing of the problem, not the sources'

Sources read

  • Tittlemier and Whitaker, World Mycotoxin Journal (2023): full text
  • Donnelly et al., systematic review of aflatoxin sampling in corn, Toxins (2022): full text
  • FAO Mycotoxin Sampling Tool, version 1.1: full text (a calculator; only its instructions are text)

What changed

  • Not found in the sources, removed: that considerable investment has gone into cheaper, faster field tests.
  • Not found in the sources, replaced with what they say: that sampling plans were designed for large, mechanically handled consignments; the page now says they are built for bulk cargo, sampled from a moving stream, and that most maize moves as cargo, not in bags; that a trader's budget makes the plan worse, now that a smaller laboratory sample does, as the paper's tables show; that informal markets lack toxin-lab access, now the review's point that developing countries have limited sampling budgets; that rapid kits have made the analysis more precise, now the paper's statement that sampling error can outweigh analysis error more than 100 times.
  • Stated more strongly than the source: "where the disease burden is highest" now reads where aflatoxin exposure is high; that nobody knows whether recommended sampling is practised, now that the review found no evidence of how far it is.
  • Title: the long title no longer opens by saying test kits have become cheap and fast; it now says the sample carries error as large as the legal limit and no widely validated design exists for smallholder lots (display title unchanged).
  • Other: "falling-stream" samplers now reads moving-stream, the review's term.

Left open

None noted in this check.