<commit_before>from fabric.api import task
from fabfile.centos.lib import rpm
from fabfile.common.lib import template

@task(default=True)
def ensure_setup():
    ensure_package_installed()
    ensure_config_file()

def ensure_package_installed():
    rpm.ensure_installed('sysstat')

def ensure_config_file():
    template.template(<commit_msg>Modified sysstat task for renaming template to ensure_template.<commit_after>from fabric.api import task
from fabfile.centos.lib import rpm
from fabfile.common.lib import template

@task(default=True)
def ensure_setup():
    ensure_package_installed()
    ensure_config_file()

def ensure_package_installed():
    rpm.ensure_installed('sysstat')

def ensure_config_file():
    template.ensure_template(
{'fraction_non_alphanumeric': 0.08701472556894244, 'fraction_numerical': 0.0, 'mean_word_length': 6.123809523809523, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7117309', 'n_tokens_mistral': 226, 'n_tokens_neox': 214, 'n_words': 52}