<commit_before>#!/bin/bash

VERSION=0.11

wget https://raw.githubusercontent.com/mozilla/firefox-executive-dashboard/master/data/reformat_v4.py

tar czvf executive-report-v4-${VERSION}.tar.gz run.sh run_executive_report.py reformat_v4.py
<commit_msg>Print error msg if 'reformat' script is missing.<commit_after>#!/bin/bash

VERSION=0.11

if [ ! -s reformat_v4.py ]; then
    echo "Missing: reformat_v4.py"
    echo "Go get it from https://github.com/mozilla/firefox-executive-dashboard/blob/master/data/reformat_v4.py"
    exit 1
fi

tar czvf executive-report-v4-${VERSION}.tar.gz run.sh run_executive_report.py reformat_v4.py

{'fraction_non_alphanumeric': 0.12898089171974522, 'fraction_numerical': 0.02388535031847134, 'mean_word_length': 4.566371681415929, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6943185', 'n_tokens_mistral': 243, 'n_tokens_neox': 235, 'n_words': 41}