Skip to content

Commit

Permalink
Merge pull request #809 from parea-ai/fix-quote-experiment_name
Browse files Browse the repository at this point in the history
fix: quote experiment name
  • Loading branch information
joschkabraun committed Apr 28, 2024
2 parents 6ef5dc4 + c2fdd5c commit bb22ebb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion parea/experiment/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from concurrent.futures import ThreadPoolExecutor
from copy import deepcopy
from functools import partial
from urllib.parse import quote

from attrs import define, field
from tqdm import tqdm
Expand Down Expand Up @@ -159,7 +160,7 @@ def limit_concurrency_sync(sample):
if dataset_level_eval_results:
stat_name_to_avg_std.update(**{eval_result.name: eval_result.score for eval_result in dataset_level_eval_results})
print(f"Experiment {experiment_name} Run {run_name} stats:\n{json_dumps(stat_name_to_avg_std, indent=2)}\n\n")
print(f"View experiment & traces at: https://app.parea.ai/experiments/{experiment_name}/{experiment_uuid}\n")
print(f"View experiment & traces at: https://app.parea.ai/experiments/{quote(experiment_name)}/{experiment_uuid}\n")
save_results_to_dvc_if_init(run_name, stat_name_to_avg_std)

del os.environ[PAREA_OS_ENV_EXPERIMENT_UUID]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "parea-ai"
packages = [{ include = "parea" }]
version = "0.2.142"
version = "0.2.143"
description = "Parea python sdk"
readme = "README.md"
authors = ["joel-parea-ai <[email protected]>"]
Expand Down

0 comments on commit bb22ebb

Please sign in to comment.