<commit_before>package utils

import (
	"crypto/rand"
	"encoding/hex"
	"io"
)

func RandomString() string {
	id := make([]byte, 32)
	_, err := io.ReadFull(rand.Reader, id)
	if err != nil {
		panic(err) // This shouldn't happen
	}
	return hex.EncodeToString(id)
}
<commit_msg>Fixed up if statement<commit_after>package utils

import (
	"crypto/rand"
	"encoding/hex"
	"io"
)

func RandomString() string {
	id := make([]byte, 32)

	if _, err := io.ReadFull(rand.Reader, id); err != nil {
		panic(err) // This shouldn't happen
	}
	return hex.EncodeToString(id)
}

{'fraction_non_alphanumeric': 0.1592128801431127, 'fraction_numerical': 0.007155635062611807, 'mean_word_length': 4.0, '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': '4577058', 'n_tokens_mistral': 217, 'n_tokens_neox': 209, 'n_words': 51}