sdk-ai-bot-eval-dataset
Skill134 starsChanged 3 months agoMITView on GitHub
Create a new evaluation dataset or add cases to an existing one for the Azure SDK QA bot evaluation. WHEN: "add eval dataset item", "add a test case", "new evaluation dataset", "create dataset", "add question to dataset", "curate eval data", "promote staging cases", "upload dataset asset", "new scenario dataset". DO NOT USE FOR: running evaluations, pipeline troubleshooting, knowledge-graph indexing.
- Reads credentials
In this repository42 other files it gives its agents.
- packages/python-packages/apiview-copilot/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- azsdk-common-apiview-feedback-resolutionSkill
- azsdk-common-generate-sdk-locallySkill
- azsdk-common-generate-sdk-pipelineSkill
- azsdk-common-pipeline-analysisSkill
- azsdk-common-pipeline-fixerSkill
- azsdk-common-prepare-release-planSkill
- azsdk-common-sdk-breaking-changeSkill
- azsdk-common-sdk-releaseSkill
- azure-typespec-assessmentSkill
- azure-typespec-authorSkill
- code-reviewSkill
- eval-authoring-skillSkill
- eval-authoring-toolSkill
- eval-authoring-workflowSkill
- markdown-token-optimizerSkill
- sdk-ai-bot-run-evaluationSkill
- skill-authoringSkill
- add-endpointSkill
- audit-filtersSkill
- dev-setupSkill
- kb-searchSkill
- report-active-reviewsSkill
- report-apiview-metricsSkill
- report-architect-commentsSkill
- report-feedbackSkill
- report-memorySkill
- report-revisionsSkill
- run-evalsSkill
- run-metricsSkill
- update-guidelinesSkill
- apiview-feedback-resolutionSkill
- azure-typespec-authorSkill
- generate-sdk-locallySkill
- azsdk-common-live-and-recorded-testsSkill
- markdown-token-optimizerSkill
- pipeline-troubleshootingSkill
- azsdk-common-prepare-release-planSkill
- azsdk-common-sdk-releaseSkill
- skill-authoringSkill
- pr-review-helpSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 5 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
Create a new per-scenario evaluation dataset or add cases to an existing one for the QA bot evaluation package at …
- Very specific: line 18
Run all commands from tools/sdk-ai-bots/azure-sdk-qa-bot-evaluation with the package .venv active and az login done.
- Distinctive: line 23
USE FOR: create a new evaluation dataset (new scenario file).
- Distinctive: line 24
WHEN: "add eval dataset item", "add a test case", "new evaluation dataset", "create dataset", "add question to dataset", "curate eval …
- Distinctive: line 25
DO NOT USE FOR: running evaluations, pipeline troubleshooting, knowledge-graph indexing
- Very specific: line 31
Only reviewed: "pass" rows are curated/committed.
- Distinctive: line 33
Always validate before upload, and after editing any curated file.
- Distinctive: line 37
Before running any command that touches Azure, ensure the required variables are set and remind the user to configure them.
- Very specific: line 48
If a required variable is missing the command fails (KeyError / auth error) — set it in .env or the shell and re-run.
- Very specific: line 73
After adding or creating a dataset: validate → upload → commit the per-scenario file, registry.json, and updated _staging/ files.
- Very specific: line 79
Add or stage canonical rows in evaluation_datasets/<target>/<scenario>.jsonl.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
QA Bot Evaluation Dataset
Create a new per-scenario evaluation dataset or add cases to an existing one for the
QA bot evaluation package at tools/sdk-ai-bots/azure-sdk-qa-bot-evaluation. Datasets
are per-scenario JSONL files under evaluation_datasets/<target>/<scenario>.jsonl
(target = basic or perf) holding inputs + expectations only.
Run all commands from tools/sdk-ai-bots/azure-sdk-qa-bot-evaluation with the package
.venv active and az login done. See schema and workflows for the canonical row format and step-by-step recipes.
Triggers
USE FOR: create a new evaluation dataset (new scenario file); add cases to an existing per-scenario dataset; curate cases from storage markdown; promote reviewed staging cases; upload a dataset as a Foundry asset WHEN: "add eval dataset item", "add a test case", "new evaluation dataset", "create dataset", "add question to dataset", "curate eval data", "promote staging cases", "upload dataset asset", "new scenario dataset" DO NOT USE FOR: running evaluations, pipeline troubleshooting, knowledge-graph indexing
Rules
- A dataset is one file:
evaluation_datasets/<target>/<scenario>.jsonl. Creating a new dataset = creating a new<scenario>.jsonlinbasic/orperf/. - The canonical dedup key is the normalized
query(applied at curation).testcasetitles may legitimately repeat (e.g.Untitled) — never dedup or fail ontestcase. - Only
reviewed: "pass"rows are curated/committed; see the review status lifecycle for the three states and how leftovers are finalized. evaluation_datasets/_staging/is committed (shared review state) so concurrent contributors don't re-curate the same cases;basic/,perf/andregistry.jsonare committed too.- Always validate before upload, and after editing any curated file.
Environment
Before running any command that touches Azure, ensure the required variables are set
and remind the user to configure them. Dataset prep loads a local .env (copy and fill
in tools/sdk-ai-bots/azure-sdk-qa-bot-evaluation/env-variables) and authenticates with
az login.
| Command | Requires |
dataset.curate | az login, STORAGE_BLOB_ACCOUNT, AI_ONLINE_PERFORMANCE_EVALUATION_STORAGE_CONTAINER |
dataset.upload | az login, AZURE_AI_PROJECT_ENDPOINT |
dataset.validate, dataset.review | none (local file operations) |
If a required variable is missing the command fails (KeyError / auth error) — set it in
.env or the shell and re-run. A purely manual add (edit JSONL + validate) needs no
env vars; only dataset.upload then requires AZURE_AI_PROJECT_ENDPOINT + az login.
Choose a workflow
| Goal | Workflow |
| Add a few specific cases you already have | Manual add |
| Harvest new cases from collected storage markdown | Curate from blob |
| Create a brand-new scenario dataset | New dataset |
Core commands
# Validate a file or folder (--require-reviewed gates official datasets on reviewed=="pass")
python -m dataset.validate evaluation_datasets/<target>/<scenario>.jsonl --require-reviewed
# Promote reviewed (pass) staging rows; leftover items are finalized to abandoned
python -m dataset.review --target <basic|perf> [--scenario <scenario>]
# Upload one versioned Foundry asset per scenario; writes registry.json
python -m dataset.upload --target <basic|perf> [--scenario <scenario>]After adding or creating a dataset: validate → upload → commit the per-scenario
file, registry.json, and updated _staging/ files.
Steps
- Pick a workflow from the table above (manual add, curate from blob, or new dataset).
- Add or stage canonical rows in
evaluation_datasets/<target>/<scenario>.jsonl. - For staged cases, promote the reviewed ones with
python -m dataset.review. - Validate the file with
python -m dataset.validate ... --require-reviewed. - Publish with
python -m dataset.upload, then commit the per-scenario file,registry.json, and updated_staging/.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

