Python: Add experimental decorator to all Evals pieces - #5040
Merged
Eduard van Valkenburg (eavanvalkenburg) merged 2 commits intoApr 2, 2026
Merged
Conversation
Agent-Logs-Url: https://github.com/microsoft/agent-framework/sessions/99d71249-a5d6-4977-a5b5-6ffe0a3be2bc Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add experimental decorator to all Evals pieces
Python: Add experimental decorator to all Evals pieces
Apr 1, 2026
Tao Chen (TaoChenOSU)
marked this pull request as ready for review
April 1, 2026 21:29
Tao Chen (TaoChenOSU)
approved these changes
Apr 1, 2026
Tao Chen (TaoChenOSU)
requested review from
Ben Thomas (alliscode) and
Eduard van Valkenburg (eavanvalkenburg)
April 1, 2026 21:30
Contributor
There was a problem hiding this comment.
Pull request overview
Adds feature-stage metadata and runtime ExperimentalWarning behavior across the Python Evals API surface so that all public Evals entry points are consistently marked experimental (matching the existing Skills pattern).
Changes:
- Added
EVALSto theExperimentalFeatureenum for feature-id tagging. - Decorated core eval types and orchestration functions in
_evaluation.pywith@experimental(feature_id=ExperimentalFeature.EVALS). - Decorated Foundry eval integration entry points (
FoundryEvals,evaluate_traces,evaluate_foundry_target) with the same experimental feature id.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| python/packages/core/agent_framework/_feature_stage.py | Adds the EVALS experimental feature identifier used by decorators. |
| python/packages/core/agent_framework/_evaluation.py | Marks all public Evals core APIs as experimental via @experimental(...EVALS). |
| python/packages/foundry/agent_framework_foundry/_foundry_evals.py | Marks Foundry Evals public integration APIs as experimental via @experimental(...EVALS). |
Ben Thomas (alliscode)
approved these changes
Apr 2, 2026
Eduard van Valkenburg (eavanvalkenburg)
approved these changes
Apr 2, 2026
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Apr 2, 2026
Ben Thomas (alliscode)
pushed a commit
to alliscode/agent-framework
that referenced
this pull request
Apr 3, 2026
* Initial plan * feat(python): add experimental decorator to all Evals pieces Agent-Logs-Url: https://github.com/microsoft/agent-framework/sessions/99d71249-a5d6-4977-a5b5-6ffe0a3be2bc Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TaoChenOSU <12570346+TaoChenOSU@users.noreply.github.com>
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.
Motivation and Context
All public Evals APIs are experimental and should carry the
@experimentaldecorator to emitExperimentalWarningon use, update docstrings with the stability notice, and set__feature_stage__metadata — consistent with the existing pattern used for Skills.Description
_feature_stage.py: AddedEVALS = "EVALS"toExperimentalFeatureenum._evaluation.py: ImportedExperimentalFeature/experimentaland applied@experimental(feature_id=ExperimentalFeature.EVALS)to all 19 public symbols:EvalNotPassedError,ConversationSplitter,ConversationSplit,ExpectedToolCall,EvalItem,EvalScoreResult,EvalItemResult,EvalResults,Evaluator,AgentEvalConverter,CheckResult,LocalEvaluatorkeyword_check,tool_called_check,tool_calls_present,tool_call_args_match,evaluator,evaluate_agent,evaluate_workflow_foundry_evals.py: Applied@experimental(feature_id=ExperimentalFeature.EVALS)toFoundryEvals,evaluate_traces, andevaluate_foundry_target.On first use, callers will see:
Contribution Checklist