<commit_before>'use strict';

const Brakes = require('../lib/Brakes');
const expect = require('chai').expect;
const consts = require('../lib/consts');
const EventEmitter = require('events').EventEmitter;
const sinon = require('sinon');
const TimeOutError = require('../lib/TimeOutError');

const defaultOptions = {
  bucketSpan: 1000,<commit_msg>Import new error class<commit_after>'use strict';

const Brakes = require('../lib/Brakes');
const expect = require('chai').expect;
const consts = require('../lib/consts');
const EventEmitter = require('events').EventEmitter;
const sinon = require('sinon');
const TimeOutError = require('../lib/TimeOutError');
const CircuitBrokenError = require('../lib/CircuitBrokenError');

const defaultOptions = {
  bucketSpan: 1000,
{'fraction_non_alphanumeric': 0.16971279373368145, 'fraction_numerical': 0.010443864229765013, 'mean_word_length': 5.972727272727273, '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': '2090352', 'n_tokens_mistral': 232, 'n_tokens_neox': 225, 'n_words': 53}