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

./generate_ui.sh

./fetch_dependencies.sh
cd crowd_anki
zip -r ../crowd_anki_$(date -u +"%Y%m%d").zip ./ -x "*__pycache__*" -x meta.json

echo "Make sure that you haven't packaged extra things (check user_files)"<commit_msg>Exit packaging scripts if there are partial errors<commit_after>#!/usr/bin/env bash
set -xe

./generate_ui.sh

./fetch_dependencies.sh
cd crowd_anki
zip -r ../crowd_anki_$(date -u +"%Y%m%d").zip ./ -x "*__pycache__*" -x meta.json

echo "Make sure that you haven't packaged extra things (check user_files)"
{'fraction_non_alphanumeric': 0.15398230088495576, 'fraction_numerical': 0.0, 'mean_word_length': 4.192660550458716, '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': '1500492', 'n_tokens_mistral': 216, 'n_tokens_neox': 203, 'n_words': 60}