<commit_before>#!/bin/bash


source $OPENSHIFT_HOMEDIR/python/virtenv/bin/activate

python "$OPENSHIFT_REPO_DIR"wsgi/openshift/manage.py csv_answers ${OPENSHIFT_DATA_DIR}export.csv
zip ${OPENSHIFT_DATA_DIR}export_csv ${OPENSHIFT_DATA_DIR}export.csv
rm -rf ${OPENSHIFT_DATA_DIR}export.csv<commit_msg>do not store absolute path in export archive<commit_after>#!/bin/bash


source $OPENSHIFT_HOMEDIR/python/virtenv/bin/activate

python "$OPENSHIFT_REPO_DIR"wsgi/openshift/manage.py csv_answers ${OPENSHIFT_DATA_DIR}export.csv
zip --junk-paths ${OPENSHIFT_DATA_DIR}export_csv ${OPENSHIFT_DATA_DIR}export.csv
rm -rf ${OPENSHIFT_DATA_DIR}export.csv
{'fraction_non_alphanumeric': 0.11059190031152648, 'fraction_numerical': 0.0, 'mean_word_length': 8.455882352941176, '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': '5882571', 'n_tokens_mistral': 243, 'n_tokens_neox': 230, 'n_words': 33}