Skip to content

Commit 3516c3c

Browse files
authored
Mar25/icm/id based run paths (#40126)
* use run id instead of name for storing files * CL * nit * save new recordings
1 parent 9b6cd2a commit 3516c3c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

sdk/evaluation/azure-ai-evaluation/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

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

5455
### Other Changes
5556

sdk/evaluation/azure-ai-evaluation/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "python",
44
"TagPrefix": "python/evaluation/azure-ai-evaluation",
5-
"Tag": "python/evaluation/azure-ai-evaluation_bef898409a"
5+
"Tag": "python/evaluation/azure-ai-evaluation_a369640d42"
66
}

sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_evaluate/_eval_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ def log_artifact(self, artifact_folder: str, artifact_name: str = EVALUATION_ART
404404
LOGGER.warning("The run results file was not found, skipping artifacts upload.")
405405
return
406406
# First we will list the files and the appropriate remote paths for them.
407-
root_upload_path = posixpath.join("promptflow", "PromptFlowArtifacts", self.info.run_name)
407+
root_upload_path = posixpath.join("promptflow", "PromptFlowArtifacts", self.info.run_id)
408408
remote_paths: Dict[str, List[Dict[str, str]]] = {"paths": []}
409409
local_paths = []
410410
# Go over the artifact folder and upload all artifacts.

0 commit comments

Comments
 (0)