<commit_before>#! /usr/bin/env bash

git clone https://github.com/geramirez/concourse-filter
pushd concourse-filter
  go build
  export CREDENTIAL_FILTER_WHITELIST=GEM_HOME,TERM,USER,BUNDLE_APP_CONFIG,PATH,RUBY_DOWNLOAD_SHA256,PWD,LANG,RUBY_MAJOR,RUBYGEMS_VERSION,SHLVL,HOME,RUBY_VERSION,BUNDLER_VERSION,OLDPWD
  exec &> >(./concourse-filter)
popd<commit_msg>Do not filter or redact CREDENTIAL_FILTER_WHITELIST itself<commit_after>#! /usr/bin/env bash

git clone https://github.com/geramirez/concourse-filter
pushd concourse-filter
  go build
  export CREDENTIAL_FILTER_WHITELIST=CREDENTIAL_FILTER_WHITELIST,GEM_HOME,TERM,USER,BUNDLE_APP_CONFIG,PATH,RUBY_DOWNLOAD_SHA256,PWD,LANG,RUBY_MAJOR,RUBYGEMS_VERSION,SHLVL,HOME,RUBY_VERSION,BUNDLER_VERSION,OLDPWD
  exec &> >(./concourse-filter)
popd
{'fraction_non_alphanumeric': 0.09987357774968394, 'fraction_numerical': 0.007585335018963337, 'mean_word_length': 9.285714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '3897384', 'n_tokens_mistral': 334, 'n_tokens_neox': 321, 'n_words': 35}