<commit_before>#!/usr/bin/env python3
from bughunter import BugHunter

bh = BugHunter()
#repo = bh.repository("https://github.com/stedolan/jq", "bughunter:jq")
repo = bh.repository("https://github.com/curl/curl", "bughunter::curl")
git = repo.repository()
fixes = repo.fixes()
fixes = fixes[0:10]

for fix in fixes:
    try:
        print(fix.identifier())
        before = fix.before()
        after = fix.after()
        for fn in fix.modified_source_files():
                print("Loading file: %s" % fn)
                before.ast(fn)
                after.ast(fn)<commit_msg>tested CURL<commit_after>#!/usr/bin/env python3
from bughunter import BugHunter

bh = BugHunter()
#repo = bh.repository("https://github.com/stedolan/jq", "bughunter:jq")
repo = bh.repository("https://github.com/curl/curl", "bughunter:curl")
git = repo.repository()
fixes = repo.fixes()
fixes = fixes[0:10]

for fix in fixes:
    try:
        print(fix.identifier())
        before = fix.before()
        after = fix.after()
        for fn in fix.modified_source_files():
                print("Loading file: %s" % fn)
                before.ast(fn)
                after.ast(fn)
{'fraction_non_alphanumeric': 0.15271786022433131, 'fraction_numerical': 0.006902502157031924, 'mean_word_length': 2.670886075949367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3335000', 'n_tokens_mistral': 406, 'n_tokens_neox': 378, 'n_words': 80}