<commit_before>---
- name: Install | Download Scala
  get_url: dest={{ansible_cache_dir}} url={{scala_download_location}}
  sudo: yes
  tags: [scala]

- name: Install | Extract Scala
  shell: tar xzf {{ansible_cache_dir}}/{{scala_download_location}} -C {{software_install_dir}} creates={{software_install_dir}}/scala-{{scala_version}}
  sudo: yes
  tags: [scala]

- name: Configure | Add Scala executable symlinks to path
  shell: for f in fsc scala scalac scaladoc scalap; do ln -s {{software_install_dir}}/scala-{{scala_version}}/bin/$f {{user_binaries}}/$f; done; creates={{user_binaries}}/scala
  sudo: yes
  tags: [scala]

- name: Configure | Update Scala environment variables
  sudo: no
  lineinfile: line="export SCALA_HOME={{software_install_dir}}/scala-{{scala_version}}" dest="~/.bashrc" state=present regexp="export SCALA_HOME={{software_install_dir}}/scala-{{scala_version}}"
  tags: [scala]
<commit_msg>Fixed typo<commit_after>---
- name: Install | Download Scala
  get_url: dest={{ansible_cache_dir}} url={{scala_download_location}}
  sudo: yes
  tags: [scala]

- name: Install | Extract Scala
  shell: tar xzf {{ansible_cache_dir}}/{{scala_tarball}} -C {{software_install_dir}} creates={{software_install_dir}}/scala-{{scala_version}}
  sudo: yes
  tags: [scala]

- name: Configure | Add Scala executable symlinks to path
  shell: for f in fsc scala scalac scaladoc scalap; do ln -s {{software_install_dir}}/scala-{{scala_version}}/bin/$f {{user_binaries}}/$f; done; creates={{user_binaries}}/scala
  sudo: yes
  tags: [scala]

- name: Configure | Update Scala environment variables
  sudo: no
  lineinfile: line="export SCALA_HOME={{software_install_dir}}/scala-{{scala_version}}" dest="~/.bashrc" state=present regexp="export SCALA_HOME={{software_install_dir}}/scala-{{scala_version}}"
  tags: [scala]

{'fraction_non_alphanumeric': 0.15046677649643053, 'fraction_numerical': 0.0, 'mean_word_length': 5.901515151515151, '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': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2457762', 'n_tokens_mistral': 668, 'n_tokens_neox': 609, 'n_words': 145}