{"slug": "evals-still-require-your-brain-how-to-figure-out-what-you-can-trust", "title": "Evals Still Require Your Brain; how to figure out what you can trust", "summary": "Brandon Levene built valgur, an agent-driven ETL pipeline that reads threat intelligence reports and maps attacker behavior to MITRE ATT&CK techniques, running on his own hardware with open-weight models to avoid roughly $6,000 in API costs. He reports the pipeline has mapped 702 reports so far, with about four in five claims judged correct on reports it never saw, and that measurement rather than the models was the most frequent failure: vendor-written ATT&CK tables understated model precision by about half, and a noise threshold nearly blocked one of his best changes.", "body_md": "*How to figure out what you can trust*\n\nWritten By: Brandon Levene in November 2026\n\nI've been working on building valgur (for an earlier version see: [https://github.com/Blevene/bandjacks](https://github.com/Blevene/bandjacks)) , an agent driven ETL pipeline that reads threat intelligence reports and maps the described attacker behavior to MITRE ATT&CK techniques AND modeling the extracted behaviors into prose supported attack paths. For this project, the estimated costs of processing the corpus I have available would cost me nearly $6,000 in API costs from Google/OpenAI/Anthropic, so I decided that I would emphasize the usage of my own hardware and open weight models. The vast majority of the effort expended in building valgur was focused on evaluations: gates that helped decide what did/did not ship, experiments to decide what to try next, probes of each pipeline component, and audits of my own tooling.\n\nTLDR: The models are rarely what failed. Instead, measurement was the most frequent failure. Vendor-written ATT&CK tables, which I used as an initial answer key (because who wants to hand label ATT&CK techniques, ugh), understated model precision by about half. A noise threshold nearly blocked one of my best changes. Results I trusted shrank on held out data. The payoff: a pipeline on my own hardware that has mapped 702 reports so far (and counting), with about four in five claims judged correct on reports it never saw, and a short list of things it turned out not to need.\n\nThis post is a lessons learned and my attempts to condense those lessons into key \"habits\".\n\n**How valgur works:**\nAfter ingestion of a PDF, JSON, MD, DOC, DOCX, or Plain Text object, five stages run in order.\n① An *extractor* model identifies and quotes passages that describe attacker behavior and yields *candidates*\n② *retrieval* finds, for each passage, the ATT&CK Techniques (currently v20.1) most likely to match; an LLM *reranker* reorders them and the top 12 become the *candidates*.\n③ An LLM *mapper* picks which *candidates* the passage really describes\n④ A *verifier* (logistic regression, calibrated to my first judge's labels) scores each pick and keeps the confident ones (p ≥ 0.05) yielding *actions*\n⑤ An *ordering* step arranges the *actions* into an attack flow.\n\n**The Data:**\n**[ORKL](https://orkl.eu/)** is a library of published vendor threat reports. Some of these reports include the vendor's own table of the ATT&CK Techniques the adversary used. I selected only the reports with this table present and used these as the answer key (*gold*). I tuned on 60 of these reports (the *in-sample* set; 58 had a usable table) and sealed 149 others; I later ran 100 of those as the *held-out* set (99 with a usable table).\n\n**[CTI-HAL](https://github.com/dessertlab/CTI-HAL)** (Della Penna et al., 2025) is 71 vendor PDFs in which humans marked the sentences describing each MITRE ATT&CK technique. From it I built 38 **unit tests**: fixed test inputs that every arm reads identically.\n\n**Testing Changes:**\nEvery comparison runs the pipeline twice on the same reports: once as it is now (the *control*) and once with the change (the *arm*). Both runs see identical reports, so any difference between them comes from the change, not from the reports.\n\nI implemented two comparison types. A *screen* is quick and cheap and only decides whether a change deserves a test. A *gate* is the test, and only a gate decides what ships. I commit a gate's rules to git before it runs, so the bar can't be moved after the result is in.\n\nEach result is the arm's score minus the control's, followed by a 95% confidence interval in brackets. For example, lowering the verifier's threshold changed family recall by +0.0708 [+0.0566, +0.0855]. The interval comes from a paired bootstrap: draw the reports at random with replacement 5,000 times, recompute the difference each time, and keep the middle 95% of the results.\n\nThe decision has two parts:\n\n- Ship if the whole interval is above zero, meaning its lower end is above zero. Then the change helps by more than chance would explain.\n- Veto if a second metric I watch alongside, a *guard* , has its whole interval below zero, meaning its upper end is below zero.*Recall* is the guard when the change targets*precision* (and vice versa). A veto blocks the change even when the main metric improved, because the change clearly hurts something else.\n\nAn *automatic score* grades output without a person having read it. In this case, its a lookup: is the claimed technique present in the vendor's source table? A *claim* is one technique I (or a machine) say a report describes, with the quote that supports it. *Precision* is the share of claims that are correct; *recall* is the share of a report's techniques found.\n\nMy first automatic score used each report's vendor table as the key for both precision and recall. A claim counted as correct only if the table listed its technique; a listed technique counted as found only if I claimed it. I assumed this was ground truth, after all, the vendor wrote it about their own report.\n\nWhen I checked against my own expert grading, the automatic scoring was wrong on both metrics.\n\nTechniques the report described in prose were left out, which made precision look *significantly* worse than it actually was. We scored 672 of 1,407 report-family pairs correct: 0.478. When I graded an initial blind sample of 21 claims myself, 20 were correct. Of 10 sample claims rejected, 9 were correct: the report describes the behavior, but its table does not list it. A vendor's table is a summary, not a full inventory.\n\nI also found that the ATT&CK tables often list techniques that are not described in the report itself, which impacted recall. My evidence quoting LLM Prompt dropped 18 techniques the tables listed and added 6, which caused recall to fall by 0.0108. When I read the reports, 4 of the 17 dropped techniques I could judge were in the table but not in the report, so dropping them lost nothing. The actual fall in recall was 0.0070, roughly two-thirds of what we initially calculated.\n\nThe two errors are a result of different mechanisms, despite using the same data source (vendor ATT&CK tables). Grading precision by hand told me nothing about how far to trust recall claims from the same data; I had to grade that separately too.\n\n**Rule:** Before trusting an automatic score, grade a represent ative sample by hand. Do this for each metric separately. Mine hid half my precision and overstated recall loss by more than half.\n\nWhile building valgur, I used an *LLM Judge* to score precision. The model read each claim and its quote and returned a pass or fail. Grade the same claims twice (or more) and some verdicts flip; the *noise band* is how far precision moves in between two gradings. A difference in precision smaller than that noise band could be attributed to noise (in this case, LLM non-determinism).\n\nMy best prompt update asked the mapper to quote the evidence for each technique explicitly. On the 60 in-sample reports it raised precision by +0.0423, and I initially rejected it; my rule said the gain had to beat a noise band of 0.046.\n\nHOWEVER, that 0.046 noise band was NOT a change in precision. It was the share of verdicts on which two gradings disagreed: a different unit entirely. So I had J1 (my judge at the time, Qwen3.8-27B, 4bit) grade the same 1,189 claims twice. Precision moved by 0.0042. The bar had been 11x the real noise and the gain was 10x the noise. The result? The change shipped.\n\nMy current judge, J2 (DeepSeek-V4.1-Flash, thinking on), turned out to be around 3x noisier at 0.0140.\n\n**Rule:** Grade the same items twice and express the noise statistic in the units you actually intend to measure. Let the confidence interval decide; it already includes the noise band.\n\nThe verifier gives each claim a score `p` between 0 and 1: its estimate of the chance that the claim is correct. I keep the claims whose p is above a cut-off, the *threshold* (0.05). For that estimate to be useful, it has to be *calibrated*: when the verifier says 20% it should be correct 20% of the time.\n\nWe gather every claim it scored near 20%, check each one, and about a fifth of them should turn out correct. If many more or many fewer are correct, the score is miscalibrated. It can still put claims in the right order, with higher-scoring claims more often correct than lower-scoring ones. What breaks is the number itself: a claim scored at 20% no longer has a 20% chance of being correct. So a threshold picked by reading the number (drop everything below 10%, say) is built on a wrong expectation, and the claims it drops as \"probably wrong\" could be mostly right.\n\nBut, someone has to decide what \"correct\" *is*. The verifier is a logistic regression, trained on the pass/fail verdicts of my first Judge, J0 (claude-sonnet-4-6). So `p` predicts what sonnet-4-6 would say. Measured against J0, the verifier did well: an expected calibration error of 0.0124, meaning `p` was off by about one percentage point on average.\n\nLater I switched to J1 (Qwen3.8-27B) as the judge and did not retrain the verifier. I found out what that meant while choosing the threshold. At that point in development, our pipeline was keeping claims with `p` ≥ 0.10, a number that hadn't actually been tested since the swap. To decide whether to lower it, I had J1 judge all 361 claims scored between 0.05 and 0.10. Their average p was 0.072. Taken at face value, that predicted only about 7% of them would pass: lowering the threshold would add almost nothing but wrong claims, so it should stay where it was. That prediction was *wrong*. J1 passed 0.709 of claims and judged only 10.2% outright wrong. For our new judge model `p` ≥ 0.10 was throwing away claims that were mostly right!\n\nThe verifier itself was not broken. `p` was still an accurate answer to \"would J0 pass this claim?\", and J0 was a much stricter judge than J1. The verifier and the scoreboard were calibrated to different judges, and nothing in the pipeline said so.\n\n*Why I kept the verifier*\nA change of judge broke `p` as a probability but not as a ranking: a higher `p` still means a claim was more likely to pass. Against J0, ranking by the verifier raised precision from 18.6% to 38.3% at 11.8 claims per report. Against J1, the claims above 0.10 passed at 0.8525, well above the 0.709 of the band below. The ranking held for my current judge, J2, as well: on 1,546 claims, its pass rate rises from 0.667 in the 0.05–0.10 band to 0.918 above 0.50. So the verifier still decides which claims ship. I stopped reading its score as a probability when choosing the threshold, but my exports still publish it as a confidence value, which is on my list to fix.\n\n*Impact*\nRead at face value `p` said that claims between 0.05 and 0.10 were nearly all wrong, so the threshold should remain at 0.10. J1's verdicts indicated that within this range, most claims were correct. That changed the outcome of lowering `p`: rather than generating a pile of wrong claims, we would lose a small amount of precision for a large gain in recall. Across the 58 in-sample reports with a vendor table, lowering `p` to 0.05 cost 0.0304 in precision (judged by J1) and gained 0.0708 in family recall (technique family, subtechniques are harder). I made the call that this was worth it and so lowered the threshold. The judge's verdicts did not pick the threshold; they told me what my decisions would cost.\n\nI did not retrain the verifier on J1's labels, on purpose: J1 also scores my experiments, so training on J1's labels would mean grading the verifier with the judge it learned to copy. The cost is that every new judge needs its own check of the threshold. I have now repeated that check for J2, on the same 58 reports and on 99 held-out reports, with J2 judging every claim twice. J2 passed about three in four claims in the 0.05–0.10 band in-sample (0.7424) and seven in ten held-out (0.7010). Lowering to 0.05 cost 0.0241 in precision in-sample and 0.0300 held-out, and gained 0.0708 and 0.0542 in family recall. The band is still mostly right, so 0.05 stays. J2's numbers sit beside J1's rather than replacing them: the two judges grade on different scales.\n\n**Rule:** \"calibrated\" always means calibrated to someone's labels. Never read a threshold off a score's face value. Have the judge you use grade the claims near the cut, decide the trade from those outcomes, and check again whenever the judge changes.\n\nSometimes, metrics reward doing something trivial (*cough* MAUs *cough*). I stumbled on two while building valgur.\n\n*Coverage* measures the extractor: the share of the behavior humans marked in CTI-HAL that falls inside the passage it quoted. But an extractor that quotes 81% of the document scores 94.6% coverage without understanding anything. Coverage, therefore, is reported beside *lift*: how much better the quoted passages do than the same amount of randomly placed text.\n\nChecking the judge's *Accuracy* has the same trap. J2 answers pass/weak/fail and I compared its verdicts to my own grades. Most claims are correct, so a judge that passes everything agrees with me most of the time! *Balanced Accuracy* averages the judge's accuracy on the claims I passed AND on the claims I failed, so passing everything scores only *half*. On that measure, counting `weak` as a fail beat counting it as a pass.\n\n**Rule:** For every metric, ask what a system that selects or passes everything would score. If it scores well, add a guard that prevents that behavior.\n\nAn *arm* and its *control* must read exactly the same input text. Otherwise, we risk measuring the difference in text and not the method.\n\nOn the 60 in-sample reports, I compared retrieving candidates from the whole document with retrieving them from the extractor's passages. Measured by recall, at 65 candidates (the share of the report's listed techniques found among the top 65), the whole document led by 7.8 points, 0.924 against 0.846. But the vendor's ATT&CK table at the end of those same reports is the answer key, and only the whole document arm contained it. Once I removed the table from that arm too, 6.9 of those 7.8 points disappeared: about 88% of the gain was from the leaked answer key.\n\nI also encountered a second leak that was a bit smaller. 56 of 2,432 passages (extracted chunks) from the in-sample reports quoted technique IDs outright, and the mapper picked and cited 43 of them.\n\n**Rule:** If two arms see different inputs, you are measuring the inputs (or at the very least, you have introduced a confounding variable that could be controlled).\n\n*Volume* is how many claims the pipeline emits per report. Precision usually rises as volume falls, because the claims dropped first are the least confident. So a change that emits fewer claims can look more precise without being better. Comparing at *matched volume* means cutting arms to the same number of claims as the control prior to scoring.\n\nIn a screen (one pass over 30 reports, judged by J2), GLM-5.3-Flash-EXL3 as mapper beat Qwen3.8-27B by +0.0305 at matched volume. In the two full gates, on 40 held-out reports, the gain shrank to +0.0158 [−0.0108, +0.0413] with GLM doing rerank and mapping, and +0.0076 [−0.0159, +0.0307] with GLM mapping only. Both were too small to tell apart from no gain at all: each confidence interval ran from below zero to above it, so neither met the ship rule.\n\nAt production's threshold (keep claims with p ≥ 0.05), the rerank-and-map arm did look more precise, but only because it emitted fewer claims. Its recall fell by −0.0253, which vetoed it.\n\n**Rule:** Fewer claims emitted can look more precise. Compare at equal volume and at production's setting, and check that recall did not fall.\n\nI tuned mapping decisions while looking at the same 60 reports, the in-sample set. On them, J1 judged 0.8221 of claims correct. On 99 held-out reports, which played no part in the tuning process, it judged 0.7909 correct.\n\nThat gap had two possible causes. One is that the tuning set flattered me: choices made while looking at those 60 reports fit them better than they fit new ones. The other is drift: the held-out run happened weeks after the in-sample run, and the models on my own servers might have behaved differently by then, after a restart or a configuration change, with nothing changed in my code.\n\nTo tell the two apart, I re-ran the original 60 reports through the identical pipeline a few days after the held-out run. They scored 0.8234, against 0.8221 the first time. The servers had not drifted, so the gap is real: the pipeline does worse on reports it was not tuned on.\n\nThe ordering step shrank the same way. I score it by order agreement: the share of action pairs in an analyst-built attack flow, from the [CTID Attack Flow corpus](https://github.com/center-for-threat-informed-defense/attack-flow/tree/main/corpus), that it puts in the same order. Its first gain, +0.2304, fell to +0.0954 on a rebuilt, larger corpus, and to +0.0381 on the 11 reports in it that were new.\n\nScreens shrink too. GLM's +0.0305 as mapper in a screen became +0.0158 and +0.0076 in the full gates (lesson 6).\n\n**Rule:** Test on a sealed set you never tune on. When a result drops there, re-run the old set the same way to rule out drift. Treat a screen's gain as a reason to run a gate, not as the size of the effect.\n\nA check that finds nothing wrong only proves something if it would have caught a problem that was present. Three of my checks looked clean, but weren't.\n\n*Contamination*\nRetrieval searches ATT&CK's procedure examples: short descriptions of how real groups used each technique. If any had been copied from my CTI-HAL test reports, retrieval would find the answer word for word. My check for copied text flagged 0 of 16,905 examples. A zero like that means nothing until the check has shown it can fire, so I planted a copied passage. It flagged it, and only then did I believe the zero.\n\n*Position bias*\nI showed DeepSeek-V4-Flash pairs of actions from the CTID attack flows and asked which happened first. It ordered 0.559 of the pairs correctly, close to a coin flip. That was not weak skill: it always named whichever action was shown first. Because I had shuffled which one came first, that habit averaged out to a coin flip. Had I always shown the actions in their true order, I estimate the same habit would have scored about 0.8, and I would have read it as skill.\n\n*Success that changed nothing*\nThe ordering step asks the model to put a report's actions in attack order. Each call is logged as successful when the model's answer can be read and the new order written into the flow without error. That says the step ran, not that it did anything: 76 of 401 successful calls returned the actions in exactly the order they came in. Sometimes that order was already right; on an example SolarWinds report it was not, and the success flag hid it. Each call now also records whether its answer changed the order.\n\n**Rule:** Before trusting a check that finds nothing, show that it can catch a canary. Shuffle anything a model could key on, such as the order options are presented in. Record what a step changed, not just that the step ran.\n\nI serve the models myself (or have kind friends who don't mind me heating up their homes), so the choices made for inference are a part of every result. This changed the numbers in three ways:\n\n- \nTemperature 0 doesn't guarantee repeatable output on a batching inference server: On DeepSeek-V4-Flash served by vLLM, five identical requests sent at one at a time gave 1 distinct answer; eight sent at once gave 8. The server batches simultaneous requests, which changes the order of floating-point arithmetic (see the awesome paper by Thinking Machines Lab about this, I understood some of the words). So two runs of the same arm are two samples, not one result repeated.\n- \n\"Thinking Off\" failed silently: Many models can reason in hidden tokens before answering (thinking). The switch that turns that off is spelled differently for each model, and a wrong spelling is ignored with no error. Calls that I believed had thinking off... did not. Make sure you have guards to identify scenarios where this behavior surfaces (especially if you are trying to disable thinking) and check the inference templates closely!\n- \nAnswers get cut off: With thinking on and a 4,096-token output cap, Qwen3.8-27B ran out of room mid-answer on 13 of the 38 units (34.2%). The rendered scores still looked plausible.\n\n**Rule:** When running your own inference, check every reply for reasoning tokens and truncation, and beware of noise (+ measure it) before assuming determinism.\n\nBefore spending effort or selecting a bigger model on a step (*mapper*, *extractor* etc), measure how many of the pipeline's errors that step actually causes, i.e. the *headroom*. A step that already gets most things right has little headroom left, however much you spend on it.\n\n*Retrieval was already good.* *Retrieval* hands the mapper 12 candidate techniques per passage. To see how many misses retrieval causes, I took passages a human had marked in CTI-HAL and checked whether the right technique family (a technique together with its sub techniques) was among the 12. ~89% of the time, the technique family was among the 12 candidates, so even a flawless retrieval process could fix at most a tenth of cases; most of what the pipeline misses is actually lost later in the process, when the *mapper* chooses. Giving the mapper more candidates made F1 (F1 = 2 · (precision · recall) / (precision + recall)) even worse: on the 38 CTI-HAL unit tests, Qwen3.8-27B's F1 was 0.508 with 12 candidates and 0.392 with 50.\n\nA second model on top of the *verifier* did not help; the verifier is a logistic regression over signals the pipeline already computes, so it costs no model calls. I tried adding a model to it in two ways and scored both by precision at matched volume: ~12 claims per report on a 30 report gate set, judged by J0 (sonnet-4-6, this is when I was still willing to spend some money on external capacity). A Qwen3.8-27B critic that re-checked the claims the verifier was least sure about raised precision by +0.036 [-0.017, +0.086], too small to tell apart from zero so we reverted the addition to the verifier. A DeepSeek-V4-Flash selector that replaced the verifier outright lowered precision by -0.078, a clear loss, and was also reverted.\n\n*What did help was cheaper.* The gains came from changing what a step was given or told, not from adding a model. Switching retrieval's search corpus from ATT&CK's technique descriptions to its procedure examples (the short write-ups of how real groups used each technique; lesson 8) raised retrieval recall on CTI-HAL from 0.690 to 0.848, measured at 65 candidates. Asking the mapper to quote its evidence for each technique (lesson 2) raised precision by +0.0423. Neither change needed a bigger model or an extra model call.\n\n**Rule:** Before reaching for a bigger model, measure how many errors the step you want to upgrade actually introduces to the pipeline (headroom), and try the cheap fixes first: better inputs, clearer instructions, or a deterministic baseline.\n\nA number in a project's documentation can look like a test result when it isn't actually one. I found two ways in which this happens.\n\n*A judgement call recorded as if it were measured.* When I lowered the verifier's threshold from `p` ≥ 0.10 to `p` ≥ 0.05, precision fell by 0.0304 and *family recall* (the share of a report's technique families found) rose by 0.0708. The two numbers come from two DIFFERENT answer keys: J1 (Qwen3.8-27B) judged precision while the ORKL vendor tables scored recall. There is no real rule for how much recall a point of precision is worth, so no test could pass or fail the decision to lower the threshold. I made the decision, it was not a *gate* result; the data didn't force the choice.\n\n*A gate passed on code I do not ship.* The *ordering* step puts a report's actions in attack order, and it used to run DeepSeek-V4-Flash with thinking off. I gated a version that lets the model think first, capped at 6,000 reasoning tokens (bounded thinking), against that shipped version. Both ran twice on 25 reports that have an analyst-built flow in the CTID corpus, and I compared their order agreement: the share of the analyst's action pairs each put in the same order. Bounded thinking won by +0.0366 [+0.0015, +0.0781], and the gate passed. Then a review found a bug in it. When the model finished thinking on its own, the code still added an end-of-thinking marker, so the model saw two; that happened on 8 of 64 thinking calls. The gate had scored the buggy version, not the code that would ship. I fixed the bug and ran the gate again with fresh passes on the fixed code: +0.0437 [+0.0054, +0.0810], a pass.\n\n**Rule:** Label a judgement call as a judgement call. Pass the gate on the exact *SHIPPED* code, if the code changes rerun the gate just like you would a test.\n\nThe evals were never the product. They were built so I could understand the quality of the pipeline I was building.\n\n**What ships.** Every piece of the pipeline earned its place in a gate: retrieving from ATT&CK's procedure examples (recall at 65 candidates 0.690 → 0.848), the evidence-quoting mapper prompt (+0.0423 precision), the verifier (38.3% precision vs 18.6% without it, at matched volume), the 0.05 threshold (now checked under J1 and J2 judges), and the ordering step with a retry and bounded thinking (+0.0437 order agreement).\n\n**What the evals killed.** A newer model for mapping (GLM, two gates, no gain that cleared zero), reading figures (+0.0017, no signal), an LLM critic and an LLM selector on top of the verifier, marking concurrent steps in the flow (six designs failed), and a fine-tuned 4B mapper (F1 0.469 vs 0.508). Without the gates, each of those would be in the pipeline today, costing compute or making it worse.\n\n**How good it is.** On 99 reports it was never tuned on, about four in five claims are judged correct (0.7909 by J1; 0.8056 by J2), and it recovers about half the technique families in each vendor's own table (0.5308). Lesson 1 is why I read that recall figure with care: the tables leave out techniques the prose describes, and list some it doesn't.\n\n**What it produces (so far).** Processing is still under way. As of late November 2026 the pipeline has processed 702 ORKL hosted vendor reports on my own hardware, with no per-report API spend. That's 24,751 technique claims, each with the quote that supports it (median 32 per report), covering 570 distinct techniques, plus an ordered attack flow and narrative for 699 reports, exported as STIX for review and correction. About 11,500 intrusion reports are queued behind them, so these counts will keep growing.\n\nWithout the evals I'd have a pipeline and no idea how far to trust it. With them I know what it gets right, how often, and where not to trust it: `p` is a ranking, not a probability, and recall is measured against a summary table, not a full inventory.\n\nWe can reduce our eleven lessons into five habits for building and evaluating pipelines that include LLMs.\n\n1. \n*Treat the evaluation as a second system with its own bugs.* Pipelines often fail loudly. The instrumentation will fail quietly, with a confident wrong number. Treat the evals like code.\n2. \n*Measure the instrument before the model.* Grade the same items at least twice for noise; grade a sample of each machine generated score or judgement by hand, metric by metric; know whose labels a score was fitted to.\n3. \n*Make comparisons fair by construction.* Identical inputs, matched volume, production's real operating point, and randomized present ation are all essential controls.\n4. \n*Discount good news.* Keep a sealed (held-out) set of data, expect screens to shrink, give every zero a positive control and re-gate code as you ship.\n5. \n*Change what the model is given before changing the model.* Measure headroom first; my real gains came from the retrieval corpus and prompt/instruction tuning.\n\nI graded samples by hand; LLM judges graded the full sets. I am a domain expert/SME in cyber but even I am liable to make mistakes (there are often disagreements on technique/sub-technique ATT&CK annotations on the same passage). Most tuning and review used the same 60 in-sample reports and 38 CTI-HAL units; only the held-out 99 were unseen, and 40 of those were later reused for the GLM gates. My judges were various LLMs (claude-sonnet-4-6, Qwen3.8-27B, and finally DeepSeek-V4.1-Flash) and they disagree on strictness. Batching on my inference architecture (2x DGX Sparks) makes temperature 0 non-deterministic.\n\nThe pipeline didn't mislead me loudly. The scorecards did, quietly. Build the measurement instruments with the same rigor and diligence as the pipeline.\n\nReference material: every number in the lessons comes from one of these cards, with its data, models and scorer.\n\n**Data.** Three kinds of ground truth, each able to measure some things and not others:\n\n- **[ORKL](https://orkl.eu/)** , only the reports that include a vendor ATT&CK table. The technique\nIDs in that table, parsed from the report text, are the gold: 465 visible reports and 149 sealed, of which 100\nwere later drawn for the held-out check and 49 remain sealed. Gives report-level family recall;\ngives precision only as a floor.\n- **[CTI-HAL](https://github.com/dessertlab/CTI-HAL)** , 71 vendor PDFs whose human annotations tie each\ntechnique to the sentences describing it (Della Penna et al., 2025; see References). Measures extraction and mapping from a known passage.\n- **[CTID Attack Flow corpus](https://github.com/center-for-threat-informed-defense/attack-flow/tree/0bd4a2d/corpus)** ,\nanalyst-built attack flows. Measures ordering.\n\n**Judges.** The judge changed twice; numbers from different judges are never compared.\n\n| judge | model | noise band (same claims judged twice) | \n|---|---|---|\n| J0 | claude-sonnet-4-6, the original baseline and the labels the verifier was fitted on | not measured as a band | \n| J1 | Qwen3.8-27B, local, thinking off | 0.0042 | \n| J2 | DeepSeek-V4.1-Flash, local, thinking on | 0.0140 | \n\n| Question | Does one fixed text window fit the model on real reports? Does transcribing figures help? | \n| Decision | PyMuPDF text in one window; figures stay off. The gold could never have rewarded figures | \n| Data | 50 ORKL reports for the window; the 71 CTI-HAL PDFs, 462 figures, for the figures gate | \n| Models | none for text; GLM-5.3-Flash-EXL3 as the figure-reading model | \n| Scored by | characters per token; judge J2, two passes, for the figures gate | \n| Primary metric | judged family recall against CTI-HAL gold | \n| Guards | judged precision as a veto; noise floor from two control runs; gold passages that exist only in figures | \n| Result | 2.67 characters per token at the densest 5% of reports, so the 60,000-character window fits. Figures: recall 0.6442 → 0.6459, Δ +0.0017 [−0.0113, +0.0138] over 69 reports; 0 gold passages locate only in figure text | \n\n| Question | Does the extractor quote the behaviour, and only the behaviour? Which model? | \n| Decision | Choose the model on coverage read beside lift, never coverage alone | \n| Data | CTI-HAL, 1,312 gold technique mentions | \n| Models | Qwen3.6-35B-A3B, Qwen3.8-27B, DeepSeek-V4-Flash, GLM-5.3-Flash | \n| Scored by | overlap of extracted passages with human-marked passages (zero model calls) | \n| Primary metric | coverage: share of gold mentions inside an extracted passage | \n| Guards | lift over random passages; share of text selected; recall of malware and tool names ATT&CK does not list | \n| Result | Locating the model's quotes in the source despite small wording changes took coverage from 0.241 to 0.501 with no model change. A3B 0.846 coverage / 2.11 lift / 0.279 of text vs the 27B's 0.742 / 2.28 / 0.214; at a matched text budget A3B covers 0.465 vs 0.508. GLM vs DeepSeek: 0.896 vs 0.745 | \n\n| Question | Can the right technique be retrieved, and is it ranked high enough to reach the mapper? | \n| Decision | Retrieve from procedure examples; work on ranking, not reach. The rerank lifts gold into the candidates, but the mapper spends most of it on extra acceptances | \n| Data | CTI-HAL, 860 (document, family) pairs; the 38 units to test conversion at the mapper | \n| Models | a local embedding encoder over ATT&CK; Qwen3.8-27B for the rerank | \n| Scored by | recall at N candidates (zero model calls); mapper precision and recall with and without rerank | \n| Primary metric | recall@N; recall@12 after rerank | \n| Guards | misses split into never-retrieved vs ranked too low; a self-citation check with a planted positive; a perfect-ranker ceiling | \n| Result | Procedure examples 0.848 vs technique descriptions 0.690 at N = 65. At N = 20, unreachable 0.027 vs rank loss 0.452. Recall@12: 0.4711 in retrieval order, 0.6127 after the 27B rerank, 0.7030 with a perfect reranker. At the mapper: recall 0.562 → 0.656, precision 0.350 → 0.318, F1 0.431 → 0.429 | \n\n| Question | Given 12 candidate techniques for one passage, does the mapper choose correctly? Which model and prompt? | \n| Decision | The 27B, 12 candidates, the evidence-quoting prompt | \n| Data | the 38 CTI-HAL units, identical candidates in every arm; 60 in-sample ORKL reports, 1,116 gold (report, family) pairs | \n| Models | Qwen3.8-27B, a 4B model fine-tuned for this task, DeepSeek-V4-Flash, GLM-5.3-Flash | \n| Scored by | CTI-HAL gold for P/R/F1; judges J1, later J2, for judged precision; my blind adjudication | \n| Primary metric | judged precision at matched volume | \n| Guards | family recall as a veto; picks outside the candidates; a human check of answer-key techniques the mapper declined | \n| Result | 27B P 0.398 / R 0.703 / F1 0.508 vs the 4B's 0.676 / 0.359 / 0.469. Evidence-quoting prompt +0.0423 [+0.0208, +0.0639]; at p ≥ 0.05, +0.0492 with a recall veto of −0.0108 that adjudication put at −0.0070. Of answer-key techniques the mapper declined, I judged 6/55 = 0.1091 real misses; the rest were correct rejections. GLM map-only gate at p ≥ 0.05: precision +0.0714, recall −0.0236, vetoed | \n\n| Question | Can a verifier that makes no model calls pick better claims than free ranking signals? Where should the cut sit? | \n| Decision | Keep claims with p ≥ 0.05, which I chose from judged outcomes | \n| Data | 30 ORKL reports graded by J0; a separate training set of 40 reports, 1,815 claims; all 1,703 claims at the chosen cut, each judged | \n| Models | none: an 11-feature logistic regression | \n| Scored by | judged precision; calibration measured on data the model was not fitted on; recall against the ORKL tables | \n| Primary metric | judged precision at matched claims per report | \n| Guards | calibration error; Brier skill (improvement over always predicting the average); a control trained on shuffled labels; the recall ceiling of any fixed cut | \n| Result | Precision at 11.8 claims per report: 7.1% with no selection, 18.6% ranked without the verifier, 38.3% with it. Expected calibration error 0.0124, Brier skill 0.2138; shuffled labels −0.078 [−0.117, −0.042]. A fixed 12 claims per report caps recall at 61.6%. An LLM critic added +0.036 [−0.017, +0.086] and was deleted. Threshold 0.10 → 0.05: precision 0.8525 → 0.8221 (−0.0304 [−0.0397, −0.0211]), recall 0.5206 → 0.5914 (+0.0708 [+0.0566, +0.0855]); under J2: band pass rate 0.7424 in-sample, 0.7010 held-out | \n\n| Question | Does one model call order the actions better than document order? Can it mark actions that happen at the same time (concurrent)? | \n| Decision | The ordering step with a retry and a bounded thinking budget; concurrency marking dropped after six designs failed | \n| Data | CTID flows: first 14 flows from 12 reports, 370 ordered pairs; rebuilt to 28 flows in 25 groups, 839 ordered and 131 concurrent pairs | \n| Models | DeepSeek-V4-Flash, then GLM-5.3-Flash | \n| Scored by | analyst-built flows (zero model calls) | \n| Primary metric | order agreement, pooled (micro): correctly ordered gold pairs over all gold ordered pairs, across all flows | \n| Guards | share of concurrent pairs found; probes of whether the model can detect concurrency at all; how often it dropped an action or returned the input order unchanged | \n| Result | Document order 0.621. Ordering step +0.0954 [+0.0306, +0.1757] pooled; averaged per flow (macro) +0.0659 [−0.0598, +0.1660], which fails. Asking the same call to group concurrent actions cost −0.1192 [−0.1854, −0.0469]. Bounded thinking re-gated at +0.0437 [+0.0054, +0.0810] | \n\n| Question | How much of what I emit is right, how much of each ORKL report's ATT&CK table do I recover, and does it hold on unseen reports? | \n| Decision | Quote held-out precision beside in-sample, each with its instrument | \n| Data | 60 in-sample ORKL reports; 99 held-out reports no run had touched | \n| Models | the shipped pipeline | \n| Scored by | judge J1, re-checked with J2; the ORKL tables; my blind sheet | \n| Primary metric | judged precision and family recall, never blended | \n| Guards | claims per report; a re-run of the in-sample reports to rule out drift | \n| Result | In-sample precision 1,400/1,703 = 0.8221; held out 2,376/3,004 = 0.7909; in-sample minus held-out +0.0311 [+0.0005, +0.0612]. Recall 0.5914 in-sample, 1,137/2,142 = 0.5308 held out, inconclusive. Re-run 0.8234: no drift. My sheet 20/21 = 0.9524. Under J2 (two passes): 0.8321 in-sample, 0.8056 held out | \n\n| Question | How noisy is the judge, which way is it biased against a human, and which scoring rule and prompt should it use? | \n| Decision | J2, counting only `pass` as correct, with the evidence-policy prompt | \n| Data | the same claims judged twice; my blind sheets | \n| Models | J0, J1, J2 (table above) | \n| Scored by | the judge against itself, against another judge, and against me | \n| Primary metric | the noise band in precision units | \n| Guards | verdict flips; κ (agreement beyond chance); balanced accuracy | \n| Result | J0 re-judged 331/354 = 93.5% verdict agreement. J1 band 0.0042, 13 of 1,189 flips; against me κ 0.4815, pass rate 0.7143 vs my 0.8095, so stricter. J2 band 0.0140, 104 of 927 flips, κ 0.517 with J1. A prompt spelling out what counts as evidence, vs the original prompt: balanced accuracy +0.0879 [+0.0622, +0.1082] | \n\nDella Penna, S., Natella, R., Orbinato, V., Parracino, L., and Pianese, L. (2025). \"CTI-HAL: A\nHuman-Annotated Dataset for Cyber Threat Intelligence Analysis.\" In *2025 IEEE European Symposium on\nSecurity and Privacy Workshops (EuroS&PW)*, pp. 69–78. IEEE Computer Society.\n[doi:10.1109/EuroSPW67616.2025.00014](https://doi.org/10.1109/EuroSPW67616.2025.00014). Dataset:\n[github.com/dessertlab/CTI-HAL](https://github.com/dessertlab/CTI-HAL).", "url": "https://wpnews.pro/news/evals-still-require-your-brain-how-to-figure-out-what-you-can-trust", "canonical_source": "https://gist.github.com/Blevene/1d3bcb07497d839451a81cbebd9d9caa", "published_at": "2026-11-24 21:39:07+00:00", "updated_at": "2026-11-28 14:13:56.613406+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "large-language-models", "mlops", "ai-tools"], "entities": ["Brandon Levene", "valgur", "MITRE ATT&CK", "ORKL", "CTI-HAL", "Della Penna", "Google", "OpenAI"], "also_reported_by": [], "takeaway": "Vendor-written ATT&CK tables used as a gold answer key understated model precision by about half, so validate labels before trusting them as ground truth.", "recommendation": {"advice": "Commit gate rules to git before running them and use paired bootstrap confidence intervals on identical reports to decide what ships.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/evals-still-require-your-brain-how-to-figure-out-what-you-can-trust", "markdown": "https://wpnews.pro/news/evals-still-require-your-brain-how-to-figure-out-what-you-can-trust.md", "text": "https://wpnews.pro/news/evals-still-require-your-brain-how-to-figure-out-what-you-can-trust.txt", "jsonld": "https://wpnews.pro/news/evals-still-require-your-brain-how-to-figure-out-what-you-can-trust.jsonld"}}