Repository navigation
feat: scope model trials by function and shared request limit - #12
Merged
Merged
Conversation
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.
Small model trials previously scheduled every analyzed function and had no invocation-wide request cap.
genandfixnow accept an exact-name--functions-fileand a positive--max-requestslimit shared by all workers and retries. The same selection controls candidate preparation and per-function statistics; unselected saved artifacts remain untouched. Defaults stay at four function tasks with no overall request cap unless specified.Request summaries now include model, selection/options, limit state, and candidate-stage outcome. Checked-in bytes lists select two functions (two representative chains) and eight functions (sixteen chains), with instructions for a later controlled model trial. No real model service is called in this batch.
Validation: workspace build and 43 tests passed (one live-service test intentionally ignored), and the complete minimal generation/repair/coverage pipeline passed locally. Real-Cargo regressions verify selected-only requests and statistics, saved repair progress, missing selected candidates, and a two-attempt cap with four workers. HTTP fixtures also verify shared caps under concurrent retries and successful completion on the last permitted attempt. CI runs the complete regression suite and checks the bytes lists against fresh analysis.