Capability
- metadata
{
"author": "Microsoft",
"version": "1.1.0"
}
Topics
- Testing
- vally
- eval
- yaml
- agent
- grading
- azure
- integration-tests
- linting
What it does
Writes and runs Vally eval.yaml evaluation suites for testing AI agent skills against LLM outcomes, including validation of schema conventions and custom graders. Targets the azure-skills plugin workflow with support for early termination, follow-up prompts, and integration with a results dashboard.
Generated from the current SKILL.md.
Frequently asked
What is Vally and how does it differ from Jest integration tests?
Vally is a tool for running LLM agent evaluation suites defined in YAML. The azure-skills plugin is migrating from Jest-based integration tests to Vally eval suites, though a custom executor extends Vally to support features the legacy framework had, such as early termination, follow-up prompts, and dashboard integration.
Where do I create eval suite files for a skill?
Create eval.yaml files at `<repo-root>/evals/<skill-name>/eval.yaml`. A shared eval spec is located at `<repo-root>/.vally.yaml`. If your skill needs fixture files, organize them in `<repo-root>/evals/<skill-name>/fixture/`.
Do I need to use the custom executor for my eval suites?
You must use the custom executor if your eval suites need early termination, follow-up prompts, system prompt modification, screenshot taking, or if their results should be consumed by the integration tests dashboard.
How do I run eval suites for a specific skill?
From the tests directory, run `npm run test:vally -- --skill $SKILL`. The command loads the custom executor and writes output to a `results/` directory.
Can I re-grade an existing test trajectory without re-running it?
Yes. Use `npx @microsoft/vally-cli grade --eval-spec ../evals/<skill-name>/eval.yaml --verbose < results/<test-run-name>/results.jsonl` to re-grade a trajectory. You can iterate on grader configurations in eval.yaml to reduce flakiness.
Generated from the current SKILL.md. These answers refresh after source changes.