Repository navigation
Recover failed evaluations and preserve successful results - #86
Merged
Merged
Conversation
unsound-mint
added a commit
that referenced
this pull request
Nov 9, 2026
Recover failed evaluations and preserve successful results
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.
Fixes #83
Failed reruns no longer hide valid conversation scores. Adds bounded, durable attempt reservations and restart recovery, partial-job outcome counts, failure usage/diagnostics, and scoped failed-only retry through the existing start adapter. Tightens consultation extraction and repair feedback for late request anchors and contradictory unanswered evidence without softening validation.
Scope: API evaluation/provider/jobs/storage/review selection, additive shared contracts and selection helper, web result selection/retry/status, mock, tests and recovery docs. New SQLite fields are additive; historical jobs retain their original attempt budget. No model change or label edits.
Self-review: terminal results remain immutable; reserved running rows receive results once. Failed outputs never become grades. Retries remain bounded across restart, exact duplicate starts reattach, successful work is preserved, and role scope is checked. One API process per database remains the supported deployment model. Known spend is retained; interrupted/network-lost usage can remain unknown.
Validation: full typecheck, tests and build run locally; durable tests cover bounded recovery, interrupted retries, missing configuration, duplicate launch, partial jobs, failed-only retry, preserved original results and mock UI recovery. CI must pass before merge. Deadline: no commits at or after 11:59 Almaty.