<commit_before><div id="sfwdt{{ token }}" style="display: none"></div>
<script type="text/javascript">/*<![CDATA[*/
    (function () {
        var wdt, xhr;
        var url = '{{ path("_wdt", { "token": token }) }}';
        wdt = document.getElementById('sfwdt{{ token }}');
        if (window.XMLHttpRequest) {
            xhr = new XMLHttpRequest();
        } else {
            xhr = new ActiveXObject('Microsoft.XMLHTTP');
        }
        xhr.open('GET', url, true);
        xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
        xhr.onreadystatechange = function(state) {
            if (4 === xhr.readyState && 200 === xhr.status && -1 !== xhr.responseText.indexOf('sf-toolbarreset')) {
                wdt.innerHTML = xhr.responseText;
                wdt.style.display = 'block';
            } else if (4 === xhr.readyState && xhr.status != 200) {
                confirm('An error occured while loading the debug toolbar ('+xhr.status+': '+xhr.statusText.') .\n\nDo you want to open the page ?') && (window.location = url);
            }
        };
        xhr.send('');
    })();
/*]]>*/</script>
<commit_msg>[WebProfilerBundle] Use panel URL for debugging toolbar<commit_after><div id="sfwdt{{ token }}" style="display: none"></div>
<script type="text/javascript">/*<![CDATA[*/
    (function () {
        var wdt, xhr;
        var url = '{{ path("_wdt", { "token": token }) }}';
        var urlPanel = '{{ path("_profiler", { "token": token }) }}';
        wdt = document.getElementById('sfwdt{{ token }}');
        if (window.XMLHttpRequest) {
            xhr = new XMLHttpRequest();
        } else {
            xhr = new ActiveXObject('Microsoft.XMLHTTP');
        }
        xhr.open('GET', url, true);
        xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');
        xhr.onreadystatechange = function(state) {
            if (4 === xhr.readyState && 200 === xhr.status && -1 !== xhr.responseText.indexOf('sf-toolbarreset')) {
                wdt.innerHTML = xhr.responseText;
                wdt.style.display = 'block';
            } else if (4 === xhr.readyState && xhr.status != 200) {
                confirm('An error occured while loading the debug toolbar ('+xhr.status+': '+xhr.statusText+') .\n\nDo you want to open the page ?') && (window.location = urlPanel);
            }
        };
        xhr.send('');
    })();
/*]]>*/</script>

{'fraction_non_alphanumeric': 0.18516966904063678, 'fraction_numerical': 0.00754084625052367, 'mean_word_length': 2.3074792243767313, 'pattern_counts': {'":': 3, '<': 13, '<?xml version=': 0, '>': 13, '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': '3944983', 'n_tokens_mistral': 757, 'n_tokens_neox': 725, 'n_words': 157}