Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrykGala authored and kgodlewski committed Oct 25, 2024
1 parent da3e274 commit f6fd45d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/populate_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,15 @@ def populate_run(run, run_id, tags=None):
data = {f"metrics/foo{x + 1}": value for x in range(MM_NUM_FIELD_KIND)}
data |= {f"metrics/bar{x + 1}": value for x in range(MM_NUM_FIELD_KIND)}
data |= {f"metrics/bar{x + 1}-unique-{run_id}": value for x in range(10)}

run.log_metrics(step, data=data)
run.log_metrics(step=step, data=data)

# Last step will have a predetermined value
step += 1
data = {f"metrics/foo{x + 1}": x + 1 for x in range(MM_NUM_FIELD_KIND)}
data |= {f"metrics/bar{x + 1}-unique-{run_id}": x + 1 for x in range(10)}
data |= {f"metrics/bar{x + 1}": x + 1 for x in range(MM_NUM_FIELD_KIND)}

run.log_metrics(step, data=data)
run.log_metrics(step=step, data=data)


def populate_many_metrics(project):
Expand Down

0 comments on commit f6fd45d

Please sign in to comment.