It started close to home.
“Movement modelling is my route in; my grandfather’s strawberries are why it feels personal.” (From the June 2026 talk.)
Trap placement from a site map
BioPath takes the layout of a farmyard or grain store and the number of rodent traps or bait stations you can afford, and returns where to put them, with evidence anyone can check: how far the remotest corner is from a trap, how often a simulated wanderer is caught, and how a rule-of-thumb layout does on the same ground. The aim is to cut rodenticide use.
A research prototype built in 2026 for the University of Bristol's Early Career Enterprise Fellowship. Everything below runs on a synthetic map; the numbers are demo metrics, not field results.
A synthetic layout inspired by a Cambridgeshire farm, 28 × 13 m in 1 m cells: yards divided by walls, with a few gaps. Colour is the walk to the nearest trap.
The page solves in your browser with a line-for-line port of the package's placement step: shortest walking distance, greedy choice, then swaps while any swap helps. A test in the repository checks that it places the same traps as the Python code. The package can also optimise the capture rate directly and test it against biased movement; that runs in Python.
Metres from the top-left corner of the map.
| Measure | BioPath | Rule of thumb |
|---|---|---|
| Average walk to the nearest trap | 3.8 m | 7.2 m |
| 95% of the yard is within | 7 m | 17 m |
| Farthest open ground | 10 m | 19 m |
| Wanderers caught within 48 steps | 41% (33%–48%) | 26% (19%–32%) |
Rule of thumb is the package's own baseline: traps along walls first, at least 5 m apart. Caught is the share of 160 simulated random walks, started from random open cells, that reach a trap within 48 steps. A step is a move to a neighbouring 1 m cell or, about a quarter of the time, a pause. The range in brackets is a 95% interval.
The file is a valid BioPath map with the plan attached, and carries the command that reruns it with the Python package.
“Movement modelling is my route in; my grandfather’s strawberries are why it feels personal.” (From the June 2026 talk.)
Bait stations, snap traps and monitoring points are where rodent movement becomes evidence. BioPath asks where those points should go.
Better placement can mean fewer wasted checks, less rodenticide and fewer weak explanations.
Encounters are still random, but not uniform, once space has structure: walls, corridors and gaps shape where a wanderer is likely to arrive first. That first arrival — a first-passage process — is the subject of the research behind BioPath. The Python package can optimise it directly, and the browser demo uses walking distance as a fast stand-in.
A placement with numbers attached can be questioned: why these spots, and how good are they? The decision moves from gut feel alone to something a site can test.
The fellowship moved the question from "can it work?" to "who would use it, pay for it and come back to it?", and from leading with the method to leading with the decision.
A scheduled job, set to run every two hours, reruns the benchmark on the demo farm: six traps, chosen for the worst of three movement scenarios (a neutral walk, and walks drifting right or down), 160 simulated walks per scenario, fixed seed. Between 24 February and 25 November 2026 it was rerun 2,175 times on that map and returned the same answer every time. Each layout is scored on its own worst scenario: 48% caught (95% interval 40%–56%), against 15% for the rule-of-thumb layout and 30% for random layouts on average. With a fixed seed, the identical reruns show that the pipeline is reproducible, not that the estimate is precise; the 95% interval gives the precision.
These are not the demo's numbers. The demo places traps by walking distance and scores only the neutral walk. Scored on the neutral walk alone, the Python code gives the same rule-of-thumb layout 28%, close to the demo's 26%.
Latest rerun on record when this page was written: 25 November 2026, 16:36 UTC, run 20261125T163608Z-f0c45bd8.