<commit_before>package testutil

import "github.com/chris-ramon/graphql-go/types"

var (
	Luke           StarWarsChar
	Vader          StarWarsChar
	Han            StarWarsChar
	Leia           StarWarsChar
	Tarkin         StarWarsChar
	HumanData      map[int]StarWarsChar
	StarWarsSchema types.GraphQLSchema
)

type StarWarsChar struct {
	Id         string
	Name       string
	Friends    []StarWarsChar
	AppearsIn  []int
	HomePlanet string
}

func init() {
	Luke = StarWarsChar{
		Id:         "1000",
		Name:       "<NAME>",
		AppearsIn:  []int{4, 5, 6},
		HomePlanet: "Tatooine",
	}
	Vader = StarWarsChar{
		Id:         "1001",
		Name:       "<NAME>",
		AppearsIn:  []int{4, 5, 6},
		HomePlanet: "Tatooine",
	}
	Han = StarWarsChar{
		Id:        "1002",
		Name:      "<NAME>",
		AppearsIn: []int{4, 5, 6},
	}
	Leia = StarWarsChar{
		Id:         "1003",
		Name:       "<NAME>",
		AppearsIn:  []int{4, 5, 6},
		HomePlanet: "Alderaa",
	}
	Tarkin = StarWarsChar{
		Id:        "1004",
		Name:      "<NAME>",
		AppearsIn: []int{4},
	}
	Luke.Friends = append(Luke.Friends, []StarWarsChar{Han, Leia}...)
	Vader.Friends = append(Luke.Friends, []StarWarsChar{Tarkin}...)
	Han.Friends = append(Han.Friends, []StarWarsChar{Leia}...)
	Leia.Friends = append(Leia.Friends, []StarWarsChar{Han}...)
	Tarkin.Friends = append(Tarkin.Friends, []StarWarsChar{Vader}...)
	HumanData = map[int]StarWarsChar{
		1000: Luke,
		1001: Vader,
		1002: Han,
		1003: Leia,
		1004: Tarkin,
	}
	var fields types.GraphQLObjectTypeFields
	queryType := types.GraphQLObjectType{
		Name:   "Query",
		Fields: fields,
	}
	StarWarsSchema = types.GraphQLSchema{
		Query: queryType,
	}
}<commit_msg>add more test util variables<commit_after>package testutil

import "github.com/chris-ramon/graphql-go/types"

var (
	Luke           StarWarsChar
	Vader          StarWarsChar
	Han            StarWarsChar
	Leia           StarWarsChar
	Tarkin         StarWarsChar
	HumanData      map[int]StarWarsChar
	StarWarsSchema types.GraphQLSchema
)

type StarWarsChar struct {
	Id         string
	Name       string
	Friends    []StarWarsChar
	AppearsIn  []int
	HomePlanet string
}

func init() {
	Luke = StarWarsChar{
		Id:         "1000",
		Name:       "<NAME>",
		AppearsIn:  []int{4, 5, 6},
		HomePlanet: "Tatooine",
	}
	Vader = StarWarsChar{
		Id:         "1001",
		Name:       "<NAME>",
		AppearsIn:  []int{4, 5, 6},
		HomePlanet: "Tatooine",
	}
	Han = StarWarsChar{
		Id:        "1002",
		Name:      "<NAME>",
		AppearsIn: []int{4, 5, 6},
	}
	Leia = StarWarsChar{
		Id:         "1003",
		Name:       "<NAME>",
		AppearsIn:  []int{4, 5, 6},
		HomePlanet: "Alderaa",
	}
	Tarkin = StarWarsChar{
		Id:        "1004",
		Name:      "<NAME>",
		AppearsIn: []int{4},
	}
	Luke.Friends = append(Luke.Friends, []StarWarsChar{Han, Leia}...)
	Vader.Friends = append(Luke.Friends, []StarWarsChar{Tarkin}...)
	Han.Friends = append(Han.Friends, []StarWarsChar{Leia}...)
	Leia.Friends = append(Leia.Friends, []StarWarsChar{Han}...)
	Tarkin.Friends = append(Tarkin.Friends, []StarWarsChar{Vader}...)
	HumanData = map[int]StarWarsChar{
		1000: Luke,
		1001: Vader,
		1002: Han,
		1003: Leia,
		1004: Tarkin,
	}
	var charIntFields types.GraphQLFieldDefinitionMap
	charIntFields = make(types.GraphQLFieldDefinitionMap)
	characterInterface := types.GraphQLInterfaceType{
		Name:        "Character",
		Description: "A character in the Star Wars Trilogy",
		Fields:      charIntFields,
	}
	var fields types.GraphQLFieldDefinitionMap
	fields = make(types.GraphQLFieldDefinitionMap)
	fields["hero"] = types.GraphQLFieldDefinition{
		Type: &characterInterface,
		Resolve: func(p types.GQLFDRParams) (r interface{}) {
			return r
		},
	}
	queryType := types.GraphQLObjectType{
		Name:   "Query",
		Fields: fields,
	}
	StarWarsSchema = types.GraphQLSchema{
		Query: queryType,
	}
}
{'fraction_non_alphanumeric': 0.13845748881284548, 'fraction_numerical': 0.027902079494603844, 'mean_word_length': 3.0904198062432724, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '2808787', 'n_tokens_mistral': 1617, 'n_tokens_neox': 1469, 'n_words': 294}