<commit_before>{-# LANGUAGE LambdaCase          #-}
{-# LANGUAGE OverloadedStrings   #-}
{-# LANGUAGE QuasiQuotes         #-}
{-# LANGUAGE RankNTypes          #-}
{-# LANGUAGE ScopedTypeVariables #-}

-- | Defines tests of STG programs that are meant to match their Haskell
-- sibling's behaviours.
module Test.Machine.Evaluate.TestTemplates.HaskellReference (
    HaskellReferenceTestSpec(..),
    defSpec,
    haskellReferenceTest,
) where



import qualified Data.List                    as L
import qualified Data.List.NonEmpty           as NE
import           Data.Text                    (Text)<commit_msg>Deprecate Haskell reference test (for marshalling test)<commit_after>{-# LANGUAGE LambdaCase          #-}
{-# LANGUAGE OverloadedStrings   #-}
{-# LANGUAGE QuasiQuotes         #-}
{-# LANGUAGE RankNTypes          #-}
{-# LANGUAGE ScopedTypeVariables #-}

-- | Defines tests of STG programs that are meant to match their Haskell
-- sibling's behaviours.
module Test.Machine.Evaluate.TestTemplates.HaskellReference
       {-# DEPRECATED "Use Test.Machine.Evaluate.TestTemplates.MarshalledValue instead" #-} (
    HaskellReferenceTestSpec(..),
    defSpec,
    haskellReferenceTest,
) where



import qualified Data.List                    as L
import qualified Data.List.NonEmpty           as NE
import           Data.Text                    (Text)
{'fraction_non_alphanumeric': 0.09720176730486009, 'fraction_numerical': 0.0, 'mean_word_length': 2.449238578680203, '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': '3524198', 'n_tokens_mistral': 422, 'n_tokens_neox': 390, 'n_words': 97}