<commit_before>
from cache import with_cache

from bv_parser import parse
from bv_meta import *
from bv import evl

from megabrain import *

import json
import sys

def logger(s):
    sys.stderr.write(s)

def main(cl):
    #cl.upd_problems()
    
    resp = cl.myproblems()
    
    process(logger, cl, resp)

with_cache(logger, main)
<commit_msg>Nice.<commit_after>
from cache import with_cache

from bv_parser import parse
from bv_meta import *
from bv import evl

from megabrain import *

import json
import sys

def logger(s):
    sys.stderr.write(s)

def main(cl):
    cl.upd_problems()
    
    resp = cl.myproblems()
    
    process(logger, cl, resp)

with_cache(logger, main)

{'fraction_non_alphanumeric': 0.08759124087591241, 'fraction_numerical': 0.0, 'mean_word_length': 3.513157894736842, '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': '6447066', 'n_tokens_mistral': 255, 'n_tokens_neox': 247, 'n_words': 72}