<commit_before>module Scaffolder (model, view, actions) where

import Html exposing (Html)
import Signal exposing (Signal, Mailbox, Address)
import Html.Attributes as Attr


type Action =
    NoOp


type alias Model =
    { nothing : String }


actions : Mailbox Action
actions =
    Signal.mailbox NoOp


model : Signal Model
model =
    Signal.foldp update initModel actions.signal


initModel : Model
initModel =
    { nothing = "" }


update : Action -> Model -> Model
update action model =
    case action of
        NoOp -> model


view : Address Action -> Model -> Html
view address model =
    Html.div []
        [ Html.nav
            [ Attr.class "light-green darken-1" ]
            [ Html.div
                [ Attr.class "nav-wrapper container" ]
                [ Html.span
                    [ Attr.class "brand-logo" ]
                    [ Html.text "Test Scaffolder" ]
                ]
            ]
        , Html.div
            [ Attr.class "container" ]
            [ Html.div [] [ Html.text "<content here>" ] ]
        ]<commit_msg>Add text areas to test parsing input<commit_after>module Scaffolder (model, view, actions) where

import Html exposing (Html, div, nav, span, text, textarea, label, form)
import Html.Attributes exposing (class, id, for)
import Signal exposing (Signal, Mailbox, Address)


type Action =
    NoOp


type alias Model =
    { nothing : String }


actions : Mailbox Action
actions =
    Signal.mailbox NoOp


model : Signal Model
model =
    Signal.foldp update initModel actions.signal


initModel : Model
initModel =
    { nothing = "" }


update : Action -> Model -> Model
update action model =
    case action of
        NoOp -> model


view : Address Action -> Model -> Html
view address model =
    div []
        [ nav [ class "light-green darken-1" ]
            [ div [ class "nav-wrapper container" ]
                [ span [ class "brand-logo" ]
                    [ text "Test Scaffolder" ]
                ]
            ]
        , div [ class "container" ]
            [ div [ class "section row" ]
                [ form [ class "col s12" ]
                    [ div [ class "row" ]
                        [ div [ class "input-field col s6" ]
                            [ textarea
                                [ id "textarea1"
                                , class "materialize-textarea"
                                ] []
                            , label [ for "textarea1" ]
                                [ text "Test cases" ]
                            ]
                        , div [ class "input-field col s6" ]
                            [ textarea
                                [ id "textarea2"
                                , class "materialize-textarea"
                                ] []
                            , label [ for "textarea2" ]
                                [ text "Output" ]
                            ]
                        ]
                    ]
                ]
            ]
        ]
{'fraction_non_alphanumeric': 0.08819628647214854, 'fraction_numerical': 0.0033156498673740055, 'mean_word_length': 1.2086383601756954, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '79939', 'n_tokens_mistral': 818, 'n_tokens_neox': 757, 'n_words': 229}