Menu

A Retried Case Is Not a Passed Case: Attempt-Level Traces for Eval Harnesses
πŸ“°

A Retried Case Is Not a Passed Case: Attempt-Level Traces for Eval Harnesses

DEV Community: cppΒ·Finley LiΒ·1 day ago
#Gvy61amg
#devtocpp#devto#dev#attempt#case
Long article (1326 words) β€” no AI summary yet.
Reading 0:00
15s threshold

An eval harness often grows a retry loop for mundane reasons: shared build machines, transient linker failures, or a test runner that occasionally exits nonzero under load. The loop is easy to add and easy to forget. The problem is not retry itself; it is collapsing several attempts into one verdict without recording what each attempt observed.

This article describes one failure mode, a record shape that exposes it, and observation-based controls a reader can use to check their own harness. The scenario is illustrative, not a reported incident. No executable commands are included; the checks are proposed observations, not results.

The scenario

A team grades AI-generated C++ patches. For each case, the harness compiles the patched tree, runs a test binary, and compares the generated out.txt with an expected artifact.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.