<commit_before>function h() {
    return new Promise(function(resolve) {
        setTimeout(function() {
            console.log('h');
            resolve();
        }, 100);
    });
}
function e() {
    return new Promise(function(resolve) {
        setTimeout(function() {
            console.log('e');
            resolve();
        }, 100);
    });
}
function l() {
    return new Promise(function(resolve) {
        setTimeout(function() {
            console.log('l');
            resolve();
        }, 100);
    });
}
function o() {
    return new Promise(function(resolve) {
        setTimeout(function() {
            console.log('o');
            resolve();
        }, 100);
    });
}
function w() {
    return new Promise(function(resolve) {
        setTimeout(function() {
            console.log('w');
            resolve();
        }, 100);
    });
}
function r() {
    return new Promise(function(resolve) {
        setTimeout(function() {
            console.log('r');
            resolve();
        }, 100);
    });
}
function d() {
    return new Promise(function(resolve) {
        setTimeout(function() {
            console.log('d');
            resolve();
        }, 100);
    });
}
h().then(e).then(l).then(l).then(o).then(w).then(o).then(r).then(l).then(d)
<commit_msg>･:*+.\(( °ω° ))/.:+<commit_after>function word(x) {
    return function h() {
        return new Promise(function(resolve) {
            setTimeout(function() {
                console.log(x);
                resolve();
            }, 100);
        });
    }
}

var h = word('h');
var e = word('e');
var l = word('l');
var o = word('o');
var w = word('w');
var r = word('r');
var d = word('d');

h().then(e).then(l).then(l).then(o).then(w).then(o).then(r).then(l).then(d)

{'fraction_non_alphanumeric': 0.1971671388101983, 'fraction_numerical': 0.013597733711048159, 'mean_word_length': 1.9141914191419143, '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': '3380278', 'n_tokens_mistral': 564, 'n_tokens_neox': 544, 'n_words': 100}