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

set -e

gem install bundler
bundle install
vendor/bin/sculpin generate -n
bundle exec sass source/_sass/all.scss:output_dev/css/all.css --style=compressed
bundle exec htmlproofer output_dev --url-ignore 'foo-meta.md#errata-1-foo' --disable-external<commit_msg>only install bundler if not present<commit_after>#!/bin/sh

set -e

command -v bundle >/dev/null 2>&1 || gem install bundler
bundle install
vendor/bin/sculpin generate -n
bundle exec sass source/_sass/all.scss:output_dev/css/all.css --style=compressed
bundle exec htmlproofer output_dev --url-ignore 'foo-meta.md#errata-1-foo' --disable-external
{'fraction_non_alphanumeric': 0.12012480499219969, 'fraction_numerical': 0.0062402496099844, 'mean_word_length': 4.68141592920354, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7337359', 'n_tokens_mistral': 225, 'n_tokens_neox': 218, 'n_words': 56}