<commit_before>(function(){
    var starttime;
    var settime;
    var acctime;
    acctime=new Date().getTime()/1000;
    starttime=Math.trunc(acctime);
    settime=starttime;
    while (settime===starttime){
	settime=starttime;
	acctime=new Date().getTime()/1000;
	starttime=Math.trunc(acctime);
	now = process.hrtime();
    }
    var start_secs=starttime-now[0];
    var start_usecs=Math.trunc(now[1]/1000);
    var start_psecs=Math.trunc(now[1]);
    
    var last_secs=0;
    var last_usecs=0;
    var last_psecs=0;

    /* module exports */
    module.exports = {
	now: function(){
	    var nowTime = module.exports.nowStruct();
	    return nowTime[0]*1000000+nowTime[1];
	},
	nowDouble: function(){
	    var nowTime = module.exports.nowStructPicoIncr(); 
	    return nowTime[0]+nowTime[1]/1000000000;
	},
	nowStruct: function(){
	    var now = process.hrtime();
	    
	    var now_secs = Math.trunc(now[0]+start_secs);
	    var now_usecs = Math.trunc(now[1]/1000)-start_usecs;
	    if (now_usecs < 0) {
		now_usecs=1000000+now_usecs;
		now_secs--;
	    }
	    last_usecs=now_usecs;
	    last_secs=now_secs;
	    return [now_secs, now_usecs];
	},
	nowStructIncr: function(){
	    var now = process.hrtime();
	    
	    var now_secs = Math.trunc(now[0]+start_secs);
	    var now_usecs = Math.trunc(now[1]/1000)-start_usecs;
	    if (now_usecs < 0) {
		now_usecs=1000000+now_usecs;
		now_secs--;
	    }<commit_msg>Only truncate result; "now" should be a local.<commit_after>(function(){
    var starttime;
    var settime;
    var acctime;
    var now;
    acctime=new Date().getTime()/1000;
    starttime=Math.trunc(acctime);
    settime=starttime;
    
    //Wait for the second roll over so our clock is aligned
    // (we could do this on a millisecond rollover)
    while (settime===starttime){
	settime=starttime;
	acctime=new Date().getTime()/1000;
	starttime=Math.trunc(acctime);
	now = process.hrtime();
    }
    var start_secs=starttime-now[0];
    var start_usecs=now[1]/1000;
    var start_psecs=Math.trunc(now[1]);
    
    var last_secs=0;
    var last_usecs=0;
    var last_psecs=0;

    /* module exports */
    module.exports = {
	now: function(){
	    var nowTime = module.exports.nowStruct();
	    return nowTime[0]*1000000+nowTime[1];
	},
	nowDouble: function(){
	    var nowTime = module.exports.nowStructPicoIncr(); 
	    return nowTime[0]+nowTime[1]/1000000000;
	},
	nowStruct: function(){
	    var now = process.hrtime();
	    
	    var now_secs = Math.trunc(now[0]+start_secs);
	    var now_usecs = (now[1]/1000)-start_usecs;
	    if (now_usecs < 0) {
		now_usecs=1000000+now_usecs;
		now_secs--;
	    }
	    last_usecs=now_usecs;
	    last_secs=now_secs;
	    return [now_secs, Math.trunc(now_usecs)];
	},
	nowStructIncr: function(){
	    var now = process.hrtime();
	    
	    var now_secs = Math.trunc(now[0]+start_secs);
	    var now_usecs = Math.trunc(now[1]/1000)-start_usecs;
	    if (now_usecs < 0) {
		now_usecs=1000000+now_usecs;
		now_secs--;
	    }
{'fraction_non_alphanumeric': 0.14175860916081578, 'fraction_numerical': 0.044801069876295556, 'mean_word_length': 3.2439716312056737, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, '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': '3642035', 'n_tokens_mistral': 1273, 'n_tokens_neox': 1167, 'n_words': 198}