Model tester
The first test set of testing/: what a model can do as a working agent. For function calling alone, see ../function-calling/.
An agent that tests what another agent's model can do. A coordinator follows the model-check skill: it gives eight small tasks, one at a time, to the candidate agent with ask_agent, checks each result, and writes a report in reports/.
| Agent | File | Model | Role |
|---|---|---|---|
| 🧪 coordinator | agent.yaml |
Gemma 4 12B (hf.co/unsloth/gemma-4-12b-it-GGUF:Q4_K_M, 7.3 GB) |
follows the skill, checks, judges, writes the report |
| 🎯 candidate | agent.candidate.yaml |
Qwen3.5 4B (hf.co/unsloth/Qwen3.5-4B-GGUF:Q4_K_M) by default |
the agent under test: bash, the file tools, a neutral system prompt, no skills |
Run
llmman pull hf.co/unsloth/gemma-4-12b-it-GGUF:Q4_K_M
llmman pull hf.co/unsloth/Qwen3.5-4B-GGUF:Q4_K_M
LLMMAN_CONTEXT_LENGTH=32768 llmman serve
cd testing/model-check
../common/run.sh # mm -p "Test the candidate.", then the report even if the run stops early
# or, in the window:
mm -tui # then type: $model-check
Run it from testing/model-check/: the skill, the scratch folder work/ and reports/ are found from there. go and python3 must be on the PATH (the checks of T3, T5 and T6).
Both agents run commands without asking (yolo: true). The candidate only works in work/, which is recreated from skills/model-check/fixtures/ before each test.
Test another model
Change the model: line of agent.candidate.yaml, and its sampling: block to that model's card values. Then run the check again. The report's file name is taken from that line: reports/<date>-<model>.md.
The eight tests
| Test | Capability | The task | Checked by |
|---|---|---|---|
| T1 | tool call | write work/hello.txt with one exact line |
command |
| T2 | tool call | count the lines of work/numbers.txt with a command, answer the number only (37) |
the coordinator |
| T3 | instruction | write work/colors.json: a JSON array of the three primary colours of light |
command (valid JSON, exactly red, green, blue) |
| T4 | instruction | reply with exactly the word READY |
the coordinator |
| T5 | code | a Go FizzBuzz from 1 to 15 in work/fizzbuzz/main.go |
command (go run main.go output) |
| T6 | code | complete work/calc/calc.go so that go test passes, without touching the tests |
command (go test, test file unchanged) |
| T7 | several steps | set two keys of work/config.yaml, change nothing else |
command (exact file) |
| T8 | several steps | copy the TODO lines of work/todo.txt into a new file, report how many (4) |
command (exact file) + the coordinator (the number) |
A result is decided by a command whenever one can decide it. The coordinator only judges what no command can: an answer's exact wording (T2, T4). Each test gets one try: the coordinator never fixes the candidate's work.
How a run goes
The bench script drives the loop, not the coordinator's memory. The coordinator repeats one gesture: ./bench.sh next, then ask_agent with the prompt next printed. Each next first checks the test just run (or asks the coordinator for its judgement), resets work/, then hands out the following test. A check cannot be skipped. A first version let the coordinator call reset and check itself; Gemma 4 12B once skipped every check, and twice rewrote the script's path with underscores.
The report
At the end, the coordinator writes its observations and a two-sentence verdict in reports/.notes.md, then runs bench.sh report, which writes the Markdown report reports/<date>-<model>.md:
- the tested model, the coordinator's model, the date and the score;
- the results table: test, capability, PASS / FAIL / NOT RUN, and the reason;
- the coordinator's notes and verdict;
- the list of the tests.
The report is built from files written as the run goes (reports/.results.tsv, reports/.notes.md), not from what the coordinator remembers. A test with no result shows as NOT RUN, so even a run cut short gives a report.
Files
testing/model-check/
├── agent.yaml the coordinator
├── agent.candidate.yaml the agent under test — change its model here
├── bench.sh the short way to call the bench: ./bench.sh next
├── skills/model-check/
│ ├── SKILL.md the procedure: the loop, then the report
│ ├── bench.sh start · next · record <id> PASS|FAIL "why" · table · report
│ ├── tests.tsv one line per test: id, capability, summary, mode, the exact prompt, a note
│ └── fixtures/ what work/ starts from (numbers.txt, config.yaml, todo.txt, calc/)
├── reports/ one Markdown report per run
└── work/ the scratch folder (git-ignored)
bench.sh uses testing/common/bench-lib.sh, shared with ../function-calling/: the loop, recording results, the table, the report. testing/common/run.sh runs a set and writes the report from the recorded results if the coordinator stops before writing it.
fixtures/ holds its own go.mod (module work): the Go files a candidate writes in work/ never become part of mini-me's module.
Measured results
Not complete yet. On 2026-10-26, on the author's llmman (Gemma 4 12B checking Qwen3.5 4B), two runs, both with the first version of the procedure (before bench.sh next):
- Both models loaded together: from T2 on, the candidate's server answered
500 Compute error.to every request until the model was reloaded. That llmman was serving both models with a 262144-token context each (its default, notLLMMAN_CONTEXT_LENGTH=32768). That is whyagent.yamlsetsunloadModels: trueon thecandidateentry: one model in memory at a time. - With
unloadModels: true: T1 to T5 PASS, recorded by the coordinator. On T6 the candidate rango test, saw the Unicode failure ofReverseand fixed it with runes, but the coordinator broke before checking it (bench.sh check T6run by hand afterwards: PASS). The run stopped there: Gemma, reloaded after each task, has to read the whole conversation again, and the server broke the stream twice (unexpected end of JSON input). 15 min 23 s up to that point. The same server read a 14,311-token prompt at 51 tokens/s that day: the reloads are what makes a run long.
To do: a full run with the current procedure and llmman started with LLMMAN_CONTEXT_LENGTH=32768. The function-calling set, with the same coordinator and the next loop, went to the end (13 min): see ../function-calling/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
|