<commit_before>var fs = require('fs'),
    path = require('path');

['server', 'client'].forEach(function(f) {
  var exp = require('./lib/' + f),
      keys = Object.keys(exp);
  for (var i = 0, len = keys.length; i < len; ++i)
    exports[keys[i]] = exp[keys[i]];
});

exports.auth = {};

fs.readdirSync('./lib/auth').forEach(function(f) {
  exports.auth[path.basename(f, '.js')] = require('./lib/auth/' + f);
});<commit_msg>index: fix paths<commit_after>var fs = require('fs'),
    path = require('path');

['server', 'client'].forEach(function(f) {
  var exp = require(__dirname + '/lib/' + f),
      keys = Object.keys(exp);
  for (var i = 0, len = keys.length; i < len; ++i)
    exports[keys[i]] = exp[keys[i]];
});

exports.auth = {};

fs.readdirSync(__dirname + '/lib/auth').forEach(function(f) {
  exports.auth[path.basename(f, '.js')] = require(__dirname + '/lib/auth/' + f);
});
{'fraction_non_alphanumeric': 0.24436936936936937, 'fraction_numerical': 0.0022522522522522522, 'mean_word_length': 3.8846153846153846, 'pattern_counts': {'":': 0, '<': 5, '<?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': '6655616', 'n_tokens_mistral': 325, 'n_tokens_neox': 320, 'n_words': 65}