Skip to content

Commit

Permalink
Merge branch 'main' into publish-marian-configs
Browse files Browse the repository at this point in the history
  • Loading branch information
vrigal authored Sep 3, 2024
2 parents 884a6e0 + f7247a6 commit 7dc10d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tracking/translations_parser/cli/taskcluster_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def publish_task_group(group_id: str, override: bool = False) -> None:
experiment = config["experiment"]
project_name = f'{experiment["src"]}-{experiment["trg"]}'
group_name = f'{experiment["name"]}_{group_id}'
suffix = suffix_from_group(group_id)

grouped_tasks = list_completed_tasks(group_id)
training_tasks = list_training_tasks(group_id, grouped_tasks)
Expand Down Expand Up @@ -260,7 +261,7 @@ def publish_task_group(group_id: str, override: bool = False) -> None:
publish_task(
project=project_name,
group=group_name,
suffix=suffix_from_group(group_id),
suffix=suffix,
name=training_task["name"],
task=training_task,
metrics=metrics,
Expand All @@ -270,6 +271,7 @@ def publish_task_group(group_id: str, override: bool = False) -> None:
publish_group_logs_from_tasks(
project=project_name,
group=group_name,
suffix=suffix,
metrics_tasks=metrics_tasks,
config=config,
)
Expand Down
2 changes: 1 addition & 1 deletion tracking/translations_parser/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def publish_group_logs_from_tasks(
*,
project: str,
group: str,
suffix: str | None = None,
suffix: str = "",
metrics_tasks: dict[str, dict] = {},
config: dict = {},
):
Expand Down

0 comments on commit 7dc10d0

Please sign in to comment.