TECHNOLOGY

OpenHands critic success and refinement use different thresholds

In this article
THE QUICK TAKE

Interpret the critic score, result property and refinement policy separately, and retain deterministic checks for the actual coding task.

Diagnose refinement after an apparent success

An OpenHands critic result is marked successful, yet the agent continues refining its work. That need not be contradictory. The SDK critic reference defines the result’s success property using a score of at least 0.5. Automatic refinement uses its separately configured success_threshold. A label on the result and the policy deciding whether to continue answer different questions.

Compare the score with the actual policy

The Canvas critic guide documents a default refinement threshold of 0.6. A score between the result-property threshold and the configured refinement threshold can therefore produce a successful result property while still triggering another attempt. Read the installed configuration instead of assuming the success label is the stopping rule. Keep custom thresholds and iteration limits with the run evidence when explaining why work continued or stopped.

Separate passive evaluation from automatic action

Enabling critic feedback and enabling iterative refinement are separate choices. Passive evaluation can show a predicted success score without asking the agent to change anything. Refinement can generate follow-up work after the agent finishes when the score is too low. The Canvas guide applies changed settings to new conversations and identifies the feature as experimental. An already open conversation need not adopt a revised threshold merely because the settings page was saved.

Distinguish critique from objective completion

The goal-loop guide places critic behavior inside a run and the goal judge outside it. A favorable critic score does not automatically resolve every explicit objective condition. Neither is a predicted score an observed application test or a guarantee of correctness. For a parser repair, preserve the actual failure-case check even when the evaluator’s score is high; model-based feedback and deterministic evidence serve complementary purposes.

Explain the stopping reason clearly

Record the critic score, effective refinement threshold, retry limit and relevant check outcome. Tool observations distinguish an evaluation from an executed test, while a task contract states the required result. If the loop stopped at its limit, report remaining issues rather than presenting the final score as proof that the patch is ready. The useful conclusion identifies what was verified and which policy ended further refinement.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles