A week ago I released StepForge, a free app that listens to a song and writes the dance steps for it. Players found plenty wrong with it. Seven days and two releases later, the model's score against human-made steps went from 0.656 to 0.689, level with the best open-source tool I have tested. It is still a 30 MB model, and it still runs on a laptop CPU in under four seconds.
Almost none of that came from a bigger model or more data. Five times this week, the fix I had planned was the wrong one, and a quick measurement said so before I built it. This post is about those five, and what I learned along the way.
Quick background
If you have never played a dance game: arrows scroll up the screen in time with the music, and you step on matching arrows on a floor pad. StepMania/ITGmania are the open-source versions of Dance Dance Revolution, and the sequence of arrows for one song is called a chart. Writing a chart by hand takes hours, so StepForge writes five of them per song, from easy to expert.
To score it, I take 180 songs the model never trained on and count how many of its steps land within 20 milliseconds of where a human put theirs, as an F1 score. Two humans charting the same song agree at about 0.75, so that is roughly the ceiling.
The first version used an LLM and cost $2.67 a song. My first post covers why I replaced it with two small networks and a solver that makes sure two human feet can play the result.
I thought the audio was the bill. It was 2.1%.
One network picks when to step, one picks which arrow, and a solver throws out anything two feet can't physically do.
Attempt 1 and 2: The model was fine. The code around it was not.
The first complaint was that charts felt robotic. My guess was that the model wrote too many fast, isolated notes. I counted, and it wrote fewer than humans do. The real cause was a leftover from the LLM version: the code that turns the model's output into a chart still had hard limits that cut every run of steps at 4, 8 or 16 notes. Every run came out the same length, and that is part of what felt robotic. Human charts run about twice as long.
Fixing that code alone, with no retraining, took the score from 0.656 to 0.671.
The same week I decided that later training checkpoints were worse on the easiest difficulty, and I nearly shipped an early one. Wrong again. One setting in that same decoding code had maxed out and could no longer steer a model that confident. Once I tuned the setting for each model, the late checkpoint was the best one.
With a small model, a lot of the quality lives in the decoding code around it. A setting tuned for one set of weights can quietly sink the next set, so I retune it every time the weights change.
Attempt 3: More data did not help. Better-designed data did.
The app has style sliders, like how often a chart makes you cross one foot over the other. In the build players tried, dragging a slider from one end to the other changed the chart by less than one percentage point. The sliders did almost nothing.
My planned fix was more varied training data. I generated 6,650 extra charts from remixed audio, synthetic drum beats and programmatic step patterns. The score moved by 0.007, which is inside the noise, and the sliders were still dead.
The cause was a confound. Every synthetic style came with its own rhythm, so the model could tell which style it was looking at from the rhythm alone. The slider added no information, and the model learned to ignore it.
The fix was smaller. Take one real rhythm and write up to five different step styles for it: same notes, same audio, only the style label changes. Now the label is the only thing that tells the examples apart, so the model has to read it. That came to 3,195 examples, generated in two minutes on my laptop.
The crossover slider now moves the chart by 13.5 points across its range. The same model was also the first to beat the previous model by more than chance: 0.689, with a 95% interval of +0.010 to +0.027 over 0.671.
Attempt 4: The bug was in how I read the output
One slider asks for footswitches: hitting the same arrow twice and switching feet in between. I asked for 6% and got 1.7%. My two suspects were the model (not writing them) and the solver (deleting them). Neither was it.
In the chart file, a footswitch looks exactly like hitting the same arrow twice with the same foot. My evaluator, like any player, took the easier reading. Of the 1,441 footswitches the model placed, 1,083 were counted as something else.
The fix places a footswitch only where the steps around it leave no other way to play it, then reads the chart back and tries again if it reads as something else. Ask for 6% now and you get 6.3%.
When output can be read more than one way, test how it gets read, not only how it gets written.
Attempt 5: One inverted boolean, then a ceiling test
The most common request was "follow the vocals, not just the drums." The numbers agreed: 76% of the model's steps landed on a strong drum hit, against 57% for human charts. So I built a third small network to mark drums, bass, vocals and melody, and feed those labels to the model that decides when to step.
Its first training runs failed in an odd way. The best checkpoint came at epoch 6 and it got worse after that, and it was as bad on its own training data as on new data. My planned fix was the labels. I found real problems in them, fixed them, and nothing changed.
The actual cause was one inverted boolean. The shared layers expected a padding mask that is True at real positions, and the new training code passed True at padding. In training, the network had its context switched off everywhere that mattered. In evaluation, with no mask at all, it switched on layers that had never been trained. The tell, if you ever see it: training loss falls while the same model, run in eval mode on the same training data, gets worse.
With that fixed, the network worked, and the step model retrained with its labels scored 0.687 against 0.689 without them. A tie.
The obvious next step was a better vocal network with more data. Before building it, I ran a ceiling test. I skipped the network and computed the vocal and melody inputs directly from separated audio tracks: perfect inputs, better than any predictor could give. Two runs scored 0.694 and 0.693, against 0.698 for the shipped model and 0.695 and 0.690 for two runs with no vocal inputs at all.
Perfect inputs landed inside the noise, so a better predictor could not help. That idea stopped there, before the expensive part.
A good judge is not a good picker
The other idea: generate four candidate charts and let a tiny critic pick the best one. I trained it to tell human charts from copies I had damaged on purpose, and it got good at that: 0.903 AUC, in a 16 KB model.
Then I let it pick, and the charts got less human. The share of style measurements that fell inside the range of human charts dropped from 97.2% to 93.9%. The critic had only ever seen damage that made charts awkward to play, so it always picked the smoothest candidate. Human charts are not always supposed to be super clean and cut.
The base model was already inside the human range. Picking the top-scored of several good samples pushes toward an extreme, whichever way the score points. The critic also took seven times its time budget, so it is switched off.
The model I am not shipping
The released model trains on 227 songs whose licences allow redistribution. After this week, I tested the same recipe on about 6,500 songs from a community archive.
It scored 0.714 against 0.689, better by more than chance (+0.025, 95% interval +0.017 to +0.035). The biggest gain was on the easiest difficulty, the weakest spot.
This model will not be released, because it was not built via my preferred approach of opt-in. What it gives me though is a number: 227 curated songs get about 96% of the way to what 6,500 random songs offer. The last 0.025 is what songs and charts people choose to contribute would have to buy, and this model is now the bar a public one has to match.
Where it stands
| 180 songs the model never trained on | Last week | Now |
|---|---|---|
| Step placement F1 (two humans: about 0.75) | 0.671 | 0.689 |
| Easiest difficulty | 0.562 | 0.606 |
| Charts with a step the foot model forbids, of 900 | 6 | 0 |
| Crossover slider response | under 1 pt | +13.5 pts |
The launch build scored 0.656; "last week" already includes the decoding fix from section 1. Five charts take 3.8 seconds on a laptop CPU, and the 8-bit model is 30 MB.
Still not solved: the easiest difficulty is the weakest, 0.606 where two humans agree at about 0.69, and the model still follows drums more than melody. Most models in this story were trained once, and where I ran a second seed the two differed by up to 0.008, which is the size of some of the effects I was chasing.
If I could hand another developer one thing from this week: before you build the fix, measure the complaint, and before you build the better version, feed it perfect inputs and see if it even matters. Both took less time than the wrong fix would have.
StepForge is free and runs locally on macOS, Windows and Linux: beta 11 release notes and download. If you make songs or charts and want them in a future model, or kept out of one, open an issue or message me.







![UI Practice - Duolingo [2]](https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsm9jb1tnj56ekdp69mb5.png)