<commit_before>lvUtils.factory('$qs', ['$window', function ($window) {
    var qs;
    if ($window.location.search) {
        qs = $window.location.search.substr(1).split("&").reduce(function (previousValue, currentValue, index, array) {
            var aux = currentValue.split('=');
            previousValue[aux[0]] = decodeURIComponent(aux[1].replace(/\+/g, " "));
            return previousValue;
        }, {});
    } else { qs = {}; }

    return qs;
}]);<commit_msg>Update lvUtils.qs.js<commit_after>lvUtils.factory('$qs', ['$window', function ($window) {    
    if ($window.location.search) {
        return $window.location.search.substr(1).split("&").reduce(function (previousValue, currentValue, index, array) {
            var aux = currentValue.split('=');
            previousValue[aux[0]] = decodeURIComponent(aux[1].replace(/\+/g, " "));
            return previousValue;
        }, {});
    }

    return {};
}]);
{'fraction_non_alphanumeric': 0.19506966773847803, 'fraction_numerical': 0.006430868167202572, 'mean_word_length': 2.907949790794979, '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': '4965364', 'n_tokens_mistral': 288, 'n_tokens_neox': 286, 'n_words': 46}