<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pytest
from civicu_app.bot import recognize_greeting

__author__ = "<NAME>"
__copyright__ = "Hobson Lane"
__license__ = "mit"


def test_recognize_greeting():
    assert recognize_greeting('Hi') == True
    assert recognize_greeting('Yo') == False
    assert recognize_greeting('') == False
    # with pytest.raises(AssertionError):
    #     fib(-10)<commit_msg>better tests<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import pytest
from civicu_app.bot import recognize_greeting

__author__ = "<NAME>"
__copyright__ = "Hobson Lane"
__license__ = "mit"


def test_recognize_greeting():
    assert recognize_greeting('Hi') is True
    assert recognize_greeting('Yo') is False
    assert recognize_greeting('') is False
    # with pytest.raises(AssertionError):
    #     fib(-10)
{'fraction_non_alphanumeric': 0.12977983777520277, 'fraction_numerical': 0.006952491309385863, 'mean_word_length': 4.333333333333333, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1022778', 'n_tokens_mistral': 291, 'n_tokens_neox': 292, 'n_words': 65}