Skip to main content

analyze-comparison-tests

Collects comparison test run artifacts and answers the user's questions based on the trajectories of each run. WHEN TO USE: collect comparison test artifacts

来源信息

仓库
microsoft/GitHub-Copilot-for-Azure
最近来源活动
2026年8月19日 21:28
检测到的 SKILL.md 语言
英语
星标
255
分支
208

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
analyze-comparison-tests
description
Collects comparison test run artifacts and answers the user's questions based on the trajectories of each run. WHEN TO USE: collect comparison test artifacts
license
MIT
metadata
{"author":"Microsoft","version":"1.0.0"}
# Steps 1. Collect run artifacts Execute the collect-artifacts script to download the test run artifacts. The user must provide an JSON file to correlate each comparison test run with the GitHub Actions run. The script expects one input argument as the path to this JSON file. The JSON input is supposed to be the JSON output when queuing the comparison test runs using the `npm run compare:run` command. ```bash cd tests/ npm run compare:collect -- input.json ``` The collect-artifacts script will download the test run artifacts to a directory named `comparison-artifacts` in the current working directory. Before executing the script, check if there is already such an directory. If so, skip executing the script and proceed to step 2. 2. Extract insights The downloaded artifacts will have the following folder structure: ```text comparison-artifacts/ ├── <branch-name>/ │ ├── <stimulus-name-1>/ │ │ ├── <model>-with-skill/ │ │ │ ├── agent-metadata-<date-string-1>.md │ │ │ ├── agent-metadata-<date-string-2>.md │ │ │ └── ... │ │ └── <model>-without-skill/ │ │ ├── agent-metadata-<date-string-1>.md │ │ ├── agent-metadata-<date-string-2>.md │ │ └── ... │ └── <stimulus-name-2>/ │ ├── <model>-with-skill/ │ │ └── agent-metadata-*.md │ └── <model>-without-skill/ │ └── agent-metadata-*.md └── <branch-name-2>/ └── ... ``` Each `<branch-name>/<stimulus-name>/<model>-with-skill` or `<branch-name>/<stimulus-name>/<model>-without-skill` directory contains the test run trajectories for that stimulus and model on that branch, with or without skills. Each trajectory is a markdown file that records user prompts, tool call requests, tool execution results, assistant responses that happened during the run. It also contains statistics such as token usage and turns. Based on the trajectories, answer the user's questions for each test run. Generate a report following the [report-template](./references/report-template.md) to show your answers.
在 GitHub 查看