<commit_before>package jsonmap

import (
	"encoding/json"
	"errors"
	"net/http"
	"net/url"
	"reflect"
	"regexp"
	"testing"
	"time"
	"unicode/utf8"

	"github.com/stretchr/testify/require"
)

type brokenValidator struct{}

func (v brokenValidator) Validate(interface{}) (interface{}, error) {
	return nil, errors.New("this should be a ValidationError")
}

type InnerThing struct {
	Foo   string
	AnInt int
	ABool bool
}

type AnotherInnerThing struct {
	Foo        string
	AnInt      int
	ABool      bool
	HappenedAt time.Time
	ThanksGo   interface{}
}

type AnotherOuterThing struct {
	InnerThing AnotherInnerThing
}

type OuterThing struct {
	InnerThing InnerThing
}

type OuterInnerThingMap struct {
	InnerThingMap map[string]InnerThing
}

type OuterPointerThing struct {
	InnerThing *InnerThing
}

type OuterInterfaceThing struct {
	InnerThing interface{}
}
<commit_msg>update tests<commit_after>package jsonmap

import (
	"encoding/json"
	"errors"
	"net/http"
	"net/url"
	"reflect"
	"regexp"
	"testing"
	"time"
	"unicode/utf8"

	"github.com/stretchr/testify/require"
)

type brokenValidator struct{}

func (v brokenValidator) Validate(interface{}) (interface{}, error) {
	return nil, errors.New("this should be a ValidationError")
}

type InnerThing struct {
	Foo   string
	AnInt int64
	ABool bool
}

type AnotherInnerThing struct {
	Foo        string
	AnInt      int64
	ABool      bool
	HappenedAt time.Time
	ThanksGo   interface{}
}

type AnotherOuterThing struct {
	InnerThing AnotherInnerThing
}

type OuterThing struct {
	InnerThing InnerThing
}

type OuterInnerThingMap struct {
	InnerThingMap map[string]InnerThing
}

type OuterPointerThing struct {
	InnerThing *InnerThing
}

type OuterInterfaceThing struct {
	InnerThing interface{}
}

{'fraction_non_alphanumeric': 0.08700629650829994, 'fraction_numerical': 0.0034344590726960505, 'mean_word_length': 4.428571428571429, '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': '7508452', 'n_tokens_mistral': 632, 'n_tokens_neox': 619, 'n_words': 153}