<commit_before>package abide

import (
	"fmt"
)

type assertableString string

func (s assertableString) String() string {
	return string(s)
}

// String is syntactic sugar. It is a helper that converts a string to an AssertableString
func String(s string) assertableString {
	return assertableString(s)
}

// Struct is syntactic sugar. It is a helper that converts a struct to an AssertableString using "%+v" formatting.
func Struct(s interface{}) assertableString {
	return assertableString(fmt.Sprintf("%+v", s))
}<commit_msg>syntactic helpers should return Assertable interface<commit_after>package abide

import (
	"fmt"
)

type assertableString string

func (s assertableString) String() string {
	return string(s)
}

// String is syntactic sugar. It is a helper that converts a string to an Assertable
func String(s string) Assertable {
	return assertableString(s)
}

// Struct is syntactic sugar. It is a helper that converts a struct to an Assertable.
func Struct(s interface{}) Assertable {
	return assertableString(fmt.Sprintf("%+v", s))
}
{'fraction_non_alphanumeric': 0.08761904761904762, 'fraction_numerical': 0.0, 'mean_word_length': 5.005714285714285, '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': '6292301', 'n_tokens_mistral': 311, 'n_tokens_neox': 302, 'n_words': 122}