def METHOD_NAME(exercise: ExerciseInfo, runner: str = 'pytest', quiet: bool = False) -> int:
    ret = 1
    with tempfile.TemporaryDirectory(exercise.slug) as workdir:
        workdir = Path(workdir)
        copy_exercise_files(exercise, workdir)
        ret = RUNNERS[runner](exercise, workdir, quiet=quiet)
    return ret