DEV Community

Cover image for Nothing Reported It

Nothing Reported It

Ken W Alger on October 22, 2026

Five ways my own test harness lied to me, and the one that nearly got published Update, 30 October 2026. The throughput section below...
Collapse
 
whiteknightonhorse profile image
whiteknightonhorse •

The 97-token prompt is a great catch, and no pass/fail check would find it, because every call returned 200. I've started treating "the check never ran" as its own result, separate from pass and fail, since otherwise it reads as a pass. Which of the five would you guard against first in a new harness?

Collapse
 
kenwalger profile image
Ken W Alger •

I'd start with the check that never actually ran, especially when the harness can still produce something that looks like a valid result. The 97-token prompt was particularly revealing because the HTTP responses were successful, the model produced answers, and the scoring pipeline kept moving. Nothing in that sequence established that the intended reference material had actually reached the model.

My first guardrail in a new harness would be a preflight check that verifies the expected inputs are present and sufficiently complete before evaluation begins. If that fails, the run should be marked invalid, not failed and certainly not passed.

I like your distinction between pass, fail, and not executed. I'd add invalid or indeterminate as another useful outcome, because a check can execute successfully against the wrong material. That's a different failure from never executing at all, and it deserves to remain visible.

Collapse
 
whiteknightonhorse profile image
whiteknightonhorse •

Invalid as its own outcome makes sense. In our setup a missing result already carries a reason: the check did not run, the input was unreadable, or there was no evidence in the window. A check that ran fine against the wrong material has no name in that list yet, and your example shows why it needs one. Taking that one back to the team.

Thread Thread
 
kenwalger profile image
Ken W Alger •

That's an interesting distinction in your existing setup. You're already preserving why evidence is missing, but here the evidence exists and seems valid even though it doesn't match what was supposed to be evaluated.

I think that's what made the 97-token example so revealing. The machinery worked; the evaluation premise didn't. I'd be interested to hear where your team lands on how you represent that distinction. Thanks for taking the idea back to them!

Thread Thread
 
whiteknightonhorse profile image
whiteknightonhorse •

Will do, and thanks for the push on it. I'll come back to this thread once we settle how to record it. Your 97-token example went into our notes as the case it has to handle.

Collapse
 
mrsaynothing profile image
Mr Say Nothing •

The 97-median-token line is the whole post in one number: the harness reported the empty reference block correctly, three reads in a row, and it got past you because the scores came back internally consistent with plausible, different failure modes on each side — which is precisely what a successful-looking run is supposed to feel like. Every call returned 200, the scorer scored, 2,700 words of conclusions got written, and the entire edifice measured a question nobody was asking. Worth saying the wine-inventing model was not malfunctioning either: it answered the prompt it actually received, and that prompt contained nothing. The only number telling the truth was in a table you had already read — telemetry stays honest, humans skim. That asymmetry is the reusable part.

Collapse
 
kenwalger profile image
Ken W Alger •

That's an excellent reading of what went wrong. The measurements were internally consistent, the model behaviors looked meaningfully different, and the whole thing was plausible enough that I went on to draw conclusions about an experiment I hadn't actually run as intended.

I'd qualify two parts slightly. The model that invented a wine was responding without the intended reference material, but whether inventing an answer was acceptable still depends on the instructions it received. And telemetry can be accurate about its observations without being sufficient to support the interpretation we place on them.

In fact, a later reader helped uncover another measurement problem in the throughput calculation, so even the instrumentation deserved more scrutiny.

But I completely agree with your central point: the empty reference block was visible in the results, and I read past it because the rest of the experiment seemed coherent.

That's probably the most reusable failure in the entire project. The system didn't need to hide the warning. It only needed to produce enough plausible surrounding evidence that I failed to recognize its significance.

Thanks for articulating that so well.

Collapse
 
arhancanli profile image
Arhan Canli •

The 4.3 -> 7.6 tok/s reading may be a cold start rather than contention. If the speed is computed from wall-clock time, the first generations include Ollama's model load, and with short outputs that dominates. The response splits it out: load_duration, prompt_eval_duration, and eval_count / eval_duration (nanoseconds), so tokens per second from eval_duration alone leaves load and prompt processing out. Worth keeping the first call out of the "first third", or reporting it on its own.

One more on the 13 of 15 NOT IN THE MATERIAL: with n=15 the Wilson 95% interval for 13/15 is about 62% to 96%, and 4 of 4 abstentions has a lower bound near 51%. Printing the interval next to the headline would carry the same warning your concentration check does. Does the decay check read eval_duration, or time around the request?

Collapse
 
kenwalger profile image
Ken W Alger •

Good catches, and checking them properly turned up something worse than either of us suggested.

First, directly: the decay check reads eval_duration, not wall clock. tps is eval_count / eval_duration, and load_duration only feeds a separate first_token_ms field the check never reads. So cold start can't explain it. The load was real and enormous: 96.7 seconds on the first QA call, down to a 2.8-second median afterward, but it never showed up in that number.

You were right that short outputs break this, just by a different mechanism. Reported tok/s fits n / ((n-1) × t) to within 2% across my runs. That's consistent with eval_count counting n tokens while eval_duration covers approximately n-1 inter-token intervals. The resulting inflation is n/(n-1): 2x at two tokens, 1.12x at nine.

In the extraction run, the answers drop from nine tokens to two partway through, which explains the entire apparent increase from 4.3 to 7.6 tok/s. Inter-token time is flat. Nothing got faster.

So the metric I built specifically so that answer length wouldn't contaminate the speed reading is contaminated by answer length.

Your interval arithmetic is right too: 62.1% to 96.3% for 13/15, and a 51.0% lower bound for 4/4. These are hand-built fixtures rather than a random sample, so those intervals illustrate the uncertainty in extrapolating from small counts, not a statistically justified bound on general capability.

Thanks. This is the second measurement error in this project that someone other than me found.

Collapse
 
ivannovazzi profile image
Ivan Annovazzi •

Oof, the invented wine got me. One model said NOT IN THE MATERIAL thirteen times while the other just made up a bottle, and every single call returned 200 through all of it. If you haven't already, worth logging the full prompt and asserting a sentinel string from the docs shows up in it, that catches this class of bug dead

Collapse
 
kenwalger profile image
Ken W Alger •

Exactly. The HTTP 200s say nothing about whether the model received the material it needed to answer correctly.

I like the sentinel assertion as a regression test for that specific failure mode. It would catch the case where the expected source material never made it into the assembled prompt.

The qualification I'd add is that one sentinel doesn't prove the rest of the context arrived intact or that the answer was grounded in it. It's evidence that one boundary was crossed successfully, not proof of the entire chain.

And that's part of what made the invented bottle so revealing: the system could be operationally healthy while its evidentiary basis was missing. The model that repeatedly answered NOT IN THE MATERIAL was arguably behaving much more responsibly than the one that confidently invented an answer.

Collapse
 
anp2network profile image
ANP2 Network •

Your second failure mode has a version that never gets caught before the run, because it survives the entire history looking healthy, and the worst place for it to live is a score. A read-only scan today over the append-only event log we operate for AI agents pulled all 1,783 task-verdict rows. The numeric score field takes two values. 1.0 on 1,745 rows, 0.0 on 37. Those two sets are exactly the pass set and the fail set. So a float that reads like a graded quality measure is a re-encoding of the boolean sitting next to it, and ranking providers by mean score, which is the obvious thing to do with a float, only ranks them by pass rate.

The explanation fields complicate "absence does not raise" rather than just repeating it. Across those 1,783 rows the reasons field has five distinct values, and 1,744 of them are the same string. The evidence field, which exists to name event ids a reviewer could go re-check, is an empty array on 1,781 rows. All of those rows have the key. A presence check that tests for schema keys blesses every bit of this, and schema validation did exactly that for months, which is your kind five one layer in: verifying an artifact is present has to reach inside the container, since the key is not the content.

The thing I did not predict was the overlap. Exactly one row has non-empty evidence. Exactly one row carries itemized reasons instead of the constant. It is the same row. The decent behaviour did not spread thinly across fields, it collapsed into a single record, so the per-field numbers (99.9% empty, 99.9% constant) describe the shape badly. There is no gradient to walk up. There is one row that did the work and 1,782 that emitted a correctly shaped placeholder.

Your two new template rows are useful, but both get answered by reasoning about the harness before the run, and your own account gives that an uncomfortable record of zero for five. The data-side version is runnable after the experiment and before the write-up, without consulting what any field was meant to mean: for every column the write-up leans on, print its distribution, then measure how much of it another column in the same table already explains. Our score fails that in one line. Distribution alone would not have been enough, since two values heavily skewed toward 1.0 could plausibly mean the tasks were easy; the comparison against the pass bit is what exposes the duplication. It reaches your abstention collapse too, that being concentration in a single column, which is the check you ended up hand-building. The honest limit is that it inherits the weakness you name at the end. It tells you a column is degenerate and stays silent about why, so its output is a reason to go look upstream, never a diagnosis.

In the verdict table you already have, does any column still move once you hold the headline pass-or-fail result fixed?

Collapse
 
kenwalger profile image
Ken W Alger •

This is an excellent example, particularly the comparison between the numeric score and the pass/fail field. A distribution check would tell you the score has only two values, but conditioning on the verdict tells you something much more useful: it carries no additional information beyond the binary outcome.

Whether that's a bug depends on the score's intended meaning, but if it's being presented or used as a graded quality measure, the distinction has effectively disappeared. Ranking by mean score then becomes ranking by pass rate, regardless of what the column name suggests.

The overlap between the one evidence-bearing row and the one row with itemized reasons is interesting, too. You're not looking at a gradual degradation in evidence quality. You're looking at one record that appears to contain substantive supporting detail and an overwhelming majority that satisfy the shape without supplying comparable content.

I particularly like your proposed post-run check: inspect the distributions of the fields used in the conclusions, then test whether they contribute information beyond the headline outcome. That's a useful addition to the pre-run questions I proposed.

And I agree with your final qualification. Finding a degenerate field tells us where to investigate, not why it happened. My abstention detector taught me that lesson the hard way.

On your question about my verdict table: I haven't run that conditional-dependence analysis, so I can't claim any of its columns survive it. That's worth checking against the committed results before drawing another conclusion from them.

Collapse
 
kartik-nvjk profile image
Kartik N V J K •

The 360M model scoring 3 on confident wrong while escalating 43 of 50 is a trap I'd walk straight into, since the number moves the way everyone wants it to. The abstention check worries me more, because it fired for the right reason and still sent you to the wrong layer. Would it help if each warning printed what it could actually see, so the QA collapse message said it had only read outputs and never the prompt?

Collapse
 
kenwalger profile image
Ken W Alger •

Yes, I think that would have made a substantial difference.

The abstention check detected a genuine pattern, but it had no visibility into the assembled prompt or retrieved reference material. It could tell me what the model returned, not why.

Having each warning declare its observation boundary would make that limitation explicit. Something like "13/15 abstentions observed; checker inspected responses only; prompt and retrieval contents not verified" would have been much harder to mistake for a diagnosis.

I particularly like that this doesn't require the checker to become more sophisticated at interpreting results. It requires it to be more precise about what it actually knows.

That's a useful design change for the harness, and it fits a larger principle I've been working through: evidence should carry its own visibility limits rather than leaving readers to infer them.

Thanks for the suggestion.

Collapse
 
mudassirworks profile image
Mudassir Khan •

the 97 token prompt sitting next to 447 words of reference material is a great catch. the field was telling you the truth the whole time and the 200 on every call hid it. we added a boring preflight assert after something similar bit us: if the retrieved context is under a floor, the run aborts before any model gets called. cheapest eval test we ever wrote. on the confident wrong metric, did you try printing the answer distribution next to every headline score, so a model that says the same thing 13 times out of 15 cannot pass quietly?

Collapse
 
kenwalger profile image
Ken W Alger •

Yes, and that was one of the more uncomfortable discoveries. The 13-of-15 NOT IN THE MATERIAL result was exactly the kind of answer concentration that should make a headline score suspect.

I added collapse checks to both the classification and grounded-QA workflows, so the scorer now reports when one answer dominates the results rather than letting the headline metric stand on its own. On the input side, the corpus loader refuses an empty or implausibly small document set, the runner prints the corpus size before making model calls, and the scorer independently flags prompts too small to contain the expected material.

Your preflight assertion is exactly the kind of inexpensive safeguard I wish I'd written before the first run.

The remaining problem is interpretation. My concentration detector actually fired on the invalid run, but I initially interpreted it as a model refusing to answer. The model did exactly what the prompt instructed with an empty reference block. The detector correctly identified an abnormal distribution while pointing me toward the wrong cause.

That's the distinction I'm still working through: detecting a suspicious result isn't the same as explaining why it happened. A good warning should keep the investigation open, not supply a diagnosis it cannot support.

Collapse
 
friga profile image
Artur Pokładek •

Had the same thing with a contact form on a shop I took over. Green success message, messages went nowhere, and nothing ever errored. How do you catch it when the wrong number looks normal?

Collapse
 
kenwalger profile image
Ken W Alger •

That's a perfect example of the problem. The green success message only proves that the application reached the point where it decided to display success. It doesn't prove the message reached the intended recipient.

I'd approach it with an end-to-end synthetic submission that uses a unique identifier, then verify that the identifier appears at the destination. A successful HTTP response, a database insert, or even an email provider accepting a message is only evidence of an intermediate step.

The harder part of your question is knowing when the wrong number looks normal. That's where I think independent reconciliation matters. If the site reports 40 successful submissions but the destination only accounts for 37, those three missing messages need to become an observable state rather than disappear into a healthy-looking total.

Of course, even matching counts wouldn't prove every individual message arrived. I'd want the identifiers reconciled, too.

Collapse
 
friga profile image
Artur Pokładek •

Agreed, counts lie politely. The boring version I'd ship: an ID on every submission, the same ID in the email subject, and a nightly diff between what the site logged and what actually landed in the inbox. Empty diff, nobody hears about it. Anything else, someone finally gets a message that isn't green.