feat(dice): seeded RNG protocol and dice notation parser

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-08-17 22:49:50 +02:00
parent 35068c4a65
commit 2a58826bd4
5 changed files with 512 additions and 0 deletions
+2
View File
@@ -42,6 +42,8 @@ ignore = [
[tool.ruff.lint.per-file-ignores]
# Tests: assert is expected, magic numbers are fine, annotations are noisy
"tests/**" = ["S101", "PLR2004", "ANN"]
# rng.py: `random.Random` is used for reproducible Monte Carlo streams, not cryptography
"src/pf1e_simulator/rng.py" = ["S311"]
# ── Basedpyright ──────────────────────────────────────────────────────────────
[tool.basedpyright]