def run_describe_cli_tests(experiment_id: int) -> None:
    '\n    Runs `det experiment describe` CLI command on a finished\n    experiment. Will raise an exception if `det experiment describe`\n    encounters a traceback failure.\n    '
    with tempfile.TemporaryDirectory() as tmpdir:
        subprocess.check_call(['det', '-m', conf.make_master_url(), 'experiment', 'describe', str(experiment_id), '--outdir', tmpdir])
        assert os.path.exists(os.path.join(tmpdir, 'experiments.csv'))
        assert os.path.exists(os.path.join(tmpdir, 'workloads.csv'))
        assert os.path.exists(os.path.join(tmpdir, 'trials.csv'))
    with tempfile.TemporaryDirectory() as tmpdir:
        subprocess.check_call(['det', '-m', conf.make_master_url(), 'experiment', 'describe', str(experiment_id), '--metrics', '--outdir', tmpdir])
        assert os.path.exists(os.path.join(tmpdir, 'experiments.csv'))
        assert os.path.exists(os.path.join(tmpdir, 'workloads.csv'))
        assert os.path.exists(os.path.join(tmpdir, 'trials.csv'))
Runs `det experiment describe` CLI command on a finished
experiment. Will raise an exception if `det experiment describe`
encounters a traceback failure.
def run_describe_cli_tests(experiment_id: int) -> None:
    '\n    Runs `det experiment describe` CLI command on a finished\n    experiment. Will raise an exception if `det experiment describe`\n    encounters a traceback failure.\n    '
    with tempfile.TemporaryDirectory() as tmpdir:
        subprocess.check_call(['det', '-m', conf.make_master_url(), 'experiment', 'describe', str(experiment_id), '--outdir', tmpdir])
        assert os.path.exists(os.path.join(tmpdir, 'experiments.csv'))
        assert os.path.exists(os.path.join(tmpdir, 'workloads.csv'))
        assert os.path.exists(os.path.join(tmpdir, 'trials.csv'))
    with tempfile.TemporaryDirectory() as tmpdir:
        subprocess.check_call(['det', '-m', conf.make_master_url(), 'experiment', 'describe', str(experiment_id), '--metrics', '--outdir', tmpdir])
        assert os.path.exists(os.path.join(tmpdir, 'experiments.csv'))
        assert os.path.exists(os.path.join(tmpdir, 'workloads.csv'))
        assert os.path.exists(os.path.join(tmpdir, 'trials.csv'))