<commit_before>{%
    set default_settings = {
        'jdk': {
            'default_version': 8,
            'versions_map': {
                7: {
                    'pkg': 'oracle-java7-installer',
                    'install_dir': '/usr/lib/jvm/java-7-oracle'
                },
                8: {
                    'pkg': 'oracle-java8-installer',
                    'install_dir': '/usr/lib/jvm/java-8-oracle'
                },
                9: {
                    'pkg': 'oracle-java9-installer',
                    'install_dir': '/usr/lib/jvm/java-9-oracle'
                }
            }
        }
    }
%}


{% set jdk_settings = salt['pillar.get']('jdk',
    default=default_settings.jdk, merge=True)  %}
<commit_msg>Fixing default version. When no 'version' is specified in pillar or pillar is not present 'version' is not found. Renamed 'default_version' to 'version'.<commit_after>{%
    set default_settings = {
        'jdk': {
            'version': 8,
            'versions_map': {
                7: {
                    'pkg': 'oracle-java7-installer',
                    'install_dir': '/usr/lib/jvm/java-7-oracle'
                },
                8: {
                    'pkg': 'oracle-java8-installer',
                    'install_dir': '/usr/lib/jvm/java-8-oracle'
                },
                9: {
                    'pkg': 'oracle-java9-installer',
                    'install_dir': '/usr/lib/jvm/java-9-oracle'
                }
            }
        }
    }
%}


{% set jdk_settings = salt['pillar.get']('jdk',
    default=default_settings.jdk, merge=True)  %}

{'fraction_non_alphanumeric': 0.14400494437577255, 'fraction_numerical': 0.012360939431396786, 'mean_word_length': 1.2117486338797814, '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': '1737026', 'n_tokens_mistral': 517, 'n_tokens_neox': 482, 'n_words': 76}