<commit_before>/**
Mount individual resumes onto the module object for convenience.
@module index.js
@license MIT. See LICENSE.md for details.
*/

(function(){

  var FS = require('fs');
  var PATH = require('path');

  module.exports = {

    fresh: {
      empty: require('./src/fresh/empty.json'),
      jane: require('./src/fresh/jane-fullstacker.json'),
      johnny: require('./src/fresh/johnny-trouble.json'),
      starter: require('./src/fresh/starter-resume.json'),
      // Can't mount a broken resume (invalid JSON)
      //johnnyBroken: require('./src/johnny-trouble.broken.json')
      johnnyBroken: FS.readFileSync(
        PATH.join( __dirname, '/src/fresh/johnny-trouble.broken.json'),
        'utf8'
      )
    },

    jrs: {
      empty: require('./src/jrs/empty.json'),
      johndoe: require('./src/jrs/john-doe.json'),
      richard: require('./src/jrs/richard-hendriks'),
      jane: require('./src/jrs/jane-fullstacker')
    }
<commit_msg>chore: update resume mounting surface<commit_after>/**
Mount individual resumes onto the module object for convenience.
@module index.js
@license MIT. See LICENSE.md for details.
*/

(function(){

  var FS = require('fs');
  var PATH = require('path');

  module.exports = {

    fresh: {
      empty: require('./src/fresh/empty.json'),
      short: require('./src/fresh/short.json'),
      jane: require('./src/fresh/jane-fullstacker.json'),
      johnny: require('./src/fresh/johnny-trouble.json'),
      starter: require('./src/fresh/starter-resume.json'),
      // Can't mount a broken resume (invalid JSON)
      //johnnyBroken: require('./src/johnny-trouble.broken.json')
      johnnyBroken: FS.readFileSync(
        PATH.join( __dirname, './src/fresh/johnny-trouble.broken.json'),
        'utf8'
      )
    },

    jrs: {
      empty: require('./src/jrs/empty.json'),
      johndoe: require('./src/jrs/john-doe.json'),
      richard: require('./src/jrs/richard-hendriks'),
      jane: require('./src/jrs/jane-fullstacker')
      janeinc: require('./src/jrs/jane-incomplete')
    }

{'fraction_non_alphanumeric': 0.17584023380418898, 'fraction_numerical': 0.000974184120798831, 'mean_word_length': 2.7896678966789668, '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': '4748167', 'n_tokens_mistral': 718, 'n_tokens_neox': 667, 'n_words': 126}