<commit_before>---
- command: test -e /tmp/jdk-8u20-linux-x64.tar.gz
  register: java_exist
  ignore_errors: true
- raw: 'wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz" -O /tmp/jdk-8u20-linux-x64.tar.gz'
  when: java_exist.rc != 0
  ignore_errors: true
- command: test -e /usr/local/jdk1.8.0_20/
  register: java_installed
  ignore_errors: true
- raw: 'sudo tar xzf /tmp/jdk-8u20-linux-x64.tar.gz --directory=/usr/local/'
  when: java_installed.rc != 0
- raw: 'sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/jdk1.8.0_20/bin/java" 1'
- raw: 'sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/jdk1.8.0_20/bin/javac" 1'
- raw: 'sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/local/jdk1.8.0_20/bin/javaws" 1'
- raw: 'sudo update-alternatives --set "java" "/usr/local/jdk1.8.0_20/bin/java"'
- raw: 'sudo update-alternatives --set "javac" "/usr/local/jdk1.8.0_20/bin/javac"'
- raw: 'sudo update-alternatives --set "javaws" "/usr/local/jdk1.8.0_20/bin/javaws"'<commit_msg>download java only if not installed<commit_after>---
- command: test -e /usr/local/jdk1.8.0_20/
  register: java_exist
  ignore_errors: true
  
- raw: 'wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u20-b26/jdk-8u20-linux-x64.tar.gz" -O /tmp/jdk-8u20-linux-x64.tar.gz'
  when: java_exist.rc != 0

- raw: 'sudo tar xzf /tmp/jdk-8u20-linux-x64.tar.gz --directory=/usr/local/'
  when: java_exist.rc != 0

- raw: 'sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/jdk1.8.0_20/bin/java" 1'
- raw: 'sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/jdk1.8.0_20/bin/javac" 1'
- raw: 'sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/local/jdk1.8.0_20/bin/javaws" 1'
- raw: 'sudo update-alternatives --set "java" "/usr/local/jdk1.8.0_20/bin/java"'
- raw: 'sudo update-alternatives --set "javac" "/usr/local/jdk1.8.0_20/bin/javac"'
- raw: 'sudo update-alternatives --set "javaws" "/usr/local/jdk1.8.0_20/bin/javaws"'
{'fraction_non_alphanumeric': 0.19490060501296455, 'fraction_numerical': 0.05920484010371651, 'mean_word_length': 3.6392785571142285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5006311', 'n_tokens_mistral': 1060, 'n_tokens_neox': 985, 'n_words': 162}