<commit_before>var fs  = require('fs');
var fse = require('fs-extra2');
var path = require('path');
var logger = require('../util/logger');
var ENCODING = {encoding: 'utf8'};

var NAME_RE = /^\d+\.([\s\S]+)$/;
var MAX_COUNT = 120;
var noop = function() {};

function readFileSafe(file, retry) {
  try {
    file = fs.readFileSync(file, ENCODING);
  } catch (e) {
    if (retry) {
      file = null;
    } else {
      return readFileSafe(file, true);
    }
  }

  return file || '';
}

function getName(item) {
  return item.name;
}

function RecycleBin(dir) {
  fse.ensureDirSync(dir);
  var list = [];
  var map = {};
  this._dir = dir;
  fs.readdirSync(dir).forEach(function(name) {
    if (NAME_RE.test(name)) {
      var item = {
        name: name,<commit_msg>refactor: change recycle bin size: 120 -> 200<commit_after>var fs  = require('fs');
var fse = require('fs-extra2');
var path = require('path');
var logger = require('../util/logger');
var ENCODING = {encoding: 'utf8'};

var NAME_RE = /^\d+\.([\s\S]+)$/;
var MAX_COUNT = 200;
var noop = function() {};

function readFileSafe(file, retry) {
  try {
    file = fs.readFileSync(file, ENCODING);
  } catch (e) {
    if (retry) {
      file = null;
    } else {
      return readFileSafe(file, true);
    }
  }

  return file || '';
}

function getName(item) {
  return item.name;
}

function RecycleBin(dir) {
  fse.ensureDirSync(dir);
  var list = [];
  var map = {};
  this._dir = dir;
  fs.readdirSync(dir).forEach(function(name) {
    if (NAME_RE.test(name)) {
      var item = {
        name: name,
{'fraction_non_alphanumeric': 0.1815856777493606, 'fraction_numerical': 0.010230179028132993, 'mean_word_length': 3.043927648578811, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '7523817', 'n_tokens_mistral': 596, 'n_tokens_neox': 575, 'n_words': 133}