evaluation
6 posts, 96 min of reading. Spans show reading time on a 0 to 70 min scale.
DFilterForge Retrospective 04: A small model that errs more quietly
After QLoRA fine-tuning Qwen3-1.7B, its strong exact on test condition C4 rises from 0.063 to 0.396 (mean over three seeds). But of the 49 answers that previously failed to compile or had the wrong format, 32 to 35 become executable, and about half of those are silent-wrong: they run but pick the wrong packets. This post covers what happened along the way: how the training data was built and kept separate from the test split; how TRL's defaults nearly emptied the data; how the training targets themselves teach the model to violate the prompt's rules; when the checkpoint and the reading rules were fixed; how far you can get without training; a key-sorting accident that made 80 answers identical; and how the cost is accounted for.
Reading time: 15 minDFilterForge Retrospective 03: The only significant result was an artifact of rate limiting
Whether a number from an evaluation can be trusted is not just about whether the scoring is right. This post is about how DFilterForge protected the numbers on its test split, and the times the numbers nearly got distorted. The test split was frozen, and every reading was registered before the requests went out; rerun at temperature 0, thirty or forty of the 112 answers per condition changed; of the 12 registered condition comparisons, the only one whose interval excluded 0 was almost entirely caused by HTTP 429 rate limiting; the unit of the pooled statistics was used wrong once; a registered prediction was edited after the results came in. Finally, the LLM-as-a-judge comparison: of 165 answers that tshark can disprove with a single frame, it rated 58 as 'correct'.
Reading time: 15 minDFilterForge Retrospective 02: Show the model the packet that disproves it
When a filter is wrong, DFilterForge gives the model one more round, with a counterexample: the frames that disprove it if it ran wrong, the error if it failed to compile. On the frozen test split, out of 75 wrong answers, counterexamples repaired 35, a bare 'wrong' repaired 21, and resending the same prompt repaired 4. This post covers four things: how the model's input is designed, what goes on a counterexample card, how to read the results of the three arms, and the conclusions that didn't hold or couldn't be read. What didn't hold: typed intent did not beat writing the filter directly. What couldn't be read: most single-model comparisons show no difference. Also, the fine-tuned 1.7B small model repaired none with counterexamples.
Reading time: 15 minDFilterForge Retrospective 01: Three wrong answers scored full marks
DFilterForge has an LLM write a Wireshark display filter from a plain-English request, then checks it with a pinned tshark on synthetic captures. The first run of the dev split with a real model produced three wrong answers that scored full marks. This post covers the verifier that judges right from wrong: where labels come from, how mutants test the test data itself, why every probe ends with 33 witness packets, and how shortcuts are prevented.
Reading time: 20 minDFilterForge Retrospective 00: Overview
DFilterForge has an LLM write a Wireshark display filter from a plain-English request, then checks it with a pinned tshark against synthetic captures. This post is the overview of the retrospective series: it walks through one example end to end, gives the three main sets of numbers and a timeline of more than two months, and points out where the pitfalls cluster, which post covers each of the ten pitfalls most worth reading about, and what remains unfinished.
Reading time: 11 minLetting a sentence drift on the road: the retelling rules and summit scoring in The Road We Came
The Road We Came is a five-minute browser game: before you set out, you write down one reason for the journey; the people along the road retell it again and again, and at the summit you write it back from memory. This post covers how the retelling is built from a few word lists and a seeded random number generator, how the summit scores with the longest common subsequence (the score is ROUGE-L) and decides whether you remembered your own words or the road's version, and the problems that showed up after running over a thousand seeds.
Reading time: 20 min