<commit_before>var asserts = require('asserts')
var fn = require('fn')
var puts = require('util').puts

module.exports = function (results) {
  if (!results.length) {
    puts('No tests found')
    return
  }

  var total = fn.foldl(results, function (a, b) {
    return {
      time: a.time + b.time,
      passed: a.passed.concat(b.passed),
      failed: a.failed.concat(b.failed),
      skipped: a.skipped.concat(b.skipped)
    }
  })

  var no_passed = total.passed.length
  var no_failed = total.failed.length
  var no_skipped = total.skipped.length

  if (no_passed) {
    puts('Passed')
    total.passed.forEach(function (passed) {
      puts('    √ ' + passed.name + ' ' + passed.time + 'ms')<commit_msg>Replaces puts with console.log<commit_after>var asserts = require('asserts')
var fn = require('fn')
var puts = console.log

module.exports = function (results) {
  if (!results.length) {
    puts('No tests found')
    return
  }

  var total = fn.foldl(results, function (a, b) {
    return {
      time: a.time + b.time,
      passed: a.passed.concat(b.passed),
      failed: a.failed.concat(b.failed),
      skipped: a.skipped.concat(b.skipped)
    }
  })

  var no_passed = total.passed.length
  var no_failed = total.failed.length
  var no_skipped = total.skipped.length

  if (no_passed) {
    puts('Passed')
    total.passed.forEach(function (passed) {
      puts('    √ ' + passed.name + ' ' + passed.time + 'ms')
{'fraction_non_alphanumeric': 0.14874301675977653, 'fraction_numerical': 0.0, 'mean_word_length': 2.9476584022038566, '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': '6294348', 'n_tokens_mistral': 513, 'n_tokens_neox': 497, 'n_words': 108}