Repository navigation
Fix #260: GitHub Action eval input with pass-rate gating - #261
Merged
Merged
Conversation
Merged
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.
Closes #260
Summary
Adds an experimental
evalinput to the GitHub Action so CI can runtinyagent --evalsuites and gate on pass rate.eval(suite YAML),eval-out,eval-min-pass-rate, pluscost-limitandtime-limit(shared across the suite with eval).evalcannot be combined withtask,task-file,review-base,review-commit,attempts,modelorprofile(the suite defines its matrix);eval-out/eval-min-pass-rateneedeval.eval-out,eval-report(report.json path) andeval-results(compact JSON: per-config pass rate and cost,below_threshold).job-summaryandfail-on-errorbehave as for tasks. Artifact upload is left to the workflow.action_eval_test.go. The existing script-safety test is narrowed to catch theevalbuiltin in command position only, so flags like--evaland outputs likeeval-outno longer trip it (with its own positive/negative test).Checks:
gofmt,go vet ./...,go test ./...,GOOS=linux go build ./...all pass.Generated by a Cobra run (run_mvvnyk0j901m) that was cut off before it could push; finished and opened by hand.