-
Notifications
You must be signed in to change notification settings - Fork 581
evals for api review command #2606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Hello @theobarberbany! Some important instructions when contributing to openshift/api: |
|
Important Review skippedAuto reviews are limited based on label configuration. 🚫 Excluded labels (none allowed) (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
99de6d4 to
06bca4c
Compare
This builds a basic go test suite that uses claude as a judge to review the output of the /api-review command. See tests/eval/DESIGN.md for more details.
06bca4c to
0c769f0
Compare
0651596 to
b69d5eb
Compare
b69d5eb to
55b0c64
Compare
55b0c64 to
a999d82
Compare
|
@theobarberbany: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This is experimental.
Part of the cluster infra f2f hackathon held last week.
Vibe coded test suite to test our vibe coded commands to review our vibe coded code.
Uses LLM as a judge (claude) to review output of the /api-review command.
Each suite can be configured to use a different model. The default judge is haiku 4.5,
goldenruns on sonnet, and integration onopus. I'm not sure these are the best choices (other than haiku for the judge), but we should be able to gather some data 🤞 .Directory Structure
Test Case Format
patch.diff
Standard git diff format:
expected.txt
One expected issue per line:
Empty file means the API change should pass review with no issues.
Note: Order of issues in
expected.txtdoes not matter. Comparison uses semantic matching, not exact string matching.Example output where we catch two instances of the command hallucinating new rules:
Look at
Judge resultandJudge reasonfor explanations of decisions made.Details