Repository navigation
test(think): submissions' class-ledger tests are class-only, with public successors through real resets (harness score B) - #3502
Closed
mattzcarey wants to merge 4 commits into
Closed
mattzcarey wants to merge 4 commits into
mattzcarey wants to merge 4 commits into
Conversation
…cs-only, five with successors); two list/delete successors made with real submissions
…del's text: successor through a real reset
…: a continuation a reset cut off after a tool answer repeats neither the tool nor its end; both rows class-only
…n rows; two overflow-segment rows mechanics-only
Member
Author
|
Replaced by #3503, which carries these tests within its harness-score units (integrated and tested together). |
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Twenty-five tests in
submissions.test.tsthat pin the class's own submission ledger become class-only rows inharness-class-only.json: 15 with a public successor that runs on both configs, 10 mechanics-only. New successors go through a real reset or a live turn: a submission re-run when a reset came before its messages were stored, a cancel while it starts, a reused id never settled with the deleted submission's result, a recovered reply that fails ending the submission in error with the model's text, and a continuation a reset cut off after a tool answer repeating neither the tool nor its end.These tests seed rows in the class's shape (
insertSubmissionForTest) and run its recovery callbacks or start-up reconciliation by hand, which the harness-backed Think doesn't have. Each row says which private seam its test reaches; a mechanics-only row asserts nothing an app sees (the class's stream-segment stamps, schedule rows, incident keys). Left unmarked on purpose: the racy stop-in-retry-backoff row, two released-row shapes (H11's upgrade tests), and the four 'interrupted continuation into the leaf' rows, where a real reset on the class stores a second assistant message.For each row the old test passes on the class and fails on the harness, and its successor passes on both (
submissions.test.ts,chat-recovery-public.test.ts, both configs). Tests only, no changeset. Built on turn-task's harness score B-9 and nightly's successors.