<commit_before><commit_msg>Added Golden ratio root iteration method in JS<commit_after>function golden_ratio_root_iteration(seed, acc) {
    var phi = seed || 1;
    var acc = acc || 1E-8;
    var tmp = 0;

    while (!Math.abs(phi - tmp) <= acc) {
        tmp = phi;
        phi = Math.sqrt(1 + phi);
    }

    return phi;
}

{'fraction_non_alphanumeric': 0.12844036697247707, 'fraction_numerical': 0.01529051987767584, 'mean_word_length': 2.5268817204301075, 'pattern_counts': {'":': 0, '<': 4, '<?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': '413078', 'n_tokens_mistral': 121, 'n_tokens_neox': 114, 'n_words': 32}