<commit_before>function sleep(seconds) {
    // http://kevin.vanzonneveld.net
    // +   original by: <NAME>
    // %          note: For study purposes. Current implementation could lock up the user's browser. 
    // %          note: Consider using setTimeout() instead.
    // *     example 1: sleep(1);
    // *     returns 1: 0;
    
    seconds *= 1000;
    var start = new Date().getTime();
    while (new Date().getTime() < start + seconds);
    
    return 0;
}<commit_msg>Fixed bug in sleep's example<commit_after>function sleep(seconds) {
    // http://kevin.vanzonneveld.net
    // +   original by: <NAME>
    // %          note: For study purposes. Current implementation could lock up the user's browser. 
    // %          note: Consider using setTimeout() instead.
    // *     example 1: sleep(1);
    // *     returns 1: 0
    
    seconds *= 1000;
    var start = new Date().getTime();
    while (new Date().getTime() < start + seconds);
    
    return 0;
}
{'fraction_non_alphanumeric': 0.13729508196721313, 'fraction_numerical': 0.018442622950819672, 'mean_word_length': 2.043613707165109, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '4517732', 'n_tokens_mistral': 304, 'n_tokens_neox': 283, 'n_words': 88}