<commit_before>module TodoList exposing (..)

import List.Extra
import Main.Model exposing (Model)
import Maybe.Extra
import Return exposing (Return, ReturnF)
import Task
import Time exposing (Time)
import Todo exposing (Todo, TodoGroup, TodoId)
import Toolkit.Helpers exposing (..)
import Toolkit.Operators exposing (..)
import FunctionExtra exposing (..)
import Main.TodoListMsg exposing (..)
import PouchDB
import Tuple2


toggleDone =
    UpdateTodo ToggleDone


delete =
    UpdateTodo Delete


setGroup : TodoGroup -> TodoId -> TodoListMsg
setGroup =
    SetGroup >> UpdateTodo


setText : String -> TodoId -> TodoListMsg
setText =
    SetText >> UpdateTodo


addNewTodo : String -> TodoListMsg
addNewTodo =
    AddNewTodo String
<commit_msg>Refactoring step 3 cleaning up<commit_after>module TodoList exposing (..)

import List.Extra
import Main.Model exposing (Model)
import Maybe.Extra
import Return exposing (Return, ReturnF)
import Task
import Time exposing (Time)
import Todo exposing (Todo, TodoGroup, TodoId)
import Toolkit.Helpers exposing (..)
import Toolkit.Operators exposing (..)
import FunctionExtra exposing (..)
import Main.TodoListMsg exposing (..)
import PouchDB
import Tuple2


toggleDone =
    UpdateTodo ToggleDone


delete =
    UpdateTodo Delete


setGroup : TodoGroup -> TodoId -> TodoListMsg
setGroup =
    SetGroup >> UpdateTodo


setText : String -> TodoId -> TodoListMsg
setText =
    SetText >> UpdateTodo


addNewTodo : String -> TodoListMsg
addNewTodo =
    AddNewTodo

{'fraction_non_alphanumeric': 0.08233731739707835, 'fraction_numerical': 0.00199203187250996, 'mean_word_length': 4.232638888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 21, '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': '4292653', 'n_tokens_mistral': 491, 'n_tokens_neox': 463, 'n_words': 143}