def stats(runs, baselines):
    tasks = sorted(set((r.task for r in runs)))
    methods = sorted(set((r.method for r in runs)))
    seeds = sorted(set((r.seed for r in runs)))
    baseline = sorted(set((r.method for r in baselines)))
    print('Loaded', len(runs), 'runs.')
    print(f'Tasks     ({len(tasks)}):', ', '.join(tasks))
    print(f'Methods   ({len(methods)}):', ', '.join(methods))
    print(f'Seeds     ({len(seeds)}):', ', '.join(seeds))
    print(f'Baselines ({len(baseline)}):', ', '.join(baseline))
def stats(runs, baselines):
    tasks = sorted(set((r.task for r in runs)))
    methods = sorted(set((r.method for r in runs)))
    seeds = sorted(set((r.seed for r in runs)))
    baseline = sorted(set((r.method for r in baselines)))
    print('Loaded', len(runs), 'runs.')
    print(f'Tasks     ({len(tasks)}):', ', '.join(tasks))
    print(f'Methods   ({len(methods)}):', ', '.join(methods))
    print(f'Seeds     ({len(seeds)}):', ', '.join(seeds))
    print(f'Baselines ({len(baseline)}):', ', '.join(baseline))