import posixpath


def get_trial_dir(fuzzer, benchmark, trial_id):
    """Returns the unique directory for |fuzzer|, |benchmark|, and
    |trial_id|."""
    benchmark_fuzzer_directory = '%s-%s' % (benchmark, fuzzer)
    trial_subdir = 'trial-%d' % trial_id
    return posixpath.join(benchmark_fuzzer_directory, trial_subdir)