Index of every page on this site: llms.txt
All skills
microsoft avatar

/vally-eval

@147c081 official
Run it yourself

Author, validate, and run Vally evaluation suites for agent skills. TRIGGERS: create eval, write eval, add eval, run eval, validate eval, vally eval, eval.yaml, add stimulus, map test to eval, migrate test to eval, eval graders, eval scoring, add eval to CI.

Use this Skill: https://skilld.dev/gh/microsoft/github-copilot-for-azure/vally-eval

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesci-test.md

≈659 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Run tests in CI

Follow these steps to add a skill's Vally suites to the CI test workflow so they run nightly and publish results. Because LLM behavior is statistical, accumulating test run results gives us better data to refine skills over time.

Prerequisites

  • The skill's Vally suites are implemented under evals/<plugin-dirname>/<skill-name>/eval.yaml (or split across multiple YAML files).
  • By default, Vally suites use the copilot-sdk-agent-runner custom executor.
  • The test results can be made public.

Required setup

The scheduled CI test workflow determines which skills to test by reading tests/skills.json. That file lists all skills and their test schedules. To include a new skill in scheduled runs, add it to the skill list and to one of the schedule slots. By convention, microsoft-foundry and azure-deploy run in their own slots, while new skills are added to another shared slot.

Use shared job template

Most skills use a shared job template to run eval suites. This template is defined as the test job in .github/workflows/test-all-integration.yml. The CI workflow creates one job per skill from this template and runs all eval suites with npm run test:vally.

Reuse this template whenever possible. It provisions a test environment, installs common tools (for example, Azure CLI and Azure Developer CLI), connects to a test Azure subscription, and includes utility steps that collect and publish test results to a well-known storage location for downstream processing.

Create dedicated workflow

In some cases, you may need a dedicated workflow for a skill. Common reasons include:

  • The skill requires uncommon environment configuration, such as additional environment variables or secrets, a special Azure subscription, or installation of uncommon tools.
  • The test suite is too large for a single job. GitHub Actions has a hard 6-hour runtime limit per job. For example, azure-deploy uses a dedicated workflow that splits tests across multiple jobs.
  • Test results must be published to a custom destination for downstream processing and consumption. If your team owns a data pipeline, implement publishing steps in the dedicated workflow. You can still publish to the well-known location so our reporting tools continue to work.

If you create a dedicated workflow, update test-all-integration.yml so it triggers the dedicated workflow when that skill is included in the input. Then implement the dedicated workflow to run tests and collect results. Work with GitHub-Copilot-for-Azure repo contributors to configure any required environment variables or secrets.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    This skill provides a framework for testing and evaluating agent skills using Vally eval suites. It includes security considerations regarding the dynamic loading of test graders and the automated injection of context into agent prompts. These features are standard for its intended purpose as a developer tool for integration testing and automated resource provisioning. See the detailed analysis for context on these patterns.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 147c081. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 2 months ago
metadata
{
  "author": "Microsoft",
  "version": "1.1.0"
}
  • Testing
  • vally
  • eval
  • yaml
  • agent
  • grading
  • azure
  • integration-tests
  • linting

README badge

README badge for microsoft/github-copilot-for-azure/vally-eval

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.

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.