<commit_before>import pytest
import numpy
import pytest_cov
import pytest_pep8
import unittest
import avghr


"""

unit tests for average HR code

"""


def test_avghr():
    assert(avghr.hr_averaging(time_array, mv_array, averaging_time), average_hr_val)


def test_tachy_present():
    assert(avghr.tachy(200),  False)

def test_tachy_not_present():
    assert(avghr.tachy(80),  False)

def test_brachy_present():
    assert(avghr.brachy(30), False)

 def test_brachy_not_present():
    assert (avghr.brachy(75), False)<commit_msg>issue with identation level fixed for test_avghr.py<commit_after>import pytest
import numpy
import pytest_cov
import pytest_pep8
import unittest
import avghr


"""

unit tests for average HR code

"""


def test_avghr():
    assert(avghr.hr_averaging(time_array, mv_array, averaging_time), average_hr_val)


def test_tachy_present():
    assert(avghr.tachy(200),  False)

def test_tachy_not_present():
    assert(avghr.tachy(80),  True)

def test_brachy_present():
    assert(avghr.brachy(30), False)

def test_brachy_not_present():
    assert (avghr.brachy(65), True)
{'fraction_non_alphanumeric': 0.10263396911898275, 'fraction_numerical': 0.018165304268846504, 'mean_word_length': 5.520710059171598, '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': '7339937', 'n_tokens_mistral': 444, 'n_tokens_neox': 400, 'n_words': 87}