<commit_before>name: Test
on:
  push:
    branches:
      - develop
      - 1-2-stable
  pull_request:
jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    timeout-minutes: 15
    strategy:
      matrix:
        ruby: [2.4, 2.7, 3.0]
    steps:
      - name: Checkout code
        uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # Also installs gems
      - name: Install prerequisites for tests
        run: sudo apt-get install -y graphviz
      - name: Run tests
        run: bundle exec rake test

<commit_msg>Ensure tests are run for all Ruby versions; add more Ruby versions<commit_after>name: Test
on:
  push:
    branches:
      - develop
      - 1-2-stable
      - 2-0-stable
  pull_request:
jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    timeout-minutes: 15
    strategy:
      fail-fast: false
      matrix:
        ruby: [2.4, 2.5, 2.6, 2.7, 3.0, 3.1]
    steps:
      - name: Checkout code
        uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
          bundler-cache: true # Also installs gems
      - name: Install prerequisites for tests
        run: sudo apt-get install -y graphviz
      - name: Run tests
        run: bundle exec rake test


{'fraction_non_alphanumeric': 0.09714285714285714, 'fraction_numerical': 0.022857142857142857, 'mean_word_length': 1.7797619047619047, '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': '1430425', 'n_tokens_mistral': 495, 'n_tokens_neox': 458, 'n_words': 139}