Case study Part 3 of 4 · the sorter, built
The sorter, built
Good answers aren't yet a decision. This page follows the sorter that turns Jev's answers into "file it" or "show it": first hand-set thresholds, then a learned combiner that filed about twice as much at the same safety, then a test on two weeks of mail it had never seen. That test is where the most useful lessons came from.
Per message, in pseudo-code
for each new message: raw = harvest(message) # raw bytes on disk; read-only, never retyped facts = rules(raw) # sender kind, money ledger, account mail, injection… if facts.bad_input or facts.embedded_instructions: needs_review; stop answers = jev(state = raw, questions = rubric) # one request: a category Choice and five Nouls p_act = sorter(answers, facts) # learned on labeled months if p_act < threshold and no fact keeps it out of the zero-token buckets: file or drop # zero LLM tokens else: Claude reads it in the session and writes it onto the pagethe owner reads the page; notes and rulings go into records and rules
The threshold is the one number that matters. It is chosen for a target recall (99.5% of action items) on mail the sorter didn't train on, then frozen before the month it's tested on.
Step 1: hand thresholds
The first version set thresholds on each answer by hand and was tested on three held-out months, each run with the rubric and thresholds frozen and committed first. Every filed message was labeled, so the misses are exact.
| Held-out month | Filed (0 LLM tokens) | Missed actions | Est. recall | Escalations that mattered |
|---|---|---|---|---|
| Month A | 27.8% | 7, all low-confidence labels | ~97% | 42.5% |
| Month B | 28.6% | 23 | ~92% | 50.0% |
| Month C (latest config) | 29.7% | 5, all low-confidence | ~98% | 55.8% |
For scale: sending everything has 100% recall and files nothing; on an early 60-message set, simple conservative rules filed 20% and caught only 72% of actions. Each fix between months came from a specific miss pattern. Month B's misses were mostly money and accounts tied to the owner's projects, which a 4B model can't know about, so they became facts: a per-vendor money ledger, account-lifecycle mail and project relationships. Month C's few misses were quiet kinds, such as a billing-settings change, a payment receipt from a professional service, and new subscriptions. About half of escalations didn't need the owner, mostly marketing calls to action that read like obligations ("keep your streak", "rate your purchase").
Step 2: answers as features
The second version stopped hand-tuning. A small learned model (CatBoost) takes Jev's answers plus the rule facts and outputs one probability that the message needs action. It's validated leave-one-month-out: train on two labeled months, pick the threshold from out-of-fold scores, apply it once to the third.
| Same mail, 244 action items | Filed | Missed | Ceiling at 0 misses |
|---|---|---|---|
| Hand thresholds (frozen) | 28.6% | 0 | — |
| Learned, local 4B answers | 46.8% | 0 | 60.5% |
| Learned, hosted Jev answers | 58.9% | 1 | 63.6% |
How to read this: "filed" is the share of all mail set aside unread, so higher is better, and "missed" is how many of the 244 action items were among it. The ceiling is what a perfectly placed threshold would file with zero misses. A perfect sorter would file about 88%, everything but the action items. The longer explanation is on Open weights caught up.
The same answers, combined by a learned model instead of hand thresholds, filed about twice as much mail at the same safety. That matches what we saw on wine reviews: a decision model is at its weakest as a single judge and at its strongest as a source of features.
One method slip worth copying the fix for. The first combiner picked its threshold from in-sample scores. Those are overconfident, and recall on the held-out month collapsed to 68%. Thresholds must come from out-of-fold scores.
The local model's floor
The hardest action items were consequential mail that looks routine: a free trial about to convert to a yearly charge, a cancellation after a failed payment, a failed or duplicate utility payment, a government-portal notice, an expiring download, a no-show fee. With the local model's answers these ranked only in the top 32–51% of mail, so catching them would have meant escalating half of everything.
We wrote ten targeted questions for exactly these kinds and ran them over all 2,075 messages (four hours on the laptop). They made the sorter worse: filing fell from 46.8% to 42.9% at zero misses. The questions pointed the right way but were weak; the 4B model gave "free trial converts to a yearly charge" a mean 0.16 on "a charge is coming". The local model safely files obvious noise and no more. Hidden consequences need a larger reader. Hosted Jev did better (the median of the 25 hardest items sat in its top 23% of mail, all within the top 40%), and the design hands everything the sorter doesn't file to Claude, who reads it. Claude subagents read all three months, 2,075 messages, in about ten minutes of wall time.
A sender-memory feature (how often each sender's past mail needed action) was also tried. It became the sorter's top feature and made results no better, and it risks burying the one important message from a noisy sender. Not adopted.
Step 3: two weeks it had never seen
Leave-one-month-out still reuses the same three months. The real test was the first live session: two new weeks, 460 messages, sorted by hosted Jev plus the sorter trained on all three labeled months, with the threshold frozen before any of the new mail was labeled. Claude read the 147 escalated messages and wrote the page; separately, a blind audit labeled all 460.
| Labeled months (leave-one-out) | New window, frozen threshold | |
|---|---|---|
| Filed | 58.2% | 68.0% |
| Action items missed | 1 of 244 | 2 of 55, both debatable |
| Ceiling at 0 misses | 63.5% | 45.7% |
| p(action) AUC | — | 0.923 |
- The score threshold transferred; the filter rate didn't. The new mail scored lower overall, so the same cut filed ten points more. The two misses were a billing-address update and an account-creation prompt for a service already in use. A drift guard per window belongs in the design: watch the share filed, not just the threshold.
- What the audit found among the filed mail was mostly not a model problem. Most of it was low-confidence judgment calls. Of the rest, three were from people the owner knows, three matched standing rulings about first charges from a vendor, and one updated an item the owner already had open. None of that is in the message; all of it is cheap to know.
- Readers and the blind audit agreed on "needs action" 76% of the time, and the disagreements sat in the same gray zones the labelers split on in part 1. The owner's rulings matter more than the choice of model.
More questions overfit; facts don't
| Fix tried for the filed-but-wanted mail | Leave-month-out | New window |
|---|---|---|
| Add the best concept answers from part 2 as more sorter features | +2.4 points filed | 6 actions missed (71.3% filed). Not adopted. |
| A gate: re-escalate filed mail if any concept Choice is ≥ 0.5 | — | 13 messages re-escalated, 1 of the 2 misses caught, −2.8 points filed |
| A fact: a known person's mail is never filed unread | — | All 3 filed known-person messages caught, at a cost of 3 messages |
More features made the sorter more confident on mail that didn't look like its training months. A single deterministic fact did as much as the model gate for a fraction of the cost. The rest of the remaining misses map to standing rulings (a ledger rule for the first charge from any vendor) and open records, which are facts too.
Buckets map to channels
A demo morning page, written by Claude from one busy held-out day, made a timing problem obvious. Two of that day's five "now" items were reminders for an event that same evening. By the next morning's page they were already past. A daily page can't carry "now":
| Tier | Channel |
|---|---|
| now | Same-day push |
| soon · brief | The session page |
| file · drop | Silent |
Other models on the same sorter
The sorter harness later ran with other decision models' answers in place of Jev's. Same 2,075 messages and 244 action items, leave-one-month-out:
| Answers from | Filed (misses) | Ceiling at 0 misses |
|---|---|---|
| Hosted Jev 1.13 | 58.9% (1) | 63.6% |
| Claude Haiku 5.5 | 57.1% (2) | 64.8% |
| GEV-26B (open) | 57.8% (2) | 62.9% |
| Kev-27B (open) | 56.4% (0) | 63.3% |
| Local APUS 4B (open) | 46.8% (0) | 60.5% |
| Strands Decider 2B (open) | 44.1% (1) | 45.5% |
The top four are within a couple of points of each other. Model choice for this job comes down to cost, privacy and speed; see Four ways compared.
Next: Around the sorter: cutting mail at the source, Jev as a step chooser in a browser, making "done" stick, and who ended up doing what.