- Set docker_image to the base image in every task.toml (b8c1c5b3737182b45574e2f732f9ab4cf48f9c12)
Co-authored-by: Younes B <ybelkada@users.noreply.huggingface.co>
`_tool_calls()` read /workdir/.n_tool_calls and $N_TOOL_CALLS. Nothing writes that file and no task.toml sets that variable, so the count was always None and `_tool_efficiency` always returned null. Harbor's reward model is dict[str, float|int], so the null rejected the WHOLE dict and took `correctness` with it.
The only surviving path was the empty-submission early return, which hardcodes floats -- so the suite graded failures correctly and crashed on every successful answer. Measured on Qwen3.5-4B via opencode: of 250 tasks, the 86 invoking `grader.py --json` failed with '2 validation errors for VerifierResult' whenever the agent actually produced an answer.
The tool-call count is not the sandbox's to know -- it lives in the capture proxy, which sees every model call. A reward belongs in the verifier only if the sandbox is what makes it computable: correctness needs the data, the gold and the tolerances; tool efficiency needs a trace. Efficiency moves to the trainer, gated on corre…