Repository navigation
test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills - #218
Merged
Conversation
…heir one criterion without a "; " rubric-light-and-dark's seed-only exemption moves to its facts line, which now says a seed-only answer passes. rubric-content-binding names the two layouts that pass as one condition, and loses a "PASS if if" typo. Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…nges or the models do, and a PASS condition can't hide a second criterion behind "(and " or "; " - Every skill suite's hash covers the SKILL.md of uno-platform, which agents load first, and of uno-build-app, which its routing table sends feature work to. routing keeps only every SKILL.md's frontmatter: its cases pass only when no skill loads. A hashed path that no longer exists fails instead of leaving the hash. - The agent and judge models are set once in EvalReports.Common.ps1. Test-EvalReports.ps1 fails a report from other models, and Update-EvalReport.ps1 with no -Suite reruns every report the gate would reject, through one shared Get-EvalReportStaleReason. Its -Model and -JudgeModel parameters are gone. - Test-EvalCases.ps1 reads the PASS condition up to the FAIL line, outside inline code, and flags "(and " and "; ". - Update-EvalReport.ps1 checks every suite name before the first paid run, accepts -Suite a,b under pwsh -File, always removes its temp file, says how to resume, and prints the total cost. Test-EvalReports.ps1 ends with one command for every report to rerun and what they last cost. - CONTRIBUTING.md lists the two eval checks and when a report goes stale; evals/README.md matches the scripts. Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ired session, tokens on a typed client, OIDC offline_access, MSAL redirect URIs Five cases, each aimed at a trap the skill's critical rules name: returning the credentials dictionary from AddCustom's Login, navigating from the sign-out command instead of one app-lifetime LoggedOut handler, a typed client from AddHttpClient that never gets the token, an OIDC session that ends at every restart without offline_access, and an Android RedirectUri in appsettings that breaks iOS and WebAssembly. Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
… regenerating after an API change, text/plain responses, retries on 503 Five cases, each aimed at a trap the skill's critical rules name: a Release build that falls back to the OpenAPI servers URL, hand-built requests instead of the injected client's request builders and nullable results, hand edits to generated code, AddKiotaClient's JSON-only serializers, and Kiota's retry middleware resending a non-idempotent POST. Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…topics must load no Uno skill Entra ID tokens in an ASP.NET Core API, and a Kiota client in a .NET console app: the two new skills cover generic .NET topics, so their descriptions are the likeliest to load on a question that isn't about Uno. Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
… scored the same without the plugin A with/without run (1 run per arm, Sonnet 5.5 as agent and judge) scored oidc-signin-every-launch, api-change-regenerate, duplicate-orders-on-503 and products-by-category 1.00 in both arms: offline_access, kiota update, Kiota's retry handler and request builders are general OIDC and Kiota knowledge. Their replacements aim at Uno-specific rules of the two skills: - oidc-desktop-not-implemented: AddOidc on the Skia desktop head before Uno.Extensions 8.0.0-dev.135, the loopback redirect URI for that head only, overridden through configuration (1.00 with, 0.60 without) - kiota-info-packages: the HttpKiota feature and the Uno.Extensions.Http.Kiota namespace instead of the packages kiota info lists (1.00 / 0.25) - replace-sample-api: the template's unused Refit IApiClient, Services/Caching and DataContracts project go, and UseSerialization stays (1.00 / 0.25) - template-test-icuuc77: the -tests unit template's icuuc77 failure, SkipIcuDataInitializerGenerator for the app's net10.0 target, made compiler-visible (1.00 / 0.00) Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
The claude plugin eval --json result records them as suite.modelOverride and suite.judgeModel. Writing those instead of EvalReports.Common.ps1's constants makes the gate's model check test the run itself. Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ward slashes claude plugin eval's result spells each case's dir with the OS's separator, and Test-EvalReports.ps1 compares it with Get-EvalCases' forward slashes, so every report written on Windows failed the gate with "has no result for" errors. Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ype: uno-kiota never loads for it In three plugin-only runs with traces, the agent loaded no skill, or only uno-platform, and scored 0: the icuuc77 fix sits in uno-kiota's references/testing.md, and nothing in the skill's description or uno-platform's routing table leads a test-project failure there. That is a routing gap in the skills, left for their owners; the case is in the history at 9bd612e. section-named-after-type: AddKiotaClient with neither name nor options binds the section named after the client's full type name, so a "BillingApiClient" section is never read (1.00 with the plugin, 0.67 without, 1 run per arm). Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Update-EvalReport.ps1 with no -Suite, Sonnet 5.5 as agent and judge, 3 runs per case, plugin arm only: 42 cases, about $20 at API prices. The case paths of the 9 reports written before the separator fix were changed to forward slashes; nothing else in them changed. feed-list-loaded's rubric-not-error-template passed 3/3. Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]>
rajamatt
marked this pull request as ready for review
November 3, 2026 17:20
|
Congrats on your first pull-request! We ❤ the people who are involved in this project, and we’d love to pay it forward by sending you some swag. If you have any feedback (or ideas how to improve Uno as a open-source project) please open a feedback issue. |
This was referenced Nov 3, 2026
kazo0
pushed a commit
that referenced
this pull request
Nov 13, 2026
…te that checks models and the shared skills (#218) Co-authored-by: Claude Opus 5.5 <[email protected]>
kazo0
added a commit
that referenced
this pull request
Nov 13, 2026
… the eval cases (#223) * test(evals): per-skill evals for claude plugin eval, modeled on dotnet/skills: realistic prompts, regex and rubric graders on the reply, no-plugin baseline Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls5hVHL6n2FFoq1SqoN * test(evals): graders accept every answer their rubric passes, and anti-patterns match code, not mentions - navigates-with-data: Navigation.Request on the ListView, and Navigate*Async with data: - confirm-delete-dialog: renamed to awaits-dialog-result, also accepts a dialog route for result - removes-through-state: UpdateAsync; awaits-result: GetDataAsync<> - retry-binds-refresh: utu:AncestorBinding to the FeedView's Refresh - android-uiautomator: UiAutomator2 / UIAutomator / UI Automator - restart-condition: Rude Edit, rude-edit, InternalError - exact-count: no longer accepts items>=12 - not_contains graders match declarations, calls and overrides, so a reply warning against them passes - attach-photo graders need a copy call and a dispatcher or a code-behind handler, not a bare mention Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls3w24yPnjKnVnfTLL7 * test(evals): no-hand-rolled-incremental matches a class implementing ISupportIncrementalLoading, not a prose colon before a mention Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01PZQ75iiJeNEGPVn8YpWUaw * test(evals): the same cases run through GitHub Copilot CLI with Waza, generated from evals/ by ConvertTo-WazaEval.ps1 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Sn8GmJ41W3eBgT7866J3jV * ci(evals): a PR carries a fresh, passing eval report per suite, written locally by Update-EvalReport.ps1 and checked without model calls by Test-EvalReports.ps1 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Sn8GmJ41W3eBgT7866J3jV * ci(evals): the routing report depends on each SKILL.md's frontmatter, not its body, so a typo fix in a skill no longer makes it stale An agent picks a skill from its name and description alone, so the routing cases (which check that no Uno skill loads) can't change when only a skill's body does. Get-EvalInputsHash now hashes the frontmatter block of each SKILL.md for the routing suite (LF endings, "<path>#frontmatter" lines) instead of the whole file. Other suites hash as before. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * test(evals): each llm grader judges one criterion, in its own rubric-<criterion>.md, checked by Test-EvalCases.ps1 A judge asked whether several things all hold rates the same reply differently from run to run when one of them is missed (the lesson Google's skills team drew from compound expectations). Each case's rubric.md is split into one llm grader per criterion, carrying only the facts that criterion needs; criteria a regex can check (UseToolkitNavigation, the xmlns URIs, the card style, SelectionMode="None", UIViewControllerBasedStatusBarAppearance) are regex graders. Test-EvalCases.ps1, a new step in Validate Plugin, checks without model calls that every prompt is non-empty and unique, and that every llm grader is named rubric-*.md, has one "PASS if" and no list. The uno-platform report is rerun against the split graders. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * docs(plugin): the skill table's reference counts match references/, checked by Test-Plugin.ps1 The table said uno-testing had 4 references (6 on disk) and uno-themes 3 (5). Test-Plugin.ps1 now fails when a skill is missing from the table or listed twice, or when its References cell ("8", or "14 topics + 4 shell templates") does not add up to the files in its references/ folder. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * docs(skills): a reference over 100 lines opens with a contents line, and in-file anchor links name a real heading Eleven references over 100 lines gain a one-line list of links to their ## sections, so an agent sees what the file holds and can go to the part it needs. Test-Plugin.ps1 now fails when such a reference has no link to a section in its first 30 lines, and when a `](#anchor)` link in any plugin Markdown file matches no heading by GitHub's slug rules. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * test(evals): a report names each case's failed graders, and every suite has a report Each case in evals/reports/<suite>.json lists the graders that failed and in how many runs ("info-plist": "3/3"), so a reviewer sees why a case lost points without rerunning it; Test-EvalReports.ps1 names them when a case is below the threshold. Adds the reports for routing, uno-build-app, uno-mvux, uno-navigation, uno-testing, uno-themes and uno-toolkit, run against the one-criterion graders. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * fix(skills): close the gaps the eval reports' failed graders pointed at - uno-toolkit: the iOS Info.plist step for StatusBar, the selectable item root ItemsRepeater selection needs, and "a command on a list row tap" in the description - uno-mvux: debugging triggers in the description, and a pointer to uno-toolkit for a command on a row tap - uno-testing: names uno_app_get_screenshot, which agents had been inventing as uno_app_screenshot - uno-navigation: leads with why the content area must be a Grid (any other panel replaces the whole page) Two rubrics judged syntax instead of the criterion: rubric-delete-error-role accepts the error roles in any XAML form, and rubric-names-cause asks for the StackPanel as the cause of the replacement. Reports rerun for the six suites these change; every case that lost a grader in all runs now scores 1. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * test(evals): feed-list-loaded judges selectors and suggesting automation ids separately rubric-selectors also asked for a suggestion to add AutomationProperties.AutomationId, in a parenthesis the one-criterion lint does not see. Split, the selector half passes every run and the new rubric-suggests-automation-ids fails 2/3: agents use ids without telling the user to add them. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * fix(skills): uno-testing tells the user to add automation ids it has not seen in the XAML Step 4 assumed the agent knows the ids from the XAML. When it has not seen the XAML, it now names the controls that need an AutomationProperties.AutomationId and asks for any that are missing. feed-list-loaded's rubric-suggests-automation-ids goes from 1/3 to 3/3 runs passing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * fix(skills): uno-platform routes feature work to uno-build-app, and uno-build-app and uno-mvux say when they must load Traced runs showed the skills skipped for three reasons: uno-platform's routing table never named uno-build-app, so feature requests went to the domain skills only (attach-photo-to-note loaded uno-build-app in 1/6 runs); command-reads-search-text answered MVUX questions from memory with no tool call (3/6); and mvvm-app-stays-mvvm's grader rejected uno-build-app, which keeps an existing MVVM app on MVVM. After the change each case loads its skill in 6/6 runs. Every suite is rerun, since uno-platform routes for all of them; no case regressed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * docs(skills): uno-authentication's flow and uno-kiota's calling references open with a contents line Both arrived from main over 100 lines; Test-Plugin.ps1 requires a contents line on such a reference. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * test(evals): drop the Waza (GitHub Copilot CLI) runner from this feature The evals run through claude plugin eval only. Removes evals/waza/ (ConvertTo-WazaEval.ps1 and its README), the README link to it, and its .gitignore entry. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_013G4Ls49wSVy4U1M9v4HwHQ * test(evals): uno-authentication and uno-kiota suites, and a report gate that checks models and the shared skills (#218) Co-authored-by: Claude Opus 5.5 <[email protected]> * test(evals): uno-themes and uno-build-app reports after #214 and #217 Merging main brought #214's and #217's edits to uno-themes and uno-build-app, which made both reports stale. Both pass. shared-page-both-themes scored 0.926: rubric-delete-error-role failed 2 of 3 runs whose replies made "Delete profile" a text button with error-coloured text, while the rubric asks for an error-role background. The prompt asks only for "a red Delete profile button". Refs #216 Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci(evals): drop the committed-report gate; CI only lints the eval cases - Remove evals/reports/, Test-EvalReports.ps1 and Update-EvalReport.ps1, and the "Eval reports are fresh and passing" step. - Trim the shared script to what Test-EvalCases.ps1 uses and rename it Evals.Common.ps1. - CONTRIBUTING.md and evals/README.md: evals are run locally, not gated. The cases, Test-EvalCases.ps1 and the skill fixes are unchanged. Running the evals in CI is left to #224. Refs #216 Co-Authored-By: Claude Fable 5.2 <[email protected]> --------- Co-authored-by: Steve Bilogan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

GitHub Issue (If applicable): part of #216
This PR targets
feat/plugin-evals, so it shows only what changed since the handoff. Once it merges, the PR fromfeat/plugin-evalstomainthat #216 asks for (superseding #209) carries the whole feature.PR Type
What is the current behavior?
On
feat/plugin-evals:uno-authenticationanduno-kiotahave no eval suite.uno-platform/SKILL.mdchanges, although agents load it first and follow its routing table.Test-EvalCases.ps1misses a second criterion hidden in a PASS line behind(andor;.What is the new behavior?
Results
Every report is fresh, and every case scores 1.0. That's 10 suites and 42 cases, each run 3 times with the plugin, with Sonnet 5.5 as agent and judge. The full pass cost about $20 at API prices.
feed-list-loaded'srubric-not-error-template, which #216 asked us to watch, passed 3/3.The new cases test what the skills add. Each ran once with the plugin and once without, the same way as #209:
uno-authenticationcustom-login-own-apilogout-returns-to-loginmsal-redirect-other-platformsoidc-desktop-not-implementedtoken-on-typed-clientuno-kiotakiota-info-packagesrelease-build-calls-localhostreplace-sample-apisection-named-after-typetext-plain-endpointWithout the plugin, the averages are 0.58 for
uno-authenticationand 0.48 foruno-kiota. In #209, onlyuno-testing(0.30) scored lower without the plugin.Five first-draft cases were replaced. Their history is in
9bd612eandfe9fc68.oidc-signin-every-launch(offline_access)api-change-regenerate(kiota update)duplicate-orders-on-503(Kiota's retry handler)products-by-category(request builders)template-test-icuuc77. In 3 traced runs, the agent loaded no skill, or onlyuno-platform, and scored 0. The fix for the-tests unittemplate'sicuuc77failure lives inuno-kiota'sreferences/testing.md, but nothing in that skill's description or inuno-platform's routing table leads a test-project failure there. That's a routing gap in the skills (see the open questions).Commits
;.rubric-light-and-darkandrubric-content-bindingare reworded so the new lint passes, and a "PASS if if" typo is fixed. This lands first so every commit passes the lint.SKILL.mdofuno-platform, and ofuno-build-app, whichuno-platform's table sends feature work to.routingkeeps only everySKILL.md's frontmatter, because its cases pass only when no skill loads. A hashed path that no longer exists fails the run instead of silently dropping out of the hash.EvalReports.Common.ps1.Test-EvalReports.ps1fails a report that ran with other models.Update-EvalReport.ps1with no-Suitereruns every report the gate would reject, because both scripts use oneGet-EvalReportStaleReason. Its-Modeland-JudgeModelparameters are gone.Test-EvalCases.ps1reads the PASS condition up to the FAIL line, ignores inline code, and flags(andand;. That catches only those two phrasings, so reviewers still need to read each PASS condition for an "and" that joins two requirements.Update-EvalReport.ps1:-Suite a,bunderpwsh -FileTest-EvalReports.ps1ends with one command that reruns every rejected report, and says what those reports cost last time.CONTRIBUTING.mdlists the two eval checks and when a report goes stale, andevals/README.mdmatches the scripts.uno-authenticationsuite, and 4. theuno-kiotasuite, each with 5 cases. The table above lists the cases as they are now.routingcases that must load no Uno skill: Entra ID tokens in an ASP.NET Core API, and Kiota in a console app. The two new skills cover generic .NET topics, so their descriptions are the likeliest to load on a question that isn't about Uno.AddOidcon the Skia desktop head before Uno.Extensions 8.0.0-dev.135HttpKiotafeature instead of the packageskiota infolistsicuuc77test failure, replaced again in commit 8--jsonresult records them assuite.modelOverrideandsuite.judgeModel, so the gate's model check tests the run itself.template-test-icuuc77replaced withsection-named-after-type:AddKiotaClientwith neithernamenoroptionsreads the section named after the client's full type name.The new graders were reviewed from eight angles, and the fixes are in. Every regex in the two new suites was checked against a reply it must accept and, where one applies, a reply it must reject: 44 probes, 0 failures.
Checks: "Validate plugin and skills" runs only on PRs to
mainandrelease/stable/**, so CI doesn't run here. Run locally:Test-EvalReports.ps1passes (10 suites).Test-EvalCases.ps1passes (42 cases).Test-Plugin.ps1passes.Still to do
evals/reports/committed.uno-build-appin the hash. Count how many cases outside theuno-build-appsuite load it, and drop it from the other suites' hash if few do. The reports don't record which skills loaded, so this needs a run with--keep-temptraces.Open questions
loads-skillfails in every run. The existing suites have the same gap.icuuc77fix live? It hits any unit test of a template app, not only Kiota service tests. It could go intouno-kiota's description, intouno-build-app, or into a testing skill. Once it routes,template-test-icuuc77from9bd612ecan come back. Without the plugin it scored 0.00.PR Checklist
🤖 Generated with Claude Code