<commit_before>language: rust
cache: cargo
before_script: 
  - cargo install -f rustfmt
  - export PATH=$PATH:$HOME/.cargo/bin
rust:
  - stable
  - beta
  - nightly
env:
  - NOTHING=INTERESTING
matrix:
  include:
    - rust: nightly
      env: RUSTFMT=YESPLEASE
      before_script: cargo install rustfmt-nightly --force
      script: cargo fmt --all -- --write-mode diff
  allow_failures:
    - rust: nightly
      env: NOTHING=INTERESTING

script:
  - cargo test --all

services:
  - docker<commit_msg>Use rustfmt-preview to not recompile rustfmt each time<commit_after>language: rust
cache: cargo
rust:
  - stable
  - beta
  - nightly
env:
  - RUN=TEST
script:
  - cargo test --all
services:
  - docker
matrix:
  include:
    - rust: nightly
      env: RUN=RUSTFMT
      before_script: rustup component add rustfmt-preview
      script: cargo fmt --all -- --write-mode diff
  allow_failures:
    - rust: nightly
      env: RUN=TEST
{'fraction_non_alphanumeric': 0.09850107066381156, 'fraction_numerical': 0.0, 'mean_word_length': 2.6381322957198443, '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': '1586192', 'n_tokens_mistral': 321, 'n_tokens_neox': 313, 'n_words': 89}