<commit_before>// kernel
'use strict';
define(['site/pages/pages', 'site/popups/popups'], function(pages, popups) {
	var kernel = {
		appendCss: function(url) { //自动根据当前环境添加css或less
			var csslnk = document.createElement('link');
			csslnk.type = 'text/css';
			if (url.match(/\.less$/)) {
				if (typeof less === 'object') {
					csslnk.rel = 'stylesheet/less';
					csslnk.href = url;
					less.sheets.push(csslnk);
					less.refresh();
				} else {
					csslnk.rel = 'stylesheet';
					csslnk.href = url.replace(/less$/, 'css');
				}
			} else {
				csslnk.rel = 'stylesheet';
				csslnk.href = url;
			}
			(document.head || document.getElementsByTagName('head')[0]).appendChild(csslnk);
		},
		extendIn: function(o, e, p) {
			for (var i = 0; i < p.length; i++) {
				if (p[i] in e) {
					o[p[i]] = e[p[i]];
				}<commit_msg>no message<commit_after>// kernel
'use strict';
define(['site/pages/pages', 'site/popups/popups'], function(pages, popups) {
	var kernel = {
		appendCss: function(url) { //自动根据当前环境添加css或less
			var csslnk = document.createElement('link');
			csslnk.type = 'text/css';
			if (/\.less$/.test(url)) {
				if (typeof less === 'object') {
					csslnk.rel = 'stylesheet/less';
					csslnk.href = url;
					less.sheets.push(csslnk);
					less.refresh();
				} else {
					csslnk.rel = 'stylesheet';
					csslnk.href = url.replace(/less$/, 'css');
				}
			} else {
				csslnk.rel = 'stylesheet';
				csslnk.href = url;
			}
			(document.head || document.getElementsByTagName('head')[0]).appendChild(csslnk);
		},
		extendIn: function(o, e, p) {
			for (var i = 0; i < p.length; i++) {
				if (p[i] in e) {
					o[p[i]] = e[p[i]];
				}
{'fraction_non_alphanumeric': 0.19759036144578312, 'fraction_numerical': 0.0024096385542168677, 'mean_word_length': 2.880841121495327, 'pattern_counts': {'":': 0, '<': 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': '325108', 'n_tokens_mistral': 783, 'n_tokens_neox': 652, 'n_words': 121}