<commit_before>version: 2.1
jobs:
  build:
    docker:
      - image: circleci/python:2.7
    steps:
      - checkout
      - restore_cache:
          key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
      - run:
          name: Install dependencies in virtual environment
          command: |
            virtualenv ~/venv
            source ~/venv/bin/activate
            pip install -r requirements.txt
      - save_cache:
          key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
          paths:
            - "~/venv"
      - run:
          name: Run unit tests
          command: |
            source ~/venv/bin/activate
            mkdir test-results
            python -m pytest -v --junitxml=test-results/junit.xml
      - store_test_results:
              path: test-results<commit_msg>Create config file before running tests<commit_after>version: 2.1
jobs:
  build:
    docker:
      - image: circleci/python:2.7
    steps:
      - checkout
      - restore_cache:
          key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
      - run:
          name: Install dependencies in virtual environment
          command: |
            virtualenv ~/venv
            source ~/venv/bin/activate
            pip install -r requirements.txt
      - save_cache:
          key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}
          paths:
            - "~/venv"
      - run:
          name: Run unit tests
          command: |
            source ~/venv/bin/activate
            cp sample_shavar_list_creation.ini shavar_list_creation.ini
            mkdir test-results
            python -m pytest -v --junitxml=test-results/junit.xml
      - store_test_results:
              path: test-results
{'fraction_non_alphanumeric': 0.10483870967741936, 'fraction_numerical': 0.0069124423963133645, 'mean_word_length': 1.5581737849779087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '5175221', 'n_tokens_mistral': 511, 'n_tokens_neox': 502, 'n_words': 121}