<commit_before>machine:
  environment:
      DATABASE_URL: 'postgres://ubuntu:@127.0.0.1:5432/circle_test'
  python:
    version: 3.5.0
  services:
    - postgresql

dependencies:
  cache_directories:
    - ~/miniconda

  pre:
    - bash scripts/conda_circle_setup.sh
    - source activate cas

test:
  pre:
    - python manage.py collectstatic --noinput
    - python scripts/linter.py
    - python scripts/deploy_check.py

# TODO
# test:
#   override:
#     - coverage run manage.py test
#   post:
#     - coverage html -d $CIRCLE_ARTIFACTS
<commit_msg>Update Circle to Python 3.5.1<commit_after>machine:
  environment:
      DATABASE_URL: 'postgres://ubuntu:@127.0.0.1:5432/circle_test'
  python:
    version: 3.5.1
  services:
    - postgresql

dependencies:
  cache_directories:
    - ~/miniconda

  pre:
    - bash scripts/conda_circle_setup.sh
    - source activate cas

test:
  pre:
    - python manage.py collectstatic --noinput
    - python scripts/linter.py
    - python scripts/deploy_check.py

# TODO
# test:
#   override:
#     - coverage run manage.py test
#   post:
#     - coverage html -d $CIRCLE_ARTIFACTS

{'fraction_non_alphanumeric': 0.10854092526690391, 'fraction_numerical': 0.025800711743772242, 'mean_word_length': 2.6644951140065145, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6043198', 'n_tokens_mistral': 430, 'n_tokens_neox': 402, 'n_words': 84}