<commit_before>// Fractal state
n = 128 // Fractal size (n^2 + 1)

d = [] // Fractal array
for (i = 0; i <= n; i++) {
    d[i] = []
}

// Diamond-square worker queue
q = []


// Deterministic random function
rs = Math.PI
function random() {
    rs += Math.E + Math.cos(rs)
    return rs % 1
}

// Sinusoidal tween
function easeInOut(value) {
    return .5 * (1 - Math.cos(Math.PI * value))
}

// Height map function
function height(value, weight) {
    return Math.max(Math.min(value + (Math.random() - .5) * weight, 1), 0)
}
<commit_msg>Remove unused functions<commit_after>// Fractal state
n = 128 // Fractal size (n^2 + 1)

d = [] // Fractal array
for (i = 0; i <= n; i++) {
    d[i] = []
}

// Diamond-square worker queue
q = []


// Height map function
function height(value, weight) {
    return Math.max(Math.min(value + (Math.random() - .5) * weight, 1), 0)
}

{'fraction_non_alphanumeric': 0.18202764976958524, 'fraction_numerical': 0.024193548387096774, 'mean_word_length': 2.7296137339055795, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5166487', 'n_tokens_mistral': 347, 'n_tokens_neox': 325, 'n_words': 96}