<commit_before>(function () {
    "use strict";
    /*global xhr*/
    var
        FIRST = 0,
        NUMBER = 1,
        versionNumber = (location.search.match(/version=(\d\.\d\.\d)/) || {})[NUMBER];
    function matchVersion (versionItem) {
        return versionItem.version === versionNumber;
    }
    if (versionNumber) {
        xhr("https://raw.githubusercontent.com/ArnaudBuchholz/gpf-js/master/build/releases.json").get().asJson()
            .then(function (versions) {
                return versions.filter(matchVersion)[FIRST];
            })
            .then(function (version) {
                if (version.notes) {
                    location.href = "/" + version.notes;
                }
            });
    }
}());<commit_msg>Pending release notes (embedded in an article) (#297)<commit_after>(function () {
    "use strict";
    /*global gpf*/
    var
        FIRST = 0,
        NUMBER = 1,
        versionNumber = (location.search.match(/version=(\d\.\d\.\d)/) || {})[NUMBER];
    function matchVersion (versionItem) {
        return versionItem.version === versionNumber;
    }
    if (versionNumber) {
        gpf.http.get("https://raw.githubusercontent.com/ArnaudBuchholz/gpf-js/master/build/releases.json")
            .then(function (response) {
                return JSON.parse(response.responseText);
            })
            .then(function (versions) {
                return versions.filter(matchVersion)[FIRST];
            })
            .then(function (version) {
                if (version && version.notes) {
                    location.href = "/" + version.notes;
                }
            });
    }
}());
{'fraction_non_alphanumeric': 0.15193704600484262, 'fraction_numerical': 0.00423728813559322, 'mean_word_length': 1.7595993322203674, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2734233', 'n_tokens_mistral': 489, 'n_tokens_neox': 457, 'n_words': 76}