def METHOD_NAME(config, cwd, force_update, verbose, tag):
    job_name = '_'.join(map(str, [config['dataset_name'], config['seed'],
                                  config['threads'], config['transform_name'],
                                  config['max_num_new_trees'],
                                  config['transform_parameters'].get('fraction', ''),
                                  config['transform_parameters'].get('magnitude', '')]))
    job_file = '{}.job'.format(job_name)
    job_parameters = ['force_update={}'.format(force_update),
                      'verbose={}'.format(verbose),
                      'tag={}'.format(tag),
                      'dataset_name="{}"'.format(config['dataset_name']),
                      'threads={}'.format(config['threads']),
                      'seed={}'.format(config['seed']),
                      'max_num_new_trees={}'.format(config['max_num_new_trees']),
                      'transform_name="{}"'.format(config['transform_name']),
                      'transform_parameters="{}"'.format(config['transform_parameters'])]
    job = tm.render(job_name=job_name,
                    job_parameters=" ".join(job_parameters),
                    job_file=job_file, cwd=cwd)
    with open(job_file, 'wt') as fp:
        fp.write(job)
    os.chmod(job_file, 0o755)
    return job_file