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

import os
os.environ['DJANGO_SETTINGS_MODULE']='opentrain.settings'
import reports.logic
reports.logic.restore_reports('/tmp/backup.gz')








<commit_msg>backup<commit_after>#! /usr/bin/env python

import os
os.environ['DJANGO_SETTINGS_MODULE']='opentrain.settings'

def main():
    import reports.logic
    import analysis.logic
    reports.logic.restore_reports('/tmp/backup.gz')
    analysis.logic.analyze_raw_reports()

if __name__ == '__main__':
    main()









{'fraction_non_alphanumeric': 0.134765625, 'fraction_numerical': 0.0, 'mean_word_length': 4.457446808510638, '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': '2622547', 'n_tokens_mistral': 197, 'n_tokens_neox': 174, 'n_words': 27}