<commit_before>function Util() {
}


// from http://stackoverflow.com/questions/439463/how-to-get-get-and-post-variables-with-jquery
Util.getQueryParams = function (qs) {
    qs = qs.split("+").join(" ");

    var params = [], tokens,
        re = /[?&]?([^=]+)=([^&]*)/g;

    while (tokens = re.exec(qs)) {
        params.push({k: decodeURIComponent(tokens[1]), v: decodeURIComponent(tokens[2])});
    }

    return params;
};

Util.getSteps = function (qs) {
    var urlParams = Util.getQueryParams(qs);
    var steps = [];<commit_msg>dimagimon<commit_after>function Util() {}

// from http://stackoverflow.com/questions/439463/how-to-get-get-and-post-variables-with-jquery
Util.getQueryParams = function (qs) {
    qs = qs.split("+").join(" ");

    var params = [], tokens,
        re = /[?&]?([^=]+)=([^&]*)/g;

    while (tokens = re.exec(qs)) {
        params.push({k: decodeURIComponent(tokens[1]), v: decodeURIComponent(tokens[2])});
    }

    return params;
};

Util.getSteps = function (qs) {
    var urlParams = Util.getQueryParams(qs);
    var steps = [];
{'fraction_non_alphanumeric': 0.21121495327102804, 'fraction_numerical': 0.014953271028037384, 'mean_word_length': 3.3360323886639676, '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': '6274105', 'n_tokens_mistral': 395, 'n_tokens_neox': 380, 'n_words': 62}