Skip to content

A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.

12.2 KB
Raw Blame

Skill evaluations

Power Pages has offline Vally suites for setup-auth, create-site, add-seo, add-localization, create-webroles, setup-datamodel, migrate-bootstrap, and integrate-webapi. Add suites as individual skills are improved rather than requiring coverage for every skill at once. Other skills and plugins appear in the evaluation dashboard as untested until they have their own measured evidence. Existing evals.json files for other skills are preserved but are not run or counted as measured evidence by this runtime.

The six additional suites each contain three capability cases and one unrelated dormancy case. Their coverage is deliberately bounded:

Skill Offline coverage
add-seo React and Astro SEO file edits, route exclusions, localized metadata, and minimal scope
add-localization React, Vue, and Arabic/RTL implementation plans, not completed localization
create-webroles SPA role files with supplied synthetic UUIDs, existing-role preservation, and a non-SPA writer handoff plan
setup-datamodel Blog, feedback, and existing-model extension proposals, not Dataverse schema creation
migrate-bootstrap Bootstrap 3 markup, custom CSS/Liquid risks, and residual migration assessment
integrate-webapi Read-only and registration integration plans, permission boundaries, and existing-client reuse

These are authored cases, not calibrated evidence or published measurements. Package manifests in fixtures identify the framework; the runtime does not install their dependencies.

The design follows Agent Skills evaluation guidance: realistic tasks, isolated trials, a no-skill baseline, checks against actual output, and human review before trusting automated grades. dotnet/skills provides another public example of Vally-based evaluation.

Local checks

Use Node.js 22.15 or newer from the repository root:

npm ci --prefix evals/runtime --registry=https://packagefeedproxy.microsoft.io/npm/ --ignore-scripts --no-audit --no-fund
node evals/runtime/node_modules/playwright/cli.js install chromium
node evals/runtime/run.mjs validate
npm test --prefix evals/runtime

Linux runners can install browser system dependencies with install --with-deps chromium. The validation workflow runs on Linux, Windows and macOS without model credentials. Its native CLI test creates real isolated sessions and invokes a skill against a local dummy provider, without requesting model generation.

The manual workflow runs four pinned models at medium reasoning effort: claude-opus-4.8, claude-sonnet-5.5, gpt-6-sol, and gpt-6.1-sol. All four were enabled in the GitHub Actions Copilot model catalog and ran in a one-repeat evaluation of both suites. A completed job does not mean every generated artifact passed. GPT-6.1 Sol judges Opus 4.8; Opus 4.8 judges the other three. The judge must differ from the evaluated model. Manual dispatch can override the comma-separated model list, judge model, agent effort and judge effort. Unsupported model/effort choices fail rather than silently falling back.

The runner supports focused debugging with native Actions authentication or --local-auth using an existing Copilot authentication environment:

node evals/runtime/run.mjs run --skill setup-auth --runs 1 --local-auth \
  --model claude-opus-4.8 --judge-model gpt-6.1-sol \
  --reasoning-effort medium --judge-reasoning-effort medium \
  --out evals/reports/auth-review

Add --case <case-name> to run one pair. Omit --skill to run all available Vally suites; requesting a skill without a suite fails explicitly. The manual workflow's all option selects the same available suites. Output directories must be new so a partial run cannot overwrite earlier evidence. Keep local output under ignored evals/reports/. Local authentication does not copy credential files into the trial and is disallowed in Actions. The workflow uses its native GITHUB_TOKEN with copilot-requests: write; no PAT secret is required.

What the trials measure

Each evals/power-pages/<skill>/eval.yaml contains several capability tasks and an unrelated dormancy task. Fixtures are synthetic local inputs. Hidden checks/*.json files describe required output and remain outside the agent workspace. They check content, parsed structures, preserved input, forbidden output and required relationships rather than file existence alone.

Each pair gets fresh, separate workspaces. Both arms have the same contained file tools and read-only plugin assets, references and scripts. Only the treatment can discover and invoke the selected skill. Baseline resource reads exclude every skill instruction and agent customization file. Trial order alternates across repeats.

The custom Copilot SDK executor exposes only contained file operations and allowlisted offline render, comparison and source-analysis helpers. It rejects generic shell, network, MCP, subagent and ambient customization capabilities, and validates the actual native tool and skill catalogs before inference. Helper subprocesses receive a clean environment and a network-denial preload. The model service itself still requires Copilot access.

These are offline artifact, analysis and planning tests. They never connect to a Power Pages environment, authenticate to Dataverse, deploy a site, or claim a live operation succeeded. They do not measure unrestricted CLI behavior, interactive approval handling, parent-skill routing or production readiness. An isolated helper skill can pass without proving that its parent would select it.

Documents and ER diagrams

HTML checks parse the document and its inline JavaScript, then render it in isolated Chromium. They inspect visible content across tabs, runtime errors and unresolved template values. HTML artifact contracts check desktop and mobile layout by default. Planning and report contracts set "responsive": false: the approval document's own CSS or table overflow is not a site-quality criterion. External requests are blocked. Saved screenshots support human inspection. The create-site repair plan requires a visible Design section with typography, brand palette, contrast, hero, signature moment and reduced-motion decisions. Its separate design rubric checks the proposed experience and responsive interaction states against the supplied brief.

Generated sites

A contract site block grades a generated React code site rather than a document. Trials cannot install packages, so the grader copies the site to a scratch folder and builds it with the runtime's pinned create-site template dependencies. It type-checks src with the pinned TypeScript compiler and the trusted template's options, without emitting files or using the generated TypeScript configuration. Vite runs in a child process with configFile: false and an inline PostCSS config, so agent-authored config files are never executed. An import outside the template dependencies fails the build, which counts as a site failure. Each listed route is served with a single-page-app fallback and rendered at 1440px and 390px. A route fails if it lacks a device-width viewport or a visible h1, scrolls horizontally, renders empty, or throws. Screenshots of every route and width are saved as evidence. The create-site repair-site-build case uses this check, so responsiveness is gated on the site the agent builds, not on its approval plan.

ER checks use Mermaid's parser and renderer. They compare entities, required attributes and relationship cardinalities against the case contract, including the diagram the report displays rather than trusting a correct fallback string. Rendered SVGs and label checks expose broken syntax and unreadable diagrams.

Vally's text-only rubric grader receives actual artifact evidence for domain correctness and report quality. It does not see screenshots or provide a visual-design judgment. Every required grader must pass; a high prose score cannot compensate for a missing artifact or incorrect ER relationship. Errors remain distinct from measured failures. The scale_1_5 rubric maps raw scores 1 through 5 to 0, 0.25, 0.5, 0.75, and 1. The current 0.8 threshold therefore requires a raw 5/5 from each quality grader; raw 4/5 is a failure. Dashboard fractions such as 2/5 count passed capability trials, not stars or an average quality rating. Different judge pairings can apply different standards, so compare those fractions only with the judge and repeat count visible.

Calibrate before publishing claims

Start with one skill and one repeat. Inspect both arms' generated output, screenshots, ER SVGs, grader reasons and review-index.json. Record human feedback locally in that index. Fix assertions that reject valid alternatives or accept incorrect output, then rerun the same pair. Add cases from observed user failures and keep some fresh cases outside routine tuning.

The initial cases are authored expectations, not human-calibrated evidence of improvement. Repeats measure consistency on the same task, not independent task breadth. Small suites and rubric scores do not establish statistical significance, a general confidence percentage or live deployment reliability. The dashboard reports observed outcomes and explicit evidence categories.

Publish evidence

Each matrix job uploads two artifacts. power-pages-evals-<skill>--<model> holds only the sanitized summary.json, the sole input to the dashboard. It contains case identifiers, verdicts, token counts, model IDs, reasoning efforts, source hashes and workflow provenance. power-pages-eval-evidence-<skill>--<model> holds the whole run folder: trajectories, generated files, screenshots, errors and every grader's explanation. It is kept for 30 days so any score can be traced to its reasons. The job also writes the judge's reasons for every failed check to the run's summary page. Trials only see public fixtures and the public plugin, and their tools cannot read the environment. Even so, the job skips the evidence upload if the run's token or any GitHub token shape appears in it (node evals/runtime/evidence.mjs check <dir>). Run node evals/runtime/evidence.mjs report <dir> on a downloaded or local run folder to list the failed checks and their reasons.

Agent usage records input, output and cache counters reported by the Copilot SDK. Missing counters remain unknown. Judge usage records the counts returned by Vally and the number of judge calls with and without reported usage. Vally can substitute zero for a missing judge counter, so judge totals are lower bounds. Cache values may overlap input tokens, and judge cache counts are unavailable. These counts are not billing figures.

After an evaluation completes, the existing showcase workflow fetches retained summaries from the latest 20 trusted default-branch dispatch runs. It validates the schema and matches the commit, workflow URL, skill and model to each matrix artifact before building the site's /evaluations/ page. Only summaries are copied into the build; artifact content is never executed. The existing repo-stats report remains in the same Pages deployment. Summary artifacts are retained for up to 90 days. The model workflow is manually dispatched; PR validation does not call models, and no nightly evaluation is scheduled.

The dashboard selects the latest whole suite per skill, agent model, judge model and both reasoning efforts. It never fills missing trials from an older run or pools different model/effort combinations. Older summaries without effort metadata remain readable and are labelled unreported. Changes to plugin content, the suite's fixtures or checks, or the evaluation runtime invalidate matching source evidence. Expired artifacts and unmeasured skills remain explicitly unavailable. The token view uses all retained summaries in the publication window, including older results, and groups usage by each skill evaluation's UTC start date and by plugin. Multiple per-skill artifacts from one matrix run count as one linked workflow run.

To preview local summaries:

node site/build.js --eval-results evals/reports/auth-review

No example scores ship as measured results.