Local Evals#828
Open
gabeweisz wants to merge 24 commits into
Open
Conversation
gabeweisz
commented
Jul 20, 2026
Collaborator
- Modify the repeatability test script to be able to run against a local Pi server
- Create a script to run a local server (usually vllm but sglang should work), install and configure Pi, and run local evals using it
… into feat/gw_pi_evals
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds support for running the repeatability analysis/eval harness against a local “pi” agent backend, and introduces a Docker-based launcher to spin up a local OpenAI-compatible inference server, configure pi from /v1/models, and run the evals end-to-end.
Changes:
- Extend
run_repeatability_parallel.shto support--pi/USE_PI=1, unify agent invocation, and improve TEST_IDS filtering + reporting. - Add
run_pi_analysis_in_docker.shto launch an inference server in Docker, install/configure pi + TraceLens, and run the repeatability harness using pi. - Update
generate_ref.shTEST_IDS filtering to support underscore-prefix matching and warn when no IDs match.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| agent_evals/Analysis/eval_scripts/run_repeatability_parallel.sh | Adds pi backend support, refactors agent invocation, improves test filtering/logging, and normalizes trace/reference paths. |
| agent_evals/Analysis/eval_scripts/run_pi_analysis_in_docker.sh | New Docker launcher script to start a local inference server, configure pi, install TraceLens, and run evals. |
| agent_evals/Analysis/eval_scripts/generate_ref.sh | Improves TEST_IDS filtering semantics and adds a “no matches” warning. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
… into feat/gw_pi_evals
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.