The MRL is usually determined by repeated (on the order of 10) field trials, where the crop has been treated according to good agricultural practice (GAP) and an appropriate pre harvest interval or withholding period has elapsed.  For many pesticides this is set at the limit of determination (LOD) – since only major pesticides have been evaluated and understanding of acceptable daily intake (ADI) is incomplete (i.e. producers or public bodies have not submitted MRL data – often because these were not required in the past).  LOD can be considered a measure of presence/absence, but certain residues may not be quantifiable at very low levels.  For this reason the limit of quantification (LOQ) is often used instead of the LOD. As a rule of thumb the LOQ is approximately two times the LOD.  For substances that are not included in any of the annexes in EU regulations, a default MRL of 0.01 mg/kg normally applies.
It follows that adoption of GAP at the farm level must be a priority, and includes the withdrawal of obsolete pesticides.  With increasingly sensitive detection equipment, a certain amount of pesticide residue will often be measured following field use.  In the current regulatory environment, it would be wise for cocoa producers to focus only on pest control agents that are permitted for use in the EU and US. It should be stressed that MRLs are set on the basis of observations and not on ADIs.