<commit_before>version: 2.1

orbs:
  heroku: circleci/heroku@1.1.1

executors:
  cedar-14:
    docker:
      - image: heroku/cedar:14
  heroku-16:
    docker:
      - image: heroku/heroku:16
  heroku-18:
    docker:
      - image: heroku/heroku:18
  heroku-20:
    docker:
      - image: heroku/heroku:20

jobs:
  hatchet:
    parameters:
      heroku-stack:
        type: enum
        enum: ["cedar-14", "heroku-16", "heroku-18", "heroku-20"]
    docker:
      - image: circleci/ruby:2.7
    environment:
      HEROKU_TEST_STACK: << parameters.heroku-stack >>
      HATCHET_BUILDPACK_BASE: https://github.com/heroku/heroku-buildpack-jvm-common
      HATCHET_APP_LIMIT: 100
    steps:
      - checkout
      - heroku/install
      - run:
          name: Install Ruby dependencies
          command: |
            gem install bundler
            bundle install
      - run:
          name: Hatchet CI setup<commit_msg>Set PARALLEL_SPLIT_TEST_PROCESSES<commit_after>version: 2.1

orbs:
  heroku: circleci/heroku@1.1.1

executors:
  cedar-14:
    docker:
      - image: heroku/cedar:14
  heroku-16:
    docker:
      - image: heroku/heroku:16
  heroku-18:
    docker:
      - image: heroku/heroku:18
  heroku-20:
    docker:
      - image: heroku/heroku:20

jobs:
  hatchet:
    parameters:
      heroku-stack:
        type: enum
        enum: ["cedar-14", "heroku-16", "heroku-18", "heroku-20"]
    docker:
      - image: circleci/ruby:2.7
    environment:
      HEROKU_TEST_STACK: << parameters.heroku-stack >>
      HATCHET_BUILDPACK_BASE: https://github.com/heroku/heroku-buildpack-jvm-common
      HATCHET_APP_LIMIT: 100
      PARALLEL_SPLIT_TEST_PROCESSES: 8
    steps:
      - checkout
      - heroku/install
      - run:
          name: Install Ruby dependencies
          command: |
            gem install bundler
            bundle install
      - run:
          name: Hatchet CI setup
{'fraction_non_alphanumeric': 0.10723718964606445, 'fraction_numerical': 0.03645007923930269, 'mean_word_length': 2.03525641025641, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '2055286', 'n_tokens_mistral': 742, 'n_tokens_neox': 682, 'n_words': 126}