<commit_before>version: 2
jobs:
  build:
    docker:
      - image: circleci/openjdk:8-jdk
      
    steps:
      - checkout

      - restore_cache:
          keys:
            - gradle-{{ checksum "frontend/build.gradle" }}-{{ checksum "backend/build.gradle" }}
            - gradle-
            
      - restore_cache:
          keys:
            - npm-{{ checksum "frontend/package-lock.json" }}
            - npm-

      - run: ./gradlew clean build
      
      - save_cache:
          paths:
            - ~/.gradle
          key: gradle-{{ checksum "frontend/build.gradle" }}-{{ checksum "backend/build.gradle" }}
          
      - save_cache:
          paths:
            - frontend/node_modules
          key: npm-{{ checksum "frontend/package-lock.json" }}
          
  test_parser:
    docker:
      - image: circleci/python:3.7.3
      
    steps:
      - checkout
      - run: pipenv install
      - run: pipenv run pytest
      
workflows:
  version: 2
  build_and_test:
    jobs:
      - build
      - test_parser<commit_msg>CircleCI: Run parser tests<commit_after>version: 2
jobs:
  build:
    docker:
      - image: circleci/openjdk:8-jdk
      
    steps:
      - checkout

      - restore_cache:
          keys:
            - gradle-{{ checksum "frontend/build.gradle" }}-{{ checksum "backend/build.gradle" }}
            - gradle-
            
      - restore_cache:
          keys:
            - npm-{{ checksum "frontend/package-lock.json" }}
            - npm-

      - run: ./gradlew clean build
      
      - save_cache:
          paths:
            - ~/.gradle
          key: gradle-{{ checksum "frontend/build.gradle" }}-{{ checksum "backend/build.gradle" }}
          
      - save_cache:
          paths:
            - frontend/node_modules
          key: npm-{{ checksum "frontend/package-lock.json" }}
          
  test_parser:
    docker:
      - image: circleci/python:3.7.3
      
    steps:
      - checkout
      - run: |
          cd parser
          pipenv install
      - run: pipenv run pytest
      
workflows:
  version: 2
  build_and_test:
    jobs:
      - build
      - test_parser
{'fraction_non_alphanumeric': 0.11366838891498356, 'fraction_numerical': 0.0056364490371066224, 'mean_word_length': 1.3432343234323432, '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': '1160714', 'n_tokens_mistral': 696, 'n_tokens_neox': 661, 'n_words': 130}