<commit_before>{-# LANGUAGE OverloadedStrings #-}
module Main where

import Network.Wai.Middleware.RequestLogger (logStdoutDev)
import Network.Wai.Middleware.Static

import Web.Scotty

import App

main :: IO ()
main = scotty 3000 $ do
    middleware logStdoutDev
    middleware $ staticPolicy (noDots >-> addBase "static")
    app<commit_msg>switch over to scottyT<commit_after>{-# LANGUAGE OverloadedStrings          #-}

module Main where

import Network.Wai.Middleware.RequestLogger (logStdoutDev)
import Network.Wai.Middleware.Static

import Web.Scotty.Trans

import App

main :: IO ()
main = scottyT 3000 id id $ do
    middleware logStdoutDev
    middleware $ staticPolicy (noDots >-> addBase "static")
    app
{'fraction_non_alphanumeric': 0.09078212290502793, 'fraction_numerical': 0.0111731843575419, 'mean_word_length': 4.158273381294964, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6736064', 'n_tokens_mistral': 238, 'n_tokens_neox': 233, 'n_words': 62}