<commit_before>"use strict";
const Promise = require("promise"),
      strftime = require("strftime"),
      chalk = require("chalk"),
      request = require("request"),
      fs = require("fs"),
      fsp = require("fs-promise"),
      _ = require("underscore"),
      tinycolor2 = require("tinycolor2"),
      inquirer = require("inquirer"),
      repo = require("./repo");

// the time representations to use internally
const TIME_REPR = "%H:%M:%S", DAY_REPR = "%a %b %d %Y";
function getDurationFor(day, time) {
  if (time.start && time.end) {
    return (new Date(`${day.date} ${time.end}`).getTime()) - (new Date(`${day.date} ${time.start}`).getTime())<commit_msg>remove fs<commit_after>"use strict";
const Promise = require("promise"),
      strftime = require("strftime"),
      chalk = require("chalk"),
      request = require("request"),
      fsp = require("fs-promise"),
      _ = require("underscore"),
      tinycolor2 = require("tinycolor2"),
      inquirer = require("inquirer"),
      repo = require("./repo");

// the time representations to use internally
const TIME_REPR = "%H:%M:%S", DAY_REPR = "%a %b %d %Y";
function getDurationFor(day, time) {
  if (time.start && time.end) {
    return (new Date(`${day.date} ${time.end}`).getTime()) - (new Date(`${day.date} ${time.start}`).getTime())
{'fraction_non_alphanumeric': 0.19969512195121952, 'fraction_numerical': 0.003048780487804878, 'mean_word_length': 3.7745454545454544, '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': '3890453', 'n_tokens_mistral': 426, 'n_tokens_neox': 419, 'n_words': 96}