<commit_before>package assert

import "os"

type errorLogger interface {
	Log(location *location, message string)
}

func newLogger() errorLogger {
	return &errorLoggerImpl{os.Stderr}
}

type errorLoggerImpl struct {
	writer stringWriter
}

func (logger *errorLoggerImpl) Log(location *location, message string) {
}

type stringWriter interface {
	WriteString(s string) (n int, err error)
}

type location struct {
	Test     string
	FileName string
	Line     int
}

func logIfFalse(t TestingT, condition bool, format string, args ...interface{}) {
	if !condition {
		t.Errorf(format, args...)
	}
}<commit_msg>removed stringWriter interface<commit_after>package assert

import (
	"io"
	"os"
)

type errorLogger interface {
	Log(location *location, message string)
}

func newLogger() errorLogger {
	return &errorLoggerImpl{os.Stderr}
}

type errorLoggerImpl struct {
	writer io.Writer
}

func (logger *errorLoggerImpl) Log(location *location, message string) {
}

type location struct {
	Test     string
	FileName string
	Line     int
}

func logIfFalse(t TestingT, condition bool, format string, args ...interface{}) {
	if !condition {
		t.Errorf(format, args...)
	}
}
{'fraction_non_alphanumeric': 0.10273972602739725, 'fraction_numerical': 0.0, 'mean_word_length': 4.462616822429907, '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': '5765920', 'n_tokens_mistral': 367, 'n_tokens_neox': 362, 'n_words': 112}