<commit_before>machine:
  services:
    - docker
  java:
    version: oraclejdk8
  environment:
    PATH: ${HOME}/.local/bin:$PATH

checkout:
  post:
    - git submodule sync
    - git submodule update --init --recursive

dependencies:
  cache_directories:
    - ~/.stack
    - ~/.local
    - ~/.etlas
    - ~/.coursier

  pre:
    - mkdir -p ~/.local/bin

  override:
    - ./install.sh

test:
  override:
    - stack test eta

  post:
    - ./utils/scripts/circleci-trigger.sh typelead/eta-examples master $ETA_EXAMPLES_TOKEN $CIRCLE_BRANCH $CIRCLE_TAG $CI_PULL_REQUEST
    - ./utils/scripts/circleci-trigger.sh typelead/eta-benchmarks master $ETA_BENCHMARKS_TOKEN $CIRCLE_BRANCH $CIRCLE_TAG $CI_PULL_REQUEST
    - ./utils/scripts/circleci-trigger.sh rahulmutt/eta-2048 master $ETA_2048_TOKEN $CIRCLE_BRANCH $CIRCLE_TAG $CI_PULL_REQUEST<commit_msg>Trigger eta-hackage on build success<commit_after>machine:
  services:
    - docker
  java:
    version: oraclejdk8
  environment:
    PATH: ${HOME}/.local/bin:$PATH

checkout:
  post:
    - git submodule sync
    - git submodule update --init --recursive

dependencies:
  cache_directories:
    - ~/.stack
    - ~/.local
    - ~/.etlas
    - ~/.coursier

  pre:
    - mkdir -p ~/.local/bin

  override:
    - ./install.sh

test:
  override:
    - stack test eta

  post:
    - ./utils/scripts/circleci-trigger.sh typelead/eta-hackage master $ETA_HACKAGE_TOKEN $CIRCLE_BRANCH $CIRCLE_TAG $CI_PULL_REQUEST
    - ./utils/scripts/circleci-trigger.sh typelead/eta-examples master $ETA_EXAMPLES_TOKEN $CIRCLE_BRANCH $CIRCLE_TAG $CI_PULL_REQUEST
    - ./utils/scripts/circleci-trigger.sh typelead/eta-benchmarks master $ETA_BENCHMARKS_TOKEN $CIRCLE_BRANCH $CIRCLE_TAG $CI_PULL_REQUEST
    - ./utils/scripts/circleci-trigger.sh rahulmutt/eta-2048 master $ETA_2048_TOKEN $CIRCLE_BRANCH $CIRCLE_TAG $CI_PULL_REQUEST
{'fraction_non_alphanumeric': 0.11422413793103449, 'fraction_numerical': 0.009698275862068966, 'mean_word_length': 3.0993377483443707, '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': '1290327', 'n_tokens_mistral': 732, 'n_tokens_neox': 705, 'n_words': 126}