<commit_before>{-# OPTIONS_GHC -XTemplateHaskell #-}
import Data.List
import Data.Map 
import Test.Framework
import Test.Framework.TH
import Test.Framework.Providers.HUnit
import Test.Framework.Providers.QuickCheck2
import Test.HUnit
import Test.QuickCheck
import Language.Clafer
import Language.ClaferT
import Language.Clafer.ClaferArgs

tg_testsuite = $(testGroupGenerator)

main = defaultMain[tg_testsuite]<commit_msg>Added test infrastructure<commit_after>{-# OPTIONS_GHC -XTemplateHaskell #-}
import Language.Clafer
import Language.ClaferT
import Language.Clafer.Css
import Test.Framework
import Test.Framework.TH
import Test.Framework.Providers.HUnit
import Test.Framework.Providers.QuickCheck2
import Test.HUnit
import Test.QuickCheck

tg_testsuite = $(testGroupGenerator)

main = defaultMain[tg_testsuite]
{'fraction_non_alphanumeric': 0.08118081180811808, 'fraction_numerical': 0.0024600246002460025, 'mean_word_length': 6.826923076923077, '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': '3665551', 'n_tokens_mistral': 257, 'n_tokens_neox': 245, 'n_words': 55}