<commit_before>import Anagrams exposing (anagrams)
import List exposing (map)
import Html exposing (div, text, input)
import Html.Attributes exposing (placeholder, value, maxlength)
import Html.Events exposing (onInput, targetValue)
import Html.App as Html

type alias Model = String
type Message = ChangeTo String

main =
  Html.beginnerProgram { model = "", view = view, update = update }

update (ChangeTo newModel) model =
  newModel

view model =
  div []
    ((input
      [ placeholder "Text to anagram"
      , value model
      , maxlength 6
      , onInput ChangeTo
      ]
      []) :: map (\s -> div [] [text s]) (anagrams model))
<commit_msg>Standardize on package alias<commit_after>import Anagrams exposing (anagrams)
import List exposing (map)
import Html exposing (div, text, input)
import Html.Attributes exposing (placeholder, value, maxlength)
import Html.Events exposing (onInput, targetValue)
import Html.App as App

type alias Model = String
type Message = ChangeTo String

main =
  App.beginnerProgram { model = "", view = view, update = update }

update (ChangeTo newModel) model =
  newModel

view model =
  div []
    ((input
      [ placeholder "Text to anagram"
      , value model
      , maxlength 6
      , onInput ChangeTo
      ]
      []) :: map (\s -> div [] [text s]) (anagrams model))

{'fraction_non_alphanumeric': 0.09977324263038549, 'fraction_numerical': 0.0015117157974300832, 'mean_word_length': 3.442953020134228, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3696829', 'n_tokens_mistral': 403, 'n_tokens_neox': 387, 'n_words': 143}