<commit_before>version: 2
jobs:
  build:
    docker:
      - image: circleci/ruby:2.2.0-node
    steps:
      - checkout
      # Restore bundle cache
      - restore_cache:
          key: gems-{{ checksum "Gemfile.lock" }}

      # copy env
      - run: cp .env.example .env

      # Bundle install dependencies
      - run: bundle install --path /tmp/vendor/bundle

      # Store bundle cache
      - save_cache:
          key: gems-{{ checksum "Gemfile.lock" }}
          paths:
            - /tmp/vendor/bundle

      # run rubocop
      - type: shell
        command: |
          bundle exec rubocop

      # Run rspec in parallel
      - type: shell
        command: |
          bundle exec rspec --profile 10 \<commit_msg>Revert "scale back ruby version"<commit_after>version: 2
jobs:
  build:
    docker:
      - image: circleci/ruby:2.3.3-node
    steps:
      - checkout
      # Restore bundle cache
      - restore_cache:
          key: gems-{{ checksum "Gemfile.lock" }}

      # copy env
      - run: cp .env.example .env

      # Bundle install dependencies
      - run: bundle install --path /tmp/vendor/bundle

      # Store bundle cache
      - save_cache:
          key: gems-{{ checksum "Gemfile.lock" }}
          paths:
            - /tmp/vendor/bundle

      # run rubocop
      - type: shell
        command: |
          bundle exec rubocop

      # Run rspec in parallel
      - type: shell
        command: |
          bundle exec rspec --profile 10 \
{'fraction_non_alphanumeric': 0.09898305084745762, 'fraction_numerical': 0.008135593220338983, 'mean_word_length': 1.540447504302926, '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': '469285', 'n_tokens_mistral': 466, 'n_tokens_neox': 433, 'n_words': 126}