jev-toto
Toy Rust CLI that scores Singapore TOTO numbers with Jev from code-computed draw stats, giving a next-draw probability and heat level.
Overview
jev-toto is a small Rust command-line tool that asks Jev how your Singapore TOTO lottery numbers look against the last 300 draws. The author is explicit that draws are random, nothing predicts the next draw, and the tool should be treated as a toy. Counting and comparison happen in Rust because Jev is documented as unreliable at arithmetic; Jev only receives per-number facts and plain-English labels.
For each number, one request asks two questions: a yes/no probability for drawn in the next draw, and a five-level cold-to-hot Score with confidence. The score command rates numbers you give; the auto command walks numbers 1 to 49 keeping a running set of six, replacing the weakest member when a new number's probability is higher. On each start it fetches any missing draws from Singapore Pools into a local history file.
What the decision model decides
| Type | Question | Answers |
|---|---|---|
| Yes / no | Will this number be drawn in the next draw? | — |
| Score | How cold or hot is this number (five levels)? | — |
How it works
- Update draw history from Singapore Pools
- Compute per-number frequency and recency in Rust
- Ask Jev two questions per number with labelled facts
- Score given numbers or build a running set of six
Strengths
- Keeps arithmetic in code, illustrating a good Jev pattern
- Small, single-binary CLI
Caveats
- Explicitly a toy; lottery outcomes are random
- Model probabilities have no predictive value here
Getting started
cargo build --release, export TYPESAFE_API_KEY, then `cargo run --release -- score 3 12 25 33 41 47`.At a glance
- Type
- Project
- Status
- prototype
- Language
- Rust
- Runtime
- CLI
- Has code
- yes
- License
- MIT
Use cases and integrations
How curated lists describe it
Counting and comparison happen in Rust, because Jev is documented as unreliable at arithmetic. Jev receives per-number facts plus plain-English labels and answers two questions per number in one request: a yes/no probability for "drawn in the next draw" and a five-level cold-to-hot score with confidence. Module layout and commands are in \`CLAUDE.md\`.
logicrw/awesome-jev-projects
Frequently asked questions
Can this predict lottery numbers?
No. The author states draws are random and the tool is a toy.
Why does Rust do the counting?
Jev is documented as unreliable at arithmetic, so it only sees precomputed facts and labels.
Where does the data come from?
The draw list from Singapore Pools, cached in data/draws.txt.
Related projects
Korean RL tycoon game training a company decision model that answers situations with choice, probabilities and confidence.
ProjectprototypePythonPublic Jev lab centred on a chess match broadcast where Jev picks from legal moves, plus smaller judgment booths and a Fast Flag catalogue.
ProjectprototypeJavaScript, Python25-second Japanese IT-buzzword game that shows Jev's speed and cost: every typed term is classified live, with no LLM-generated text.
ProjectprototypePython, JavaScriptVisual workbench (in Portuguese) for wiring Jev decision funnels as node graphs and watching them play a game in real time.
ProjectprototypePythonTic-tac-toe teaching project comparing Jev Choice, Score and Noul designs across three levels of state detail.
ProjectresearchJavaScriptJapanese quiz demo where Jev guesses which of AWS, Azure or Google Cloud a debranded service name belongs to, showing its probabilities.
DemoprototypeTypeScript