Tags

retrospective

7 posts, 108 min of reading. Spans show reading time on a 0 to 70 min scale.

  1. DFilterForge Retrospective 06: Every number has a source, yet one digit was still missing on a phone

    The DFilterForge site forbids hand-written numbers: every value on a page carries its provenance, pointing to a location in a committed file in the repository, and a test recomputes it independently. This post tells how that chain came to be and the holes it had: a check that only recognized ASCII digits, numbers that existed only in server-rendered HTML, two values swapped, a formatting function shared with the page, and the one time the text was all correct but the pixels were wrong: on a 320 px phone, a real bill read as USD 0.2. Finally, the unreproducible README animation and a few deployment traps.

    Reading time: 17 min
  2. DFilterForge Retrospective 05: A pinned tshark, keyless CI, and on-demand GPUs

    This post is DFilterForge's engineering checklist: tshark pinned and built from source, until upstream moved the source tarball; how the runner safely executes model-written filters; how the field catalog freezes to byte-identical exports; how CI rescored every committed run without keys or network access, and how pytest filled /tmp and back-to-back merges cancelled CI runs; starting and stopping GPUs on demand on Modal, with open endpoints, startup crashes, scaling to zero and preemption, circuit breakers and rate limits, networks that only block the data plane, and waiting for a GPU; finally, the Windows host and dependency upgrades.

    Reading time: 15 min
  3. 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 min
  4. DFilterForge 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 min
  5. DFilterForge 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 min
  6. DFilterForge 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 min
  7. DFilterForge 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 min