<commit_before>machine:
  ghc:
    version: 7.4

  environment:
    PATH:  $HOME/.cabal/bin:$CIRCLE_ARTIFACTS:$PATH:/$HOME/.cabal-sandbox/bin


dependencies:
  
  cache_directories:
    - .cabal-sandbox
    - dist

  override:
    - "if [ ! -f /home/ubuntu/.cabal/config ]; then cabal update && echo remote-repo: stackage:http://www.stackage.org/stackage/bcd05bfac24db21c8d25b1069765e3d4d7037ee3 >> ~/.cabal/config; else echo .cabal/config file already exists; fi"
    - cabal update
    - if [-f ./.cabal-sandbox/packages]; then rm .cabal-sandbox/packages/*; fi
    - cabal sandbox init
    - cabal configure
         timeout: 3000  
test:
  override:
     - cabal build -j2:
        timeout: 3000
     
     
deployment:
   staging:
     branch: master     
     commands:
     - cd ./dist/build/ircbrowse/ && rsync -avz -e ssh ircbrowse scott@172.16.58.3:/home/scott/incoming/
     <commit_msg>Update Circle.yml<commit_after>machine:
  ghc:
    version: 7.4

  environment:
    PATH:  $HOME/.cabal/bin:$CIRCLE_ARTIFACTS:$PATH:/$HOME/.cabal-sandbox/bin


dependencies:
  
  cache_directories:
    - .cabal-sandbox
    - dist

  override:
    - "if [ ! -f /home/ubuntu/.cabal/config ]; then cabal update && echo remote-repo: stackage:http://www.stackage.org/stackage/bcd05bfac24db21c8d25b1069765e3d4d7037ee3 >> ~/.cabal/config; else echo .cabal/config file already exists; fi"
    - cabal update
    - if [-f ./.cabal-sandbox/packages]; then rm .cabal-sandbox/packages/*; fi
    - cabal sandbox init
    - cabal configure
    
test:
  override:
     - cabal build -j2:
        timeout: 3000
     
     
deployment:
   staging:
     branch: master     
     commands:
     - cd ./dist/build/ircbrowse/ && rsync -avz -e ssh ircbrowse scott@172.16.58.3:/home/scott/incoming/
     
{'fraction_non_alphanumeric': 0.12935883014623173, 'fraction_numerical': 0.04499437570303712, 'mean_word_length': 2.4410058027079304, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '1238291', 'n_tokens_mistral': 747, 'n_tokens_neox': 669, 'n_words': 129}