<commit_before>import shelve, time
arguments = ["self", "info", "args", "world"]
helpstring = "rcheck <id>"
minlevel = 4

def main(connection, info, args, world) :
    reports = shelve.open("reports-%s.db" % (world.hostnicks[connection.host]), writeback=True)
    connection.ircsend(conf.staffchannel[connection.host], "%s reported %s in %s with the reason '%s' and a priority level of %s on %s" % (reports["reports"][args[1]]["reporter"], reports["reports"][args[1]]["accused"], reports["reports"][args[1]]["channel"], reports["reports"][args[1]]["reason"], reports["reports"][args[1]]["priority"], time.strftime("%b %d %Y, %H:%M:%S %Z", time.gmtime(reports["reports"][args[1]]["time"]))))
    reports.close()
<commit_msg>Fixing rcheck.py<commit_after>import shelve, time
arguments = ["self", "info", "args", "world"]
helpstring = "rcheck <id>"
minlevel = 4

def main(connection, info, args, world) :
    reports = shelve.open("reports-%s.db" % (world.hostnicks[connection.host]), writeback=True)
    connection.ircsend(info["channel"], "%s reported %s in %s with the reason '%s' and a priority level of %s on %s" % (reports["reports"][args[1]]["reporter"], reports["reports"][args[1]]["accused"], reports["reports"][args[1]]["channel"], reports["reports"][args[1]]["reason"], reports["reports"][args[1]]["priority"], time.strftime("%b %d %Y, %H:%M:%S %Z", time.gmtime(reports["reports"][args[1]]["time"]))))
    reports.close()

{'fraction_non_alphanumeric': 0.23566433566433567, 'fraction_numerical': 0.009790209790209791, 'mean_word_length': 7.568862275449102, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1154522', 'n_tokens_mistral': 505, 'n_tokens_neox': 490, 'n_words': 105}