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

from subprocess import *
import sys
from os import path

sys.path.append(path.sep.join(path.abspath(__file__).split(path.sep)[:-3] + ['src']))

import grapher
import bezier

def graph(name, function):
    grapher.main(name, function[0])


def bezier(name, p_list):
    bezier.main(name, p_list)
<commit_msg>commit<commit_after>#! /usr/bin/env python3

from subprocess import *
import sys
from os import path

sys.path.append(path.sep.join(path.abspath(__file__).split(path.sep)[:-3] + ['src']))

import grapher
import bezier as bz

def graph(name, function):
    grapher.main(name, function[0])


def bezier(name, p_list):
    bz.main(name, p_list)

{'fraction_non_alphanumeric': 0.14804063860667635, 'fraction_numerical': 0.008708272859216255, 'mean_word_length': 4.897435897435898, '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': '6253587', 'n_tokens_mistral': 260, 'n_tokens_neox': 256, 'n_words': 58}