<commit_before>package gojsonschema

import (
	"fmt"
)

func DebugDisplayJsonSchema(d *JsonSchemaDocument) {
	debugDisplayJsonSchemaRecursive(d.rootSchema, 0)
}

func debugDisplayJsonSchemaRecursive(s *JsonSchema, level int) {
	for i := 0; i != level; i++ {
		fmt.Printf(" ")
	}

	fmt.Printf(s.property)

	if s.ref != nil {
		fmt.Printf(" | ref %s", s.ref.String())
	}

	if s.id != nil {
		fmt.Printf(" | id %s", *s.id)
	}

	if s.etype != nil {
		fmt.Printf(" | type %s", *s.etype)
	}<commit_msg>cleaned up display<commit_after>package gojsonschema

import (
	"fmt"
)

func DebugDisplayJsonSchema(d *JsonSchemaDocument) {
	debugDisplayJsonSchemaRecursive(d.rootSchema, 0)
}

func debugDisplayJsonSchemaRecursive(s *JsonSchema, level int) {
	for i := 0; i != level; i++ {
		fmt.Printf(" ")
	}

	fmt.Printf(s.property)

	if s.ref != nil {
		fmt.Printf(" | ref %s", s.ref.String())
	}

	if s.id != nil {
		fmt.Printf(" | id %s", *s.id)
	}

	fmt.Printf(" | type %s", s.etype)
{'fraction_non_alphanumeric': 0.17301750772399588, 'fraction_numerical': 0.004119464469618949, 'mean_word_length': 3.8358208955223883, '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': '5875899', 'n_tokens_mistral': 407, 'n_tokens_neox': 395, 'n_words': 85}