<commit_before>var	Time  = {
	_milliSeconds: null,

	milliSecondsToArray: function(milliSeconds){
		this._milliSeconds = milliSeconds;

		var mm = this._getMinuteString();
		var ss = this._getSecondString();
		var ms = this._getMillisecondString().slice(-2);

		return [mm,ss,ms];
	},
	milliSecondsToStringWithColon: function(milliSeconds){
		return this.milliSecondsToString(milliSeconds,":",":");
	},
	milliSecondsToString: function(milliSeconds,separator1,separator2){
		this._milliSeconds = milliSeconds;
		var array = this.milliSecondsToArray(milliSeconds);
		return array[0] + separator1 + array[1] + separator2 + array[2];
	},

	_padding:function (num,char,n){
		var val = String(num);
		for(; val.length < n; val+=char);
		return val;
	},
    _getMinuteString:function(){
		var time = this._milliSeconds;
		var target = Math.floor( (time / 1000) / 60 );
		return this._padding( target, "0", 2 );
	},
    _getSecondString:function(){
		var time = this._milliSeconds;
		var target = Math.floor((time / 1000) % 60);
		return this._padding( target, "0", 2 );
	},
    _getMillisecondString:function(){
		var time = this._milliSeconds;
		var target = Math.floor(time % 1000);
		return this._padding( target, "0", 4 );
    },
    _concatenateDigitStringsToTime:function(){

		var colon = ":";
		return (mm + colon + ss + colon + ms);
    }
};<commit_msg>#422 【ランキング】時刻表示が変になっている<commit_after>var	Time  = {
	_milliSeconds: null,

	milliSecondsToArray: function(milliSeconds){
		this._milliSeconds = milliSeconds;

		//var mm = this._getMinuteString();
		//var ss = this._getSecondString();
		//var ms = this._getMillisecondString().slice(-2);

		var original_time = milliSeconds;
		time = original_time/1000;
		var seconds = Math.floor(parseInt(time));
		mm=""+(seconds%3600/600|0)+(seconds%3600/60%10|0);
		var ss=""+(seconds%60/10|0)+(seconds%60%10);

		var minute_to_ms = 60000*mm;
		var second_to_ms = 1000*ss;
		var ms = original_time-minute_to_ms-second_to_ms;
		ms = ""+ms;
		ms = ms.substr(0,2);
		var lengthOfNum = String(ms).length;
		if(lengthOfNum==1){
			ms = ""+0+ms;
		}
		return [mm,ss,ms];
	},
/*	milliSecondsToStringWithColon: function(milliSeconds){
		return this.milliSecondsToString(milliSeconds,":",":");
	},
	milliSecondsToString: function(milliSeconds,separator1,separator2){
		this._milliSeconds = milliSeconds;
		var array = this.milliSecondsToArray(milliSeconds);
		return array[0] + separator1 + array[1] + separator2 + array[2];
	},

	_padding:function (num,char,n){
		var val = String(num);
		for(; val.length < n; val+=char);
		return val;
	},
    _getMinuteString:function(){
		var time = this._milliSeconds;
		var target = Math.floor( (time / 1000) / 60 );
		return this._padding( target, "0", 2 );
	},
    _getSecondString:function(){
		var time = this._milliSeconds;
		var target = Math.floor((time / 1000) % 60);
		return this._padding( target, "0", 2 );
	},
    _getMillisecondString:function(){
		var time = this._milliSeconds;
		var target = Math.floor(time % 1000);
		return this._padding( target, "0", 4 );
    },
    _concatenateDigitStringsToTime:function(){

		var colon = ":";
		return (mm + colon + ss + colon + ms);
    }
*/
};
{'fraction_non_alphanumeric': 0.1565847511027095, 'fraction_numerical': 0.03339634530560807, 'mean_word_length': 4.372250423011844, 'pattern_counts': {'":': 6, '<': 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': '3401077', 'n_tokens_mistral': 1268, 'n_tokens_neox': 1122, 'n_words': 227}