<commit_before>'use strict';

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

var _fs = require('fs');

var _fs2 = _interopRequireDefault(_fs);

/**
 * plum-regression
 * https://github.com/plum-css/plum-regression
 *
 * Copyright (c) 2015 <NAME>
 * Licensed under the MIT license.
 */
var phantomcss = require(casper.cli.get('phantom') + '/phantomcss.js');

casper.configure = function configure(path) {
  phantomcss.update({
    screenshotRoot: '' + casper.cli.get('stylesheets') + '/' + path + '/tests/baselines'
  });

  return this;
};

casper.load = function (file) {
  return casper.start('' + casper.cli.get('fixtures') + '/' + file);
};<commit_msg>compile src to dist<commit_after>'use strict';

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }

var _fs = require('fs');

var _fs2 = _interopRequireDefault(_fs);

/**
 * plum-regression
 * https://github.com/plum-css/plum-regression
 *
 * Copyright (c) 2015 <NAME>
 * Licensed under the MIT license.
 */
var phantomcss = require(casper.cli.get('phantom') + '/phantomcss.js');

casper.loadPath = function configure(path) {
  phantomcss.update({
    screenshotRoot: '' + casper.cli.get('stylesheets') + '/' + path + '/tests/baselines'
  });

  return this;
};

casper.loadFixture = function (file) {
  return casper.start('' + casper.cli.get('fixtures') + '/' + file + '.html');
};
{'fraction_non_alphanumeric': 0.18219749652294853, 'fraction_numerical': 0.006954102920723227, 'mean_word_length': 4.194945848375451, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '4070623', 'n_tokens_mistral': 510, 'n_tokens_neox': 485, 'n_words': 100}