def main(args):
    find_keys(args)
    runs = load_runs(args)
    save_runs(runs, (args.outdir / 'runs.jsonl'))
    baselines = load_baselines(args.baselines, args.prefix)
    stats(runs, baselines)
    methods = order_methods(runs, baselines, args)
    if (not runs):
        print('Noting to plot.')
        return
    print('Plotting...')
    fig = figure((runs + baselines), methods, args)
    save(fig, args)
def main(args):
    find_keys(args)
    runs = load_runs(args)
    save_runs(runs, (args.outdir / 'runs.jsonl'))
    baselines = load_baselines(args.baselines, args.prefix)
    stats(runs, baselines)
    methods = order_methods(runs, baselines, args)
    if (not runs):
        print('Noting to plot.')
        return
    print('Plotting...')
    fig = figure((runs + baselines), methods, args)
    save(fig, args)