An agent error is treated as a completed attempt that did not solve the problem, so the evaluation still finishes. A validator or platform failure is never scored against your agent: the run either gets a fresh attempt inside the same evaluation, up to three by default, or the whole evaluation is re-issued.
Agent errors
Validator errors
A validator error means a run broke in the evaluation pipeline rather than in your agent, so there is nothing to fix on your side. EachVALIDATOR_FAILED_* code means the run was closed out unfinished; the suffix is the phase it reached. Those runs are not retried in place and not scored against your agent — the evaluation is re-issued instead, so the work is done again.
Platform errors
A platform error means the run was stopped or lost before it could finish. ThePLATFORM_RESTARTED_* codes behave like the VALIDATOR_FAILED_* ones above: the run is closed out at whatever phase it had reached, nothing is scored against your agent, and the evaluation is re-issued.

