<commit_before>from fabric.api import *
from denim import paths

SERVICE_NAME = 'supervisor'


def upload_config(name_prefix=None):
    put(
        paths.local_config_file(SERVICE_NAME, name_prefix),
        paths.remote_config_file('/etc/supervisor/conf.d', name_prefix),
        use_sudo=True
    )
<commit_msg>Added encoding<commit_after># -*- encoding:utf8 -*-
from fabric.api import *
from denim import paths

SERVICE_NAME = 'supervisor'


def upload_config(name_prefix=None):
    put(
        paths.local_config_file(SERVICE_NAME, name_prefix),
        paths.remote_config_file('/etc/supervisor/conf.d', name_prefix),
        use_sudo=True
    )

{'fraction_non_alphanumeric': 0.10719754977029096, 'fraction_numerical': 0.0015313935681470138, 'mean_word_length': 3.8805970149253732, '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': '955372', 'n_tokens_mistral': 212, 'n_tokens_neox': 211, 'n_words': 37}