Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mar25/icm/id based run paths #40126

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

MilesHolland
Copy link
Member

Fixes a bug addressed by an ICM which causes the uploaded results of local evaluation runs with the same name to use the same file to store results, which causes older runs to have their results bashed and replaced by newer runs.

@Copilot Copilot bot review requested due to automatic review settings March 18, 2025 21:07
@MilesHolland MilesHolland requested a review from a team as a code owner March 18, 2025 21:07
@github-actions github-actions bot added the Evaluation Issues related to the client library for Azure AI Evaluation label Mar 18, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a bug causing local evaluation runs with the same name to share and overwrite artifact files by switching the uploaded run identifier from run_name to run_id.

  • Updated changelog to document the behavior change.
  • Modified the artifact upload path to use the run_id instead of run_name.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
sdk/evaluation/azure-ai-evaluation/CHANGELOG.md Updated changelog entry to document the fix for file conflicts during uploads.
sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluate/_eval_run.py Updated the upload path to use run_id to prevent result file collisions.

Comment on lines +46 to 47
- Uploading local evaluation results from `evaluate` with the name run name will no longer result in each online run sharing (and bashing) result files.

Copy link
Preview

Copilot AI Mar 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The changelog entry contains unclear wording. Consider rephrasing it to clearly state that local evaluation results are now stored using the unique run ID to avoid file sharing conflicts.

Suggested change
- Uploading local evaluation results from `evaluate` with the name run name will no longer result in each online run sharing (and bashing) result files.
- Local evaluation results from `evaluate` are now stored using the unique run ID to avoid file sharing conflicts.

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
@@ -43,6 +43,7 @@

### Bugs Fixed
- Fixed error in `GroundednessProEvaluator` when handling non-numeric values like "n/a" returned from the service.
- Uploading local evaluation results from `evaluate` with the name run name will no longer result in each online run sharing (and bashing) result files.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: with the name run name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Evaluation Issues related to the client library for Azure AI Evaluation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants