<commit_before>languages:
  pkg.installed:
    - pkgs:
      - gcc
      - python
      - python3
      - luajit
      - ruby
      - cmake
{% if grains['os'] == 'Ubuntu' %}
      - lua-filesystem
{% elif grains['os'] == 'MacOS' %}
      - lua
{% endif %}

{% for version in [2, 3]:%}
basic python packages for python{{version}}:
  pip.installed:
    - pkgs:
      - numpy
      - scipy
      - ipython[all]
      - cython
      - pytest
      - virtualenv
    - bin_env: /usr/local/bin/pip{{version}}
    - require:
      - pkg: languages
{% endfor %}

julia:
  cask.installed

luarocks install luafilesystem:
  cmd.run:
    - unless: /usr/local/bin/lua -e 'require "elfs"'

luarocks install luaposix:
  cmd.run:
    - unless: /usr/local/bin/lua -e 'require "posix"'

ctags:
  pkg.installed
<commit_msg>Add ninja to standard languages/dev apps<commit_after>languages:
  pkg.installed:
    - pkgs:
      - gcc
      - python
      - python3
      - luajit
      - ruby
      - cmake
{% if grains['os'] == 'Ubuntu' %}
      - lua-filesystem
{% elif grains['os'] == 'MacOS' %}
      - lua
{% endif %}

{% for version in [2, 3]:%}
basic python packages for python{{version}}:
  pip.installed:
    - pkgs:
      - numpy
      - scipy
      - ipython[all]
      - cython
      - pytest
      - virtualenv
    - bin_env: /usr/local/bin/pip{{version}}
    - require:
      - pkg: languages
{% endfor %}

julia:
  cask.installed

luarocks install luafilesystem:
  cmd.run:
    - unless: /usr/local/bin/lua -e 'require "elfs"'

luarocks install luaposix:
  cmd.run:
    - unless: /usr/local/bin/lua -e 'require "posix"'

ctags:
  pkg.installed

ninja:
  pkg.installed

{'fraction_non_alphanumeric': 0.14647377938517178, 'fraction_numerical': 0.003616636528028933, 'mean_word_length': 2.0127041742286753, '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': '1311329', 'n_tokens_mistral': 670, 'n_tokens_neox': 606, 'n_words': 135}