A deterministic simulator of a fictional world — countries with economies,
currencies, trade, leaders, wars, and disasters on a daily tick loop. History pauses,
scrubs, and rewinds; any headline traces back through its chain of causes; and
intervening forks the timeline, showing the future that was going to happen beside
the one just caused. Forks replay the parent’s exact RNG state, so every
divergence is attributable to the intervention alone. Built as a pure event-sourced
engine behind a thin WebSocket protocol and a stateless view.
A sports-arbitrage engine that treats every betting selection as the region of an
event’s outcome grid it wins on, so finding covers, arbs, and middles is bitmask
set algebra plus branch-and-bound set-cover search — it catches differently-named
markets that jointly cover an event (“Clean Sheet: Yes” +
“Over 0.5 Goals”), which name matching never can. Devigs book odds
into true probabilities, matches the same real-world game across sources, and serves
a live web board. Finds and prices only; it never places a bet.
Python 3.12 · bitmask set algebra · branch-and-bound set cover · Hypothesis · stdlib web server
A structured logging library for Python: coloured, column-aligned output that drops
into a project with almost no configuration. Writes ANSI codes directly and batches
file writes on a background thread, so heavy logging stays cheap. MIT licensed and
typed.