<commit_before>{% set os_map = salt['grains.filter_by']({
    'Debian': {
        'dependencies'      : [
            'build-essential',
            'git',
            'curl',
            'libreadline-dev',
            'libcurl4-openssl-dev',
            'libidn11-dev',
            salt['grains.filter_by']({
                'stretch': 'libssl1.0-dev',
                'default': 'libssl-dev'
            }, grain='oscodename'),
            'libxml2-dev',
            'libxslt1-dev',
            'imagemagick',
            'libmagickwand-dev',
            'ghostscript',
            'nodejs',
            salt['grains.filter_by']({
                'stretch': 'libjemalloc1',
                'default': 'libjemalloc2'
            }, grain='oscodename'),
        ],
        'postgresql_package': 'libpq-dev',
        'mysql_package'     : 'libmariadbclient-dev',
        'redis_package'     : 'redis-server',
        'redis_service'     : 'redis-server',
        'configuration'     : {
            'environment': {
                'certificate_authorities': '/etc/ssl/certs/ca-certificates.crt'
            }
        },
        'libjemalloc': salt['grains.filter_by']({
            'stretch': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1',
            'default': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.2'
        }, grain='oscodename'),
    },
    'RedHat': {
        'dependencies'      : [
            'tar',
            'make',
            'automake',
            'gcc',
            'gcc-c++',
            'git',
            'net-tools',
            'libcurl-devel',
            'libxml2-devel',
            'libffi-devel',
            'libxslt-devel',
            'wget',
            'ImageMagick',
            'nodejs',
        ],
        'postgresql_package': 'postgresql-devel',
        'mysql_package'     : 'mariadb-devel',
        'redis_package'     : 'redis',
        'redis_service'     : 'redis',
        'configuration'     : {
            'environment': {
                'certificate_authorities': '/etc/pki/tls/certs/ca-bundle.crt'
            }
        },
        'libjemalloc': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1',
    },
}, merge=salt['grains.filter_by']({
    'Ubuntu': {
        'dependencies'      : [
            'build-essential',
            'git',
            'curl',
            'libcurl4-openssl-dev',
            'libssl-dev',
            'libxml2-dev',
            'libxslt1-dev',
            'libgmp-dev',
            'imagemagick',
            'libmagickwand-dev',
            'nodejs',
            salt['grains.filter_by']({
                'bionic': 'libjemalloc1',
                'default': 'libjemalloc2'
            }, grain='oscodename'),
        ],
        'mysql_package'     : 'libmysqlclient-dev',
        'libjemalloc': salt['grains.filter_by']({
            'bionic': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1',
            'default': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.2'
        }, grain='oscodename'),
    },<commit_msg>Use default-libmysqlclient-dev as mysql_package<commit_after>{% set os_map = salt['grains.filter_by']({
    'Debian': {
        'dependencies'      : [
            'build-essential',
            'git',
            'curl',
            'libreadline-dev',
            'libcurl4-openssl-dev',
            'libidn11-dev',
            salt['grains.filter_by']({
                'stretch': 'libssl1.0-dev',
                'default': 'libssl-dev'
            }, grain='oscodename'),
            'libxml2-dev',
            'libxslt1-dev',
            'imagemagick',
            'libmagickwand-dev',
            'ghostscript',
            'nodejs',
            salt['grains.filter_by']({
                'stretch': 'libjemalloc1',
                'default': 'libjemalloc2'
            }, grain='oscodename'),
        ],
        'postgresql_package': 'libpq-dev',
        'mysql_package'     : 'default-libmysqlclient-dev',
        'redis_package'     : 'redis-server',
        'redis_service'     : 'redis-server',
        'configuration'     : {
            'environment': {
                'certificate_authorities': '/etc/ssl/certs/ca-certificates.crt'
            }
        },
        'libjemalloc': salt['grains.filter_by']({
            'stretch': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1',
            'default': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.2'
        }, grain='oscodename'),
    },
    'RedHat': {
        'dependencies'      : [
            'tar',
            'make',
            'automake',
            'gcc',
            'gcc-c++',
            'git',
            'net-tools',
            'libcurl-devel',
            'libxml2-devel',
            'libffi-devel',
            'libxslt-devel',
            'wget',
            'ImageMagick',
            'nodejs',
        ],
        'postgresql_package': 'postgresql-devel',
        'mysql_package'     : 'mariadb-devel',
        'redis_package'     : 'redis',
        'redis_service'     : 'redis',
        'configuration'     : {
            'environment': {
                'certificate_authorities': '/etc/pki/tls/certs/ca-bundle.crt'
            }
        },
        'libjemalloc': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1',
    },
}, merge=salt['grains.filter_by']({
    'Ubuntu': {
        'dependencies'      : [
            'build-essential',
            'git',
            'curl',
            'libcurl4-openssl-dev',
            'libssl-dev',
            'libxml2-dev',
            'libxslt1-dev',
            'libgmp-dev',
            'imagemagick',
            'libmagickwand-dev',
            'nodejs',
            salt['grains.filter_by']({
                'bionic': 'libjemalloc1',
                'default': 'libjemalloc2'
            }, grain='oscodename'),
        ],
        'libjemalloc': salt['grains.filter_by']({
            'bionic': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.1',
            'default': '/usr/lib/x86_64-linux-gnu/libjemalloc.so.2'
        }, grain='oscodename'),
    },
{'fraction_non_alphanumeric': 0.1601876675603217, 'fraction_numerical': 0.013404825737265416, 'mean_word_length': 1.4058847239016525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4181728', 'n_tokens_mistral': 1979, 'n_tokens_neox': 1909, 'n_words': 217}