Changelog
tilttek/dice-jailAll notable changes to tilttek/dice-jail will be documented in this file.
Updates should follow the Keep a CHANGELOG principles.
0.1.0-alpha - 2026-11-20
Added
Jail\Warden,Jail\Inmate,Jail\JailEvent,Jail\EventKindandJail\Evidence: a member's die jailed for a sentence that ends by itself or until released, once at a time, at most 1 000 per keeper; releases; the dice in jail in the order they went in; the history of each die; the statistics shown kept with the jailing; a keeper refused when written as an email address.Statistics\GoodnessOfFit,Statistics\FitResult,Statistics\FaceCountandStatistics\Verdict: Pearson's chi-squared test of one die against a fair one, trusted from five expected rolls per face, its p-value from the regularized incomplete gamma function with Γ exact, and four verdicts — not enough rolls, nothing unusual, somewhat unusual below 1 %, very unusual below 0.1 % —, none of which calls a die loaded; the observed and expected means.Statistics\TallyandStatistics\ExpectedFaces: faces counted, from values or from the rolled dice oftilttek/dice, up to 1 000 000 rolls; fair dice from a range, or from an exact distribution oftilttek/dice-probability, estimated and cut ones refused; the minimum of rolls in whole rolls.Statistics\Explanation,Statistics\LanguageandStatistics\Origin: the verdict in plain English and French, with each language's typography, the average roll, advice to look at a physical die or to test new rolls, and for digital dice the reminder that the generator serves every die alike.Statistics\DieAssessorandContract\RollSource, withStore\InMemoryRollSource: the test from recorded rolls, from a moment on.Contract\JailStore, withStore\InMemoryJailStore: the histories, each event at its position, a concurrent write refused withException\JailConflict.- Exceptions under one
DiceJailExceptioninterface:InvalidRolls,InvalidJailEntry,JailRefused,JailConflict. - A fuzz target for the test, and benchmarks of a d20 judged and a d100 tested.
- The documentation in
doc/, one file per topic, indexed by the README. CONTRIBUTING.md,SECURITY.mdandCODE_OF_CONDUCT.md.