Plant protection requirements as verifiable rules
Field data, requirements and evidence are linked into one set of rules. Every result can be traced back to its source and requirement, so the same logic serves producer self-assessment, advisory work and inspection.
Problem
Integrated pest management control relies on the farmer's own declaration. The questionnaire-based indicator shows a near-perfect pass rate every year and in practice measures nothing.
What is different
The declaration is not a form to fill in but an output built from the farmer's data. The rule set is the product and the app is its reference implementation. The farmer sees tasks in plain language, not rules: fix two entries, add one observation, explain a stock gap.
Invisible layers
- A fully deterministic rule engine; no language model in evaluation. Seven of 35 rules already run: crop rotation, observation before spraying, justification for preventive spraying, product authorised for the crop, resistance management and stock balance.
- Six outcome types, and missing data never yields "compliant". The engine only emits signals. An inspector confirms a violation.
- Each data source carries a trust level: register, timestamped mandatory entry, farmer upload, or a bare claim.
- A public rule-set page with downloadable rules and a test set, so anyone can rerun the same logic.
- A test page checks the engine against pinned test data. Green means the logic is right, not that the farm complies.
- A source check compares the case data with live registers: field crop history and the plant protection product register.
- A simulated submission turns the declaration into a hashed, versioned snapshot. An inspector who opens the full declaration must give a reason, which is logged.
What comes next
The remaining rules, domain sign-off on thresholds, real e-field-book integrations, and a rule set field-book vendors can run themselves.