<commit_before>
'use strict';

require('should');


describe('ddata', function ( ) {
  // var cage = require('../lib/plugins/cannulaage')();
  var sandbox = require('../lib/sandbox')();
  var env = require('../env')();
  var ctx = {};
  ctx.ddata = require('../lib/data/ddata')();
  it('should be a module', function (done) {
    var libddata = require('../lib/data/ddata');
    // should.be.Function(libddata);
    var ddata = libddata( );
    // should.be.ok(ddata);
    // ({}).should.exist( );
    ddata = ctx.ddata.clone( );
    // ddata.should.be.ok( );
    done( );
  });
  it('has #clone( )', function (done) {
    var ddata = ctx.ddata.clone( );
    // ({}).should.be.ok( );
    // ddata.should.be.ok( );
    done( );
  });
});

describe('some garbage', function ( ) {
  var cage = require('../lib/plugins/cannulaage')();
  var sandbox = require('../lib/sandbox')();
  var env = require('../env')();
  var ctx = {};
  ctx.ddata = require('../lib/data/ddata')();<commit_msg>better<commit_after>
'use strict';

var should = require('should');


describe('ddata', function ( ) {
  // var cage = require('../lib/plugins/cannulaage')();
  var sandbox = require('../lib/sandbox')();
  var env = require('../env')();
  var ctx = {};
  ctx.ddata = require('../lib/data/ddata')();
  it('should be a module', function (done) {
    var libddata = require('../lib/data/ddata');
    // should.be.Function(libddata);
    var ddata = libddata( );
    should.exist(ddata);
    ddata = ctx.ddata.clone( );
    should.exist(ddata);
    done( );
  });
  it('has #clone( )', function (done) {
    var ddata = ctx.ddata.clone( );
    should.exist(ddata);
    done( );
  });
});

describe('some garbage', function ( ) {
  var cage = require('../lib/plugins/cannulaage')();
  var sandbox = require('../lib/sandbox')();
  var env = require('../env')();
  var ctx = {};
  ctx.ddata = require('../lib/data/ddata')();
{'fraction_non_alphanumeric': 0.24275934702474986, 'fraction_numerical': 0.0, 'mean_word_length': 2.9014373716632442, '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': '3351486', 'n_tokens_mistral': 690, 'n_tokens_neox': 678, 'n_words': 127}