<commit_before>'use strict';

const fs = require('fs');

const stringify = require('csv-stringify');
const request = require('request');

const providers = require('./providers');

module.exports = function(config) {
  let results = [["times"]];

  for (let i = 0; i < config.test.timings.length; i++) {
    results[0][i + 1] = i + 1;
    results[i + 1] = [config.test.timings[i]];
  }

  let remainingIterations = config.test.iterations;<commit_msg>fix headers in results file<commit_after>'use strict';

const fs = require('fs');

const stringify = require('csv-stringify');
const request = require('request');

const providers = require('./providers');

module.exports = function(config) {
  let results = [["times"]];

  for (let i = 0; i < config.test.timings.length; i++) {
    results[i + 1] = [config.test.timings[i]];
  }

  for (let i = 0; i < config.test.iterations; i++) {
    results[0][i + 1] = i;
  }

  let remainingIterations = config.test.iterations;
{'fraction_non_alphanumeric': 0.18078512396694216, 'fraction_numerical': 0.010330578512396695, 'mean_word_length': 4.0732984293193715, 'pattern_counts': {'":': 0, '<': 6, '<?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': '1802444', 'n_tokens_mistral': 332, 'n_tokens_neox': 315, 'n_words': 81}