Skip to content

Migrate LLM evals to the Vally harness - #877

Merged
AbhitejJohn merged 9 commits into
mainfrom
abhitejjohn-migrate-evals-to-vally
Jul 21, 2026
Merged

AbhitejJohn merged 9 commits into
mainfrom
abhitejjohn-migrate-evals-to-vally

Conversation

@AbhitejJohn

@AbhitejJohn AbhitejJohn commented Jul 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Switches dotnet/skills to use the Vally harness as the sole LLM eval engine, fully replacing skill-validator's evaluate command across every surface — PR gate, PR comment, scheduled runs, the dotnet/skills-data historical push, and dashboard publishing. skill-validator's check linter is retained unchanged (still built + run via skill-check.yml) pending Vally linter support (microsoft/vally#463). skill-validator's overfitting judge is also retained (Vally has no equivalent) and now runs alongside the Vally comparison, feeding overfitting flags into the same results the dashboard/skills-data consume.

What changed

Workflows

  • Rewrote .github/workflows/evaluation.yml to orchestrate the Vally path; all security gating preserved (actor write-perm check, bot trust, numeric pr_number validation, fork detection, pull_request_target gating, matrix-entry allowlist, SHA-pinned actions, persist-credentials: false).
  • Added reusable .github/workflows/vally-evaluation.yml as the Vally engine (permissions: contents: read, allowlisted dispatch inputs, matrix-entry validation, PAT pool).

Data layer — eng/vally-adapter/

  • adapt.mjs — splits a vally experiment run by eval file, runs vally compare per skill, emits per-skill results.json (compare verdict for gating + absolute per-role dashboard fields). Added --overfitting <file> to merge the retained judge's per-skill result onto verdict.overfittingResult (guarded: when the flag is absent the property is never added, so output stays byte-identical).
  • consolidate.mjs — builds the PR-comment (simple) and step-summary (full) tables.
  • gen-experiment.mjs — appends a whole-plugin variant per leg.
  • run-vally-evals.sh local runner; InvestigatingResults.md triage guide.

Overfitting (retained skill-validator judge)

  • New standalone skill-validator overfitting command runs the LLM overfitting judge with no agent trajectories (it previously only ran inside the retired evaluate, so it silently stopped under Vally until this change).
  • Vally→EvalConfig bridge in EvalSchema.cs (ParseEvalConfigFlexible) lets the judge read the migrated Vally-format eval.yaml specs directly.
  • evaluation-run.yml builds the shared skill-validator archive and runs overfitting per leg before adapting; failures are non-fatal (informational signal, never breaks an eval leg).

Dashboard — rewrote eng/dashboard/build-replay-sessions.ps1 for Vally's executor-session-logs layout. generate-benchmark-data.ps1 consumes verdict.overfittingResult (per-scenario rubricAssessments/assertionAssessments/promptAssessments, verdict-level fallback) unchanged.

Specs & docs — added dotnet-skills.experiment.yaml; eval specs use the filename eval.yaml with Vally-format content (renamed from the interim eval.vally.yaml; zero eval.vally.yaml files remain). Updated CONTRIBUTING.md; deprecation banner on the old validator doc.

End-to-end proof (real CI, not just unit tests)

Dispatched the actual workflow on real GitHub Actions (workflow_dispatch, branch ref, plugin=dotnet-nuget):

  • discover succeeded — repointed infra-change triggers + filename-agnostic eval.yaml discovery work; matrix built correctly.
  • gate/pr-status/fork-pr-status correctly skipped; evaluate/prepare succeeded; the Vally job ran npm install of @microsoft/[email protected] + matrix-entry validation.
  • Every publish/comment/deploy job skipped → zero side effects (no skills-data push, no PR comment, no dashboard deploy), confirming the job-guard analysis.
  • The run stops only at the copilot-pat-pool secret gate — a pre-existing environment branch policy that scopes tokens to main. Verified not a regression: vally-evaluation.yml on main already used environment: copilot-pat-pool with COPILOT_PAT_0..9; the diff only touches comments. issue_comment/pull_request_target always run main's YAML (documented security model), so the real /evaluate path gets tokens.

Also validated the real Vally CLI against the migrated specs via vally experiment run --dry-run: the plan resolves baseline + skilled + plugin variants against the renamed tests/**/eval.yaml, with agent.* correctly excluded.

Locally re-verified end-to-end (latest revision e82d0c3c)

Re-ran every seam I could exercise off-CI against the current merged tree. All green:

Workflow seam How verified Result
skill-validator unit suite (incl. new OverfittingCommandTests) ran release test binary 604/604 pass, 0 failed
Adapter core (adapt.mjs) node --test adapt.test.mjs 4/4 pass (retry / error / unmatched paths)
Overfitting judge runs on Vally-format specs overfitting command against tests/dotnet/setup-local-sdk offline discovers skill → parses Vally eval.yaml → invokes judge (reaches the real LlmSession LLM call); offline it times out, handled non-fatally → writes [], exit 0
--overfitting merge into results adapt.mjs on a fixture, with and without the flag with → verdict.overfittingResult populated (severity/score/rubricAssessments); without → property absent (byte-identical guard proven)
Overfitting → dashboard/skills-data generate-benchmark-data.ps1 on a full-shape results.json Skilled-Quality bench entry carries overfitting=high, overfittingScore=0.72; baseline correctly unflagged; per-scenario match on rubricAssessments[].scenario
PR comment + step-summary tables consolidate.mjs --format simple and --format full both render the results table correctly
Workflow YAML validity actionlint on all changed workflows exit 0
Retained check linter green on CI + local run passes

CI on the PR head is green across the required checks (Native AOT build on 5 platforms, check, analyze, actionlint, lint, discover, codeowners, pr-status, comment, CLA). evaluation-status shows pending by design — it stays pending until a maintainer posts /evaluate (same behavior as main).

Note: main advanced by #919 (additive cross-family eval test fixtures) after this branch's merge commit; it doesn't touch the eval engine, so the verifications above still hold.

Bug found & fixed by the end-to-end proof

The dry-run surfaced a real defect: vally resolves an experiment's relative evals:/environment.skills paths against the experiment file's directory, not the process CWD. The per-leg experiment (with the appended plugin variant) was written under artifacts/, so tests/*/.../eval.yaml matched zero files and every eval would have been silently dropped on main. Fixed by generating it at the content root ($GITHUB_WORKSPACE). Re-verified: at the content root the dry-run resolves all three variants; under artifacts/ it resolves zero.

A second correctness issue was caught in multi-model review: adapt.mjs assigned verdict.overfittingResult unconditionally, so non-overfitting output wasn't byte-identical to before. Fixed by guarding the assignment behind the --overfitting flag (see the table above).

Remaining verification (needs a call)

Actual token-spending agent trajectories + the PR-comment + skills-data push are gated to main/allowlisted branches by the copilot-pat-pool policy, so they can't run from this feature branch. To exercise that last leg with real tokens before merge, the branch would need to be temporarily allowlisted to copilot-pat-pool (repo-admin action). Otherwise it's exercised on the first /evaluate after merge.

Follow-up

  • microsoft/vally isn't public yet, so contributor-facing links were removed from CONTRIBUTING.md. Tracked TODO: check in with Aditya on where to point users for Vally docs.

Co-authored-by: Copilot [email protected]

@github-actions

github-actions Bot commented Jul 14, 2026 •

Copy link
Copy Markdown
Contributor

Skill Coverage Report

Plugin Skill Covered Coverage
❌ dotnet-advanced csharp-scripts 0/22 0%
❌ dotnet-advanced dotnet-pinvoke 0/28 0%
❌ dotnet-ai mcp-csharp-create 0/25 0%
❌ dotnet-ai mcp-csharp-debug 0/18 0%
❌ dotnet-ai mcp-csharp-publish 0/15 0%
❌ dotnet-ai mcp-csharp-test 0/18 0%
❌ dotnet-ai technology-selection 3/24 12.5%
❌ dotnet-aspnetcore configuring-opentelemetry-dotnet 1/21 4.8%
❌ dotnet-aspnetcore convert-blazor-server-to-webapp 0/27 0%
❌ dotnet-aspnetcore dotnet-webapi 0/43 0%
❌ dotnet-aspnetcore minimal-api-file-upload 0/8 0%
❌ dotnet-blazor author-component 0/1 0%
❌ dotnet-blazor collect-user-input 0/4 0%
❌ dotnet-blazor configure-auth 0/3 0%
❌ dotnet-blazor coordinate-components 0/2 0%
❌ dotnet-blazor fetch-and-send-data 0/5 0%
❌ dotnet-blazor plan-ui-change 0/1 0%
❌ dotnet-blazor support-prerendering 0/3 0%
❌ dotnet-blazor use-js-interop 0/2 0%
❌ dotnet-data optimizing-ef-core-queries 0/17 0%
❌ dotnet-diag analyzing-dotnet-performance 0/21 0%
❌ dotnet-diag android-tombstone-symbolication 0/5 0%
❌ dotnet-diag apple-crash-symbolication 0/5 0%
⚠️ dotnet-diag clr-activation-debugging 10/19 52.6%
❌ dotnet-diag dotnet-trace-collect 0/17 0%
❌ dotnet-diag microbenchmarking 0/3 0%
❌ dotnet-experimental exp-mock-usage-analysis 0/13 0%
❌ dotnet-experimental exp-test-maintainability 0/18 0%
❌ dotnet-maui maui-collectionview 0/9 0%
❌ dotnet-maui maui-data-binding 0/10 0%
❌ dotnet-maui maui-dependency-injection 0/1 0%
❌ dotnet-maui maui-safe-area 0/2 0%
❌ dotnet-maui maui-theming 0/1 0%
❔ dotnet-msbuild agent.msbuild — error
❌ dotnet-msbuild check-bin-obj-clash 0/5 0%
❌ dotnet-msbuild directory-build-organization 0/1 0%
❌ dotnet-msbuild extension-points 0/1 0%
❌ dotnet-msbuild msbuild-modernization 0/7 0%
❌ dotnet-msbuild msbuild-server 0/9 0%
❌ dotnet-msbuild property-patterns 0/1 0%
❌ dotnet-msbuild resolve-project-references 0/6 0%
❌ dotnet-nuget convert-to-cpm 2/16 12.5%
❌ dotnet-template-engine template-authoring 0/16 0%
❌ dotnet-template-engine template-comparison 0/10 0%
❌ dotnet-template-engine template-discovery 0/12 0%
❌ dotnet-template-engine template-instantiation 0/16 0%
❌ dotnet-template-engine template-smart-defaults 0/9 0%
❌ dotnet-template-engine template-validation 0/10 0%
❔ dotnet-test-migration agent.test-migration — error
⚠️ dotnet-test-migration migrate-mstest-v1v2-to-v3 8/16 50%
❌ dotnet-test-migration migrate-mstest-v3-to-v4 4/41 9.8%
❌ dotnet-test-migration migrate-vstest-to-mtp 0/25 0%
❌ dotnet-test-migration migrate-xunit-to-mstest 0/1 0%
❌ dotnet-test-migration migrate-xunit-to-xunit-v3 0/16 0%
❔ dotnet-test agent.test-quality-auditor — error
❔ dotnet-test agent.testability-migration — error
❌ dotnet-test assertion-quality 5/22 22.7%
❌ dotnet-test code-testing-agent 0/3 0%
❌ dotnet-test crap-score 2/6 33.3%
❌ dotnet-test detect-static-dependencies 0/15 0%
❌ dotnet-test generate-testability-wrappers 0/22 0%
❌ dotnet-test grade-tests 0/28 0%
❌ dotnet-test migrate-static-to-wrapper 0/22 0%
⚠️ dotnet-test mtp-hot-reload 12/16 75%
⚠️ dotnet-test run-tests 8/16 50%
❌ dotnet-test test-anti-patterns 0/21 0%
❌ dotnet-test test-gap-analysis 0/24 0%
❌ dotnet-test test-smell-detection 0/26 0%
❌ dotnet-test test-tagging 0/28 0%
❌ dotnet-test writing-mstest-tests 5/45 11.1%
❌ dotnet-upgrade dotnet-aot-compat 0/10 0%
❌ dotnet-upgrade migrate-dotnet10-to-dotnet11 0/6 0%
❌ dotnet-upgrade migrate-dotnet8-to-dotnet9 0/6 0%
⚠️ dotnet-upgrade migrate-dotnet9-to-dotnet10 4/6 66.7%
❌ dotnet-upgrade migrate-nullable-references 0/27 0%
❌ dotnet-upgrade thread-abort-migration 0/22 0%
❌ dotnet setup-local-sdk 0/8 0%
Uncovered: dotnet-advanced/csharp-scripts
  • [Validation] dotnet --version reports 10.0 or later (or fallback path is used) (line 274)
  • [Validation] If the app uses #:include, #:exclude, or transitive directives from included files, dotnet --version reports SDK 10.0.300 or later (line 275)
  • [Validation] The app compiles without errors (can be checked explicitly with dotnet build <file>.cs) (line 276)
  • [Validation] dotnet <file>.cs produces the expected output (line 277)
  • [Validation] Multi-file apps include every required helper file and exclude unintended matches (line 278)
  • [Validation] App files and cached artifacts are cleaned up after the session (line 279)
  • [Pitfall] .cs file is inside a directory with a .csproj (line 285)
  • [Pitfall] #:package without a version (line 286)
  • [Pitfall] #:property with wrong syntax (line 287)
  • [Pitfall] Directives placed after C# code (line 288)
  • [Pitfall] Helper file is not compiled (line 289)
  • [Pitfall] Shared file needs an assembly boundary (line 290)
  • [Pitfall] Broad include pulls in unrelated files (line 291)
  • [Pitfall] Duplicate directives in included files (line 292)
  • [Pitfall] Reflection-based JSON serialization fails (line 293)
  • [Pitfall] Unexpected build behavior or version errors (line 294)
  • [WorkflowStep] Step 1: Check the .NET SDK version (line 30)
  • [WorkflowStep] Step 2: Write the app file (line 34)
  • [WorkflowStep] Step 3: Run the app (line 53)
  • [WorkflowStep] Step 4: Add directives (if needed) (line 65)
  • [WorkflowStep] Step 5: Clean up (line 199)
  • [CodePattern] [MSBuild] (line 93)
Uncovered: dotnet-advanced/dotnet-pinvoke
  • [Validation] Every signature matches the native header exactly (types, sizes) (line 423)
  • [Validation] Calling convention specified if targeting Windows x86; omitted otherwise (line 424)
  • [Validation] String encoding is explicit — no reliance on defaults or CharSet.Auto (line 425)
  • [Validation] Memory ownership is documented and matched (who allocates, who frees, with what) (line 426)
  • [Validation] SafeHandle used for all native handles (no raw IntPtr escaping the interop layer) (line 427)
  • [Validation] Delegates passed as callbacks are rooted to prevent GC collection (line 428)
  • [Validation] SetLastError/SetLastPInvokeError set for APIs that use OS error codes (line 429)
  • [Validation] Struct layout matches native (packing, alignment, field order) (line 430)
  • [Validation] CLong/CULong used for C long/unsigned long in cross-platform code (line 431)
  • [Validation] If using CLong/CULong with LibraryImport, [assembly: DisableRuntimeMarshalling] is applied (line 432)
  • [Validation] No bool without explicit MarshalAs — always specify UnmanagedType.Bool (4-byte) or UnmanagedType.U1 (1-byte) to ensure normalization across the language boundary. (line 433)
  • [WorkflowStep] Step 1: Choose DllImport or LibraryImport (line 53)
  • [WorkflowStep] Step 2: Map Native Types to .NET Types (line 63)
  • [WorkflowStep] Step 3: Write the Declaration (line 83)
  • [WorkflowStep] Step 4: Handle Strings Correctly (line 134)
  • [WorkflowStep] Step 5: Establish Memory Ownership (line 168)
  • [WorkflowStep] Step 6: Use SafeHandle for Native Handles (line 224)
  • [WorkflowStep] Step 7: Handle Errors (line 261)
  • [WorkflowStep] Step 8: Handle Callbacks (if needed) (line 277)
  • [CodePattern] [256] (line 176)
  • [CodePattern] [UnmanagedFunctionPointer] (line 300)
  • [CodePattern] [LibraryImport] (line 101)
  • [CodePattern] [DllImport] (line 93)
  • [CodePattern] [UnmanagedCallersOnly] (line 281)
  • [CodePattern] sealed (line 228)
  • [CodePattern] [Out] (line 144)
  • [CodePattern] [UnmanagedCallConv] (line 111)
  • [CodePattern] [MarshalAs] (line 144)
Uncovered: dotnet-ai/mcp-csharp-create
  • [Validation] Project builds with no errors (dotnet build) (line 232)
  • [Validation] All tool classes have [McpServerToolType] attribute (line 233)
  • [Validation] All tool methods have [McpServerTool] and [Description] attributes (line 234)
  • [Validation] All parameters have [Description] attributes (line 235)
  • [Validation] stdio: logging directed to stderr, not stdout (line 236)
  • [Validation] HTTP: app.MapMcp() is called in Program.cs (line 237)
  • [Validation] Server starts successfully with dotnet run (line 238)
  • [Pitfall] stdio server outputs garbage or hangs (line 244)
  • [Pitfall] Tool not discovered by LLM clients (line 245)
  • [Pitfall] LLM doesn't understand when to use a tool (line 246)
  • [Pitfall] WithToolsFromAssembly() fails in AOT (line 247)
  • [Pitfall] Parameters not appearing in tool schema (line 248)
  • [Pitfall] HTTP server returns 404 (line 249)
  • [WorkflowStep] Step 1: Verify prerequisites (line 47)
  • [WorkflowStep] Step 2: Choose transport (line 57)
  • [WorkflowStep] Step 3: Scaffold the project (line 68)
  • [WorkflowStep] Step 4: Implement tools (line 86)
  • [WorkflowStep] Step 5: Add prompts and resources (optional) (line 151)
  • [WorkflowStep] Step 6: Configure Program.cs (line 176)
  • [WorkflowStep] Step 7: Verify the server starts (line 219)
  • [CodePattern] [Description] (line 90)
  • [CodePattern] [McpServerResourceType] (line 166)
  • [CodePattern] CancellationToken (line 90)
  • [CodePattern] [McpServerToolType] (line 90)
  • [CodePattern] [McpServerPromptType] (line 154)
Uncovered: dotnet-ai/mcp-csharp-debug
  • [Validation] Server starts without errors via dotnet run (line 182)
  • [Validation] MCP Inspector connects and lists all expected tools (line 183)
  • [Validation] Tool calls via Inspector return expected results (line 184)
  • [Validation] Breakpoints hit when debugging in IDE (line 185)
  • [Validation] Tools appear in GitHub Copilot Agent Mode tool list (line 186)
  • [Validation] stdio: no logging output on stdout (stderr only) (line 187)
  • [Pitfall] Tools not appearing or stale after changes (line 193)
  • [Pitfall] stdio server produces garbled output (line 194)
  • [Pitfall] HTTP server returns 404 at MCP endpoint (line 195)
  • [Pitfall] Breakpoints not hit (line 196)
  • [Pitfall] Environment variables not passed to server (line 197)
  • [Pitfall] MCP Inspector can't connect to HTTP server (line 198)
  • [WorkflowStep] Step 1: Run the server locally (line 46)
  • [WorkflowStep] Step 2: Generate MCP configuration (line 62)
  • [WorkflowStep] Step 3: Test with MCP Inspector (line 97)
  • [WorkflowStep] Step 4: Test with GitHub Copilot Agent Mode (line 113)
  • [WorkflowStep] Step 5: Set up breakpoint debugging (line 137)
  • [WorkflowStep] Step 6: Configure logging (line 166)
Uncovered: dotnet-ai/mcp-csharp-publish
  • [Validation] NuGet: Package installs and runs via dnx PackageId@version (line 243)
  • [Validation] Docker: Container starts and health check passes (line 244)
  • [Validation] Azure: Server is reachable and tools respond (line 245)
  • [Validation] MCP Registry: Server appears at registry.modelcontextprotocol.io (line 246)
  • [Validation] MCP client can connect and call tools on the deployed server (line 247)
  • [Pitfall] NuGet package doesn't run as a tool (line 253)
  • [Pitfall] Version mismatch between .csproj and server.json (line 254)
  • [Pitfall] Docker container exits immediately (line 255)
  • [Pitfall] Azure Container App returns 502 (line 256)
  • [Pitfall] MCP Registry rejects publish (line 257)
  • [Pitfall] API keys leaked in Docker image (line 258)
  • [WorkflowStep] Step 1: Choose the publishing path (line 47)
  • [WorkflowStep] Step 3: Deploy to Azure (HTTP servers) (line 157)
  • [WorkflowStep] Step 4: Publish to MCP Registry (optional) (line 185)
  • [WorkflowStep] Step 5: Security checklist (line 233)
Uncovered: dotnet-ai/mcp-csharp-test
  • [Validation] Unit tests cover all tool methods, including edge cases (line 162)
  • [Validation] Integration tests verify tool listing via ListToolsAsync() (line 163)
  • [Validation] Integration tests verify tool invocation via CallToolAsync() (line 164)
  • [Validation] All tests pass: dotnet test (line 165)
  • [Validation] Tests run in CI without manual setup (line 166)
  • [Pitfall] Integration test hangs on CreateAsync (line 172)
  • [Pitfall] StdioClientTransport not finding project (line 173)
  • [Pitfall] Tests pass locally but fail in CI (line 174)
  • [Pitfall] Mocking HttpClient is awkward (line 175)
  • [Pitfall] Full test suite runs are slow (line 176)
  • [WorkflowStep] Step 1: Create the test project (line 42)
  • [WorkflowStep] Step 2: Write unit tests for tool methods (line 53)
  • [WorkflowStep] Step 3: Write integration tests with MCP client (line 94)
  • [WorkflowStep] Step 4: Run tests (line 138)
  • [WorkflowStep] Step 5: Write evaluations (line 151)
  • [CodePattern] [InlineData] (line 57)
  • [CodePattern] [Theory] (line 57)
  • [CodePattern] [Fact] (line 57)
Uncovered: dotnet-ai/technology-selection
  • [Validation] All AI/ML services are registered via dependency injection (line 312)
  • [Validation] Configuration uses IOptions<T> pattern — no hardcoded values (line 313)
  • [Validation] API keys are loaded from secure sources — not in source code or committed config files (line 314)
  • [Validation] ML.NET pipelines set a random seed and split data for evaluation (line 315)
  • [Validation] LLM calls set temperature, max tokens, and retry logic explicitly (line 316)
  • [Validation] Agentic workflows have iteration limits and cost ceilings (line 317)
  • [Validation] RAG pipelines implement chunking, relevance thresholds, and source attribution (line 318)
  • [Validation] Non-deterministic outputs have validation and fallback paths (line 319)
  • [Validation] dotnet build -c Release -warnaserror completes cleanly (line 320)
  • [Pitfall] Over-engineering with LLMs (line 348)
  • [Pitfall] Evaluating ML models on training data (line 349)
  • [Pitfall] LLM output drift between deployments (line 350)
  • [Pitfall] Token cost surprises (line 351)
  • [Pitfall] Non-reproducible ML training (line 352)
  • [Pitfall] RAG returning irrelevant context (line 353)
  • [Pitfall] Cold start latency on ML.NET models (line 354)
  • [Pitfall] Microsoft Agent Framework + raw OpenAI SDK in same class (line 355)
  • [WorkflowStep] Step 2: Select packages and set up the project (line 68)
  • [WorkflowStep] Step 4: Handle non-determinism (line 247)
  • [WorkflowStep] Step 5: Apply performance and cost controls (line 269)
  • [WorkflowStep] Step 6: Validate the implementation (line 291)
Uncovered: dotnet-aspnetcore/configuring-opentelemetry-dotnet
  • [Validation] Traces appear in the observability backend (Jaeger, Aspire dashboard, etc.) (line 272)
  • [Validation] HTTP requests automatically create spans with correct verb, URL, status code (line 273)
  • [Validation] Custom ActivitySource names match AddSource() registrations (line 274)
  • [Validation] Custom Meter names match AddMeter() registrations (line 275)
  • [Validation] Logs include TraceId and SpanId for correlation (line 276)
  • [Validation] Health check endpoints are filtered from traces (line 277)
  • [Validation] Exception details appear on error spans (line 278)
  • [Pitfall] ActivitySource.StartActivity returns null (line 284)
  • [Pitfall] Traces not appearing in exporter (line 285)
  • [Pitfall] Missing HTTP client spans (line 286)
  • [Pitfall] High cardinality tags (line 287)
  • [Pitfall] OTLP gRPC vs HTTP mismatch (line 288)
  • [Pitfall] Meter / ActivitySource lifecycle (line 289)
  • [WorkflowStep] Step 1: Install the correct packages (line 31)
  • [WorkflowStep] Step 3: Understanding log–trace correlation (line 113)
  • [WorkflowStep] Step 4: Create custom spans (Activities) for business operations (line 122)
  • [WorkflowStep] Step 5: Create custom metrics (line 184)
  • [WorkflowStep] Step 6: Configure context propagation for distributed scenarios (line 237)
  • [CodePattern] readonly (line 124)
  • [CodePattern] [key] (line 241)
Uncovered: dotnet-aspnetcore/convert-blazor-server-to-webapp
  • [Validation] No references to AddServerSideBlazor remain (line 261)
  • [Validation] No references to MapBlazorHub remain (line 262)
  • [Validation] No references to MapFallbackToPage("/_Host") remain (line 263)
  • [Validation] No references to blazor.server.js remain (line 264)
  • [Validation] Pages/_Host.cshtml has been deleted (line 265)
  • [Validation] App.razor serves as the root component with a full HTML document structure (line 266)
  • [Validation] Routes.razor contains the <Router> configuration (line 267)
  • [Validation] Program.cs uses AddRazorComponents().AddInteractiveServerComponents() (line 268)
  • [Validation] Program.cs uses MapRazorComponents<App>().AddInteractiveServerRenderMode() (line 269)
  • [Validation] app.UseAntiforgery() is present in the middleware pipeline (line 270)
  • [Validation] If the app used <CascadingAuthenticationState>, it has been replaced with AddCascadingAuthenticationState() service registration (line 271)
  • [Validation] App builds and runs successfully on the target framework (line 272)
  • [Pitfall] Missing UseAntiforgery() middleware (line 278)
  • [Pitfall] Forgetting to replace blazor.server.js with blazor.web.js (line 279)
  • [Pitfall] Not removing wrapper (line 280)
  • [Pitfall] Leaving app.UseRouting() in the pipeline (line 281)
  • [Pitfall] Using InteractiveServer when prerendering was disabled (line 282)
  • [Pitfall] Not migrating AddServerSideBlazor circuit options (line 283)
  • [Pitfall] UseAntiforgery() placed before authentication middleware (line 284)
  • [Pitfall] CSS isolation bundle link has wrong assembly name (line 285)
  • [WorkflowStep] Step 1: Update the project file (line 48)
  • [WorkflowStep] Step 2: Create Routes.razor from App.razor (line 60)
  • [WorkflowStep] Step 3: Convert _Host.cshtml to App.razor (line 87)
  • [WorkflowStep] Step 4: Update Program.cs (line 161)
  • [WorkflowStep] Step 5: Migrate CascadingAuthenticationState (if present) (line 222)
  • [WorkflowStep] Step 6: Recommended improvements (optional) (line 234)
  • [WorkflowStep] Step 7: Verify the migration (line 243)
Uncovered: dotnet-aspnetcore/dotnet-webapi
  • [Validation] All endpoints return correct HTTP status codes per the table in Step 3 (line 462)
  • [Validation] POST endpoints return 201 Created with a Location header (line 463)
  • [Validation] DELETE endpoints return 204 No Content (line 464)
  • [Validation] Every endpoint signature includes CancellationToken (line 465)
  • [Validation] CancellationToken is forwarded to all downstream async calls (line 466)
  • [Validation] OpenAPI document is generated and includes all new endpoints (line 467)
  • [Validation] Endpoints have summary/description metadata for OpenAPI (line 468)
  • [Validation] Enum values appear as strings in JSON responses and OpenAPI schemas (unless user explicitly requested integer serialization) (line 469)
  • [Validation] Error responses use RFC 7807 Problem Details format (line 470)
  • [Validation] Domain entities are not exposed directly in API request/response bodies (line 471)
  • [Validation] All API-exposed DTOs have <summary> XML doc comments (line 472)
  • [Validation] Date and time properties use DateTimeOffset, not DateTime (line 473)
  • [Validation] A .http file exists with a request for every new endpoint (line 474)
  • [Validation] dotnet build passes with zero errors and zero warnings (line 475)
  • [Validation] All DTOs are sealed record types (not mutable classes) (line 476)
  • [Validation] Minimal API handlers use TypedResults with explicit Results<T1, T2> return types (line 477)
  • [Validation] Every service has a corresponding interface registered in DI (line 478)
  • [Validation] Exception handlers are placed in the Middleware/ folder (line 479)
  • [Pitfall] Exposing domain entities as API responses (line 485)
  • [Pitfall] Forgetting CancellationToken (line 486)
  • [Pitfall] Returning 200 OK from POST create (line 487)
  • [Pitfall] Missing OpenAPI metadata (line 488)
  • [Pitfall] Injecting data stores directly into endpoints (line 489)
  • [Pitfall] Mixing controller and minimal API styles (line 490)
  • [Pitfall] TypedResults in ternary without explicit return type (line 491)
  • [Pitfall] Using mutable classes for DTOs (line 492)
  • [Pitfall] Registering services without interfaces (line 493)
  • [Pitfall] Adding any Swashbuckle.* package to new .NET 9+ projects (line 494)
  • [Pitfall] Missing XML doc comments on DTOs (line 495)
  • [Pitfall] Using DateTime for date/time properties (line 496)
  • [Pitfall] Serializing enums as integers (line 497)
  • [WorkflowStep] Step 1: Determine the API style (line 57)
  • [WorkflowStep] Step 2: Define request and response types (line 70)
  • [WorkflowStep] Step 3: Implement the endpoints (line 183)
  • [WorkflowStep] Step 4: Wire up OpenAPI (line 267)
  • [WorkflowStep] Step 5: Set up error handling (line 317)
  • [WorkflowStep] Step 6: Use a service layer (line 387)
  • [WorkflowStep] Step 7: Create a .http test file (line 422)
  • [WorkflowStep] Step 8: Build and verify (line 454)
  • [CodePattern] sealed (line 133)
  • [CodePattern] CancellationToken (line 248)
  • [CodePattern] [Range] (line 147)
  • [CodePattern] [HttpGet] (line 248)
Uncovered: dotnet-aspnetcore/minimal-api-file-upload
  • [WorkflowStep] Step 1: CRITICAL — Understand IFormFile Binding in Minimal APIs (line 29)
  • [WorkflowStep] Step 2: CRITICAL — File Size Limits Are Separate from Request Size Limits (line 52)
  • [WorkflowStep] Step 3: CRITICAL — Anti-Forgery Auto-Validates Form Uploads in .NET 8+ (line 90)
  • [WorkflowStep] Step 4: CRITICAL — Validate File Content, Not Just Extension (line 118)
  • [WorkflowStep] Step 5: CRITICAL — Streaming Large Files Without Buffering (line 170)
  • [CodePattern] [RequestSizeLimit] (line 54)
  • [CodePattern] [FromForm] (line 31)
  • [CodePattern] [DisableRequestSizeLimit] (line 54)
Uncovered: dotnet-blazor/author-component
  • [CodePattern] [Parameter] (line 31)
Uncovered: dotnet-blazor/collect-user-input
  • [CodePattern] [Required] (line 135)
  • [CodePattern] [Range] (line 135)
  • [CodePattern] [CascadingParameter] (line 162)
  • [CodePattern] [SupplyParameterFromForm] (line 31)
Uncovered: dotnet-blazor/configure-auth
  • [CodePattern] [ExcludeFromInteractiveRouting] (line 152)
  • [CodePattern] [CascadingParameter] (line 51)
  • [CodePattern] [Authorize] (line 101)
Uncovered: dotnet-blazor/coordinate-components
  • [CodePattern] [CascadingParameter] (line 63)
  • [CodePattern] readonly (line 137)
Uncovered: dotnet-blazor/fetch-and-send-data
  • [CodePattern] [StreamRendering] (line 74)
  • [CodePattern] [SupplyParameterFromQuery] (line 159)
  • [CodePattern] [Parameter] (line 159)
  • [CodePattern] CancellationToken (line 123)
  • [CodePattern] [PersistentState] (line 84)
Uncovered: dotnet-blazor/plan-ui-change
  • [CodePattern] [Parameter] (line 64)
Uncovered: dotnet-blazor/support-prerendering
  • [CodePattern] [CascadingParameter] (line 159)
  • [CodePattern] [ExcludeFromInteractiveRouting] (line 148)
  • [CodePattern] [PersistentState] (line 39)
Uncovered: dotnet-blazor/use-js-interop
  • [CodePattern] readonly (line 118)
  • [CodePattern] sealed (line 118)
Uncovered: dotnet-data/optimizing-ef-core-queries
  • [Validation] SQL logging shows expected number of queries (no N+1) (line 164)
  • [Validation] Read-only queries use AsNoTracking() (line 165)
  • [Validation] Hot-path queries use compiled queries (line 166)
  • [Validation] No client-side evaluation warnings in logs (line 167)
  • [Validation] Include/split strategy matches data shape (line 168)
  • [Pitfall] Lazy loading silently creating N+1 (line 174)
  • [Pitfall] Global query filters forgotten in perf analysis (line 175)
  • [Pitfall] DbContext kept alive too long (line 176)
  • [Pitfall] Batch updates fetching then saving (line 177)
  • [Pitfall] String interpolation in FromSqlRaw (line 178)
  • [WorkflowStep] Step 1: Enable query logging to see the actual SQL (line 31)
  • [WorkflowStep] Step 2: Fix N+1 query patterns (line 54)
  • [WorkflowStep] Step 3: Use NoTracking for read-only queries (line 101)
  • [WorkflowStep] Step 4: Use compiled queries for hot paths (line 120)
  • [WorkflowStep] Step 5: Avoid common query traps (line 134)
  • [WorkflowStep] Step 6: Use raw SQL or FromSql for complex queries (line 144)
  • [CodePattern] readonly (line 122)
Uncovered: dotnet-diag/analyzing-dotnet-performance
  • [Validation] All critical patterns were checked (from reference files or inline recipes) (line 178)
  • [Validation] Topic-specific recipes run only when matching signals detected (line 179)
  • [Validation] Each finding includes a concrete code fix (line 180)
  • [Validation] Scan execution checklist is complete (all recipes run) (line 181)
  • [Validation] Summary table included at end (line 182)
  • [Pitfall] Flagging every Dictionary as needing FrozenDictionary (line 188)
  • [Pitfall] Suggesting Span in async methods (line 189)
  • [Pitfall] Reporting LINQ outside hot paths (line 190)
  • [Pitfall] Suggesting ConfigureAwait(false) in app code (line 191)
  • [Pitfall] Recommending ValueTask everywhere (line 192)
  • [Pitfall] Flagging new HttpClient() in DI services (line 193)
  • [Pitfall] Suggesting [GeneratedRegex] for dynamic patterns (line 194)
  • [Pitfall] Suggesting CollectionsMarshal.AsSpan broadly (line 195)
  • [Pitfall] Suggesting unsafe code for micro-optimizations (line 196)
  • [WorkflowStep] Step 1: Load Reference Files (if available) (line 38)
  • [WorkflowStep] Step 2: Detect Code Signals and Select Topic Recipes (line 44)
  • [WorkflowStep] Step 3: Scan and Report (line 63)
  • [WorkflowStep] Step 4: Classify and Prioritize Findings (line 117)
  • [WorkflowStep] Step 5: Generate Findings (line 140)
  • [CodePattern] readonly (line 70)
  • [CodePattern] sealed (line 70)
Uncovered: dotnet-diag/android-tombstone-symbolication
  • [WorkflowStep] Step 1: Parse the Tombstone Backtrace (line 19)
  • [WorkflowStep] Step 2: Identify .NET Runtime Libraries (line 37)
  • [WorkflowStep] Step 3: Download Debug Symbols (line 51)
  • [WorkflowStep] Step 4: Symbolicate Each Frame (line 66)
  • [WorkflowStep] Step 5: Present the Symbolicated Backtrace (line 80)
Uncovered: dotnet-diag/apple-crash-symbolication
  • [WorkflowStep] Step 1: Parse the .ips Crash Log (line 19)
  • [WorkflowStep] Step 2: Identify .NET Runtime Libraries (line 41)
  • [WorkflowStep] Step 3: Interpret the Crash (line 63)
  • [WorkflowStep] Step 4: Locate dSYMs (line 73)
  • [WorkflowStep] Step 5: Symbolicate with atos (line 89)
Uncovered: dotnet-diag/clr-activation-debugging
  • [Validation] All log files with errors or FOD triggers were analyzed (not just the first one) (line 288)
  • [Validation] The entry point for each problematic activation was identified (line 289)
  • [Validation] Config file presence/absence was checked (line 291)
  • [Validation] SEM_FAILCRITICALERRORS state was noted for FOD-related issues (line 292)
  • [Validation] Multiple activations within a single log were individually traced (line 293)
  • [Pitfall] Thinking capping is broken or a bug (line 277)
  • [Pitfall] Assuming FOD is controlled per-process (line 278)
  • [Pitfall] Looking only at the first activation in a log (line 279)
  • [WorkflowStep] Step 2: Survey the Log Files (line 109)
Uncovered: dotnet-diag/dotnet-trace-collect
  • [Validation] The recommended tool is compatible with the developer's runtime, OS, and deployment topology (line 235)
  • [Validation] The collection command runs without errors (line 236)
  • [Validation] The output file is generated in the expected location (line 237)
  • [Validation] The developer knows which analysis tool to use for the collected data (line 238)
  • [Pitfall] Using dotnet-trace on .NET Framework (line 244)
  • [Pitfall] PerfView without admin privileges (line 245)
  • [Pitfall] perfcollect in container without SYS_ADMIN (line 246)
  • [Pitfall] Huge trace files from long repros (line 247)
  • [Pitfall] Diagnostic port not accessible in container (line 248)
  • [Pitfall] Forgetting to install tools in container image (line 249)
  • [Pitfall] Exposing dotnet-monitor with --no-auth in production (line 250)
  • [Pitfall] Collecting only CPU/thread-time trace for networking issues (line 251)
  • [Pitfall] Enabling all networking providers when only one is needed (line 252)
  • [WorkflowStep] Step 1: Understand the environment (line 38)
  • [WorkflowStep] Step 2: Recommend diagnostic tools (line 52)
  • [WorkflowStep] Step 3: Guide data collection (line 206)
  • [WorkflowStep] Step 4: Recommend analysis approach (line 223)
Uncovered: dotnet-diag/microbenchmarking
  • [WorkflowStep] Step 1: Plan the test cases (line 98)
  • [WorkflowStep] Step 2: Implement the benchmarks (line 116)
  • [WorkflowStep] Step 3: Validate and run (line 129)
Uncovered: dotnet-experimental/exp-mock-usage-analysis
  • [Validation] Production code was read and execution paths were traced (not just test code reviewed) (line 86)
  • [Validation] Every finding references a specific test method and setup line (line 87)
  • [Validation] Unreachable setups include an explanation of which production code path makes them unreachable (line 88)
  • [Validation] Correctly-placed mocks (external boundaries) are explicitly noted as appropriate (line 89)
  • [Validation] Correct framework terminology is used throughout (not mixing Moq/NSubstitute/FakeItEasy terms) (line 90)
  • [Pitfall] Analyzing test code without reading production code (line 96)
  • [Pitfall] Flagging mocks for external boundaries (HTTP, DB) (line 97)
  • [Pitfall] Flagging ILogger mock when log output is asserted (line 98)
  • [Pitfall] Using wrong framework terminology (line 99)
  • [WorkflowStep] Step 1: Read all provided code (line 33)
  • [WorkflowStep] Step 2: Trace each mock setup through the production code (line 44)
  • [WorkflowStep] Step 3: Check for replaceable mocks (line 66)
  • [WorkflowStep] Step 4: Report findings (line 75)
Uncovered: dotnet-experimental/exp-test-maintainability
  • [Validation] Every finding includes specific file and method locations (line 187)
  • [Validation] Every finding shows the actual duplicated code, not just a description (line 188)
  • [Validation] Every suggestion includes a concrete before/after example (line 189)
  • [Validation] Findings are filtered through the 3+ occurrence threshold (line 190)
  • [Validation] Simple constructors are not flagged (line 191)
  • [Validation] Trade-offs are acknowledged for each suggestion (line 192)
  • [Validation] If tests are clean, the report says so upfront (line 193)
  • [Pitfall] Flagging AAA structure as duplication (line 199)
  • [Pitfall] Suggesting extraction for 2 occurrences (line 200)
  • [Pitfall] Recommending base classes for everything (line 201)
  • [Pitfall] Ignoring the readability cost (line 202)
  • [Pitfall] Flagging simple new X() as boilerplate (line 203)
  • [Pitfall] Recommending DRY at the expense of test isolation (line 204)
  • [WorkflowStep] Step 1: Gather the test code (line 37)
  • [WorkflowStep] Step 2: Identify maintainability issues (line 48)
  • [WorkflowStep] Step 3: Apply calibration rules (line 154)
  • [WorkflowStep] Step 4: Report findings (line 165)
  • [CodePattern] [TestMethod] (line 67)
Uncovered: dotnet-maui/maui-collectionview
  • [Pitfall] UI doesn't update when items change (line 325)
  • [Pitfall] App crashes or blank items (line 326)
  • [Pitfall] Items disappear or layout breaks (line 327)
  • [Pitfall] Incremental loading fires endlessly (line 328)
  • [Pitfall] EmptyView doesn't render correctly (line 329)
  • [Pitfall] Poor scroll performance (line 330)
  • [Pitfall] Selected state not visible (line 331)
  • [Pitfall] Binding errors in SwipeView commands (line 332)
  • [Pitfall] Using ListView instead of CollectionView (line 333)
Uncovered: dotnet-maui/maui-data-binding
  • [Pitfall] Missing x:DataType — bindings silently fall back to reflection (line 373)
  • [Pitfall] Forgetting to set BindingContext (line 374)
  • [Pitfall] Specifying redundant Mode=OneWay / Mode=TwoWay (line 375)
  • [Pitfall] ViewModel does not implement INotifyPropertyChanged (line 376)
  • [Pitfall] Mutating ObservableCollection off the UI thread (line 377)
  • [Pitfall] Complex converter chains in hot paths (line 378)
  • [Pitfall] Using x:DataType="x:Object" to escape compiled bindings (line 379)
  • [Pitfall] Binding to non-public properties (line 380)
  • [CodePattern] [ObservableProperty] (line 204)
  • [CodePattern] [RelayCommand] (line 204)
Uncovered: dotnet-maui/maui-dependency-injection
  • [CodePattern] readonly (line 102)
Uncovered: dotnet-maui/maui-safe-area
  • [CodePattern] readonly (line 65)
  • [CodePattern] [Flags] (line 48)
Uncovered: dotnet-maui/maui-theming
  • [CodePattern] [Activity] (line 226)
Uncovered: dotnet-msbuild/check-bin-obj-clash
  • [WorkflowStep] Step 2: Get an overview and list projects (line 48)
  • [WorkflowStep] Step 3: Check evaluations and global properties (line 52)
  • [WorkflowStep] Step 4: Get output paths for each evaluation (line 58)
  • [WorkflowStep] Step 5: Check for double writes (line 62)
  • [WorkflowStep] Step 6: Identify clashes (line 66)
Uncovered: dotnet-msbuild/directory-build-organization
  • [CodePattern] [MSBuild] (line 122)
Uncovered: dotnet-msbuild/extension-points
  • [CodePattern] [MSBuild] (line 195)
Uncovered: dotnet-msbuild/msbuild-modernization
  • [WorkflowStep] Step 1: Replace Project Root Element (line 59)
  • [WorkflowStep] Step 2: Set TargetFramework (line 83)
  • [WorkflowStep] Step 3: Remove Explicit File Includes (line 111)
  • [WorkflowStep] Step 4: Remove AssemblyInfo.cs (line 144)
  • [WorkflowStep] Step 5: Migrate packages.config → PackageReference (line 186)
  • [WorkflowStep] Step 6: Remove Unnecessary Boilerplate (line 217)
  • [WorkflowStep] Step 7: Enable Modern Features (line 276)
Uncovered: dotnet-msbuild/msbuild-server
  • [Validation] MSBUILDUSESERVER=1 is set in the shell (line 59)
  • [Validation] Second sequential build is faster than the first (line 60)
  • [Validation] dotnet build-server shutdown followed by a rebuild confirms the server restarts cleanly (line 61)
  • [Pitfall] Expecting improvement in Visual Studio (line 67)
  • [Pitfall] Build correctness issues after enabling (line 68)
  • [Pitfall] Server process using unexpected memory (line 69)
  • [WorkflowStep] Step 1: Confirm CLI context (line 31)
  • [WorkflowStep] Step 2: Set the environment variable (line 35)
  • [WorkflowStep] Step 3: Validate improvement (line 48)
Uncovered: dotnet-msbuild/property-patterns
  • [CodePattern] [MSBuild] (line 33)
Uncovered: dotnet-msbuild/resolve-project-references
  • [Validation] Task Performance Summary was used instead of Target Performance Summary (line 63)
  • [Validation] ResolveProjectReferences was not set as the optimization target (line 64)
  • [Validation] A concrete task (e.g., Csc, Copy, ResolveAssemblyReference) was identified as the true bottleneck (line 65)
  • [WorkflowStep] Step 1: Confirm the misleading symptom (line 31)
  • [WorkflowStep] Step 2: Explain why it is misleading (line 35)
  • [WorkflowStep] Step 3: Redirect to task self-time (line 39)
Uncovered: dotnet-nuget/convert-to-cpm
  • [Validation] Baseline build succeeded before any changes were made (line 158)
  • [Validation] Directory.Packages.props exists with ManagePackageVersionsCentrally set to true (line 159)
  • [Validation] Every in-scope PackageReference either has no Version attribute or uses VersionOverride (line 160)
  • [Validation] Every referenced package has a corresponding PackageVersion entry (line 161)
  • [Validation] dotnet restore and dotnet build complete without errors from a clean state (line 162)
  • [Validation] Package list comparison shows no unexpected version changes (line 163)
  • [Validation] No orphaned version properties remain (unless intentionally kept) (line 164)
  • [WorkflowStep] Step 1: Determine scope (line 44)
  • [WorkflowStep] Step 2: Establish baseline build (line 54)
  • [WorkflowStep] Step 3: Check for existing CPM (line 58)
  • [WorkflowStep] Step 5: Create or update Directory.Packages.props (line 74)
  • [WorkflowStep] Step 6: Update project files (line 78)
  • [WorkflowStep] Step 7: Handle MSBuild version properties (line 87)
  • [WorkflowStep] Step 8: Restore and validate (line 91)
Uncovered: dotnet-template-engine/template-authoring
  • [Validation] template.json passes manual validation with zero errors (line 114)
  • [Validation] Template identity and shortName are unique and meaningful (line 115)
  • [Validation] All parameters have descriptions and appropriate defaults (line 116)
  • [Validation] Template can be installed, dry-run, and instantiated successfully (line 117)
  • [Validation] Created projects build cleanly with dotnet build (line 118)
  • [Validation] Conditional content produces correct output for all parameter combinations (line 119)
  • [Pitfall] Identity format issues (line 125)
  • [Pitfall] ShortName conflicts with CLI commands (line 126)
  • [Pitfall] Missing parameter descriptions (line 127)
  • [Pitfall] Not testing all parameter combinations (line 128)
  • [Pitfall] Hardcoded versions in template (line 129)
  • [Pitfall] Not setting classifications (line 130)
  • [WorkflowStep] Step 1: Bootstrap from existing project (line 45)
  • [WorkflowStep] Step 2: Validate template.json (line 84)
  • [WorkflowStep] Step 3: Refine the template (line 93)
  • [WorkflowStep] Step 4: Test the template locally (line 103)
Uncovered: dotnet-template-engine/template-comparison
  • [Validation] Every template requested was inspected via dotnet new <template> --help (line 102)
  • [Validation] The comparison covers parameters, feature support, frameworks, and classifications (line 103)
  • [Validation] Differences relevant to the user's scenario are called out explicitly (line 104)
  • [Validation] A recommendation (or clear trade-off) is provided (line 105)
  • [Pitfall] Comparing uninstalled templates from memory (line 111)
  • [Pitfall] Assuming feature parity (line 112)
  • [Pitfall] Comparing fundamentally different template types (line 113)
  • [WorkflowStep] Step 1: Inspect each template (line 42)
  • [WorkflowStep] Step 2: Build the comparison table (line 61)
  • [WorkflowStep] Step 3: Recommend (line 81)
Uncovered: dotnet-template-engine/template-discovery
  • [Validation] At least one template match was found for the user's intent (line 168)
  • [Validation] Template parameters are explained with types and defaults (line 169)
  • [Validation] User understands what the template produces before proceeding to creation (line 170)
  • [Pitfall] Not searching NuGet for templates (line 176)
  • [Pitfall] Not checking template constraints (line 177)
  • [Pitfall] Recommending a template without previewing output (line 178)
  • [Pitfall] A dotnet new call fails with a "mutex"/"persistence" error and you return nothing (line 179)
  • [WorkflowStep] Step 1: Resolve intent to template candidates (line 60)
  • [WorkflowStep] Step 2: Search for templates (line 117)
  • [WorkflowStep] Step 3: Inspect template details (line 132)
  • [WorkflowStep] Step 4: Preview output (line 140)
  • [WorkflowStep] Step 5: Present findings (line 150)
Uncovered: dotnet-template-engine/template-instantiation
  • [Validation] Project was created successfully with the expected files (line 133)
  • [Validation] Project builds cleanly with dotnet build (line 134)
  • [Validation] If CPM is active, .csproj has no version attributes and Directory.Packages.props has matching entries (line 135)
  • [Validation] Package versions in the project are current (not stale template defaults) (line 136)
  • [Validation] If multi-project, all projects build and reference each other correctly (line 137)
  • [Pitfall] Not checking for CPM before creating a project (line 143)
  • [Pitfall] Creating projects without specifying the framework (line 144)
  • [Pitfall] Not adding the project to the solution (line 145)
  • [Pitfall] Not verifying the project builds (line 146)
  • [WorkflowStep] Step 1: Resolve template and parameters (line 49)
  • [WorkflowStep] Step 2: Analyze the workspace (line 57)
  • [WorkflowStep] Step 3: Preview the creation (line 66)
  • [WorkflowStep] Step 4: Create the project (line 74)
  • [WorkflowStep] Step 5: Multi-project composition (optional) (line 105)
  • [WorkflowStep] Step 6: Template package management (line 116)
  • [WorkflowStep] Step 7: Post-creation verification (line 125)
Uncovered: dotnet-template-engine/template-smart-defaults
  • [Validation] A "Defaults applied" log was produced with a Source (user/rule) and rationale per row (line 78)
  • [Validation] The exact single dotnet new command line was emitted, listing only flags actually passed (line 79)
  • [Validation] No parameter the user set explicitly was overridden (line 80)
  • [Validation] Only unset parameters were filled (line 81)
  • [Validation] Parameter names/choices were confirmed against dotnet new <template> --help at creation (for advice-only requests, flagged as to-confirm rather than run eagerly) (line 82)
  • [Pitfall] Treating heuristics as enforcement (line 88)
  • [Pitfall] Overriding an explicit user value (line 89)
  • [Pitfall] Assuming a flag name (line 90)
  • [Pitfall] Picking a framework the template doesn't support (line 91)
Uncovered: dotnet-template-engine/template-validation
  • [Pitfall] ShortName = "list" or "search" (line 162)
  • [Pitfall] Missing sourceName (line 163)
  • [Pitfall] Choice parameter without defaultValue (line 164)
  • [Pitfall] Invalid datatype value (line 165)
  • [Pitfall] Computed symbol without value (line 166)
  • [Pitfall] Parameter prefix collision (Auth vs AuthMode) (line 167)
  • [Pitfall] Source condition without parentheses (line 168)
  • [WorkflowStep] Step 1: Locate the template.json (line 124)
  • [WorkflowStep] Step 2: Parse and validate (line 131)
  • [WorkflowStep] Step 3: Report results (line 137)
Uncovered: dotnet-test-migration/migrate-mstest-v1v2-to-v3
  • [Validation] MSTest v3 packages (or MSTest.Sdk) correctly referenced; v1/v2 references removed (line 188)
  • [Validation] Project builds with zero errors (line 189)
  • [Validation] All tests pass (dotnet test) -- compare pass/fail counts to pre-migration baseline (line 190)
  • [Validation] .testsettings replaced with .runsettings (if applicable) (line 191)
  • [Pitfall] MSTest.Sdk tests not found by vstest.console (line 202)
  • [WorkflowStep] Step 4: Update target frameworks if needed (line 127)
  • [CodePattern] Assert.AreNotEqual (line 147)
  • [CodePattern] Assert.AreSame (line 147)
Uncovered: dotnet-test-migration/migrate-mstest-v3-to-v4
  • [Validation] All MSTest packages updated to 4.x (line 448)
  • [Validation] Project builds with zero errors (line 449)
  • [Validation] All tests pass with dotnet test (line 450)
  • [Validation] Custom TestMethodAttribute subclasses updated for ExecuteAsync and CallerInfo (line 451)
  • [Validation] ExpectedExceptionAttribute replaced with Assert.ThrowsExactly (line 452)
  • [Validation] Assert.ThrowsException replaced with Assert.ThrowsExactly (or Assert.Throws) (line 453)
  • [Validation] ClassCleanupBehavior enum usages removed (line 454)
  • [Validation] TestContext.Properties.Contains updated to ContainsKey (line 455)
  • [Validation] All target frameworks are net8.0+, net9.0, net462+, uap10.0.16299, or WinUI (line 456)
  • [Validation] Behavioral changes reviewed and addressed (line 457)
  • [Validation] No tests were lost during migration (compare test counts) (line 458)
  • [Pitfall] Custom TestMethodAttribute still overrides Execute (line 469)
  • [Pitfall] TestMethodAttribute("display name") no longer compiles (line 470)
  • [Pitfall] ClassCleanupBehavior enum not found (line 471)
  • [Pitfall] TestContext.Properties.Contains missing (line 472)
  • [Pitfall] ExpectedException attribute not found (line 473)
  • [Pitfall] Assert.ThrowsException not found (line 474)
  • [Pitfall] Assert.AreEqual with format string args fails (line 475)
  • [Pitfall] Tests hang that didn't before (line 476)
  • [Pitfall] Azure DevOps test history breaks (line 477)
  • [Pitfall] Discovery warnings now fail the run (line 478)
  • [Pitfall] Net6.0/net7.0 targets don't compile (line 479)
  • [WorkflowStep] Step 5: Verify (line 438)
  • [CodePattern] [Timeout] (line 212)
  • [CodePattern] sealed (line 118)
  • [CodePattern] Assert.ThrowsExactlyAsync (line 305)
  • [CodePattern] [TestMethod] (line 265)
  • [CodePattern] Assert.IsInstanceOfType (line 251)
  • [CodePattern] Assert.Throws (line 238)
  • [CodePattern] Assert.ThrowsExactly (line 238)
  • [CodePattern] [CallerFilePath] (line 158)
  • [CodePattern] MSTest.Sdk (line 88)
  • [CodePattern] Assert.ThrowsException (line 238)
  • [CodePattern] [TestMethodAttribute] (line 172)
  • [CodePattern] [CallerLineNumber] (line 158)
  • [CodePattern] Assert.AreEqual (line 228)
  • [CodePattern] [ClassCleanup] (line 184)
Uncovered: dotnet-test-migration/migrate-vstest-to-mtp
  • [Validation] All test projects use MTP runner (no VSTest-only configuration remains) (line 360)
  • [Validation] dotnet build completes with zero errors (line 361)
  • [Validation] dotnet test passes all tests and test counts match pre-migration baseline (line 362)
  • [Validation] Test executable runs directly (e.g., ./bin/Debug/net8.0/MyTests.exe) (line 363)
  • [Validation] CI pipeline produces expected test result artifacts (TRX files, code coverage, crash dumps) (line 364)
  • [Validation] Test Explorer in Visual Studio or VS Code discovers and runs tests (line 365)
  • [Validation] No vstest.console.exe invocations remain in CI scripts (line 366)
  • [Validation] <OutputType>Exe</OutputType> is set for all non-MSTest.Sdk test projects (line 367)
  • [Pitfall] Mixing VSTest and MTP projects in the same solution (line 373)
  • [Pitfall] dotnet test arguments ignored on .NET 9 and earlier (line 374)
  • [Pitfall] Exit code 8 on CI without failures (line 375)
  • [Pitfall] MSTest.Sdk v4 + vstest.console no longer works (line 376)
  • [Pitfall] Missing Exe (line 377)
  • [Pitfall] Using Condition="'$(IsTestProject)' == 'true'" in Directory.Build.props (line 378)
  • [WorkflowStep] Step 1: Assess the solution (line 57)
  • [WorkflowStep] Step 2: Set up Directory.Build.props (line 69)
  • [WorkflowStep] Step 3: Enable the framework-specific MTP runner (line 84)
  • [WorkflowStep] Step 4: Configure dotnet test integration (line 152)
  • [WorkflowStep] Step 5: Update dotnet test command-line arguments (line 187)
  • [WorkflowStep] Step 6: Install MTP extension packages (if needed) (line 265)
  • [WorkflowStep] Step 7: Update CI/CD pipelines (line 283)
  • [WorkflowStep] Step 8: Handle behavioral differences (line 322)
  • [WorkflowStep] Step 9: Remove VSTest-only packages (optional) (line 339)
  • [WorkflowStep] Step 10: Verify (line 349)
  • [CodePattern] [trait] (line 252)
Uncovered: dotnet-test-migration/migrate-xunit-to-mstest
  • [CodePattern] Parallelize (line 106)
Uncovered: dotnet-test-migration/migrate-xunit-to-xunit-v3
  • [WorkflowStep] Step 1: Identify xUnit.net projects and verify compatibility (line 41)
  • [WorkflowStep] Step 2: Update package references (line 57)
  • [WorkflowStep] Step 3: Set OutputType to Exe (line 69)
  • [WorkflowStep] Step 4: Configure test platform (line 85)
  • [WorkflowStep] Step 5: Remove Xunit.Abstractions usings (line 95)
  • [WorkflowStep] Step 6: Address async void breaking change (if applicable) (line 99)
  • [WorkflowStep] Step 7: Address breaking change of attributes (if applicable) (line 103)
  • [WorkflowStep] Step 8: Inheriting from FactAttribute or TheoryAttribute (if applicable) (line 114)
  • [WorkflowStep] Step 9: Inheriting from BeforeAfterTestAttribute (if applicable) (line 141)
  • [WorkflowStep] Step 10: Address new xUnit analyzer warnings (if applicable) (line 179)
  • [WorkflowStep] Step 11: Migrate Xunit.SkippableFact (if applicable) (line 183)
  • [WorkflowStep] Step 12: Update companion packages (if applicable) (line 194)
  • [WorkflowStep] Step 13: Build and verify (line 199)
  • [CodePattern] [CallerFilePath] (line 129)
  • [CodePattern] sealed (line 118)
  • [CodePattern] [CallerLineNumber] (line 129)
Uncovered: dotnet-test/assertion-quality
  • [Validation] Every assertion in the test suite was classified into at least one category (line 156)
  • [Validation] Metrics are computed correctly (counts add up) (line 157)
  • [Validation] Trivial-assertion tests are correctly identified (not over-flagged) (line 158)
  • [Validation] Exception tests are not penalized for low assertion count (line 159)
  • [Validation] Boolean assertions on meaningful properties are not classified as trivial (line 160)
  • [Validation] Recommendations are concrete (name specific test methods and suggest specific assertion types) (line 161)
  • [Validation] If the suite has good diversity, the report acknowledges this (line 162)
  • [Pitfall] Penalizing exception tests for low assertion count (line 168)
  • [Pitfall] Counting any Boolean assertion as trivial (line 170)
  • [Pitfall] Ignoring framework differences (line 171)
  • [Pitfall] Treating bare assertion forms as missing-framework (line 172)
  • [Pitfall] Treating mock-call verifications as assertion-free (line 173)
  • [Pitfall] Recommending diversity for diversity's sake (line 174)
  • [Pitfall] Missing implicit assertions (line 175)
  • [Pitfall] Async tests with unawaited assertions (line 176)
  • [WorkflowStep] Step 1: Detect language and load extension (line 51)
  • [WorkflowStep] Step 2: Gather the test code (line 55)
Uncovered: dotnet-test/code-testing-agent
  • [WorkflowStep] Step 1: Determine the user request (line 78)
  • [WorkflowStep] Step 2: Invoke the Test Generator (line 83)
  • [WorkflowStep] Step 3: Execute with bounded context (line 93)
Uncovered: dotnet-test/crap-score
  • [WorkflowStep] Step 1: Collect code coverage data (line 62)
  • [WorkflowStep] Step 2: Compute cyclomatic complexity (line 74)
  • [WorkflowStep] Step 3: Extract per-method coverage from Cobertura XML (line 99)
  • [WorkflowStep] Step 5: Present results (line 113)
Uncovered: dotnet-test/detect-static-dependencies
  • [Validation] All .cs files in scope were scanned (check count) (line 135)
  • [Validation] Report includes category totals, top patterns, and affected files (line 136)
  • [Validation] Each detected pattern has a recommended replacement listed (line 137)
  • [Validation] obj/ and bin/ directories were excluded (line 138)
  • [Validation] Migration priority is ordered by impact (count × ease of replacement) (line 139)
  • [Pitfall] Scanning obj/ or generated code (line 145)
  • [Pitfall] Counting wrapped calls as statics (line 146)
  • [Pitfall] Missing statics inside lambdas/LINQ (line 147)
  • [Pitfall] Recommending TimeProvider on < .NET 8 (line 148)
  • [Pitfall] Ignoring test projects (line 149)
  • [WorkflowStep] Step 1: Determine scan scope (line 50)
  • [WorkflowStep] Step 2: Search for static dependency patterns (line 60)
  • [WorkflowStep] Step 3: Aggregate and rank results (line 73)
  • [WorkflowStep] Step 4: Present the report (line 88)
  • [WorkflowStep] Step 5: Suggest next steps (line 126)
Uncovered: dotnet-test/generate-testability-wrappers
  • [Validation] Generated interface only wraps statics that were actually detected (not speculative) (line 216)
  • [Validation] Default implementation delegates to the real static with no behavior changes (line 217)
  • [Validation] DI registration uses AddSingleton for stateless wrappers, AddTransient for stateful ones (line 218)
  • [Validation] NuGet packages are recommended where established libraries exist (System.IO.Abstractions, etc.) (line 219)
  • [Validation] For .NET 8+, TimeProvider is recommended over custom ISystemClock (line 220)
  • [Validation] Ambient context pattern includes AsyncLocal<T>, scoped disposal, and trade-off explanation (line 221)
  • [Pitfall] Wrapping ALL members of a static class (line 227)
  • [Pitfall] Custom time wrapper on .NET 8+ (line 228)
  • [Pitfall] Custom file system wrapper (line 229)
  • [Pitfall] Registering scoped when singleton suffices (line 230)
  • [Pitfall] Forgetting test helper packages (line 231)
  • [Pitfall] Ambient context without AsyncLocal (line 232)
  • [WorkflowStep] Step 1: Determine the abstraction strategy (line 48)
  • [WorkflowStep] Step 2: Generate built-in abstraction adoption (Time, HTTP) (line 61)
  • [WorkflowStep] Step 3: Generate custom wrappers (Environment, Console, Process) (line 98)
  • [WorkflowStep] Step 4: Generate file system wrapper adoption (line 141)
  • [WorkflowStep] Step 5: Generate ambient context alternative (when DI is not available) (line 177)
  • [WorkflowStep] Step 6: Place generated files (line 202)
  • [CodePattern] Assert.True (line 82)
  • [CodePattern] readonly (line 181)
  • [CodePattern] sealed (line 121)
  • [CodePattern] Assert.Equal (line 168)
Uncovered: dotnet-test/grade-tests
  • [Validation] Every test in the input list appears in the table (or is recorded as (line 303)
  • [Validation] Every grade is justified by at least one observable signal in the (line 305)
  • [Validation] Trivial-assertion tests are flagged only when the only assertion (line 307)
  • [Validation] Exception-only tests are not penalized for low assertion count. (line 309)
  • [Validation] Mock-call verifications and bare assertion forms count as real (line 310)
  • [Validation] Boolean assertions on meaningful properties (Assert.IsTrue(result.IsValid)) (line 312)
  • [Validation] Self-referential assertions are flagged separately from normal (line 314)
  • [Validation] Idiomatic patterns are not flagged: Go/Rust table-driven sub-tests, (line 316)
  • [Validation] Async test pitfalls (un-awaited resolves/rejects/ThrowsAsync, (line 319)
  • [Validation] The summary leads with the highest-leverage observation, not a recap (line 321)
  • [Pitfall] Grading every test in the workspace when no list is provided (line 328)
  • [Pitfall] Inflating deductions to justify the grade (line 329)
  • [Pitfall] Penalizing exception tests for low assertion count (line 330)
  • [Pitfall] Treating IsNotNull before a value assertion as trivial (line 331)
  • [Pitfall] Treating any Boolean assertion as effectively assertion-free (line 332)
  • [Pitfall] Flagging Go/Rust table-driven loops as conditional logic (line 333)
  • [Pitfall] Treating pytest bare assert or Go if got != want { t.Error… } as missing-framework (line 334)
  • [Pitfall] Penalizing tests when production code is unavailable (line 335)
  • [Pitfall] Using a fake-precise score (e.g., 87/100) (line 336)
  • [Pitfall] Spilling a 500-row table into a PR comment (line 337)
  • [Pitfall] Re-reporting an existing finding three times under different categories (line 338)
  • [Pitfall] Inventing weaknesses for A-grade tests to make the note "balanced" (line 339)
  • [WorkflowStep] Step 0: Validate the input (line 75)
  • [WorkflowStep] Step 1: Detect language and load extension (line 93)
  • [WorkflowStep] Step 2: Resolve the test bodies (line 104)
  • [WorkflowStep] Step 3: Score each test (line 115)
  • [WorkflowStep] Step 4: Build the note (line 255)
  • [WorkflowStep] Step 5: Report (line 269)
Uncovered: dotnet-test/migrate-static-to-wrapper
  • [Validation] All call sites in scope were replaced (none missed) (line 207)
  • [Validation] Constructor injection added to all affected classes (line 208)
  • [Validation] Field naming follows existing class conventions (line 209)
  • [Validation] Required using directives added (line 210)
  • [Validation] Required NuGet packages referenced (line 211)
  • [Validation] Build succeeds after migration (line 212)
  • [Validation] Test files updated with appropriate test doubles (line 213)
  • [Validation] No behavioral changes introduced (wrapper delegates directly to the static) (line 214)
  • [Validation] DateTimeKind preserved — former DateTime.UtcNow stays Utc (.UtcDateTime), former DateTime.Now stays Local (.LocalDateTime) (line 215)
  • [Pitfall] Replacing statics in test code (line 221)
  • [Pitfall] Breaking static classes (line 222)
  • [Pitfall] Missing FakeTimeProvider NuGet (line 223)
  • [Pitfall] Replacing a DateTime value with .DateTime off a DateTimeOffset (line 224)
  • [Pitfall] Migrating too much at once (line 225)
  • [Pitfall] Forgetting DI registration (line 226)
  • [WorkflowStep] Step 1: Verify prerequisites (line 52)
  • [WorkflowStep] Step 2: Plan the migration for each file (line 62)
  • [WorkflowStep] Step 3: Add constructor injection (line 97)
  • [WorkflowStep] Step 4: Replace call sites (line 139)
  • [WorkflowStep] Step 5: Update affected test files (line 156)
  • [WorkflowStep] Step 6: Build verification (line 166)
  • [WorkflowStep] Step 7: Report changes (line 180)
Uncovered: dotnet-test/mtp-hot-reload
  • [Validation] Project uses Microsoft Testing Platform (not VSTest) (line 132)
  • [Validation] Microsoft.Testing.Extensions.HotReload package is installed (line 133)
  • [Validation] TESTINGPLATFORM_HOTRELOAD_ENABLED environment variable is set to 1 (line 134)
  • [Pitfall] Forgetting to set the environment variable (line 144)
Uncovered: dotnet-test/run-tests
  • [Validation] Test framework (MSTest, xUnit, NUnit, TUnit) was correctly identified (line 254)
  • [Validation] Correct dotnet test invocation was used for the detected platform and SDK version (line 255)
  • [Validation] Test results were clearly reported to the user (line 258)
  • [Pitfall] Passing MTP args without -- on .NET SDK 8/9 (line 266)
  • [Pitfall] Using -- --arg separator on .NET SDK 10+ (line 267)
  • [Pitfall] Using --logger trx for MTP or --report-trx for VSTest (line 268)
  • [Pitfall] Only checking .csproj for MTP signals (line 269)
  • [Pitfall] Using bare positional path argument on SDK 10+ (line 270)
Uncovered: dotnet-test/test-anti-patterns
  • [Validation] Every finding includes a specific location (not just a general warning) (line 154)
  • [Validation] Every Critical/High finding includes a concrete fix (line 155)
  • [Validation] Report covers all categories (assertions, isolation, naming, structure) (line 156)
  • [Validation] Positive observations are included alongside problems (line 157)
  • [Validation] Recommendations are prioritized by severity (line 158)
  • [Pitfall] Reporting style issues as critical (line 164)
  • [Pitfall] Suggesting rewrites instead of targeted fixes (line 165)
  • [Pitfall] Flagging intentional design choices (line 166)
  • [Pitfall] Inventing false positives on clean code (line 167)
  • [Pitfall] Flagging separate boundary tests as duplicates (line 168)
  • [Pitfall] Rating cosmetic issues as Medium (line 169)
  • [Pitfall] Ignoring the test framework (line 170)
  • [Pitfall] Treating idiomatic patterns as smells (line 171)
  • [Pitfall] Missing async-test pitfalls (line 172)
  • [Pitfall] Missing the forest for the trees (line 173)
  • [WorkflowStep] Step 1: Detect language and load extension (line 57)
  • [WorkflowStep] Step 2: Gather the test code (line 61)
  • [WorkflowStep] Step 3: Scan for anti-patterns (line 67)
  • [WorkflowStep] Step 4: Calibrate severity honestly (line 114)
  • [WorkflowStep] Step 5: Report findings (line 131)
  • [WorkflowStep] Step 6: Prioritize recommendations (line 144)
Uncovered: dotnet-test/test-gap-analysis
  • [Validation] Every mutation point was classified (Killed / Survived / No coverage / Equivalent) (line 198)
  • [Validation] Every survived mutation includes the original code, the hypothetical change, and why tests miss it (line 199)
  • [Validation] Every survived mutation includes a concrete recommended fix (a test assertion or test case) (line 200)
  • [Validation] Equivalent mutations are correctly identified and excluded from the score (line 201)
  • [Validation] Trivial code (simple getters, auto-properties) is excluded from analysis (line 202)
  • [Validation] Findings are prioritized by risk, not just listed in source order (line 203)
  • [Validation] Report includes strengths (killed mutations) alongside gaps (line 204)
  • [Validation] Mutation categories are correctly labeled (line 205)
  • [Pitfall] Analyzing trivial code (line 211)
  • [Pitfall] Reporting equivalent mutations as gaps (line 212)
  • [Pitfall] Ignoring call chains (line 213)
  • [Pitfall] Over-counting mutations in generated code (line 214)
  • [Pitfall] Recommending a new test for every survived mutation (line 215)
  • [Pitfall] Ignoring production context (line 216)
  • [Pitfall] Claiming 100% kill rate is required (line 217)
  • [Pitfall] Not considering integration with other skills (line 218)
  • [Pitfall] Forgetting Go's error idiom (line 219)
  • [Pitfall] Forgetting Rust's ? operator (line 220)
  • [WorkflowStep] Step 1: Detect language and load extension (line 55)
  • [WorkflowStep] Step 2: Gather production and test code (line 59)
  • [WorkflowStep] Step 3: Identify mutation points (line 65)
  • [WorkflowStep] Step 4: Evaluate each mutation against tests (line 137)
  • [WorkflowStep] Step 5: Calibrate findings (line 152)
  • [WorkflowStep] Step 6: Report findings (line 162)
Uncovered: dotnet-test/test-smell-detection
  • [Validation] Every finding includes the specific test method name and file location (line 214)
  • [Validation] Every finding includes a code snippet showing the smell in context (line 215)
  • [Validation] Every finding includes a concrete fix example (not just "fix this") (line 216)
  • [Validation] Integration tests are not penalized for patterns that are appropriate for their scope (line 217)
  • [Validation] Simple foreach-assert loops are not flagged as conditional test logic (line 218)
  • [Validation] Contextually obvious numbers are not flagged as magic numbers (line 219)
  • [Validation] If the test suite is clean, the report says so upfront (line 220)
  • [Validation] Severity levels are justified, not arbitrary (line 221)
  • [Pitfall] Flagging integration tests for using real resources (line 227)
  • [Pitfall] Flagging loop-over-collection-assert as conditional logic (line 228)
  • [Pitfall] Flagging Go/Rust table-driven loops as Conditional Test Logic (line 229)
  • [Pitfall] Flagging parametrized tests as Duplicate Assert (line 230)
  • [Pitfall] Flagging pytest bare assert as missing framework (line 231)
  • [Pitfall] Flagging Go's if err != nil { t.Fatal(err) } as Exception Handling in Tests (line 232)
  • [Pitfall] Flagging obvious count assertions after adding N items (line 233)
  • [Pitfall] Missing framework-specific assertion syntax (line 234)
  • [Pitfall] Treating mock-call verifications as assertion-free (line 235)
  • [Pitfall] Missing the async-test silent-pass trap (line 236)
  • [Pitfall] Over-flagging try/catch that captures for assertion (line 237)
  • [Pitfall] Treating skip annotations with reasons same as bare skips (line 238)
  • [Pitfall] Flagging DoesNotThrow-style tests as assertion-free (line 239)
  • [WorkflowStep] Step 1: Detect language and load extension (line 67)
  • [WorkflowStep] Step 2: Gather the test code (line 71)
  • [WorkflowStep] Step 3: Scan for test smells (line 77)
  • [WorkflowStep] Step 4: Apply calibration rules (line 167)
  • [WorkflowStep] Step 5: Report findings (line 183)
Uncovered: dotnet-test/test-tagging
  • [Validation] Every test method has at least one trait classification (positive or negative at minimum) — in the report for report-only frameworks, or as an attribute for auto-edit frameworks (line 238)
  • [Validation] No invented trait values outside the taxonomy table (line 239)
  • [Validation] Existing trait attributes were preserved, not duplicated (line 240)
  • [Validation] The trait summary table was generated (line 241)
  • [Validation] For auto-edit frameworks, the project still builds / tests still discover after changes (dotnet build / pytest --collect-only / mvn test-compile / go vet ./... / cargo check --tests / npm run test:list / Invoke-Pester -PassThru -Skip / equivalent) (line 242)
  • [Validation] For report-only frameworks, no source files were modified (line 243)
  • [Validation] For convention-based frameworks, edits were applied ONLY when a project convention was confirmed (line 244)
  • [Pitfall] Guessing traits without reading the test body (line 250)
  • [Pitfall] Tagging a test only as boundary without positive/negative (line 251)
  • [Pitfall] Using the wrong attribute syntax for the detected framework (line 252)
  • [Pitfall] Duplicating an existing category attribute (line 253)
  • [Pitfall] Over-tagging as critical-path (line 254)
  • [Pitfall] Editing Go / plain Jest / plain Rust / plain XCTest / plain GoogleTest source (line 255)
  • [Pitfall] Inventing tag prefixes for convention-based frameworks (line 256)
  • [Pitfall] Missing language-specific concurrency / async primitives (line 257)
  • [WorkflowStep] Step 1: Detect the language, framework, and tagging capability (line 60)
  • [WorkflowStep] Step 2: Scan existing traits (line 70)
  • [WorkflowStep] Step 3: Classify each test method (line 92)
  • [WorkflowStep] Step 4: Apply trait attributes (or report only) (line 114)
  • [WorkflowStep] Step 5: Generate trait summary (line 202)
  • [CodePattern] [TestMethod] (line 119)
  • [CodePattern] [boundary] (line 194)
  • [CodePattern] [Fact] (line 127)
  • [CodePattern] [Test] (line 135)
  • [CodePattern] [Trait] (line 127)
  • [CodePattern] [Category] (line 135)
  • [CodePattern] [TestCategory] (line 119)
  • [CodePattern] [negative] (line 194)
Uncovered: dotnet-test/writing-mstest-tests
  • [WorkflowStep] Step 1: Determine project setup (line 62)
  • [WorkflowStep] Step 4: Use data-driven tests for multiple inputs (line 230)
  • [WorkflowStep] Step 6: Apply cancellation and timeout patterns (line 322)
  • [WorkflowStep] Step 7: Use advanced features where appropriate (line 336)
  • [CodePattern] Assert.AreEqual (line 113)
  • [CodePattern] Assert.Contains (line 179)
  • [CodePattern] [TestMethod] (line 113)
  • [CodePattern] Assert.IsInRange (line 224)
  • [CodePattern] readonly (line 285)
  • [CodePattern] Parallelize (line 362)
  • [CodePattern] Assert.EndsWith (line 204)
  • [CodePattern] Assert.IsLessThan (line 224)
  • [CodePattern] Assert.IsGreaterThan (line 224)
  • [CodePattern] Assert.IsNotEmpty (line 179)
  • [CodePattern] [TestClass] (line 113)
  • [CodePattern] [Retry] (line 342)
  • [CodePattern] DoNotParallelize (line 362)
  • [CodePattern] Assert.StartsWith (line 204)
  • [CodePattern] ValueTuple (line 249)
  • [CodePattern] [CICondition] (line 350)
  • [CodePattern] Assert.IsInstanceOfType (line 213)
  • [CodePattern] Assert.IsNotNull (line 155)
  • [CodePattern] [DoNotParallelize] (line 362)
  • [CodePattern] TestDataRow (line 269)
  • [CodePattern] sealed (line 113)
  • [CodePattern] Assert.DoesNotContain (line 179)
  • [CodePattern] [TestCleanup] (line 285)
  • [CodePattern] MSTest.Sdk (line 72)
  • [CodePattern] Assert.AreSame (line 155)
  • [CodePattern] [Timeout] (line 326)
  • [CodePattern] CancellationToken (line 326)
  • [CodePattern] [DataRow] (line 234)
  • [CodePattern] Assert.MatchesRegex (line 204)
  • [CodePattern] Assert.ThrowsExactlyAsync (line 164)
  • [CodePattern] [OSCondition] (line 350)
  • [CodePattern] Assert.ContainsSingle (line 179)
  • [CodePattern] Assert.HasCount (line 179)
  • [CodePattern] [TestInitialize] (line 285)
  • [CodePattern] Assert.IsNull (line 155)
  • [CodePattern] Assert.IsEmpty (line 179)
Uncovered: dotnet-upgrade/dotnet-aot-compat
  • [WorkflowStep] Step 1: Enable AOT analysis in the .csproj (line 63)
  • [WorkflowStep] Step 2: Build and collect warnings (line 75)
  • [WorkflowStep] Step 3: Triage warnings by code (do NOT read every file) (line 93)
  • [WorkflowStep] Step 4: Fix warnings iteratively (innermost first) (line 105)
  • [WorkflowStep] Step 5: Rebuild and repeat (line 205)
  • [WorkflowStep] Step 6: Validate all TFMs (line 209)
  • [CodePattern] [MSBuild] (line 67)
  • [CodePattern] [RequiresUnreferencedCode] (line 195)
  • [CodePattern] [DynamicallyAccessedMembers] (line 119)
  • [CodePattern] [JsonSerializerContext] (line 169)
Uncovered: dotnet-upgrade/migrate-dotnet10-to-dotnet11
  • [WorkflowStep] Step 1: Assess the project (line 54)
  • [WorkflowStep] Step 2: Update the Target Framework (line 73)
  • [WorkflowStep] Step 3: Fix source-breaking and compilation changes (line 91)
  • [WorkflowStep] Step 4: Address behavioral changes (line 129)
  • [WorkflowStep] Step 5: Update infrastructure (line 169)
  • [WorkflowStep] Step 6: Verify (line 198)
Uncovered: dotnet-upgrade/migrate-dotnet8-to-dotnet9
  • [WorkflowStep] Step 1: Assess the project (line 50)
  • [WorkflowStep] Step 2: Update the Target Framework (line 65)
  • [WorkflowStep] Step 3: Resolve build errors and source-incompatible changes (line 85)
  • [WorkflowStep] Step 4: Address behavioral changes (line 131)
  • [WorkflowStep] Step 5: Update infrastructure (line 172)
  • [WorkflowStep] Step 6: Verify (line 203)
Uncovered: dotnet-upgrade/migrate-dotnet9-to-dotnet10
  • [WorkflowStep] Step 1: Assess the project (line 56)
  • [WorkflowStep] Step 6: Verify (line 238)
Uncovered: dotnet-upgrade/migrate-nullable-references
  • [Validation] Project file(s) contain <Nullable>enable</Nullable> (or #nullable enable per-file for file-by-file strategy) (line 235)
  • [Validation] Build produces zero CS86xx warnings (line 236)
  • [Validation] <WarningsAsErrors>nullable</WarningsAsErrors> added to project file to prevent regressions (line 237)
  • [Validation] Tests pass with no regressions (line 238)
  • [Validation] No #nullable disable directives remain unless justified with a comment (line 239)
  • [Validation] Null-forgiving operators (!) are rare, each with a justifying comment (line 240)
  • [Validation] Public API signatures accurately reflect null contracts (line 241)
  • [Validation] For public libraries: breaking changes documented in nullable-breaking-changes.md and reviewed by the user (line 242)
  • [Pitfall] Sprinkling ! everywhere to silence warnings (line 260)
  • [Pitfall] Marking everything T? to eliminate warnings quickly (line 261)
  • [Pitfall] Constructor does not initialize all non-nullable members (line 262)
  • [Pitfall] Serialization bypasses constructors — non-nullable ≠ runtime safety (line 263)
  • [Pitfall] Generated code produces warnings (line 264)
  • [Pitfall] Multi-target projects and older TFMs (line 265)
  • [Pitfall] Warnings reappear after upgrading a dependency (line 266)
  • [Pitfall] Accidentally changing behavior while annotating (line 267)
  • [Pitfall] Adding ? to a value type (enum, struct) (line 268)
  • [Pitfall] Removing existing null argument validation (line 269)
  • [Pitfall] var infers nullability from the assigned expression (line 270)
  • [Pitfall] Consuming unannotated (nullable-oblivious) libraries (line 271)
  • [WorkflowStep] Step 1: Evaluate readiness (line 48)
  • [WorkflowStep] Step 2: Choose a rollout strategy (line 63)
  • [WorkflowStep] Step 3: Fix dereference warnings (line 97)
  • [WorkflowStep] Step 4: Annotate declarations (line 144)
  • [WorkflowStep] Step 5: Apply nullable attributes for advanced scenarios (line 207)
  • [WorkflowStep] Step 6: Clean up suppressions (line 213)
  • [WorkflowStep] Step 7: Validate (line 224)
Uncovered: dotnet-upgrade/thread-abort-migration
  • [Validation] No references to Thread.Abort remain in the migrated code (line 114)
  • [Validation] No ThreadAbortException catch blocks remain (line 115)
  • [Validation] No Thread.ResetAbort calls remain (line 116)
  • [Validation] No SYSLIB0006 pragma suppressions remain (line 117)
  • [Validation] Project builds cleanly against the target framework with no thread-abort-related warnings (line 118)
  • [Validation] All cancellable work accepts a CancellationToken parameter (line 119)
  • [Validation] Timeout scenarios use CancellationTokenSource.CancelAfter or equivalent (line 120)
  • [Validation] Blocking calls use WaitHandle.WaitAny with token.WaitHandle or async alternatives (line 121)
  • [Validation] Existing tests pass or have been updated for cooperative cancellation (line 122)
  • [Pitfall] Adding CancellationToken parameter but never checking it in long-running code (line 128)
  • [Pitfall] Not passing the token through the full call chain (line 129)
  • [Pitfall] Expecting CancellationToken to interrupt blocking synchronous calls like Thread.Sleep or socket.Receive (line 130)
  • [Pitfall] Catching OperationCanceledException and swallowing it (line 131)
  • [Pitfall] Not disposing CancellationTokenSource (line 132)
  • [Pitfall] Assuming cancellation is immediate (line 133)
  • [Pitfall] Using Thread.Interrupt as a substitute for Thread.Abort (line 134)
  • [Pitfall] Removing ThreadAbortException catch blocks without migrating the cleanup logic (line 135)
  • [WorkflowStep] Step 1: Inventory all thread termination usage (line 50)
  • [WorkflowStep] Step 2: Classify each usage pattern (line 64)
  • [WorkflowStep] Step 3: Apply the replacement for each pattern (line 80)
  • [WorkflowStep] Step 4: Clean up removed APIs (line 90)
  • [WorkflowStep] Step 5: Verify the migration (line 104)
Uncovered: dotnet/setup-local-sdk
  • [Pitfall] paths ignored (line 382)
  • [Pitfall] Wrong SDK resolves (line 383)
  • [Pitfall] Teammates get "SDK not found" (line 384)
  • [Pitfall] Workloads missing (line 385)
  • [Pitfall] dotnet app.dll wrong runtime (line 386)
  • [CodePattern] [guid] (line 104)
  • [CodePattern] [pscustomobject] (line 301)
  • [CodePattern] [ordered] (line 301)

@JanKrivanek

Copy link
Copy Markdown
Member

The dispatched end-to-end CI run referenced in the description is here:

Both were workflow_dispatch on abhitejjohn-migrate-evals-to-vally with plugin=dotnet-nuget.

What the run actually proves (verified from the logs):

  • discover ✅ built the matrix [{"skills_path":"plugins/dotnet-nuget/skills","name":"dotnet-nuget","plugin":"dotnet-nuget"}] — filename-agnostic eval.yaml discovery works.
  • gate / pr-status / fork-pr-status ✅ correctly skipped for workflow_dispatch.
  • evaluate / prepare ✅ and the vally job's Validate matrix entry → Checkout → Setup Node.js → Install vally all ✅.
  • The vally job then fails at Select Copilot token from pool with ##[error]No copilot-pat-pool entries (COPILOT_PAT_0..9) are configured — exactly the pre-existing copilot-pat-pool environment branch policy (tokens scoped to main), not a regression.
  • Every downstream comment-on-pr / publish-session-data / publish-eval-data / deploy-dashboard job skipped via its own if: guard (branch ≠ main / event ≠ schedule), so zero side effects. Confirmed those are guard-skips, not upstream-failure skips.

Caveat worth flagging: because the job stops at the token gate, the run does not exercise the actual eval execution, Upload results, session-data flattening/push, or eval-data push — those steps were skipped. So the eval-results/session-data storage paths remain unverified by real CI (only unit tests + --dry-run cover them), as the "Remaining verification (needs a call)" section already notes.

Minor: Install vally runs npm install -g @microsoft/vally-cli unpinned — it resolves latest at runtime rather than the 0.9.0 mentioned in the description. Worth pinning for reproducibility.

@JanKrivanek JanKrivanek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good as is.

There will likely be change in scoring - but we can consider it a new baseline.
We should also observe if the eval results + session data storing works as expected after the flip.

Collapses the parallel skill-validator + Vally eval pipeline into a single
Vally-only path while preserving every capability skill-validator provided:
PR gate, PR comment, dotnet/skills-data historical push, and the dashboard.
The skill-validator `check` linter is retained (skill-check.yml) pending
microsoft/vally #463.

- evaluation.yml: delete build-validator and the skill-validator `evaluate`
  job; single `evaluate:` job now uses vally-evaluation.yml. Forward the
  COPILOT_PAT_0..9 pool onto it (from #911) so the reusable workflow's token
  gate is satisfied. Rewire comment-on-pr / report-status / publish-* /
  deploy-dashboard onto `evaluate` and vally-results-* artifacts.
- vally-evaluation.yml: pin @microsoft/[email protected]; keep the #911 prepare
  guard; write the generated per-plugin experiment to $GITHUB_WORKSPACE so
  relative eval globs resolve.
- adapt.mjs: reconcile #887's runCompareWithRetry + conclusive/unmatched
  hardening with the consolidation helpers (nonActivation, compareByStim,
  roleToDashboard, etc.). Add consolidate.mjs and gen-experiment.mjs.
- build-replay-sessions.ps1: read Vally executor-session-logs/events.jsonl
  instead of skill-validator session output.
- Rename all tests/*/*/eval.vally.yaml to eval.yaml (Vally format is now the
  only eval format); author Vally evals for the four skills that lacked one.
- CONTRIBUTING.md + InvestigatingResults: point contributors at the Vally
  harness; drop non-public links.

Co-authored-by: Copilot <[email protected]>
@AbhitejJohn
AbhitejJohn force-pushed the abhitejjohn-migrate-evals-to-vally branch from 0b3c791 to 9a260fc Compare July 20, 2026 06:23
@AbhitejJohn
AbhitejJohn temporarily deployed to copilot-pat-pool July 20, 2026 06:24 — with GitHub Actions Inactive
@AbhitejJohn
AbhitejJohn temporarily deployed to copilot-pat-pool July 20, 2026 06:51 — with GitHub Actions Inactive
@AbhitejJohn
AbhitejJohn temporarily deployed to copilot-pat-pool July 20, 2026 06:51 — with GitHub Actions Inactive
@AbhitejJohn
AbhitejJohn temporarily deployed to copilot-pat-pool July 20, 2026 06:52 — with GitHub Actions Inactive
The hand-authored setup-local-sdk eval used skill-validator grader/environment
schema that Vally rejects at validation (no stimuli executed):
- file-contains/file-not-contains graders require 'value:' not 'substring:'
  (output-contains correctly keeps 'substring:').
- environment.files entries require 'src:'/'dest:' (copy a fixture) rather than
  inline 'path:'/'content:'. Moved the global.json body into fixtures/global.json.

Verified with 'vally lint --eval-spec' (0 errors) across all 97 eval.yaml.

Co-authored-by: Copilot <[email protected]>
@AbhitejJohn
AbhitejJohn temporarily deployed to copilot-pat-pool July 20, 2026 08:20 — with GitHub Actions Inactive
AbhitejJohn and others added 3 commits July 20, 2026 09:27
…vals-to-vally

# Conflicts:
#	tests/dotnet-template-engine/template-authoring/eval.vally.yaml
#	tests/dotnet-template-engine/template-authoring/eval.yaml
#	tests/dotnet-template-engine/template-comparison/eval.vally.yaml
#	tests/dotnet-template-engine/template-comparison/eval.yaml
#	tests/dotnet-template-engine/template-instantiation/eval.vally.yaml
#	tests/dotnet-template-engine/template-instantiation/eval.yaml
#	tests/dotnet-template-engine/template-smart-defaults/eval.vally.yaml
#	tests/dotnet-template-engine/template-smart-defaults/eval.yaml
#	tests/dotnet-template-engine/template-validation/eval.vally.yaml
#	tests/dotnet-template-engine/template-validation/eval.yaml
#	tests/dotnet-test-migration/migrate-mstest-v1v2-to-v3/eval.vally.yaml
#	tests/dotnet-test-migration/migrate-mstest-v1v2-to-v3/eval.yaml
- Consolidate run-vally-evals.sh into a single neutral entrypoint
  eng/run-skill-evals.sh (deletes the thin wrapper; adapt.mjs stays in
  eng/vally-adapter/ since CI invokes it directly)
- Rename reusable workflow vally-evaluation.yml -> evaluation-run.yml and
  update all references/self-trigger regexes
- Rename local output dir vally-results -> eval-results
- Bake prerequisite preflight (Node 20+, GITHUB_TOKEN/gh) into the runner
- Simplify CONTRIBUTING "Running tests locally" prerequisites
- Scrub harness name from consumer-facing surfaces

Co-authored-by: Copilot <[email protected]>
@AbhitejJohn
AbhitejJohn marked this pull request as ready for review July 20, 2026 22:53
Copilot AI review requested due to automatic review settings July 20, 2026 22:53
Overfitting detection previously ran inside skill-validator's `evaluate`
command, which the Vally migration replaced, so it silently stopped running.
Reinstate it as a standalone step wired into the Vally pipeline:

- Add `skill-validator overfitting` command that discovers skills, parses
  each eval.yaml, runs the existing OverfittingJudge, and emits
  [{plugin, skill, overfittingResult}] JSON (per-skill failures non-fatal,
  bounded parallelism).
- Add a Vally-format parser bridge (ParseEvalConfigFlexible) so the judge
  handles the current stimuli/graders eval.yaml format; the legacy
  scenarios-only parser rejected all 98 evals, so the judge never ran.
- adapt.mjs: merge overfitting results onto each verdict via
  --overfitting <file> (keyed by plugin/skill); output is byte-identical
  when the flag is absent.
- evaluation-run.yml: build skill-validator (shared cache with check),
  run the judge per leg reading GITHUB_TOKEN, and pass --overfitting to
  adapt.mjs so the dashboard/skills-data consume it unchanged.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings July 21, 2026 07:38

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

Resolve evaluation.yml conflict in favor of the reusable evaluation-run.yml
structure (the migration extracts the evaluate job); re-apply the Dependabot
grouped action bumps (#918) to evaluation.yml and evaluation-run.yml so the
pinned SHAs match main.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings July 21, 2026 17:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@github-actions github-actions Bot added pr-state/ready-for-eval PR is mergeable and awaiting evaluation and removed waiting-on-author PR state label labels Jul 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

❌ Evaluation failed. View workflow run

AbhitejJohn and others added 2 commits July 21, 2026 14:16
PR #919 landed on main adding fresh Vally specs for three coverage-gap
skills (setup-local-sdk, convert-blazor-server-to-webapp, dotnet-webapi)
under the interim eval.vally.yaml filename. This branch collapses to a
single Vally spec named eval.yaml, so the merge left each skill with both
my migrated eval.yaml and #919's newer eval.vally.yaml (a git-clean but
semantic duplicate the pipeline would not discover).

Adopt #919's reviewed Vally content as the canonical eval.yaml for all
three skills and drop the redundant eval.vally.yaml files, preserving the
'sole eval.yaml, zero eval.vally.yaml' invariant. Content is byte-identical
to #919's blobs (b14121c / 47d4382 / 18a9362), which already passed
vally-evaluate on main.

Co-authored-by: Copilot <[email protected]>
Copilot AI review requested due to automatic review settings July 21, 2026 21:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@github-actions

Copy link
Copy Markdown
Contributor

❌ Evaluation failed. View workflow run

AbhitejJohn added a commit that referenced this pull request Jul 21, 2026
Adds a standalone cross-family evaluation workflow that runs every runnable
skill through a matrix of executor models, judged head-to-head (skilled vs
baseline) by `vally compare`, with judge != executor family.

It intentionally lives under the existing `vally-evaluation.yml` filename so it
is dispatchable from a feature branch WITHOUT a merge to main: workflow_dispatch
only registers workflow files that exist on the default branch, and
vally-evaluation.yml already does. Cherry-pick this single commit onto your
branch, push, then dispatch with --ref <your-branch>.

Eval-spec filename auto-derives from dotnet-skills.experiment.yaml so it works
whether the repo globs eval.vally.yaml (current main) or eval.yaml (post-#877).

NOT intended to merge to main as-is: doing so would replace main's reusable
shadow-eval vally-evaluation.yml (its workflow_call path). This is a
cherry-pick / dispatch source only.

Co-authored-by: Copilot <[email protected]>
AbhitejJohn added a commit that referenced this pull request Jul 21, 2026
Adds a standalone cross-family evaluation workflow that runs every runnable
skill through a matrix of executor models, judged head-to-head (skilled vs
baseline) by `vally compare`, with judge != executor family.

It intentionally lives under the existing `vally-evaluation.yml` filename so it
is dispatchable from a feature branch WITHOUT a merge to main: workflow_dispatch
only registers workflow files that exist on the default branch, and
vally-evaluation.yml already does. Cherry-pick this single commit onto your
branch, push, then dispatch with --ref <your-branch>.

Eval-spec filename auto-derives from dotnet-skills.experiment.yaml so it works
whether the repo globs eval.vally.yaml (current main) or eval.yaml (post-#877).

NOT intended to merge to main as-is: doing so would replace main's reusable
shadow-eval vally-evaluation.yml (its workflow_call path). This is a
cherry-pick / dispatch source only.

Co-authored-by: Copilot <[email protected]>
AbhitejJohn added a commit that referenced this pull request Jul 21, 2026
Adds a standalone cross-family evaluation workflow that runs every runnable
skill through a matrix of executor models, judged head-to-head (skilled vs
baseline) by `vally compare`, with judge != executor family.

It intentionally lives under the existing `vally-evaluation.yml` filename so it
is dispatchable from a feature branch WITHOUT a merge to main: workflow_dispatch
only registers workflow files that exist on the default branch, and
vally-evaluation.yml already does. Cherry-pick this single commit onto your
branch, push, then dispatch with --ref <your-branch>.

Eval-spec filename auto-derives from dotnet-skills.experiment.yaml so it works
whether the repo globs eval.vally.yaml (current main) or eval.yaml (post-#877).

NOT intended to merge to main as-is: doing so would replace main's reusable
shadow-eval vally-evaluation.yml (its workflow_call path). This is a
cherry-pick / dispatch source only.

Co-authored-by: Copilot <[email protected]>
@AbhitejJohn
AbhitejJohn merged commit 78054c1 into main Jul 21, 2026
39 of 40 checks passed
@AbhitejJohn
AbhitejJohn deleted the abhitejjohn-migrate-evals-to-vally branch July 21, 2026 22:22
AbhitejJohn added a commit that referenced this pull request Jul 21, 2026
Hosts the cross-family executor x plugin evaluation matrix under
evaluation-run.yml so it is dispatchable on any branch before merging
to main (workflow_dispatch is only registered for filenames present on
the default branch, and #877 removed the previous host vally-evaluation.yml).

- Executor x plugin (x shard) matrix; judge != executor family
  (default judge = latest Opus; GPT when Opus executes).
- Inputs: plugins (empty=all), skills (empty=all), executors
  (default opus,gpt,sonnet46,haiku,mai), runs, workers, shards,
  timeout_minutes.
- EVAL_SPEC filename auto-derived from dotnet-skills.experiment.yaml's
  evals: glob (works with eval.yaml on current main or eval.vally.yaml).

NOT FOR MERGE: this replaces main's reusable evaluation-run.yml and drops
its workflow_call trigger. Cherry-pick / dispatch source branch only.

Co-authored-by: Copilot <[email protected]>
AbhitejJohn added a commit that referenced this pull request Jul 21, 2026
Hosts the cross-family executor x plugin evaluation matrix under
evaluation-run.yml so it is dispatchable on any branch before merging
to main (workflow_dispatch is only registered for filenames present on
the default branch, and #877 removed the previous host vally-evaluation.yml).

- Executor x plugin (x shard) matrix; judge != executor family
  (default judge = latest Opus; GPT when Opus executes).
- Inputs: plugins (empty=all), skills (empty=all), executors
  (default opus,gpt,sonnet46,haiku,mai), runs, workers, shards,
  timeout_minutes.
- EVAL_SPEC filename auto-derived from dotnet-skills.experiment.yaml's
  evals: glob (works with eval.yaml on current main or eval.vally.yaml).

NOT FOR MERGE: this replaces main's reusable evaluation-run.yml and drops
its workflow_call trigger. Cherry-pick / dispatch source branch only.

Co-authored-by: Copilot <[email protected]>
AbhitejJohn added a commit that referenced this pull request Jul 23, 2026
Picks up the Vally-harness eval migration (#877) and related infra so
the /evaluate workflow can discover and run this PR's evals.

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 3c9f9823-7f2f-4f7d-9d1b-f2b9e7a20c60
AbhitejJohn added a commit that referenced this pull request Jul 23, 2026
…ally harness schema

Adapts both eval.yaml files from the legacy scenarios/assertions format to
the stimuli/graders/config schema introduced by #877 (Migrate LLM evals to
the Vally harness). Prompts and rubrics are preserved verbatim; assertions
map 1:1 to graders (file_contains->file-contains, run_command_and_assert->
run-command, output_matches->output-matches) and copy_test_files->
environment.files. Validated with `vally experiment run --dry-run`: both evals
now resolve and match the experiment filter (previously matched none).

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 3c9f9823-7f2f-4f7d-9d1b-f2b9e7a20c60
AbhitejJohn added a commit that referenced this pull request Sep 10, 2026
…ally harness schema

Adapts both eval.yaml files from the legacy scenarios/assertions format to
the stimuli/graders/config schema introduced by #877 (Migrate LLM evals to
the Vally harness). Prompts and rubrics are preserved verbatim; assertions
map 1:1 to graders (file_contains->file-contains, run_command_and_assert->
run-command, output_matches->output-matches) and copy_test_files->
environment.files. Validated with `vally experiment run --dry-run`: both evals
now resolve and match the experiment filter (previously matched none).

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 3c9f9823-7f2f-4f7d-9d1b-f2b9e7a20c60
AbhitejJohn added a commit that referenced this pull request Sep 15, 2026
…ally harness schema

Adapts both eval.yaml files from the legacy scenarios/assertions format to
the stimuli/graders/config schema introduced by #877 (Migrate LLM evals to
the Vally harness). Prompts and rubrics are preserved verbatim; assertions
map 1:1 to graders (file_contains->file-contains, run_command_and_assert->
run-command, output_matches->output-matches) and copy_test_files->
environment.files. Validated with `vally experiment run --dry-run`: both evals
now resolve and match the experiment filter (previously matched none).

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 3c9f9823-7f2f-4f7d-9d1b-f2b9e7a20c60
AbhitejJohn added a commit that referenced this pull request Sep 15, 2026
…ally harness schema

Adapts both eval.yaml files from the legacy scenarios/assertions format to
the stimuli/graders/config schema introduced by #877 (Migrate LLM evals to
the Vally harness). Prompts and rubrics are preserved verbatim; assertions
map 1:1 to graders (file_contains->file-contains, run_command_and_assert->
run-command, output_matches->output-matches) and copy_test_files->
environment.files. Validated with `vally experiment run --dry-run`: both evals
now resolve and match the experiment filter (previously matched none).

Co-authored-by: Copilot App <[email protected]>
Copilot-Session: 3c9f9823-7f2f-4f7d-9d1b-f2b9e7a20c60
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-state/ready-for-eval PR is mergeable and awaiting evaluation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants