<commit_before>version:
jobs:
  build:
      - image: circleci/node:8
    steps:
      - checkout
      - run:
          name: update-npm 
          command: 'sudo npm install -g npm@latest'
      - restore_cache:
          key: dependency-cache-{{ checksum "package.json" }}
      - run:
          name: install-npm
          command: npm install
      - save_cache:
          key: dependency-cache-{{ checksum "package.json" }}
          paths:
            - ./node_modules
      - run:
          name: test
          command: npm test
      - run:
          name: upload-coverage
          command: npm run coveralls
      # TODO: store test artifacts
      # - store_artifacts:
          # path: test-results.xml
          # prefix: tests
      # - store_artifacts:
          # path: coverage
          # prefix: coverage
      # - store_test_results:
          # path: test-results.xml<commit_msg>build: adding test and coverage artifacts<commit_after>version:
jobs:
  build:
      - image: circleci/node:8
    steps:
      - checkout
      - run:
          name: update-npm 
          command: 'sudo npm install -g npm@latest'
      - restore_cache:
          key: dependency-cache-{{ checksum "package.json" }}
      - run:
          name: install-npm
          command: npm install
      - save_cache:
          key: dependency-cache-{{ checksum "package.json" }}
          paths:
            - ./node_modules
      - run:
          name: test
          command: npm test
      - run:
          name: upload-coverage
          command: npm run coveralls
      - store_artifacts:
          path: test-results.xml
          prefix: tests
      - store_artifacts:
          path: coverage
          prefix: coverage
      - store_test_results:
          path: ./build/test-results.xml
{'fraction_non_alphanumeric': 0.09502515371716043, 'fraction_numerical': 0.0011179429849077697, 'mean_word_length': 1.479224376731302, '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': '310484', 'n_tokens_mistral': 518, 'n_tokens_neox': 493, 'n_words': 128}