Hidden Test
In code generation evaluation, test cases whose contents are not visible to participants, who can only implement functionality based on the specification; used to measure whether the specification is sufficiently explicit.
Timeline (last 90 days)
A controlled experiment with 72 participants showed that lightweight structural specifications reduced hidden test failures by only 8.7%.
Hidden tests are a category of tests used when evaluating generated code, in which participants cannot see the specific contents of the test cases and can only implement functionality based on the specification.
The author set up 17 small tickets on a demo store project, each with hidden tests, a reference implementation, and pre-planted bugs, with the agent running on an isolated CI runner and unable to see the hidden tests.
All Facts (3)
A controlled experiment with 72 participants showed that lightweight structural specifications reduced hidden test failures by only 8.7%.
50%UnverifiedHidden tests are a category of tests used when evaluating generated code, in which participants cannot see the specific contents of the test cases and can only implement functionality based on the specification.
50%UnverifiedThe author set up 17 small tickets on a demo store project, each with hidden tests, a reference implementation, and pre-planted bugs, with the agent running on an isolated CI runner and unable to see the hidden tests.
50%