<commit_before>//= require jquery
//= require support/sinon
//= require support/chai
//= require chai-jquery
//= require magic_lamp
//= require support/sinon-chai

//= require support/helper_functions

// require_self

jQuery.fx.off = true;
window.expect = chai.expect;

MagicLamp.preload();

// var spies;
// var stubs;
// window.spyOn = function(object, method) {
//   var spy = sinon.spy(object, method);
//   spies.push(spy);
//   return spy;
// };

// window.stub = function(object, method, retVal) {
//   var stub = sinon.stub(object, method).returns(retVal);
//   stubs.push(stub);
//   return stub;
// };

// beforeEach(function() {
//   spies = [];
//   stubs = [];
// });

// afterEach(function() {
//   MagicLamp.clean();

//   _(spies).each(function(spy) {
//     spy.restore();
//   });

//   _(stubs).each(function(stub) {
//     stub.restore();
//   });<commit_msg>remove unnecessary call to MagicLamp.preload()<commit_after>//= require jquery
//= require support/sinon
//= require support/chai
//= require chai-jquery
//= require magic_lamp
//= require support/sinon-chai

//= require support/helper_functions

// require_self

jQuery.fx.off = true;
window.expect = chai.expect;

// var spies;
// var stubs;
// window.spyOn = function(object, method) {
//   var spy = sinon.spy(object, method);
//   spies.push(spy);
//   return spy;
// };

// window.stub = function(object, method, retVal) {
//   var stub = sinon.stub(object, method).returns(retVal);
//   stubs.push(stub);
//   return stub;
// };

// beforeEach(function() {
//   spies = [];
//   stubs = [];
// });

// afterEach(function() {
//   MagicLamp.clean();

//   _(spies).each(function(spy) {
//     spy.restore();
//   });

//   _(stubs).each(function(stub) {
//     stub.restore();
//   });
{'fraction_non_alphanumeric': 0.2106154714850367, 'fraction_numerical': 0.0, 'mean_word_length': 2.7148846960167714, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1675367', 'n_tokens_mistral': 639, 'n_tokens_neox': 645, 'n_words': 113}