Repository navigation
[azure-ai-projects] Regenerate from TypeSpec for rubric scoring - #49932
Sydney Lister (slister1001) wants to merge 3 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4a45052f-957c-4296-b540-6c8f5cbddbc3
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4a45052f-957c-4296-b540-6c8f5cbddbc3
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 4a45052f-957c-4296-b540-6c8f5cbddbc3
|
Add |
|
Azure Pipelines: Successfully started running 1 pipeline(s). 9 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
Companion .NET PRs: Azure/azure-sdk-for-net#64776 (regen) and Azure/azure-sdk-for-net#64775 (samples). |
[Pilot] PR Pipeline Failure AnalysisWhat failedAll failures on PR #49932 build 7060574 trace to one root cause: the regenerated Test collection failures (all 6 platforms × sdist/whl = 12 failed test-file collections, 2 distinct tests each):
Both fail identically on macos311, ubuntu2404_311, ubuntu2404_311_coverage, Ubuntu2404_313, Ubuntu2404_314, and windows2022_312:
Static type-check failures (pyright + mypy, same build, azure-ai-projects package, 59 pyright errors / multiple mypy errors):
Relevant pipeline outputRecommended next steps
Automated fix: Fix found, view and apply fix
|
Summary
Regenerates
azure-ai-projectsfrom the latest Foundry TypeSpec (feature/foundry-release, spec commit 96acdcd) to pick up the rubric evaluator contract changes. This PR contains only the emitted code, the patch fixes needed for it, and the CHANGELOG feature entries. The sample updates are split into a stacked PR so they can be reviewed on their own: #49931.Rubric changes picked up
RubricScoringandRubricScoringMode(LIKERT,BOOLEAN), plusRubricBasedEvaluatorDefinition.scoringandpass_threshold.Dimension.allowed(safety) and read-onlyDimension.generated_weight.Dimension.weightis now optional.EvaluatorGenerationInputs.category,scoring,pass_threshold, anddimensions.modelis now optional (required for quality, ignored for safety).Commits
tsp-client update)._patchfixes for the regenerated agent insights operations,docs/public-methods.md, and a test helper update.Overlap
The regen also pulls in non-rubric TypeSpec changes that overlap with #49876 (Howie Leung (@howieleung)) and #49905, #49916, #49918, #49924 (aprilk-ms). Whichever merges second will need a trivial rebase of generated files.
Validation
blackapplied to edited files only.Howie Leung (@howieleung) could you review and sign off by 9am PT 11/11? This is needed for the Ignite docs deadline.