---
name: reproduce-rc-characterization
description: Reproduce the sample RC low-pass characterization experiment on this page - regenerate the JSONL dataset, sidecar metadata, and Bode plot deterministically. Trigger words - reproduce the experiment, rerun the RC experiment, regenerate the dataset, verify the data, rc lowpass sample experiment.
user-invocable: true
---

# Reproduce the RC low-pass characterization

This page's dataset is fully reproducible. One command regenerates everything:

```bash
python3 analysis/run_experiment.py
```

It rewrites, deterministically (bit-for-bit):

- `data/rc_lowpass_response.jsonl` - 101 rows, 20 points/decade, 10 Hz - 1 MHz
- `data/rc_lowpass_response.sidecar.json` - dataset metadata (schema, units, parameters, sha256)
- `docs/bode-plot.png` - the Bode plot in the README

To verify integrity instead of regenerating, compare the dataset's sha256 with
the value recorded in the sidecar:

```bash
sha256sum data/rc_lowpass_response.jsonl
python3 -c "import json; print(json.load(open('data/rc_lowpass_response.sidecar.json'))['sha256'])"
```

Change `R_OHMS` / `C_FARADS` at the top of `analysis/run_experiment.py` to
characterize a different filter; the sidecar and plot update to match.
