(run_name)
| 327 | if suffix is not None: |
| 328 | runs = [run for run in runs if suffix in run] |
| 329 | def split_run_name(run_name): |
| 330 | # Extrac |
| 331 | if f'seed' in run_name: |
| 332 | return time.strptime(run_name.split(f'seed')[0][:-1], '%Y-%m-%d_%H-%M-%S') |
| 333 | else: |
| 334 | # ignore the run name by setting an early date |
| 335 | return time.strptime('1970-01-01_00-00-00', '%Y-%m-%d_%H-%M-%S') |
| 336 | runs = sorted(runs, key=split_run_name) |
| 337 | if len(runs) == 0: |
| 338 | print(f"No runs found for {dataset} {model} {num_hyps} {suffix}") |
nothing calls this directly
no outgoing calls
no test coverage detected