<commit_before><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>Weather | {{ title }}</title>
        <link rel="stylesheet" href="//highlightjs.org/static/demo/styles/atelier-estuary-dark.css">
        <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js"></script>
        <link rel="stylesheet" href="{{ asset('bundles/syntaxerrorapi/css/api.css') }}"/>
        {% block head %}{% endblock %}
    </head>
    {% spaceless %}
    <body>
        <header id="welcome">
            <a href="{{ path('syntax_error_api_basic_now') }}">
                Weather a<span style="font-size: 1.05em; color: #fa8072; margin-right: .1em">Pi</span>- Skalagi, Poland - {{ title }}
            </a>

            <span>
                Get raw json with file extension <b>json</b>
            </span>
        </header>


        <main>
            {% block content %}
            <aside>
                <menu>
                    <a href="{{ path('syntax_error_api_basic_now') }}">Basic</a>
                    <a href="{{ path('syntax_error_api_socket') }}">WebSocket</a>
                    <a href="{{ path('syntax_error_api_wu', { 'type': 'forecast' }) }}">Forecast</a>
                    <a href="{{ path('syntax_error_api_wu', { 'type': 'astronomy' }) }}">Astronomy</a>
                    <a href="{{ path('syntax_error_api_wu', { 'type': 'alerts' }) }}">Alerts</a>
                    <a href="{{ path('syntax_error_api_archive_charts', { 'type': 'outTemp', 'period': 'day' }) }}">Day charts</a>
                    <a href="{{ path('syntax_error_api_archive_records', { 'period': 'day' }) }}">Day records</a>
                    <a href="{{ path('syntax_error_api_archive_charts', { 'type': 'outTemp', 'period': 'month' }) }}">Month charts</a>
                    <a href="{{ path('syntax_error_api_archive_records', { 'period': 'month' }) }}">Month records</a>
                    <a href="{{ path('syntax_error_api_archive_charts', { 'type': 'outTemp', 'period': 'year' }) }}">Year charts</a>
                    <a href="{{ path('syntax_error_api_archive_records', { 'period': 'year' }) }}">Year records</a>
                </menu>
                <article>{% block desc %}{% endblock %}</article>

                <div id="powered-by">
                    <img src="{{ asset('bundles/syntaxerrorapi/images/pi.png') }}"/>
                    <img src="{{ asset('bundles/syntaxerrorapi/images/weewx.png') }}"/>
                    <img src="{{ asset('bundles/syntaxerrorapi/images/mysql.png') }}"/>
                    <img src="{{ asset('bundles/syntaxerrorapi/images/php.png') }}"/>
                </div>
            </aside>


            <pre style="margin-top: 0"><code class="json">{{ json }}</code></pre>
            {% endblock %}
        </main>

    </body>
    {% endspaceless %}
    <script>
        hljs.initHighlightingOnLoad();
        var $code = document.getElementsByTagName('code')[0];
        if($code.className == 'json') {
            var jsonNiceString = JSON.stringify(JSON.parse($code.innerText), null, 2);
            $code.innerHTML = jsonNiceString.replace(/ /g, '\u00a0').replace(/(?:\r\n|\r|\n)/g, '<br />');
        }
    </script>
    {% block js %}{% endblock %}
</html>

<commit_msg>add sentence link to api viewer menu<commit_after><!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8"/>
        <title>Weather | {{ title }}</title>
        <link rel="stylesheet" href="//highlightjs.org/static/demo/styles/atelier-estuary-dark.css">
        <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.9.1/highlight.min.js"></script>
        <link rel="stylesheet" href="{{ asset('bundles/syntaxerrorapi/css/api.css') }}"/>
        {% block head %}{% endblock %}
    </head>
    {% spaceless %}
    <body>
        <header id="welcome">
            <a href="{{ path('syntax_error_api_basic_now') }}">
                Weather a<span style="font-size: 1.05em; color: #fa8072; margin-right: .1em">Pi</span>- Skalagi, Poland - {{ title }}
            </a>

            <span>
                Get raw json with file extension <b>json</b>
            </span>
        </header>


        <main>
            {% block content %}
            <aside>
                <menu>
                    <a href="{{ path('syntax_error_api_basic_now') }}">Basic</a>
                    <a href="{{ path('syntax_error_api_sentence') }}">Sentence</a>
                    <a href="{{ path('syntax_error_api_socket') }}">WebSocket</a>
                    <a href="{{ path('syntax_error_api_wu', { 'type': 'forecast' }) }}">Forecast</a>
                    <a href="{{ path('syntax_error_api_wu', { 'type': 'astronomy' }) }}">Astronomy</a>
                    <a href="{{ path('syntax_error_api_wu', { 'type': 'alerts' }) }}">Alerts</a>
                    <a href="{{ path('syntax_error_api_archive_charts', { 'type': 'outTemp', 'period': 'day' }) }}">Day charts</a>
                    <a href="{{ path('syntax_error_api_archive_records', { 'period': 'day' }) }}">Day records</a>
                    <a href="{{ path('syntax_error_api_archive_charts', { 'type': 'outTemp', 'period': 'month' }) }}">Month charts</a>
                    <a href="{{ path('syntax_error_api_archive_records', { 'period': 'month' }) }}">Month records</a>
                    <a href="{{ path('syntax_error_api_archive_charts', { 'type': 'outTemp', 'period': 'year' }) }}">Year charts</a>
                    <a href="{{ path('syntax_error_api_archive_records', { 'period': 'year' }) }}">Year records</a>
                </menu>
                <article>{% block desc %}{% endblock %}</article>

                <div id="powered-by">
                    <img src="{{ asset('bundles/syntaxerrorapi/images/pi.png') }}"/>
                    <img src="{{ asset('bundles/syntaxerrorapi/images/weewx.png') }}"/>
                    <img src="{{ asset('bundles/syntaxerrorapi/images/mysql.png') }}"/>
                    <img src="{{ asset('bundles/syntaxerrorapi/images/php.png') }}"/>
                </div>
            </aside>


            <pre style="margin-top: 0"><code class="json">{{ json }}</code></pre>
            {% endblock %}
        </main>

    </body>
    {% endspaceless %}
    <script>
        hljs.initHighlightingOnLoad();
        var $code = document.getElementsByTagName('code')[0];
        if($code.className == 'json') {
            var jsonNiceString = JSON.stringify(JSON.parse($code.innerText), null, 2);
            $code.innerHTML = jsonNiceString.replace(/ /g, '\u00a0').replace(/(?:\r\n|\r|\n)/g, '<br />');
        }
    </script>
    {% block js %}{% endblock %}
</html>


{'fraction_non_alphanumeric': 0.20126164013217182, 'fraction_numerical': 0.0054070291378792434, 'mean_word_length': 2.1469754253308126, 'pattern_counts': {'":': 0, '<': 139, '<?xml version=': 0, '>': 139, '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': '674290', 'n_tokens_mistral': 2176, 'n_tokens_neox': 1998, 'n_words': 378}