<commit_before>spec:
  build: .
  command: 'crystal spec'
  working_dir: /app/user
  environment:
    PG_URL: 'postgres://postgres:@pg:5432/postgres'
    MYSQL_HOST: 'mysql'
    MYSQL_PORT: '3306'
    MYSQL_DATA: 'test'
    MYSQL_USER: 'user'
    MYSQL_PASS: '<PASSWORD>'
  links:
    - pg
    - mysql
  volumes:
    - '.:/app/user'
shell:
  build: .
  command: bash
  working_dir: /app/user
  environment:
    PG_URL: 'postgres://postgres:@pg:5432/test'
    MYSQL_URL: 'mysql://mysql:@mysql/test'
  links:
    - pg
    - mysql
  volumes:
    - '.:/app/user'
pg:
  image: postgres
mysql:
  ports: 
    - 3306
  image: mysql:5.6
  environment:
    MYSQL_ROOT_PASSWORD: <PASSWORD>
    MYSQL_ROOT_PASSWORD: <PASSWORD>
    MYSQL_DATABASE: test
    MYSQL_USER: user
    MYSQL_PASSWORD: <PASSWORD><commit_msg>try running in a bash -c<commit_after>spec:
  build: .
  command: 'bash -c "cd /app/user && crystal spec"'
  working_dir: /app/user
  environment:
    PG_URL: 'postgres://postgres:@pg:5432/postgres'
    MYSQL_HOST: 'mysql'
    MYSQL_PORT: '3306'
    MYSQL_DATA: 'test'
    MYSQL_USER: 'user'
    MYSQL_PASS: '<PASSWORD>'
  links:
    - pg
    - mysql
  volumes:
    - '.:/app/user'
shell:
  build: .
  command: bash
  working_dir: /app/user
  environment:
    PG_URL: 'postgres://postgres:@pg:5432/postgres'
    MYSQL_HOST: 'mysql'
    MYSQL_PORT: '3306'
    MYSQL_DATA: 'test'
    MYSQL_USER: 'user'
    MYSQL_PASS: '<PASSWORD>'
  links:
    - pg
    - mysql
  volumes:
    - '.:/app/user'
pg:
  image: postgres
mysql:
  ports: 
    - 3306
  image: mysql:5.6
  environment:
    MYSQL_ROOT_PASSWORD: <PASSWORD>
    MYSQL_DATABASE: test
    MYSQL_USER: user
    MYSQL_PASSWORD: <PASSWORD>
{'fraction_non_alphanumeric': 0.1366863905325444, 'fraction_numerical': 0.023668639053254437, 'mean_word_length': 2.7577777777777777, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '4467546', 'n_tokens_mistral': 707, 'n_tokens_neox': 707, 'n_words': 134}