<commit_before>---
# In production, logging is enabled for the document interface
# but disabled for the source interface, to avoid leaking information
# about the behavior of sources. In the staging environment, however,
# logging for the source interface is useful for debugging,
# so we enable it here.
- name: ensure logging enabled source wsgi app files exists
  copy:
    src: source.wsgi.logging
    dest: /var/www/source.wsgi
    owner: "{{ apache_user }}"
    mode: 0640
  tags:
    - apache
    - non-development<commit_msg>fixes wsgi config files perms (stringifies file mode)<commit_after>---
# In production, logging is enabled for the document interface
# but disabled for the source interface, to avoid leaking information
# about the behavior of sources. In the staging environment, however,
# logging for the source interface is useful for debugging,
# so we enable it here.
- name: ensure logging enabled source wsgi app files exists
  copy:
    src: source.wsgi.logging
    dest: /var/www/source.wsgi
    owner: "{{ apache_user }}"
    mode: '0640'
  tags:
    - apache
    - non-development
{'fraction_non_alphanumeric': 0.07747747747747748, 'fraction_numerical': 0.007207207207207207, 'mean_word_length': 3.590909090909091, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4825008', 'n_tokens_mistral': 320, 'n_tokens_neox': 294, 'n_words': 136}