<commit_before>---

- name: Check if ~/netide/Engine exits
  stat: path=~/netide/Engine
  register: engine_path

- debug: msg="Path ~/netide/Engine doesn't exist"
  when: engine_path.stat.isdir is defined and engine_path.stat.isdir == False
  
- name: Check if netip is installed (maven)
  stat: path=~/.m2/repository/eu/netide/lib/netip/
  register: netip_path
  
- debug: msg="netip installation at ~/.m2/repository/eu/netide/lib/netip/1.1.0-SNAPSHOT/ missing"
  when: netip_path.stat.isdir == False

- name: Check if core is installed (maven)
  stat: path=~/.m2/repository/eu/netide/core/
  register: core_path
  
- debug: msg="core installation at ~/.m2/repository/eu/netide/core/"
  when: core_path.stat.isdir == False
  
- name: Check if tools are installed (maven)
  stat: path=~/.m2/repository/eu/netide/emulator/
  register: tools_path

- debug: msg="tools installation at ~/.m2/repository/eu/netide/emulator/ missing"
  when: tools_path.stat.isdir == False

- name: Check if Karaf is installed
  stat: path=~/apache-karaf-3.0.6/
  register: karaf_path

- debug: msg="karaf installation at /apache-karaf-3.0.6 is missing"
  when: karaf_path.stat.isdir == False

...<commit_msg>fixed missing is defined statement in installation dependencies<commit_after>---

- name: Check if ~/netide/Engine exits
  stat: path=~/netide/Engine
  register: engine_path

- debug: msg="Path ~/netide/Engine doesn't exist"
  when: engine_path.stat.isdir is defined and engine_path.stat.isdir == False
  
- name: Check if netip is installed (maven)
  stat: path=~/.m2/repository/eu/netide/lib/netip/
  register: netip_path
  
- debug: msg="netip installation at ~/.m2/repository/eu/netide/lib/netip/1.1.0-SNAPSHOT/ missing"
  when: netip_path.stat.isdir is defined and netip_path.stat.isdir == False

- name: Check if core is installed (maven)
  stat: path=~/.m2/repository/eu/netide/core/
  register: core_path
  
- debug: msg="core installation at ~/.m2/repository/eu/netide/core/"
  when: core_path.stat.isdir is defined and core_path.stat.isdir == False
  
- name: Check if tools are installed (maven)
  stat: path=~/.m2/repository/eu/netide/emulator/
  register: tools_path

- debug: msg="tools installation at ~/.m2/repository/eu/netide/emulator/ missing"
  when: tools_path.stat.isdir is defined and tools_path.stat.isdir == False

- name: Check if Karaf is installed
  stat: path=~/apache-karaf-3.0.6/
  register: karaf_path

- debug: msg="karaf installation at /apache-karaf-3.0.6 is missing"
  when: karaf_path.stat.isdir is defined and karaf_path.stat.isdir == False

...
{'fraction_non_alphanumeric': 0.1339042428960685, 'fraction_numerical': 0.011677695601401323, 'mean_word_length': 3.68978102189781, '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': '7487983', 'n_tokens_mistral': 926, 'n_tokens_neox': 913, 'n_words': 225}