dotnet-test: reduce assertion-quality over-structuring on small suites - #865
Conversation
Scale report depth to suite size so a tiny test file gets a focused, direct answer instead of a padded multi-section dashboard. Preserves full-template behavior for substantial suites and keeps all rubric-relevant substance (assertion-free/trivial identification, quality verdict, concrete recommendations). Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
/evaluate |
There was a problem hiding this comment.
Pull request overview
This PR updates the dotnet-test plugin’s assertion-quality skill instructions to reduce over-structured, dashboard-heavy reporting when evaluating very small/simple test suites, aiming to improve quality scores by keeping outputs focused and signal-dense.
Changes:
- Add guidance in Step 6 (“Report findings”) to scale report depth based on suite size/complexity.
- Encourage concise, direct answers for small suites while preserving rubric-critical substance.
Show a summary per file
| File | Description |
|---|---|
| plugins/dotnet-test/skills/assertion-quality/SKILL.md | Adds report-scaling guidance to avoid verbose templated dashboards on tiny suites. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 1/1 changed files
- Comments generated: 1
Skill Validation Results
[1] Model: claude-opus-4.6 | Judge: claude-opus-4.6 🔍 Full Results - additional metrics and failure investigation steps ▶ Sessions Visualisation -- interactive replay of all evaluation sessions |
|
👋 @Evangelink — this PR has 1 unresolved review thread(s). When you're ready, please address the feedback and push an update; the triage bot will pick up the next state automatically. (Add the |
Problem
In the skill-validator dashboard, the assertion-quality scenario "Flag assertion-free tests and trivial-only assertions" regressed: baseline 4.3/5 vs SKILLED 4.0/5 (−0.3 quality decline). The fixture is tiny (8 test methods in one file), and the skill pushes a heavy multi-section structured report (Summary Dashboard + 12 categories + Category Breakdown + Gap Analysis + Recommendations). On a trivial input this over-structuring/verbosity scores below a focused freeform baseline.
Change
A single, principle-based addition to Step 6 ("Report findings") in
plugins/dotnet-test/skills/assertion-quality/SKILL.md: scale report depth to suite size/complexity. For small/simple inputs, answer directly and concisely (which tests are assertion-free/trivial, the overall verdict, concrete recommendations) rather than emitting every dashboard section. The full template remains the default for substantial suites, and no rubric-relevant substance is dropped.Safety
Co-authored-by: Copilot App 223556219+Copilot@users.noreply.github.com