Add GitHub Copilot SDK benchmark agent - #47
Draft
Lurkrazy wants to merge 6 commits into
Draft
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
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.
What does this PR do?
Adds an additive GitHub Copilot SDK execution path to
nooa-benchso evaluations can use a signed-in Copilot account and models such asgpt-5.6-solwithout replacing the existing NOOA/LiteLLM benchmark agent.The new
CopilotBenchAgentowns the SDK session directly, enforces structured task results, captures deduplicated usage events, and bounds startup, execution, and teardown. Runner and Harbor dispatch select this path withagent_type=copilot, scope credentials to Copilot runs, keepCOPILOT_HOMEprivate and ephemeral, and install the SDK runtime with read-only group/other permissions. Documentation, a minimal Harbor configuration, and lifecycle/contract regression coverage are included.CopilotBenchAgentintentionally does not subclassnooa.Agent: both NOOA CodeAct and the Copilot SDK are agent runtimes that own their tool loop and session lifecycle. The existingBenchAgentremains unchanged frommain.Validation includes 45
nooa-benchtests on Python 3.12 and 3.13, five-repeat lifecycle and runner/Harbor stress runs, Ruff, Pyright with zero errors, wheel installation/import, permission semantics, and a live signed-ingpt-5.6-solstructured-completion smoke usingxhighandlong_context.Related issues
N/A
Checklist
ruff format --check)uv run pytest)