Skip to content

feat: scope model trials by function and shared request limit - #12

Merged
cppbear merged 1 commit into
mainfrom
feat/scoped-model-runs
Oct 8, 2026
Merged

cppbear merged 1 commit into
mainfrom
feat/scoped-model-runs

Conversation

@cppbear

@cppbear cppbear commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Small model trials previously scheduled every analyzed function and had no invocation-wide request cap. gen and fix now accept an exact-name --functions-file and a positive --max-requests limit 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.

@cppbear
cppbear marked this pull request as ready for review October 8, 2026 05:44
@cppbear
cppbear merged commit 788f1ed into main Oct 8, 2026
2 checks passed
@cppbear
cppbear deleted the feat/scoped-model-runs branch October 11, 2026 14:49
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