<commit_before>package utils

func Base62(n uint) string {
	b62 := ""
	if n == 0 {
		return "0"
	}
	for n != 0 {
		r := n % 62
		n = n / 62
		b62 = string("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[r]) + b62
	}<commit_msg>Use a const for base 62 digits.<commit_after>package utils

const digits = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

func Base62(n uint) string {
	b62 := ""
	if n == 0 {
		return "0"
	}
	for n != 0 {
		r := n % 62
		n = n / 62
		b62 = string(digits[r]) + b62
	}
{'fraction_non_alphanumeric': 0.1285444234404537, 'fraction_numerical': 0.09829867674858223, 'mean_word_length': 3.453781512605042, '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': '3167779', 'n_tokens_mistral': 287, 'n_tokens_neox': 234, 'n_words': 57}