tcai_calibrate
Calibrate the halting threshold by measuring free-energy increments during warm-up cycles and setting the threshold to a factor times their median, eliminating uncalibrated defaults.
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.6 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) |