A small, dependency-free toolkit for online decision-making under uncertainty: register arms, ask which to play, record rewards, and let a pluggable policy balance exploration and exploitation. Ships Thompson Sampling, epsilon-greedy, UCB1 and Softmax; state serialises to a plain Hash for persistence and every policy is deterministic under an injected RNG for testing.

Required Ruby Version

>= 3.1

Authors

Skiftet

Versions

  1. 0.1.0 July 02, 2026 (13.5 KB)

Pushed by

GitHub

SHA 256 checksum

Provenance