<commit_before><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jsoneditor@9.9.0/dist/jsoneditor.min.css">
    <script src="https://cdn.jsdelivr.net/npm/jsoneditor@9.9.0/dist/jsoneditor.min.js"></script>

    <style>
        html, body {
            margin: 0 5px 5px 5px;
            font-family:'Open Sans',sans-serif;
        }
        header {
            font-weight:bold;
            font-size:16px;
            display: flex;
            align-items: center;
        }
        header a {
            text-decoration: none;
            color: black;
        }
        .logo {
            height: 35px;
            width: 35px;
            margin-right: 8px;
        }
        #jsonview {
            height: 95vh;
        }
    </style>

</head>

<body>
    <header>
        {% if "title_div" in globals() and title_div %}
        <img src="{{ header_img }}" class="logo" alt="logo" />
        <p>{% raw title_div %}</p>
        {% end %}
    </header>
    {% if "learn_more" in globals() and learn_more %}
    <div>
        <a href="{{ link }}" target="_blank">{% raw link %}</a> &nbsp;&nbsp;
        [<a href="{{ learn_more }}" target="_blank">Learn more about this API endpoint</a>]
    </div>
    {% end %}
    <div id="jsonview"></div>


    <script type="text/javascript">
        const container = document.getElementById("jsonview");
        const options = {
            mode: "view"
        };
        const editor = new JSONEditor(container, options);
        const data = {% raw data %};
        editor.set(data);
    </script>
</body>

</html><commit_msg>refactor: :lipstick: tweaking css layout<commit_after><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jsoneditor@9.9.0/dist/jsoneditor.min.css">
    <script src="https://cdn.jsdelivr.net/npm/jsoneditor@9.9.0/dist/jsoneditor.min.js"></script>

    <style>
        html, body {
            margin:0;
            padding:0;
        }
        .container {
            margin: 0 5px 5px 5px;
            font-family:'Open Sans',sans-serif;
        }
        header {
            font-weight:bold;
            font-size:16px;
            display: flex;
            align-items: center;
        }
        header a {
            text-decoration: none;
            color: black;
        }
        .logo {
            height: 35px;
            width: 35px;
            margin-right: 8px;
        }
        .wrapper {
            display: flex;
            flex-direction: column;
            height: 95vh;
        }
        #jsonview {
            flex-grow: 2;
            overflow: auto;
        }
    </style>

</head>

<body>
    <main class="container">
        <header>
            {% if "title_div" in globals() and title_div %}
            <img src="{{ header_img }}" class="logo" alt="logo" />
            <p>{% raw title_div %}</p>
            {% end %}
        </header>
        <div class="wrapper">
            {% if "learn_more" in globals() and learn_more %}
            <div>
                <a href="{{ link }}" target="_blank">{% raw link %}</a> &nbsp;&nbsp;
                [<a href="{{ learn_more }}" target="_blank">Learn more about this API endpoint</a>]
            </div>
            {% end %}
            <div id="jsonview"></div>
        </div>
    </main>

    <script type="text/javascript">
        const container = document.getElementById("jsonview");
        const options = {
            mode: "view"
        };
        const editor = new JSONEditor(container, options);
        const data = {% raw data %};
        editor.set(data);
    </script>
</body>

</html>
{'fraction_non_alphanumeric': 0.1568157614483493, 'fraction_numerical': 0.011448349307774228, 'mean_word_length': 1.6420534458509142, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 4, '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': '223725', 'n_tokens_mistral': 1225, 'n_tokens_neox': 1143, 'n_words': 255}