<commit_before>def unittest(data_path, temp_path):
    import image
    from image import SEARCH_EX, SEARCH_DS
    img = image.Image("unittest/data/graffiti.pgm", copy_to_fb=True)
    temp = image.Image("unittest/data/template.pgm", copy_to_fb=False)
    r = img.find_template(temp, 0.70, step=4, search=SEARCH_DS)
    return r == (150, 128, 40, 40)<commit_msg>Update unit test.<commit_after>def unittest(data_path, temp_path):
    import image
    try:
        from image import SEARCH_EX, SEARCH_DS
    except Exception as e:
        raise Exception("function unavailable")
    img = image.Image("unittest/data/graffiti.pgm", copy_to_fb=True)
    temp = image.Image("unittest/data/template.pgm", copy_to_fb=False)
    r = img.find_template(temp, 0.70, step=4, search=SEARCH_DS)
    return r == (150, 128, 40, 40)
{'fraction_non_alphanumeric': 0.12407862407862408, 'fraction_numerical': 0.0343980343980344, 'mean_word_length': 4.09375, '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': '4729228', 'n_tokens_mistral': 311, 'n_tokens_neox': 284, 'n_words': 63}