<commit_before># whyis testing
# Adapted from https://circleci.com/blog/how-to-build-a-docker-image-on-circleci-2-0/
version: 2
jobs:
  build:
    working_directory: /app
    docker:
      - image: docker:18.06.0-ce
        environment:
          BUILD_MODE: master
    steps:
      - run:
          name: Install system dependencies with apk
          command: apk update && apk add bash git
      - checkout
      - run:
          name: Install Docker Compose
          command: |
            apk add python python-dev libffi-dev openssl-dev gcc libc-dev make py-pip
            pip install docker-compose
      - setup_remote_docker
      - run:
          name: Build application Docker image
          command: |
            ls ~ && cd docker/compose/dev && docker-compose build whyis
      - run:
          name: Run tests
          command: |
            bash .circleci/test-ci.sh
      - store_test_results:
          path: test-results
      - run:
          name: Push Docker image
          command: docker login -u $DOCKER_USER -p $DOCKER_PASS && cd docker/compose/dev && docker-compose push whyis
<commit_msg>image compose<commit_after># whyis testing
# Adapted from https://circleci.com/blog/how-to-build-a-docker-image-on-circleci-2-0/
version: 2
jobs:
  build:
    working_directory: /app
    docker:
      - image: docker/compose:1.24.1
        environment:
          BUILD_MODE: master
    steps:
      - run:
          name: Install system dependencies with apk
          command: apk update && apk add bash git
      - checkout
      - setup_remote_docker
      - run:
          name: Build application Docker image
          command: |
            ls ~ && cd docker/compose/dev && docker-compose build whyis
      - run:
          name: Run tests
          command: |
            bash .circleci/test-ci.sh
      - store_test_results:
          path: test-results
      - run:
          name: Push Docker image
          command: docker login -u $DOCKER_USER -p $DOCKER_PASS && cd docker/compose/dev && docker-compose push whyis

{'fraction_non_alphanumeric': 0.08837890625, 'fraction_numerical': 0.00732421875, 'mean_word_length': 1.7991803278688525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2806601', 'n_tokens_mistral': 648, 'n_tokens_neox': 597, 'n_words': 170}