BioPath

Trap placement from a site map

Map in. Traps out. Proof attached.

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.

Try it

1

Map

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.

123456
● numbered: BioPath traps◌ small rings: rule-of-thumb traps Traps are numbered; small rings show the other layout.

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.

2

Budget

3

BioPath's coordinates

Metres from the top-left corner of the map.

  1. 1x 22, y 8
  2. 2x 5, y 8
  3. 3x 21, y 2
  4. 4x 13, y 11
  5. 5x 12, y 4
  6. 6x 5, y 2
4

Proof

MeasureBioPathRule of thumb
Average walk to the nearest trap3.8 m7.2 m
95% of the yard is within7 m17 m
Farthest open ground10 m19 m
Wanderers caught within 48 steps41% (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.

Why traps, and why a map

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.)

A trap is where movement becomes evidence.

Bait stations, snap traps and monitoring points are where rodent movement becomes evidence. BioPath asks where those points should go.

A few metres change the work that follows.

Better placement can mean fewer wasted checks, less rodenticide and fewer weak explanations.

Movement is uncertain. The space shapes it.

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.

Coordinates, not just a picture.

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 hard question is trust.

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.

What exists

Solver
A Python package that reads a grid map with optional risk weights and places a given number of traps.
Proof bundle
Each benchmark run saves its traps, distances, capture estimates with intervals, scores under biased movement, and the rule-of-thumb and random baselines on the same map.
Interfaces
A command-line tool, a small web API, and this page.
Tests
Unit tests for the map reader, objectives, optimiser and capture model, and the browser-to-Python check.

Reproducible on every scheduled rerun

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.

Latest run summary · All scheduled runs on GitHub

Where it stands

  1. Place confirmed on the Early Career Enterprise Fellowship (one of 12 fellows in the 2026 cohort), on a proposal to turn first-passage research into trap-placement software.
  2. First commit of the platform: solver, API, saved runs and the scheduled benchmark.
  3. Pitched at New Enterprise, the university's start-up programme, in the Wills Memorial Building; a £150 development award followed on 2 March.
  4. Introduced among the 2026 Enterprise Fellows on the university's Enterprise & Innovation blog.
  5. Moved to the Growth stage of New Enterprise and was matched with a research-translation mentor.
  6. Presented as a PechaKucha, twenty slides of twenty seconds, at the University of Bristol Festival of Enterprise. The next step it named was deliberately small: one partner site, one baseline map, one evidence plan.
  7. Featured by the Careers Service: “From strawberry patch to PhD”.