Dave Stanton PhD

The Flywheel: Conduct Judges Itself

2026-06-17

I’m building Conduct. It started as personal tooling — model evaluation, routing, and feedback for the LLM work I do across a few apps. It’s open source from the start, because nothing that did what I wanted existed and someone else might want it too.

The capability I’ve written about before is sensitivity-aware routing: clients submit a job with a task type and a prompt, Conduct picks a model (local or cloud, fast or smart) under a sensitivity floor, and the answer comes back. That part has been working for a while.

What I’m writing about today is a capability I’d been thinking about the whole time but hadn’t built yet. Every job Conduct routes produces, as exhaust, exactly the data shape fine-tuning wants. Shadow evaluation was already collecting that artifact. Three issues — #16, #17, #18 — closed the loop on top of it.

The loop feeds itself. The router routes the work that produces the data that trains the next model the router will route to. No humans in the labelling step.


The Byproduct

Conduct already supported shadow evaluation — when a real job runs on the production model, candidate models replay the same prompt on a low-priority queue. Their responses don’t go back to the client. They sit in a table, scored later.

That table is the whole thing.

A scored shadow is a primary response plus N alternates on the same input, each tagged with a 1–5 score, each stamped with the model that produced it, the prompt version it ran under, and the sampling regime in effect.

If you’ve ever assembled a fine-tuning dataset by hand, you know that’s the artifact. Supervised fine-tuning wants high-scored responses paired with their prompts. Direct Preference Optimization wants (chosen, rejected) pairs answering the same prompt under the same conditions.

Conduct was producing both shapes as a side effect. It just had no way to hand them out, and no way to score them without a human in the review UI.

Three issues changed that.


Issue 16 — Export

The first issue was the smallest one. Add two endpoints that stream the byproduct as JSONL: one for supervised examples, one for preference pairs. Both shapes are what TRL and unsloth expect, so consuming them is a one-liner.

The actual content of that issue is mostly about what not to do.

It’s tempting, when you start exporting data, to add domain knowledge. To parse the prompt. To attach client-specific fields. To make the export “useful” for the one task it’s being built for first.

Conduct treats prompt and response and inputs as opaque blobs. The export carries the blobs and the lineage that makes them comparable. Anything domain-specific — anything that knows what a prompt means — happens at the client’s end, joining export keys against their own store.

The reason that boundary matters is the next two issues.


Issue 17 — The Judge

The second issue is the recursive one.

Conduct already consumed scores everywhere. The shadow rollup needed them. The export needed them. But every score in the system came from outside Conduct — a human in the review UI, an eval token from a client portal, an MCP call from a Claude session.

There was no code path where Conduct itself invoked a model to evaluate a job.

The judge task type added that path. A judge is just an ordinary Conduct job whose work is to score another job. You submit it through the same API as anything else. The routing engine routes it. The verdict is the response.

This is the part where the system curls back on itself. The router invokes the router to judge what the router routed.

Three modes ship: pointwise, pairwise, panel. Pointwise scores one target against a rubric. Pairwise compares two targets head-to-head and runs the comparison twice with the order swapped — if the verdict flips, the judge was position-biased on that pair, so it records a tie instead of a coin flip. Panel runs a diverse jury of models pointwise, takes the median, and flags disagreement.

The literature on LLM-as-a-judge is consistent on one finding: a diverse panel of smaller models beats a single big judge, at lower cost, with less bias. Most teams have to bolt that on. Conduct had it as a configuration option, because fanout was the core competency already.

The other piece that fell out for free: Conduct knows which model produced every job. So the panel automatically excludes jurors in the same model family as the producer. Never let gemma judge gemma. Most evaluation frameworks can’t do that cleanly because they don’t know the provenance.


Issue 18 — Named Dimensions

The third issue is the smallest in scope and the largest in cleanup.

A score had been a single 1–5 number. But “quality” is several things at once. A four for “correct but ugly” and a four for “wrong but pretty” mean nothing the same. If you train on the average, you train on noise.

So the score grew a scores map. The keys are whatever the caller decides — correctness, format, craft, or anything else. Conduct stores them, exports them, and aggregates them per dimension across the panel. It does not know what the names mean. The client supplies the semantics; Conduct supplies the mechanism.

That’s the same boundary as the export. The system stays domain-agnostic and gets sharper at the same time.


The Loop

Put the three together and the cycle is:

The judge produces scores. Scores accumulate on jobs and shadows. The export turns scored comparisons into preference pairs and supervised examples. A trainer somewhere — outside Conduct — turns those into a fine-tuned model. The fine-tuned model goes back into the routing rules as a candidate. Real traffic flows through it. Shadows score it. The judge scores the shadows.

None of that requires a human in the labelling step. Humans stay in the loop for calibration — a small golden set, periodic spot-checks of panel disagreements — but they aren’t the bottleneck anymore.

The router routes. The router judges. The router’s outputs train the router’s next model. The same engine, three times over, on the same primitives.


What I Didn’t Build

This is also a story about restraint.

I didn’t build a lifecycle hook. The judge does not fire automatically when a job completes. You submit a judge job the same way you submit any other job. The verdict is the response. Writing the verdict back to the judged job happens only when the caller explicitly asks for it. The engine offers a primitive; the client orchestrates.

I didn’t replace humans. The judge is a faster, cheaper, more consistent scorer for the high-volume cases that humans were never going to grade anyway. Humans still own the calibration and the edge cases.

I didn’t build a fine-tuning pipeline. The export is the boundary. What happens after the JSONL leaves Conduct is a different problem in a different system.

Each of those exclusions was the thing that kept the surface small enough that the loop closes cleanly.


Why It Almost Wrote Itself

The reason all three issues shipped quickly is that almost every hard part was already there.

Shadow eval gave the comparison structure. The score lane was already a generic write-back. Determinism — judge rulings need to be reproducible — was already a sampling profile shipped weeks earlier. Rubric versioning was already the prompt versioning system. Sensitivity inheritance — a judge can’t send confidential content to a cloud model the producer couldn’t have reached — was already the routing gate, applied once more.

The new code was the connective tissue. The primitives carried it.


What This Is Really About

I keep finding that the systems I’m proud of share a property: the headline capability is the one that falls out when you build the primitives carefully and resist building the wrong things on top of them.

Conduct’s older capability is sensitivity-aware routing. The newer one is that it turns its own traffic into the data that improves its own routing. Both were the direction from the start. The second one just needed the first one — and a few more primitives — to be in place first.

The router routes, the judge judges, the loop closes. The piece I’m watching for next is when a fine-tuned model produced by this loop ends up outperforming the production model it was trained against. That’s the moment the flywheel starts paying for itself.

I’ll write about it when it happens.