<commit_before>'use strict';(function(h,f){function j(a){a&&/\S/.test(a)&&(f.execScript||function(a){f.eval.call(f,a)})(a)}var g={},k={},e={name:"text",ext:[".tpl",".html"],exec:function(a){j('define("'+a.replace(/(["\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")+'")')}};g[e.name]=e;e={name:"json",ext:[".json"],exec:function(a){j("define("+a+")")}};g[e.name]=e;h.on("resolve",
function(a){var c=a.id,d,b;if((b=c.match(/^(\w+)!(.+)$/))&&b[1]&&g.hasOwnProperty(b[1]))d=b[1],c=b[2];var c=h.resolve(c,a.refUri),f=c.replace(/\.(?:js|css)(\?|$)/,"$1");if(!d&&(b=f.match(/[^?]+(\.\w+)(?:\?|$)/)))a:{d=b[1];for(var e in g)if(e&&g.hasOwnProperty(e)&&-1<(","+g[e].ext.join(",")+",").indexOf(","+d+",")){d=e;break a}d=void 0}d&&(c=c.replace(/\.js$/,""),k[c]=d);a.uri=c});h.on("request",function(a){var c=a.uri,d=k[c];if(d){var b=f.ActiveXObject?new f.ActiveXObject("Microsoft.XMLHTTP"):new f.XMLHttpRequest;
b.open("GET",c,!0);b.onreadystatechange=function(){if(4===b.readyState)if(200===b.status)g[d].exec(b.responseText),a.callback();else throw Error("Could not load: "+c+", status = "+b.status);};b.send(null);a.requested=!0}})})(seajs,this);<commit_msg>Make plugins runnable in node environment<commit_after>'use strict';(function(h,e){function j(a,c){var b=e.ActiveXObject?new e.ActiveXObject("Microsoft.XMLHTTP"):new e.XMLHttpRequest;b.open("GET",a,!0);b.onreadystatechange=function(){if(4===b.readyState)if(200===b.status)c(b.responseText);else throw Error("Could not load: "+a+", status = "+b.status);};return b.send(null)}function k(a){a&&/\S/.test(a)&&(e.execScript||function(a){(e.eval||eval).call(e,a)})(a)}var f={},l={},d={name:"text",ext:[".tpl",".html"],exec:function(a){k('define("'+a.replace(/(["\\])/g,
"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")+'")')}};f[d.name]=d;d={name:"json",ext:[".json"],exec:function(a){k("define("+a+")")}};f[d.name]=d;h.on("resolve",function(a){var c=a.id,b,g;if((g=c.match(/^(\w+)!(.+)$/))&&g[1]&&f.hasOwnProperty(g[1]))b=g[1],c=g[2];var c=h.resolve(c,a.refUri),e=c.replace(/\.(?:js|css)(\?|$)/,"$1");if(!b&&(g=e.match(/[^?]+(\.\w+)(?:\?|$)/)))a:{b=
g[1];for(var d in f)if(d&&f.hasOwnProperty(d)&&-1<(","+f[d].ext.join(",")+",").indexOf(","+b+",")){b=d;break a}b=void 0}b&&(c=c.replace(/\.js$/,""),l[c]=b);a.uri=c});h.on("request",function(a){var c=l[a.uri];c&&(j(a.requestUri,function(b){f[c].exec(b);a.callback()}),a.requested=!0)});"undefined"!==typeof module&&(j=function(a,c){c(require("fs").readFileSync(a.replace(/\?.*$/,""),"utf8"))})})(seajs,this);
{'fraction_non_alphanumeric': 0.4020136641495865, 'fraction_numerical': 0.022653721682847898, 'mean_word_length': 8.727272727272727, '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': '3905286', 'n_tokens_mistral': 1315, 'n_tokens_neox': 1277, 'n_words': 55}