evaluators icon indicating copy to clipboard operation
evaluators copied to clipboard

[BUG]: Claude Opus, Sonnet and Fable refuse some evaluators that ask for step-by-step reasoning

Open czi-fsisenda opened this issue 1 week ago • 1 comments

Describe the bug

When some evaluators run on Anthropic's Claude Opus 5.5, Sonnet 5.5 or Fable 5.2, the API declines the request. It answers with HTTP 200, stop_reason: "refusal" and the category reasoning_extraction, and the evaluation fails. Haiku 5.5 is reported as not affected.

The refusal appears to follow the output schema the evaluator sends, in particular fields that ask the model to write out its reasoning.

Affected (tested on Python SDK v1.3.0 and TypeScript SDK v1.4.0, two runs per model)

  • Grade Level Appropriateness and Revision Accuracy: refused in the TypeScript SDK on Opus 5.5, Sonnet 5.5 and Fable 5.2.
  • Revision Actionability, Revision Manageability, Strength Acknowledgment and Tone Appropriateness: refused in the TypeScript SDK on Opus 5.5 and Fable 5.2, and in the Python SDK on Fable 5.2.
  • Withholding Answers: refused in the TypeScript SDK on Opus 5.5 and Fable 5.2.
  • Student Response Specificity: refused in the TypeScript SDK on Fable 5.2.

Fixed

  • Sentence Structure, in both SDKs (see the comment below).

Not affected in our tests

  • The other ten evaluators ran without a refusal on Opus 5.5, Sonnet 5.5 and Fable 5.2 in both SDKs.

Refusals can be intermittent, so an evaluator or model not listed here may still be refused occasionally.

List steps to reproduce the issue

  1. Create one of the evaluators above with a model override that points at Anthropic, for example claude-opus-5-5 or claude-sonnet-5-5.
  2. Run an evaluation on any text.
  3. The call fails with a refusal.

Expected behavior

The evaluator returns a result on Claude models, as it does on its default models.

Environment

  • Runtime or platform: Python SDK and TypeScript SDK, with a model override to Anthropic.

Additional context

  • The evaluators' default models are not affected.
  • Since Python SDK v1.3.0 and TypeScript SDK v1.4.0, a refusal is raised as LLMRefusalError with the provider's category (#442).
  • First reported and fixed for Sentence Structure in #440.

czi-fsisenda avatar Nov 25 '26 01:11 czi-fsisenda

Update: the latest release fixes this for Sentence Structure in both SDKs (Python SDK v1.3.0 and TypeScript SDK v1.4.0, via #440).

The other evaluators listed above are still affected. We're working on a fix and will update this issue.

czi-fsisenda avatar Nov 25 '26 01:11 czi-fsisenda