Pilot results at a glance
456 of 540
342 of 540
319 of 540
- Checking is easy, planning is not. DeepSeek gets every validity, ball-count, collision and orbit question right. But when the answer is a non-empty sequence of throws that moves from one pattern to another, DeepSeek gets 11 of 42 right, Gemma 2 and GLM 17. The weakest checker turns out to be the best planner.
- Nobody reliably tells ground from excited. Classifying a pattern and writing its state is the hardest task overall: DeepSeek 25, Gemma just 4 and GLM 22 of 60.
- The obvious shortcut didn't fool anyone. We planted invalid patterns whose throws average to a whole number. All three models rejected them at least as well as they accepted valid ones.
- Models think until they run out. Even with a 32,000-token budget, 47 DeepSeek answers and 42 GLM answers never arrived because reasoning used all of it, almost all on transitions and state classification.
These are pilot results only: 540 questions, 20 per task and difficulty. The full benchmark, 2,576 questions, will be run later and may change the picture.
Ask a language model what a siteswap is and it will tell you. Ask it whether 2792 can be juggled, how many balls a2m30g30 needs, or how to get from 08089 to 9920 without dropping anything, and you find out whether it can actually use the rules. That gap, between describing a formal system and executing it, is what this project measures.
SiteswapBench is a benchmark built on juggling notation. It has nine tasks, three difficulty tiers and three notations, and every answer is checked by code against a reference implementation of the mathematics. This post covers the problem, how the benchmark is built, and what three models did on the pilot.
1The problem
Most reasoning benchmarks have one of two weaknesses. Either the answers are judged by another model or by string matching against a single reference, or the questions are drawn from a fixed pool that ends up in training data. Both make it hard to tell whether a model followed the rules or recognised the answer.
We wanted a domain with four properties:
- Small, exact rules. The whole system should fit in a paragraph, so failures can't be blamed on missing knowledge.
- Mechanical verification. Every answer, including open-ended ones, can be checked by a program, and any correct answer is accepted.
- Unlimited fresh instances. New questions can be generated that have never appeared anywhere.
- Real depth. Easy questions take one step; hard ones need state tracking, search, or counting over a space of solutions.
Juggling notation has all four. Siteswap was developed by jugglers and mathematicians in the 1980s to describe juggling patterns as sequences of numbers.[1][2] In its simplest form, each number is the height of a throw measured in beats: a 3 lands three beats later, a 1 passes straight to the other hand, a 0 is an empty hand. The pattern repeats forever. It is valid if no two balls ever land on the same beat, and then the number of balls is simply the average of the throws.
From those few rules a surprising amount of structure follows. Each pattern moves balls around a permutation, so balls fall into orbits. At every beat, the set of future landing times is a state, and patterns are paths through a graph of states. A pattern that passes through the most compact state is called ground; one that doesn't is excited, and you need a transition of extra throws to get into it from a normal cascade. There are also synchronous patterns, where both hands throw at once, and multiplex patterns, where one hand throws several balls together.[3][4]
None of this requires world knowledge. All of it can be computed exactly. And because juggling is niche, most patterns a generator produces have never been written down by anyone.
2Methodology
2.1Nine tasks
The tasks run from a single check to search and counting. Each is defined by the mathematics, not by a reference string: for tasks with many correct answers, the verifier accepts any of them.
| Task | What the model must do | Example (gold) |
|---|---|---|
| T1Validity | Say whether a pattern can be juggled. | 55500 → VALID |
| T2Ball count | Give the exact number of balls. | a2m30g30 → 7 |
| T3Collision | Find two beats whose balls land together. Any colliding pair is accepted. | 3355 → [0,2] |
| T4Ground / excited | Classify the pattern and write its state at beat 0. | 0637 → EXCITED 0111001 |
| T5Ball tracking | Follow the ball thrown at beat 0 and give the beats of its next throws. | 55500 → [5,10] |
| T6Orbits | Partition the beats into the cycles balls travel around. | 53145305520 → three orbits |
| T7Transition | Give a shortest sequence of throws that leads from one pattern into another, under a height limit. | 2792 → 8930: [5,8] |
| T8Generation | Invent a pattern that meets several constraints at once (balls, period, required throws, maximum height, prime). | 5 balls, period 6, contains 3, no zeros → 663555 |
| T9Equivalence | Say whether two strings describe the same pattern (rotations and repeats). | 53145305520 vs 31453055205 → SAME |
2.2Three tiers, three notations
Each task has an easy, medium and hard tier, defined by explicit bounds on period length, throw height and, for transitions, graph distance. Easy patterns are short, with throws up to 5. Hard patterns use letters for throws above 9 (so a is 10 and m is 22), run to a dozen beats, and on validity, ball counting and generation, 8 of every 20 hard items switch to synchronous or multiplex notation. Hard transitions are exactly four throws long, proven by breadth-first search over the state graph.
Some cells are small by nature. There are only 60 valid patterns with period at most 3 and throws at most 5, so the full benchmark uses all of them instead of repeating questions.
2.3Controls against shortcuts
The best-known fact about siteswap is the average theorem: in a valid pattern the throws average to a whole number. The converse is false. 243 averages to 3 and still collides. A model that only checks the average would look strong on validity while understanding nothing.
So validity questions are balanced: half valid, a quarter invalid with a fractional average, and a quarter invalid with a whole-number average. The shortcut "valid if the average is whole" scores exactly 75% on this task, and fails every item in the last group.
We also mark each item as famous or fresh. Famous items use well-known patterns from public siteswap lists[5][6][7], like 441 or 53145305520. Fresh items are generated. The pilot has 50 famous items and 490 fresh ones.
2.4Prompts and scoring
Every prompt names the notation and the task, states the answer format, and stops. There is no rules sheet and no worked example: the model has to bring its own understanding of siteswap. The answer goes inside a single pair of answer tags.
Scoring is strict. The verifier recomputes the answer from the formal system rather than comparing strings: any colliding pair counts for T3, any constraint-satisfying pattern for T8, and any legal shortest transition for T7. A response counts as wrong if it has no answer, more than one answer, or was cut off before finishing. The reference implementation was cross-checked against Juggling Lab,[6] a widely used juggling simulator, and solves all 2,576 benchmark items correctly.
2.5The pilot
The pilot has 540 questions: 9 tasks × 3 tiers × 20 items. It is a strict subset of the full benchmark, so pilot items will be re-scored as part of the final run. We tested three openly available models served through Sarvam: Gemma 4 31B, DeepSeek V4.1 Flash and GLM-5.3 Flash, all at temperature 0 with one sample per question. DeepSeek and GLM were run with a low reasoning-effort setting and a 32,000-token output budget; Gemma had an 8,000-token budget. Altogether the pilot produced about four million output tokens.
3Results
3.1Overall
| Model | Overall | Easy | Medium | Hard | No usable answer |
|---|---|---|---|---|---|
| DeepSeek V4.1 Flash | 84.4% | 93.3% | 80.0% | 80.0% | 47 |
| Gemma 4 31B | 63.3% | 73.9% | 69.4% | 46.7% | 36 |
| GLM-5.3 Flash | 59.1% | 72.2% | 55.6% | 49.4% | 155 |
The ranking is clear, and the tiers behave as designed: accuracy falls from easy to hard for every model. But the average hides where the difficulty actually lives. The heatmap below shows each task and tier separately.
Correct answers out of 20, by task and tier
3.2Checking is solved; planning isn't
The top of the heatmap is nearly solid for DeepSeek. It got all 60 validity, ball-count, collision, orbit and equivalence questions right, at every tier and in every notation, and missed one ball-tracking question. These tasks need careful arithmetic, but each is a single pass over the pattern.
Two tasks break that pattern for every model:
- Transitions (T7). Easy transitions are often empty, because the two patterns already share a state, and the models do reasonably there. Once the answer is a real sequence of throws, accuracy collapses. Of the 42 pilot transitions that need at least one throw, DeepSeek solved 11, Gemma 2 and GLM 17. On hard transitions, which are four throws long, DeepSeek and GLM manage 4 of 20 each and Gemma none.
- Ground and excited states (T4). DeepSeek scores 25, Gemma just 4 and GLM 22 out of 60. Writing a state means simulating where every ball in the air will land; classifying it means checking whether any rotation of the pattern passes through the ground state. Gemma got the label right on 35 of 60 questions, close to guessing, but got both the label and the state right only 4 times.
Both tasks need the model to hold a state and search over it, rather than read the answer off the pattern. That is exactly the kind of reasoning a benchmark like this exists to isolate. It also reorders the models: GLM, which trails on the simple checking tasks, is the strongest at transitions when it finishes.
GROUND 11101
The gold answer. At beat 0 the pattern is not in the ground state 11110, but two beats later it is, so the pattern is ground.
EXCITED 11101
The state is exactly right. The label is wrong: it judged the pattern by its state at beat 0 only. Five of DeepSeek's T4 errors, and four of GLM's, look like this.
3.3The shortcut didn't fool anyone
We expected the average-theorem trap to catch at least one model. It didn't. On invalid patterns with a whole-number average, Gemma and DeepSeek were right 15 of 15 times and GLM 12 of 15. All three beat the 75% shortcut baseline on validity overall.
Validity (T1) accuracy by item type
In other words, the models are not just checking averages. They are simulating landings, and when they fail, they fail by being too suspicious rather than too trusting.
3.4Running out of thought
For the reasoning models, many wrong answers are not wrong answers at all. They are missing. Even with a 32,000-token budget, DeepSeek used up all of it on 47 questions and GLM on 42, never reaching a final answer. These failures cluster on exactly the tasks that need search: 33 of DeepSeek's and 27 of GLM's were transitions, and most of the rest were state classification.
GLM has a second, separate problem. On 113 questions it wrote an answer, then kept reasoning in the visible response and wrote a second answer. In 110 of those cases there are exactly two answer blocks. Strict scoring counts these as wrong, which is why GLM's "no usable answer" count is 155. On the questions where it gave one clean answer, GLM was right 83% of the time; its lower headline score is as much about finishing as about knowing.
Questions with no usable answer, out of 540
Two things follow. First, a token budget is part of the benchmark, and it should be reported next to every score. Second, the transition task is hard in a specific way: the models seem to know how to approach it but explore the state graph so verbosely that the search often does not fit.
3.5Famous and fresh
All three models did better on famous patterns than on generated ones: DeepSeek 90% vs 84%, Gemma 84% vs 61%, GLM 68% vs 58%. We report this cautiously. Famous items are not spread evenly across tasks (they lean towards equivalence and tracking, which are easier), and 50 items is a small sample. The full benchmark has 185 famous items, which will let us compare within each task.
3.6Generation and notation
Asked to invent a pattern under constraints (T8), DeepSeek managed 45 of 60 and GLM 36. Gemma managed 7: in 22 cases it wrote symbols that don't belong to the requested notation, such as synchronous-style brackets in an asynchronous answer. The constraint models most often broke was prime, a pattern that never revisits a state within one cycle, which again requires tracking states rather than throws.
Harder notations were not uniformly harder. On hard validity, ball-count and generation items, DeepSeek was perfect on multiplex patterns (12 of 12) and weakest on synchronous ones (8 of 12).
4Limitations
- Pilot scale. Twenty items per cell. Differences of a few items within a cell should not be read as real.
- One prompt, one sample. A single concise prompt with no rules sheet, temperature 0, one answer per question. We don't yet know how much a rules sheet or a worked example would help.
- Different budgets. Gemma had a smaller output budget than the two reasoning models, so its cut-off answers are not directly comparable with theirs.
- Three models. All three are fast, openly available models. Larger frontier models are not in the pilot.
- Strict format. Duplicate answer blocks are scored as wrong even when the first answer is right. That is deliberate, but it penalises GLM heavily and should be read alongside the clean-answer accuracy.
5What's next
- The full benchmark. All 2,576 questions, about 100 per task and tier, with the same settings reported for every model.
- More models. Including larger reasoning models, to see whether transitions and state classification are a scale problem or a search problem.
- Budget curves. Accuracy as a function of the token ceiling, so that "ran out" and "got it wrong" can be separated properly.
- Verifiers. The full benchmark is on Hugging Face with the scoring rules for every task; a reference scorer will follow so anyone can check every answer the same way.
Acknowledgements
References
- Joe Buhler, David Eisenbud, Ron Graham, Colin Wright. Juggling Drops and Descents. The American Mathematical Monthly 101(6): 507–519, 1994. doi:10.2307/2975316
- Burkard Polster. The Mathematics of Juggling. Springer, 2003. doi:10.1007/b97627
- Jack Boyce. Siteswap notation. Juggling Lab documentation. jugglinglab.org
- Siteswap. Wikipedia. en.wikipedia.org/wiki/Siteswap
- List of siteswaps. Wikipedia. en.wikipedia.org/wiki/List_of_siteswaps
- Jack Boyce et al. Juggling Lab, version 1.7. jugglinglab.org
- Siteswap notes. The Juggling Edge. jugglingedge.com
Cite this work
neuralnets (2026). Can LLMs Juggle? SiteswapBench, a Code-Verified Test of Rule Following in Juggling Notation (pilot results). Building Bad. https://buildingbad.xyz/blog/can-llms-juggle/
@misc{neuralnets2026juggle,
author = {neuralnets},
title = {Can {LLMs} Juggle? {SiteswapBench}, a Code-Verified Test of Rule Following in Juggling Notation},
howpublished = {Building Bad},
year = {2026},
month = nov,
url = {https://buildingbad.xyz/blog/can-llms-juggle/},
note = {Pilot results}
}
@misc{neuralnets2026siteswapbench,
author = {neuralnets},
title = {{SiteswapBench}: Code-Verified Rule Following in Juggling Notation},
publisher = {Hugging Face},
year = {2026},
url = {https://huggingface.co/datasets/neuralnets/SiteswapBench}
}