tcai_calibrate
Calibrates the halting threshold by measuring free-energy increments and setting epsFreeEnergy to a factor of their median. Returns the ΔF scale and applied threshold.
Instructions
Calibrate the halting threshold on the measured ΔF scale instead of a guessed constant. Runs cycles warm-up cycles at the given reward, records the free-energy increments |ΔF|, and sets epsFreeEnergy to factor× their median. Returns the measured ΔF scale and the applied threshold. Addresses the v2.9 critique that the default 0.02 nats was uncalibrated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cycles | No | Warm-up cycles to measure ΔF (default 25) | |
| reward | No | Reward signal during warm-up (default 0.8) | |
| factor | No | epsFreeEnergy = factor × median|ΔF| (default 0.5) |