<commit_before>version: "3"
services:
  web:
    build: .
    volumes:
      - .:/app
    container_name: marli
    links:
      - db
    ports:
      - "3000:3000"
    environment:
      MARLI_DB_HOST: db
      PRIVILEGES_BASE_URL: https://privileges.library.nyu.edu
      PRIVILEGES_SUBLIBRARY_CODE: nyu_ag_noaleph_MaRLI
      LOGIN_URL: https://dev.login.library.nyu.edu
      SSO_LOGOUT_PATH: /logout
      CI:
      CODECLIMATE_REPO_TOKEN:
      COVERALLS_REPO_TOKEN:
    depends_on:
      - setup_tests
  db:
    image: library/mysql:5.6.22
    expose:
      - "3306"
    environment:
      MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
  setup_tests:
    build: .
    command: bundle exec rake db:setup
    volumes:
      - .:/app
    environment:
      RAILS_ENV: test
      MARLI_DB_HOST: db
    links:
      - db
    depends_on:
      - db<commit_msg>See if we can connect the containers on the same network<commit_after>version: "3"
services:
  web:
    build: .
    volumes:
      - .:/app
    container_name: marli
    ports:
      - "3000:3000"
    environment:
      MARLI_DB_HOST: db
      PRIVILEGES_BASE_URL: https://privileges.library.nyu.edu
      PRIVILEGES_SUBLIBRARY_CODE: nyu_ag_noaleph_MaRLI
      LOGIN_URL: https://dev.login.library.nyu.edu
      SSO_LOGOUT_PATH: /logout
      CI:
      CODECLIMATE_REPO_TOKEN:
      COVERALLS_REPO_TOKEN:
    depends_on:
      - setup_tests
    networks:
      - marli
  setup_tests:
    build: .
    command: bundle exec rake db:setup
    volumes:
      - .:/app
    environment:
      RAILS_ENV: test
      MARLI_DB_HOST: db
    depends_on:
      - db
    networks:
      - marli
  db:
    image: library/mysql:5.6.22
    expose:
      - "3306"
    environment:
      MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
    networks:
      - marli
{'fraction_non_alphanumeric': 0.08983717012914093, 'fraction_numerical': 0.01909039865244245, 'mean_word_length': 2.077720207253886, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1955129', 'n_tokens_mistral': 692, 'n_tokens_neox': 686, 'n_words': 121}