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

    working_directory: ~/repo

    environment:
      # Customize the JVM maximum heap limit
      JVM_OPTS: -Xmx3200m
      TERM: dumb

    steps:
      - checkout
      - run: git submodule sync
      - run: git submodule update --init

      - restore_cache:
          keys:
            - v1-dependencies-{{ checksum "build.gradle" }}
            # fallback to using the latest cache if no exact match is found
            - v1-dependencies-

      - run: ./gradlew dependencies

      - save_cache:
          paths:
            - ~/.gradle
          key: v1-dependencies-{{ checksum "build.gradle" }}

      - run: ./gradlew check jar

      - store_test_results:
          path: buildGradle/test-results

      - store_artifacts:
          path: buildGradle/libs
          destination: libs
     
      - store_artifacts:
          path: buildGradle/reports/checkstyle
          destination: checkstyle

      - store_artifacts:
          path: buildGradle/reports/spotbugs
          destination: spotbugs

      - store_artifacts:
          path: buildGradle/jacoco
          destination: jacoco<commit_msg>Update max workers.<commit_after>version: 2
jobs:
  build:
    docker:
      - image: circleci/openjdk:8-jdk

    working_directory: ~/repo

    environment:
      JVM_OPTS: -Xmx3g
      TERM: dumb

    steps:
      - checkout
      - run: git submodule sync
      - run: git submodule update --init

      - restore_cache:
          keys:
            - v1-dependencies-{{ checksum "build.gradle" }}
            # fallback to using the latest cache if no exact match is found
            - v1-dependencies-

      - run: ./gradlew dependencies

      - save_cache:
          paths:
            - ~/.gradle
          key: v1-dependencies-{{ checksum "build.gradle" }}

      - run: ./gradlew check jar --max-workers=4

      - store_test_results:
          path: buildGradle/test-results

      - store_artifacts:
          path: buildGradle/libs
          destination: libs
     
      - store_artifacts:
          path: buildGradle/reports/checkstyle
          destination: checkstyle

      - store_artifacts:
          path: buildGradle/reports/spotbugs
          destination: spotbugs

      - store_artifacts:
          path: buildGradle/jacoco
          destination: jacoco
{'fraction_non_alphanumeric': 0.08305369127516779, 'fraction_numerical': 0.006711409395973154, 'mean_word_length': 1.6767676767676767, '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': '7088507', 'n_tokens_mistral': 735, 'n_tokens_neox': 672, 'n_words': 168}