<commit_before>module Shakefile where

import Control.Concurrent.MVar
import Control.Monad
import Data.Char
import Data.List
import Data.Maybe
import Development.Shake
import Development.Shake.FilePath
import System.Console.ANSI
import System.Console.GetOpt
import System.Directory
import Text.Read
import qualified Data.ByteString.Char8 as BS
import qualified System.Info as System

---------------------------------------------------------------------------
-- | Project properties
---------------------------------------------------------------------------
-- Project type
projType :: BuildResult
projType = Binary Executable

-- Project name
projName :: String
projName = "TheRoom"

-- Source directory
srcDir :: String
srcDir = "src"
<commit_msg>Added precompilation hint<commit_after>module Shakefile where

import Control.Concurrent.MVar
import Control.Monad
import Data.Char
import Data.List
import Data.Maybe
import Development.Shake
import Development.Shake.FilePath
import System.Console.ANSI
import System.Console.GetOpt
import System.Directory
import Text.Read
import qualified Data.ByteString.Char8 as BS
import qualified System.Info as System

--
-- Precompile for better performance with:
--   ghc --make Shakefile -main-is Shakefile -threaded -rtsopts -with-rtsopts="-I0 -qg -qb" -o sbuild
--

---------------------------------------------------------------------------
-- | Project properties
---------------------------------------------------------------------------
-- Project type
projType :: BuildResult
projType = Binary Executable

-- Project name
projName :: String
projName = "TheRoom"

-- Source directory
srcDir :: String
srcDir = "src"

{'fraction_non_alphanumeric': 0.2460984393757503, 'fraction_numerical': 0.001800720288115246, 'mean_word_length': 2.0587155963302752, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1243220', 'n_tokens_mistral': 407, 'n_tokens_neox': 396, 'n_words': 131}