<commit_before># https://www.appveyor.com/docs/lang/nodejs-iojs/
# Test against the latest version of this Node.js version
environment:
  nodejs_version: "10"

# Install scripts. (runs after repo cloning)
install:
  - ps: Install-Product node $env:nodejs_version
  # manually install npm v6 until we can use Node > 10.3 on Windows
  - npm install -g npm@6
  # Output useful info for debugging.
  # npm should be > v6 (for "npm ci" command and good package lock handling)
  - node --version
  - npm --version
  # prints all environment variables that start with App
  - set App
  - set U
  - set H
  - npm ci
  - npx cypress cache path

cache:
  # cache NPM packages and Cypress binary (in .cache)
  - '%AppData%\npm'
  - '%USERPROFILE%\.cache'

# Post-install test scripts.
test_script:
  - .\node_modules\.bin\cypress version
  - .\node_modules\.bin\cypress verify
  - ps: $ServerProcess = Start-Process npm start -PassThru
  - npm run cypress:run -- --record

on_finish:
  - ps: Stop-Process -Id $ServerProcess.Id

# Don't actually build.
build: off<commit_msg>print env vars that start with C<commit_after># https://www.appveyor.com/docs/lang/nodejs-iojs/
# Test against the latest version of this Node.js version
environment:
  nodejs_version: "10"

# Install scripts. (runs after repo cloning)
install:
  - ps: Install-Product node $env:nodejs_version
  # manually install npm v6 until we can use Node > 10.3 on Windows
  - npm install -g npm@6
  # Output useful info for debugging.
  # npm should be > v6 (for "npm ci" command and good package lock handling)
  - node --version
  - npm --version
  # prints all environment variables that start with App
  - set App
  - set U
  - set H
  - set C
  - npm ci
  - npx cypress cache path

cache:
  # cache NPM packages and Cypress binary (in .cache)
  - '%AppData%\npm'
  - '%USERPROFILE%\.cache'

# Post-install test scripts.
test_script:
  - .\node_modules\.bin\cypress version
  - .\node_modules\.bin\cypress verify
  - ps: $ServerProcess = Start-Process npm start -PassThru
  - npm run cypress:run -- --record

on_finish:
  - ps: Stop-Process -Id $ServerProcess.Id

# Don't actually build.
build: off
{'fraction_non_alphanumeric': 0.10533642691415314, 'fraction_numerical': 0.007424593967517401, 'mean_word_length': 3.045028142589118, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '169104', 'n_tokens_mistral': 740, 'n_tokens_neox': 695, 'n_words': 251}