Skip to content

[azure-ai-projects] Update rubric evaluator samples for rubric scoring - #49931

Open
Sydney Lister (slister1001) wants to merge 4 commits into
Azure:feature/azure-ai-projects/vnextfrom
slister1001:sydneylister/rubric-scoring-sdk-samples
Open

Sydney Lister (slister1001) wants to merge 4 commits into
Azure:feature/azure-ai-projects/vnextfrom
slister1001:sydneylister/rubric-scoring-sdk-samples

Conversation

@slister1001

@slister1001 Sydney Lister (slister1001) commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Summary

Updates the azure-ai-projects rubric evaluator samples for the scoring contract already emitted in feature/azure-ai-projects/vnext. Changes are limited to samples, documentation, and focused sample tests; there are no generated SDK changes.

Sample changes

  • Demonstrate manually authored Likert, Boolean, and safety rubric evaluators, including failure-safe cleanup.
  • Explain Likert scoring and demonstrate safety generation from prompt and agent sources.
  • Iterate on a generated rubric while preserving always-on dimensions and using all-or-none weights.
  • Update the evaluations sample README and changelog.

Validation

  • Nine focused offline sample tests passed, along with targeted mypy and Black checks.
  • Live generation and iteration succeeded, including creation of both evaluator versions. Manual Likert and Boolean evaluator creation also succeeded. The created evaluator versions were deleted and verified absent.
  • Live manual safety creation returned 400 because the deployed service expects permissible while the SDK sends allowed. The manual evaluation run cannot proceed past that step until the service is aligned.
  • Safety and trace generation were not exercised live because an agent was unavailable.

Companion .NET PR: Azure/azure-sdk-for-net#64775

Howie Leung (@howieleung), could you review and sign off for the Ignite documentation deadline?

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

The sdk-api-review-ready label cannot create a review PR for this working PR because its branch is in a fork repository. Prefer a working branch in the registered upstream repository, or reach out to the ARH maintainers for help. Fork reviews are supported through the Azure SDK CLI (azsdk apireview create), but the fork requires its own ARH registration and the review PR is created in the fork rather than the upstream repository.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
10 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@slister1001
Sydney Lister (slister1001) force-pushed the sydneylister/rubric-scoring-sdk-samples branch from 9d4f495 to 0afdea8 Compare November 10, 2026 20:27
@slister1001 Sydney Lister (slister1001) changed the title [AI Projects] Regenerate for rubric scoring and update rubric evaluator samples [azure-ai-projects] Update rubric evaluator samples for rubric scoring Nov 10, 2026
@slister1001
Sydney Lister (slister1001) changed the base branch from feature/azure-ai-projects/vnext to sydneylister/rubric-scoring-emit November 10, 2026 20:27
@slister1001

Sydney Lister (slister1001) commented Nov 10, 2026 •

Copy link
Copy Markdown
Member Author

Initial live run results against a test project:

  • sample_rubric_evaluator_generation_basic.py: passed (generation job, evaluator, eval run, cleanup).
  • sample_rubric_evaluator_generation_iterate.py: passed.
  • sample_rubric_evaluator_generation_lifecycle.py: passed.
  • sample_rubric_evaluator_generation_all_sources.py: passed; traces and safety jobs were skipped because no agent was configured.
  • sample_rubric_evaluator_manual.py: Likert and Boolean evaluators were created successfully. Safety creation returned 400 because the service expected a Boolean permissible value.

The deployed service expects permissible, while the TypeSpec and SDK use allowed. The PR description summarizes the latest iteration and manual reruns.

@slister1001
Sydney Lister (slister1001) force-pushed the sydneylister/rubric-scoring-sdk-samples branch from 3f5d070 to dbc5b29 Compare November 11, 2026 01:13
@slister1001
Sydney Lister (slister1001) changed the base branch from sydneylister/rubric-scoring-emit to feature/azure-ai-projects/vnext November 11, 2026 01:15
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
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 4a45052f-957c-4296-b540-6c8f5cbddbc3

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants