<commit_before>#!/bin/bash

# cleans, builds, and publishes the parinfer site to:
# http://shaunlebron.github.io/parinfer

set -ex

lein clean

vcr_file=src/parinfer/site/vcr.cljs
sed -i .bak 's/(def SHOW_CONTROLS .*)/(def SHOW_CONTROLS false)/' $vcr_file
lein cljsbuild once min
mv ${vcr_file}.bak $vcr_file

cd deploy<commit_msg>fix publish script by updating path to site src<commit_after>#!/bin/bash

# cleans, builds, and publishes the parinfer site to:
# http://shaunlebron.github.io/parinfer

set -ex

lein clean

vcr_file=site-src/parinfer_site/vcr.cljs
sed -i .bak 's/(def SHOW_CONTROLS .*)/(def SHOW_CONTROLS false)/' $vcr_file
lein cljsbuild once min
mv ${vcr_file}.bak $vcr_file

cd deploy
{'fraction_non_alphanumeric': 0.12268188302425106, 'fraction_numerical': 0.0, 'mean_word_length': 4.616, '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': '6770538', 'n_tokens_mistral': 297, 'n_tokens_neox': 272, 'n_words': 73}