# When does a reading become evidence?

Download and extract the [experiment bundle](https://zidingz.com/research/when-does-a-reading-become-evidence/experiment.zip). With Python 3.10 or later, run these commands from the extracted directory:

```sh
python3 -B rival-one-case/discover.py < rival-one-case/case.json | diff rival-one-case/prediction.json -
python3 -B strip-measurement/design.py < strip-measurement/public.json | diff strip-measurement/proposal.json -
python3 -B strip-measurement/observe.py | diff strip-measurement/readings.json -
python3 -B check.py
```

The first three comparisons should print nothing. The last check independently counts crossed intervals on the selected paths. The original example fixed its predictions before scanning. Rerunning it reproduces a simulation.

To extend it, change the steady offset to one that changes between reads, add repeated measurements at the same edge as a candidate control, or allow ink to spread between cells. Specify the predictions before running the changed instrument.

[Walk through the examples](https://zidingz.com/interactive/ink-strip/).
