<commit_before>const clean = require('./clean.js');
const setup = require('./setup.js');
const test = require('./test.js');
const distribute = require('./distribute.js');

const { trap } = require('../lib.js');

module.exports = {
  clean: trap(clean),
  setup: trap(setup),
  test: trap(test),
  distribute: trap(distribute),
};
<commit_msg>Add a note per @dyakovlev's comment<commit_after>const clean = require('./clean.js');
const setup = require('./setup.js');
const test = require('./test.js');
const distribute = require('./distribute.js');

const { trap } = require('../lib.js');

module.exports = {
  // TODO(JP): Maybe generalize some of these?
  // See https://github.com/remix/morto/pull/6#discussion_r143610256
  clean: trap(clean),
  setup: trap(setup),
  test: trap(test),
  distribute: trap(distribute),
};

{'fraction_non_alphanumeric': 0.19829683698296838, 'fraction_numerical': 0.012165450121654502, 'mean_word_length': 4.379084967320262, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '3050979', 'n_tokens_mistral': 270, 'n_tokens_neox': 261, 'n_words': 61}