<commit_before>{% extends "base.html" %}

{% block body %}
    <form method="GET" action="{{ url_for('search') }}" id="search">
        <input type="text" name="q" value="{{ query or '' }}" placeholder="search music"/>
    </form>

    {% if query %}
        <h2>Results (top 100)</h2>
        {% if results %}
        <form method="POST" action="{{ url_for('play_filename') }}" id="results">
            <table>
                <thead>
                    <tr>
                        <th style="width:16px"><input type="checkbox"/></th>
                        <th>Song</th>
                        <th style="width:100px;text-align:right"><input type="submit" value="Add to Queue"/></th>
                    </tr>
                </thead>
                <tbody>
                    {% for filename in results %}
                        <tr>
                            <td><input type="checkbox" name="filename" value="{{ filename }}"/></td><commit_msg>Display correct filenames<commit_after>{% extends "base.html" %}

{% block body %}
    <form method="GET" action="{{ url_for('search') }}" id="search">
        <input type="text" name="q" value="{{ query or '' }}" placeholder="search music"/>
    </form>

    {% if query %}
        <h2>Results (top 100)</h2>
        {% if results %}
        <form method="POST" action="{{ url_for('play_filename') }}" id="results">
            <table>
                <thead>
                    <tr>
                        <th style="width:16px"><input type="checkbox"/></th>
                        <th>Song</th>
                        <th style="width:100px;text-align:right"><input type="submit" value="Add to Queue"/></th>
                    </tr>
                </thead>
                <tbody>
                    {% for filename, metadata in results %}
                        <tr>
                            <td><input type="checkbox" name="filename" value="{{ filename }}"/></td>
{'fraction_non_alphanumeric': 0.17923553719008264, 'fraction_numerical': 0.010330578512396695, 'mean_word_length': 1.5757978723404256, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '7291215', 'n_tokens_mistral': 562, 'n_tokens_neox': 503, 'n_words': 118}