AI-generated tests need to be executed before their quality can be judged. In a Rails testing experiment, Mistral AI reports that only about a third of generated tests passed on their first run. Its AgentA system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.Full definition → received failure messages and information about untested lines, then revised the tests until they passed.
Mistral also shows an illustrative test that ModelA computational system that uses learned patterns to produce an output from information supplied to it.Full definition →-based scoring rated favorably, with an average of 0.75, even though a missing parenthesis prevented it from running. That example explains why a plausible-looking test is insufficient. Running the tests supplies concrete feedback from the software itself, which a model's quality score cannot replace as proof of correctness.
Terms in this piece · Glossary
Agent — A system in which a model repeatedly chooses operations, a harness carries them out, and the results return to the model to inform its next choice.
Model — A computational system that uses learned patterns to produce an output from information supplied to it.