<commit_before>{% extends "helpers/base-template.html" %}

{% block title %}Content Analysis{% endblock %}

<!-- Head -->
{% block head %}

    <!-- Page Lexos dependencies -->
    <script type="text/javascript" src="static/js/helpers/table.js"></script>
    <link rel="stylesheet" type="text/css" href="static/css/helpers/table.css"/>

    <!-- Page JS and CSS -->
    <script type="text/javascript" src="static/js/content-analysis.js"></script>
    <link rel="stylesheet" type="text/css" href="static/css/content-analysis.css"/>
{% endblock %}


<!-- Content -->
{% block content %}

    <!-- Top -->
    <div id="top-section">

        <!-- Dictionaries -->
        <div id="dictionaries-section" class="section">

            <!-- Top -->
            <div class="vertical-splitter section-top">
                <div>
                     <h3 class="title">Dictionaries</h3>
                </div>

                <div class="right-justified">
                    <span id="upload-button" class="important-button">Upload</span>
                    <span id="dictionaries-tooltip-button" class="tooltip-button">?</span>
                </div>
            </div>

            <!-- Body -->
            <div class="borderless-section-body dictionaries-wrapper">
                <h3 class="centerer">No Uploads</h3>
            </div>
        </div>

        <!-- Formula --->
        <div id="formula-section" class="section">

            <!-- Top -->
            <div class="vertical-splitter section-top">
                <h3 class="title">Formula</h3>

                <div class="right-justified">
                    <span id="ca-analyze-button" class="important-button">Analyze</span>
                    <span id="formula-tooltip-button" class="tooltip-button">?</span>
                </div>
            </div>

            <!-- Body -->
            <div id="formula-body" class="section-body">

                <textarea id="formula-textarea" spellcheck="false"></textarea>

                <div id="formula-buttons">
                    <div id="number-pad">
                        <h3>1</h3><h3>2</h3><h3>3</h3>
                        <h3>4</h3><h3>5</h3><h3>6</h3>
                        <h3>7</h3><h3>8</h3><h3>9</h3>
                        <h3>DEL</h3><h3>0</h3><h3>CLR</h3>
                    </div>

                    <div id="operations-pad">
                        <h3>(</h3><h3>)</h3>
                        <h3>+</h3><h3>-</h3>
                        <h3>/</h3><h3>X</h3>
                        <h3>.</h3><h3>^</h3>
                    </div>

                    <div id="documents-pad" class="dictionaries-wrapper">
                        <h3 class="centerer">No Uploads</h3>
                    </div>
                </div>
            </div>
        </div>

    </div>

    <!-- Overview -->
    <div class="overview-section">
        <div id="table-top" class="section-top">
            <h3 class="title">Overview</h3>
            <div class="table-top-radio-option">
                <h3>Order: </h3>
                <label><input name="sort-ascending" value="true" type="radio" checked><span></span>Ascending</label>
                <label><input name="sort-ascending" value="false" type="radio"><span></span>Descending</label>
            </div>
            <span id="overview-download-button" class="disabled right-justified button">Download</span>
        </div>
        <div id="overview-body" class="borderless-section-body">
            <h3 class="centerer">No Results</h3>
        </div>
    </div>


    <!-- Corpus -->
    <div id="corpus-section" class="section">
        <div class="vertical-splitter section-top">
            <h3 class="title">Corpus</h3>
            <div class="right-justified">
                <span id="corpus-download-button" class="disabled button">Download</span>
                <span id="corpus-tooltip-button" class="tooltip-button">?</span>
            </div>
        </div>
        <div id="corpus-body" class="borderless-section-body">
            <h3 class="centerer">No Results</h3>
        </div>
    </div>
<commit_msg>a broken thing<commit_after>{% extends "helpers/base-template.html" %}

{% block title %}Content Analysis{% endblock %}

<!-- Head -->
{% block head %}

    <!-- Page Lexos dependencies -->
    <script type="text/javascript" src="static/js/helpers/table.js"></script>
    <link rel="stylesheet" type="text/css" href="static/css/helpers/table.css"/>

    <!-- Page JS and CSS -->
    <script type="text/javascript" src="static/js/content-analysis.js"></script>
    <link rel="stylesheet" type="text/css" href="static/css/content-analysis.css"/>
{% endblock %}


<!-- Content -->
{% block content %}

    <!-- Top -->
    <div id="top-section">

        <!-- Dictionaries -->
        <div id="dictionaries-section" class="section">

            <!-- Top -->
            <div class="vertical-splitter section-top">
                <div>
                     <h3 class="title">Dictionaries</h3>
                </div>

                <div class="right-justified">
                    <span id="upload-button" class="important-button">Upload</span>
                    <span id="dictionaries-tooltip-button" class="tooltip-button">?</span>
                </div>
            </div>

            <!-- Body -->
            <div class="borderless-section-body dictionaries-wrapper">
                <h3 class="centerer">No Uploads</h3>
            </div>
        </div>

        <!-- Formula --->
        <div id="formula-section" class="section">

            <!-- Top -->
            <div class="vertical-splitter section-top">
                <h3 class="title">Formula</h3>

                <div class="right-justified">
                    <span id="ca-analyze-button" class="important-button">Analyze</span>
                    <span id="formula-tooltip-button" class="tooltip-button">?</span>
                </div>
            </div>

            <!-- Body -->
            <div id="formula-body" class="section-body">

                <textarea id="formula-textarea" spellcheck="false"></textarea>

                <div id="formula-buttons">
                    <div id="number-pad">
                        <h3>1</h3><h3>2</h3><h3>3</h3>
                        <h3>4</h3><h3>5</h3><h3>6</h3>
                        <h3>7</h3><h3>8</h3><h3>9</h3>
                        <h3>DEL</h3><h3>0</h3><h3>CLR</h3>
                    </div>

                    <div id="operations-pad">
                        <h3>(</h3><h3>)</h3>
                        <h3>+</h3><h3>-</h3>
                        <h3>/</h3><h3>X</h3>
                        <h3>.</h3><h3>^</h3>
                    </div>

                    <div id="documents-pad" class="dictionaries-wrapper">
                        <h3 class="centerer">No Uploads</h3>
                    </div>
                </div>
            </div>
        </div>

    </div>

    <!-- Overview -->
    <div id="overview-section" class="section">
        <div id="table-top" class="section-top">
            <h3 class="title">Overview</h3>
            <div class="table-top-radio-option">
                <h3>Order: </h3>
                <label><input name="sort-ascending" value="true" type="radio" checked><span></span>Ascending</label>
                <label><input name="sort-ascending" value="false" type="radio"><span></span>Descending</label>
            </div>
            <span id="overview-download-button" class="disabled right-justified button">Download</span>
        </div>
        <div id="overview-body" class="borderless-section-body">
            <h3 class="centerer">No Results</h3>
        </div>
    </div>


    <!-- Corpus -->
    <div id="corpus-section" class="section">
        <div class="vertical-splitter section-top">
            <h3 class="title">Corpus</h3>
            <div class="right-justified">
                <span id="corpus-download-button" class="disabled button">Download</span>
                <span id="corpus-tooltip-button" class="tooltip-button">?</span>
            </div>
        </div>
        <div id="corpus-body" class="borderless-section-body">
            <h3 class="centerer">No Results</h3>
        </div>
    </div>

{'fraction_non_alphanumeric': 0.1836858740578653, 'fraction_numerical': 0.016532944322878676, 'mean_word_length': 1.6234056122448979, 'pattern_counts': {'":': 0, '<': 297, '<?xml version=': 0, '>': 297, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6422826', 'n_tokens_mistral': 2545, 'n_tokens_neox': 2384, 'n_words': 379}