<commit_before>def func(self):
    import requests
    import json
    import utils
    tests = self.datastore.filter("schedule", "yes")
    results = []
    for test in tests:
        failure_count_before = test.data['runs'][-1]['total']['failures'] + test.data['runs'][-1]['total']['errors']

        r = requests.post("%s?json=&from_store&testid=%s" % (self.settings.SCHEDULE_URL, test.data['testid']))
        self.info(self.rid, r.status_code)
        self.info(self.rid, r.text)
        result = json.loads(r.json()['returned']['content'])
        results.append(result)
        result_counters = result['message'][1]
        datetime = result['message'][2]<commit_msg>set datetime to None temporary<commit_after>def func(self):
    import requests
    import json
    import utils
    tests = self.datastore.filter("schedule", "yes")
    results = []
    for test in tests:
        failure_count_before = test.data['runs'][-1]['total']['failures'] + test.data['runs'][-1]['total']['errors']

        r = requests.post("%s?json=&from_store&testid=%s" % (self.settings.SCHEDULE_URL, test.data['testid']))
        self.info(self.rid, r.status_code)
        self.info(self.rid, r.text)
        result = json.loads(r.json()['returned']['content'])
        results.append(result)
        result_counters = result['message'][1]
        #datetime = result['message'][2]
        datetime = None
{'fraction_non_alphanumeric': 0.17672413793103448, 'fraction_numerical': 0.005747126436781609, 'mean_word_length': 3.380503144654088, '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': '296600', 'n_tokens_mistral': 436, 'n_tokens_neox': 441, 'n_words': 73}