def METHOD_NAME() -> None:
    exe = os.path.join(DATAFILES_PATH, 'bernoulli' + EXTENSION)
    jdata = os.path.join(DATAFILES_PATH, 'bernoulli.data.json')
    sampler_args = SamplerArgs()
    chain_ids = [1, 2, 3, 4]
    cmdstan_args = CmdStanArgs(
        model_name='bernoulli',
        model_exe=exe,
        chain_ids=chain_ids,
        data=jdata,
        method_args=sampler_args,
        save_latent_dynamics=True,
    )
    runset = RunSet(args=cmdstan_args, chains=4)
    assert _TMPDIR in runset.diagnostic_files[0]
    cmdstan_args = CmdStanArgs(
        model_name='bernoulli',
        model_exe=exe,
        chain_ids=chain_ids,
        data=jdata,
        method_args=sampler_args,
        save_latent_dynamics=True,
        output_dir=os.path.abspath('.'),
    )
    runset = RunSet(args=cmdstan_args, chains=4)
    assert os.path.abspath('.') in runset.diagnostic_files[0]