<commit_before>'use strict';

var config = require('../../config/config'),
    User = require('../../models/shelves/admin/user').User;

var dashboard = {
    router: function(requestPath, req, res) {
        console.log('dashboard router');
        if(requesPath[0]==undefined) {
            requestPath[0]='index';
        }

        if (typeof(dashboard.routes[requestPath])=='function') {
            dashboard.routes[requestPath](requestPath, req, res)
        } else {
            console.log(requestPath);
        }
    },

    routes: {
        index: function(requestPath, req, res) {
            res.renderAdmin('dashboard.swig');
        }
    }
}

module.exports = dashboard;<commit_msg>Typos! :D<commit_after>'use strict';

var config = require('../../config/config'),
    User = require('../../models/shelves/admin/user').User;

var dashboard = {
    router: function(requestPath, req, res) {
        console.log('dashboard router');
        if(requestPath[0]==undefined) {
            requestPath[0]='index';
        }

        if (typeof(dashboard.routes[requestPath])=='function') {
            dashboard.routes[requestPath](requestPath, req, res)
        } else {
            console.log(requestPath);
        }
    },

    routes: {
        index: function(requestPath, req, res) {
            res.renderAdmin('dashboard.swig');
        }
    }
}

module.exports = dashboard;
{'fraction_non_alphanumeric': 0.16223977027997127, 'fraction_numerical': 0.002871500358937545, 'mean_word_length': 2.3033175355450237, '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': '495501', 'n_tokens_mistral': 412, 'n_tokens_neox': 412, 'n_words': 64}