Skip to content

docs(tier3): say that a refused attempt fails the arm's attempt coverage - #347

Merged
rng1995 merged 2 commits into
mainfrom
naren/followup-337-refusal-coverage-docs
Nov 5, 2026
Merged

rng1995 merged 2 commits into
mainfrom
naren/followup-337-refusal-coverage-docs

Conversation

@rng1995

@rng1995 rng1995 commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #337, which merged before its last review round. #337 turns off Claude Code's refusal model fallback in eval trials. Its CHANGELOG entry and docs said only that a refused attempt "counts against the arm's scored-attempt coverage", which does not tell a user what they will see.

  • The CHANGELOG entry (Unreleased / Fixed), the Supported agents section of docs/agents-and-sandboxes.mdx and the Troubleshooting entry in docs/tier3-live-evaluation.mdx now name the visible result:
    • the arm no longer has complete attempt coverage, for example Scored attempt coverage is 59/60 after one refusal in 20 cases with 3 attempts each;
    • its execution fails, and tier3 evaluate and validate --block-on-agent-eval exit 1;
    • on a route that serves the fallback model, such as the Anthropic API, a run that completed before can now fail. The docs say to rerun it or to evaluate the refused case with another model.
  • No code changes.

Why

#337 deliberately changes what happens on a refusal: the attempt now ends as a typed failure instead of silently finishing on another model. A user whose run starts failing coverage needs the docs to say that this is the expected result and what to do about it.

Kept from public

Tests

  • New test_a_refused_attempt_fails_attempt_coverage_and_the_docs_say_so in tests/test_harbor_claude_refusal_fallback.py checks the coverage message the evaluation service reports for one refused attempt, and that the three docs state the result.
  • tests/test_harbor_claude_refusal_fallback.py, tests/test_ci_workflows.py, tests/test_accuracy_arithmetic.py and tests/test_tier3_public_runtime.py on current main plus this change: 438 passed.
  • ruff check and ruff format --check are clean on the changed test file.

🤖 Generated with Claude Code

The CHANGELOG entry, the Supported agents paragraph and the Troubleshooting
entry for the Claude Code refusal switch (#337) said only that a refused
attempt counts against scored-attempt coverage. They now name the visible
result: the arm reports an incomplete coverage line such as
`Scored attempt coverage is 59/60`, its execution fails, and
`tier3 evaluate` and `validate --block-on-agent-eval` exit 1. On a route
that serves the fallback model, a run that completed before can now fail.
A new test checks the coverage message and that the docs state it.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rng1995
rng1995 marked this pull request as ready for review November 5, 2026 21:40
@rng1995
rng1995 enabled auto-merge (squash) November 5, 2026 21:41
@rng1995
rng1995 merged commit 2248e69 into main Nov 5, 2026
19 checks passed
@rng1995
rng1995 deleted the naren/followup-337-refusal-coverage-docs branch November 5, 2026 22:06
@rng1995

rng1995 commented Nov 6, 2026

Copy link
Copy Markdown
Collaborator Author

Post-merge review: 5 finding(s) (P3). Follow-up PR: #360.

🤖 Generated with Claude Code

@rng1995 rng1995 mentioned this pull request Nov 6, 2026
7 of 8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant