<commit_before>package main

import (
	"bufio"
	"database/sql"
	"fmt"
	"os"
	"os/exec"
	"strconv"
	"strings"
	"time"

	"github.com/mgierok/monujo/console"
	"github.com/mgierok/monujo/log"
)

type Screen interface {
	DrawTable(header []string, data [][]interface{})
	Clear()
}

type Input interface {
	String(name string, args ...string) string
	Float(name string, args ...float64) float64
	Date(name string, args ...time.Time) time.Time
}

type app struct {
	config     Config
	console    console.Console
	screen     Screen
	input      Input
	repository Repository
}

func NewApp(c *Config, r *Repository, s Screen, i Input) (*app, error) {
	a := new(app)
	a.config = *c<commit_msg>remove unneded dependency to console<commit_after>package main

import (
	"bufio"
	"database/sql"
	"fmt"
	"os"
	"os/exec"
	"strconv"
	"strings"
	"time"

	"github.com/mgierok/monujo/log"
)

type Screen interface {
	DrawTable(header []string, data [][]interface{})
	Clear()
}

type Input interface {
	String(name string, args ...string) string
	Float(name string, args ...float64) float64
	Date(name string, args ...time.Time) time.Time
}

type app struct {
	config     Config
	screen     Screen
	input      Input
	repository Repository
}

func NewApp(c *Config, r *Repository, s Screen, i Input) (*app, error) {
	a := new(app)
	a.config = *c
{'fraction_non_alphanumeric': 0.13691376701966718, 'fraction_numerical': 0.006051437216338881, 'mean_word_length': 3.725, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7256456', 'n_tokens_mistral': 487, 'n_tokens_neox': 480, 'n_words': 134}