Add evaluation test scenarios and remove orphaned azure-ai-evaluation-py tests#106
Merged
thegovind merged 1 commit intomicrosoft:mainfrom Feb 7, 2026
Conversation
…aned azure-ai-evaluation-py tests
a522b59 to
e814719
Compare
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.
Summary
Adds comprehensive evaluation test scenarios to
azure-ai-projects-pyand removes the orphanedazure-ai-evaluation-pytest folder.Changes
Added to
tests/scenarios/azure-ai-projects-py/scenarios.yaml6 new evaluation scenarios (+514 lines):
evaluation_with_inline_dataagent_evaluation_with_sample{{sample.output_text}}and{{sample.output_items}}mappingcustom_code_evaluatorCodeBasedEvaluatorDefinitionwithproject_client.evaluators.create_version()safety_evaluatorsbuiltin.violence,builtin.sexual,builtin.hate_unfairnessopenai_graderslabel_model,string_check,text_similaritygrader typeslist_builtin_evaluatorsproject_client.evaluators.list_latest_versions()Deleted
tests/scenarios/azure-ai-evaluation-py/- orphaned after skill was merged into azure-ai-projects-py in PR fix: Skills grid cropping and documentation cards consistency #93Test Results
All 18 scenarios pass with 100% score:
Scenarios: 18 Passed: 18 Failed: 0 Pass Rate: 100.0% Average Score: 100.0
Notes
The new scenarios ensure the deprecated
azure-ai-evaluationSDK patterns are flagged as forbidden:from azure.ai.evaluation import→ forbiddenViolenceEvaluator,@evaluatordecorator → forbiddenAzureOpenAILabelGrader→ forbidden