<commit_before>---
- name: Install prerequisite system packages
  apt:
    name: "{{ item }}"
    cache_valid_time: 3600
    update_cache: true
  with_items:
    - git
    - build-essential
    - python-dev
    - python-setuptools

- name: Run get-pip.py
  shell: curl https://bootstrap.pypa.io/get-pip.py | python

- name: Clone devstack
  sudo: false
  git:
    repo: 'https://git.openstack.org/openstack-dev/devstack'
    dest: '~/devstack'

- name: Set up local.conf
  sudo: false
  template:
    src: "{{ template_file }}"
    dest: '~/devstack/local.conf'

- name: Copy over local.sh
  sudo: false
  copy:
    src: "{{ local_sh_file }}"
    dest: '~/devstack/local.sh'
  when: local_sh_file is defined

- name: Run the stack.sh script
  sudo: false
  shell: ./stack.sh
    args:
    chdir: '~/devstack'
    executable: '/bin/bash'
  register: devstack_result
  ignore_errors: yes
  no_log: true <commit_msg>fixing args of stack.sh command<commit_after>---
- name: Install prerequisite system packages
  apt:
    name: "{{ item }}"
    cache_valid_time: 3600
    update_cache: true
  with_items:
    - git
    - build-essential
    - python-dev
    - python-setuptools

- name: Run get-pip.py
  shell: curl https://bootstrap.pypa.io/get-pip.py | python

- name: Clone devstack
  sudo: false
  git:
    repo: 'https://git.openstack.org/openstack-dev/devstack'
    dest: '~/devstack'

- name: Set up local.conf
  sudo: false
  template:
    src: "{{ template_file }}"
    dest: '~/devstack/local.conf'

- name: Copy over local.sh
  sudo: false
  copy:
    src: "{{ local_sh_file }}"
    dest: '~/devstack/local.sh'
  when: local_sh_file is defined

- name: Run the stack.sh script
  sudo: false
  shell: ./stack.sh
  args:
    chdir: '~/devstack'
    executable: '/bin/bash'
  register: devstack_result
  ignore_errors: yes
  no_log: true 
{'fraction_non_alphanumeric': 0.13192182410423453, 'fraction_numerical': 0.004343105320304018, 'mean_word_length': 2.730769230769231, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3693854', 'n_tokens_mistral': 701, 'n_tokens_neox': 664, 'n_words': 166}