This repository was archived by the owner on Nov 19, 2026. It is now read-only.
Repository navigation
Fill the cached prefix with sums, and retry a refused cache call - #2
Closed
joe-alphafox wants to merge 1 commit into
Closed
joe-alphafox wants to merge 1 commit into
joe-alphafox wants to merge 1 commit into
Conversation
Anthropic refuses meaningless system text with a bare 400 on some models: numbered hex lines on Sonnet 5.5 in 3 to 7 calls of 10, random words on Haiku 5.5 in 8 of 10. Random sums drew it on none of 120 calls across four models. The cache call also retries a refusal up to three times, except 401, 403 and 404. Mirrors CoreCodeAI/corecode-infra#357. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
Closing: the script is retired. corecode.live/docs/verify/ now documents the method only (CoreCodeAI/corecode-infra#358), and this repository is archived. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #1's hex-coded prefix still drew a bare 400 on Sonnet 5.5 (3–7 of 10 calls). Random words drew it on Haiku 5.5 (8 of 10). Random sums like
4821 plus 377 equals 5198.drew it on none of 120 calls across Sonnet, Opus, Haiku and Fable 5.x.long_prefix(): 1,200 random sums after a nonce line, about 18,170 cached tokens.Same change as CoreCodeAI/corecode-infra#357, which has the measurements and live runs.
🤖 Generated with Claude Code