Skip to content

Improve the build-perf-diag scenario test - #404

Merged
JanKrivanek merged 1 commit into
mainfrom
dev/jankrivanek/improve--build-perf-diag
Mar 19, 2026
Merged

Improve the build-perf-diag scenario test#404
JanKrivanek merged 1 commit into
mainfrom
dev/jankrivanek/improve--build-perf-diag

Conversation

@JanKrivanek

Copy link
Copy Markdown
Member

Context

build-perf-diag consistently scoring low with skill.
The health analyzer analyzsis: #288 (comment)

tl;dr; The test was too obvious to be solvable without skill

Copilot AI review requested due to automatic review settings March 19, 2026 08:17

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.

Pull request overview

Updates the dotnet-msbuild/build-perf-diagnostics evaluation scenario to better reflect a realistic “small project, slow build” investigation so it’s less solvable via generic advice without using the skill’s diagnostic workflow.

Changes:

  • Reworked the scenario prompt/rubric and loosened the output assertion; increased timeout.
  • Adjusted Directory.Build.props to add more build-time/quality-enforcement settings.
  • Updated the sample project code/namespace and added logging abstractions dependency.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
tests/dotnet-msbuild/build-perf-diagnostics/eval.yaml Rewords scenario + updates rubric/assertions and extends timeout.
tests/dotnet-msbuild/build-perf-diagnostics/Directory.Build.props Adds additional build properties affecting performance/quality enforcement.
tests/dotnet-msbuild/build-perf-diagnostics/DataService.cs Replaces prior “heavy” class with a more realistic service and adds logging.
tests/dotnet-msbuild/build-perf-diagnostics/Contoso.WebApi.csproj Sets root namespace and adds logging abstractions package reference.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread tests/dotnet-msbuild/build-perf-diagnostics/Directory.Build.props
Comment thread tests/dotnet-msbuild/build-perf-diagnostics/eval.yaml
Comment thread tests/dotnet-msbuild/build-perf-diagnostics/eval.yaml
@JanKrivanek

Copy link
Copy Markdown
Member Author

/evaluate

@github-actions

Copy link
Copy Markdown
Contributor

Skill Validation Results

Skill Scenario Quality (Isolated) Quality (Plugin) Skills Loaded Overfit Verdict
build-perf-diagnostics Diagnose slow build for a small project 4.3/5 → 4.3/5 4.3/5 → 4.3/5 ✅ build-perf-diagnostics; tools: skill, edit / ✅ binlog-generation; build-perf-diagnostics; tools: skill, edit 🟡 0.22 [1]

[1] (Plugin) Quality unchanged but weighted score is -31.0% due to: judgment, quality, tokens (115361 → 502605), tool calls (11 → 24), time (103.7s → 166.6s)

Model: claude-opus-4.6 | Judge: claude-opus-4.6

Full results

@JanKrivanek
JanKrivanek merged commit 101a151 into main Mar 19, 2026
26 checks passed
@JanKrivanek
JanKrivanek deleted the dev/jankrivanek/improve--build-perf-diag branch March 19, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants