﻿# OpenHands critic success and refinement use different thresholds

OpenHands critic success flags and refinement stopping thresholds differ: a score can satisfy the result property while remaining below the configured retry threshold.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-openhands-critic-success-refinement-threshold/
Language: en

## 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](https://docs.openhands.dev/sdk/guides/critic) 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](https://docs.openhands.dev/openhands/usage/agent-canvas/critic) 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](https://docs.openhands.dev/sdk/guides/convo-goal) 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](/journal/learn-codex-tool-observation/) distinguish an evaluation from an executed test, while a [task contract](/journal/learn-codex-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.
