feat: integrate agent forensics into Azure benchmark reporting - #3090
Draft
Sai Koumudi Kaluvakolanu (saikoumudi) wants to merge 1 commit into
Draft
Conversation
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.
Summary
copilot -p "analyze msbench run..."report generation and benchmark-repository clone withmsbench-agent-forensics0.4.0.azure.skillanalysis across all models/runs with formatter modeboth.ToBeProcessedqueue, per-daterun_ids.json, Azure DevOps artifact publishing, and existing per-task eval report blob contract.Design and operational contract
PipAuthenticate@1continues to authenticateinternal/MicrosoftSweBench; the script installsmsbench-cliand pinsmsbench-agent-forensics==0.4.0from the configured feed.agent-forensics extract --run_id ... --run_date ... --data-dir <shared-root>.analyze --benchmark azure.skill --exact_match --formatter-mode both --provider hmac, followed byclassify --use-copilot --provider hmac --source snapshot-only.copilotbinary installation remains the provider execution path.Authentication setup
The
azure_msbench_evalservice connection must retaingetaccess to these existing secrets inkv-msbench-eval-azuremcp:azure-mcp-eval-capi-hmac: CAPI HMAC signing keyazure-mcp-eval-capi-id: matching Copilot integration IDThe script exports them only as
COPILOT_HMAC_KEYandCOPILOT_HMAC_INTEGRATION_ID, then removes those environment variables during cleanup. Agent Forensics generatesCOPILOT_PROVIDER_HEADERSper Copilot subprocess. The report-generation GitHub PAT path is removed.Blob and artifact compatibility
New Agent Forensics artifacts use a non-colliding date prefix:
<date>/agent-forensics/reports/**<date>/agent-forensics/snapshots/**The Azure DevOps artifact also retains
ToBeProcessed,run_ids_<date>.json, date-scoped Agent Forensics reports/snapshots, and enriched compatibility JSON. Existing dashboard consumers continue to receive:<date>/<instance>/<model>_<instance>_eval_report.jsonOnly source tasks that emit
eval_report.jsonare uploaded, matching the current behavior.Validation
Invoke-GenerateBenchmarkReport.ps1azure-benchmark-report.ymlgit diff --checkRollout notes and residual risk
msbench-agent-forensics0.4.0 is published ininternal/MicrosoftSweBenchbefore enabling the scheduled run; the pipeline fails clearly if the required CLI contract is unavailable.msbenchnightlydata/msbench-reports.A live end-to-end run was not performed locally because it requires the Azure DevOps feed identity, Key Vault secrets, storage RBAC, completed MSBench runs, and production Copilot HMAC routing.