<commit_before>version: '2'
services:
  athenaeum:
    build: .
    volumes:
      - ./styleguide:/app/styleguide
      - .:/go/src/github.com/buildkite/agent
      - /usr/bin/buildkite-agent:/usr/bin/buildkite-agent
    command: yarn run build
    environment:
      - BUILDKITE
      - BUILDKITE_COMMIT
      - BUILDKITE_BRANCH
      - BUILDKITE_PULL_REQUEST
      - BUILDKITE_REPO
      - BUILDKITE_BUILD_ID=$BUILDKITE_BUILD_ID
      - BUILDKITE_AGENT_ACCESS_TOKEN=$BUILDKITE_AGENT_ACCESS_TOKEN
      - BUILDKITE_JOB_ID
      - BUILDKITE_BUILD_NUMBER
      - AWS_ACCESS_KEY_ID
      - AWS_SECRET_ACCESS_KEY
      - NPM_TOKEN
  athenaeum-sonar:
    image: sonarsource/sonar-scanner-cli
    working_dir: /app
    volumes:
      - /usr/bin/buildkite-agent:/usr/bin/buildkite-agent
      - /app/coverage:/app/coverage
      - ./:/app
      - .:/go/src/github.com/buildkite/agent
    environment:
      - BUILDKITE_BUILD_ID=$BUILDKITE_BUILD_ID
      - BUILDKITE_AGENT_ACCESS_TOKEN=$BUILDKITE_AGENT_ACCESS_TOKEN
      - BUILDKITE_BRANCH
      - BUILDKITE_PULL_REQUEST
      - BUILDKITE_PULL_REQUEST_BASE_BRANCH
      - BUILDKITE_REPO
      - GITHUB_TOKEN
      - SONAR_LOGIN
  anthenaeum-semgrep:
    build:
      context: .
      dockerfile: Dockerfile.semgrep
    shm_size: 512M<commit_msg>adding semgrep config files and build step<commit_after>version: '2'
services:
  athenaeum:
    build: .
    volumes:
      - ./styleguide:/app/styleguide
      - .:/go/src/github.com/buildkite/agent
      - /usr/bin/buildkite-agent:/usr/bin/buildkite-agent
    command: yarn run build
    environment:
      - BUILDKITE
      - BUILDKITE_COMMIT
      - BUILDKITE_BRANCH
      - BUILDKITE_PULL_REQUEST
      - BUILDKITE_REPO
      - BUILDKITE_BUILD_ID=$BUILDKITE_BUILD_ID
      - BUILDKITE_AGENT_ACCESS_TOKEN=$BUILDKITE_AGENT_ACCESS_TOKEN
      - BUILDKITE_JOB_ID
      - BUILDKITE_BUILD_NUMBER
      - AWS_ACCESS_KEY_ID
      - AWS_SECRET_ACCESS_KEY
      - NPM_TOKEN
  athenaeum-sonar:
    image: sonarsource/sonar-scanner-cli
    working_dir: /app
    volumes:
      - /usr/bin/buildkite-agent:/usr/bin/buildkite-agent
      - /app/coverage:/app/coverage
      - ./:/app
      - .:/go/src/github.com/buildkite/agent
    environment:
      - BUILDKITE_BUILD_ID=$BUILDKITE_BUILD_ID
      - BUILDKITE_AGENT_ACCESS_TOKEN=$BUILDKITE_AGENT_ACCESS_TOKEN
      - BUILDKITE_BRANCH
      - BUILDKITE_PULL_REQUEST
      - BUILDKITE_PULL_REQUEST_BASE_BRANCH
      - BUILDKITE_REPO
      - GITHUB_TOKEN
      - SONAR_LOGIN
  athenaeum-semgrep:
    build:
      context: .
      dockerfile: Dockerfile.semgrep
    shm_size: 512M
{'fraction_non_alphanumeric': 0.08749040675364543, 'fraction_numerical': 0.0030698388334612432, 'mean_word_length': 2.425755584756899, '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': '4966444', 'n_tokens_mistral': 1027, 'n_tokens_neox': 1020, 'n_words': 109}