Jon-Luke Diericks · blog ·

Evals for the in-game me

There is a version of me in this town that you can talk to. He runs on a language model with a few pages of notes about my work, and he will say whatever the model produces. So before any change to him goes out, a script asks him the same eighteen questions and checks the answers.

What gets checked

Each check is a question and a test a program can run on the reply. Some of them:

The checks run through the real chat endpoint, not a copy of the prompt. The bouncer that screens messages, the prompt, the tools and the model are all in the loop, because any of them can be the thing that broke.

What the evals caught

The useful part is not the passing run. It is what failed on the way.

He promised to point and did not. He would say "I will point you to the cafe" and then not use the tool that draws the marker. The fix was one plain sentence in his instructions: saying you will point does nothing; the marker only appears if you call the tool.

The research agent had never worked. The agent that looks up a visitor's public work runs in a sandbox, and I had handed it the sandbox in the wrong place. Every run ended with nothing saved. No model had been connected when I wrote it, so nothing had ever told me.

My own test was wrong. For an hour I believed a model was ignoring its tools. The test was dropping the visitor cookie between requests, so every request looked like a new visitor with no history. The model was fine. I now distrust a failing test before I distrust the system.

Choosing a model with them

The evals are also how I chose the model. The strongest model passed and cost the most. A free one answered well and another free one hung. A small, cheap model passed all eighteen at about a twentieth of a cent a reply. I would not have trusted that switch on a few replies read by eye.

Where to see them

In the office, the PC's terminal answers npm run eval with the last run. The same terminal will show you this site's own code and tests. There is an exhibit for the evals outside the wall as well, if you find your way out.