<commit_before>/*global define*/
/*jslint white: true*/
/**
 * A few utility functions. These are kinda unrelated, but used in several places.
 *
 * @author <NAME> <EMAIL>
 */
define([], function() {
    'use strict';

    var monthLookup = ['Jan', 'Feb', 'Mar', 'Apr', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];

    /**
     * @method makePrettyTimestamp
     * Makes a span containing the 'started time' in units of time ago, with a Bootstrap 3 tooltip
     * that gives the exact time.<commit_msg>Fix mapping from numerical month -> abbreviation<commit_after>/*global define*/
/*jslint white: true*/
/**
 * A few utility functions. These are kinda unrelated, but used in several places.
 *
 * @author <NAME> <EMAIL>
 */
define([], function() {
    'use strict';

    var monthLookup = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];

    /**
     * @method makePrettyTimestamp
     * Makes a span containing the 'started time' in units of time ago, with a Bootstrap 3 tooltip
     * that gives the exact time.
{'fraction_non_alphanumeric': 0.16540642722117202, 'fraction_numerical': 0.001890359168241966, 'mean_word_length': 3.430962343096234, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, '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': '3428621', 'n_tokens_mistral': 340, 'n_tokens_neox': 313, 'n_words': 129}