<commit_before>import os
import shutil

def find_level(directory):
    """
       
    """
    front,back=os.path.split(directory)
    folder,level,dirnum=back.split('_')
    junk,levelnum=level.split('l')
    levelnum=int(levelnum)
    return levelnum

def write_moby(counter,sample,dirname):
    level1,level2,level3,level4=dirname.split('/')
    dir1= level1<commit_msg>change samples to paras<commit_after>import os
import shutil

def find_level(directory):
    """
       
    """
    front,back=os.path.split(directory)
    folder,level,dirnum=back.split('_')
    junk,levelnum=level.split('l')
    levelnum=int(levelnum)
    return levelnum

def write_moby(counter,paras,dirname):
    level1,level2,level3,level4=dirname.split('/')
    dir1= level1
{'fraction_non_alphanumeric': 0.13774834437086092, 'fraction_numerical': 0.015894039735099338, 'mean_word_length': 4.25, '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': '5728271', 'n_tokens_mistral': 261, 'n_tokens_neox': 262, 'n_words': 36}