<commit_before>export function combine(samples) {
  const useableSamples = samples.filter(e => e)
  const errors = [].concat.apply([], useableSamples.map(s => s.errors)).filter(s => s);
  const values = [].concat.apply([], useableSamples.map(s => s.values)).filter(s => s);
  return {errors, values};
}<commit_msg>Do not remove samples that are 0<commit_after>export function combine(samples) {
  const useableSamples = samples.filter(e => e)
  const errors = [].concat.apply([], useableSamples.map(s => s.errors)).filter(s => s);
  const values = [].concat.apply([], useableSamples.map(s => s.values)).filter(s => _.isFinite(s));
  return {errors, values};
}
{'fraction_non_alphanumeric': 0.18968133535660092, 'fraction_numerical': 0.0015174506828528073, 'mean_word_length': 5.111111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '739223', 'n_tokens_mistral': 219, 'n_tokens_neox': 210, 'n_words': 50}