Updates mainly from what just happened.
- Reward
- 0.0
- Stability
- 0%
- Confidence
- 0%
Reinforcement learning workbench
Compare an agent that reacts now with one that predicts what comes next. Change the environment, run the same trial, and inspect where anticipation earns its keep.
Environment
Training run
Decision, not decoration
Run the sample trial to compare both policies.
Updates mainly from what just happened.
Propagates expected value back toward the choice.
Transparent by design
Delayed rewards are propagated backward using the future-discount setting. Higher delay weakens the signal.
Uncertainty lowers both policies' confidence and penalizes long-horizon predictions more heavily.
This is a deterministic intuition aid. It does not model neurons, dopamine, clinical behavior, or production-grade RL.
At saved learning rate point two eight, discount point eight two, delay four and uncertainty point two four, the written reactive ceiling is fifty two point eight one and predictive ceiling about sixty one point six one four. The bars use eight pixels per ceiling point. The source multiplies each ceiling by a different exponential progress curve and floors actual values at four. These are deterministic invented equations, not learned policy performance or biological measurements. Predictive stability is ninety four minus uncertainty times sixty seven minus delay times two point one, floored at five. The sample yields sixty nine point five two; edge uncertainty point seven eight and delay nine yields twenty two point eight four. These bars use six pixels per displayed stability unit. The percent-style labels are formula outputs, not calibrated confidence or observed reliability. The source recomputes arrays from index zero through the current step, so sixty advances give sixty one sampled values. These bars compare sixty intervals with sixty one points at seven pixels per count. Timed running schedules real fifty five millisecond advances; manual Step advances one. JSON exports assumptions, current step and finding but not the full arrays or scores. No trained model or real experiment is run.