<commit_before><!-- Prepared messages to display to a user in case of a situation -->
<injector for="msgtxt.removeFailure">An error occurred while removing the file.</injector>
<injector for="msgtxt.downloadFailure">An error occurred while downloading the file.</injector>

<!-- Main Content -->
<main-cnt>
    <!-- NavBar -->
    <navbar selected="files" lmenu="default-lm.json" rmenu="default-rm.json" />

    <!-- Content -->
    <div class="container-fluid">
        <h2>List of files</h2>

        <!-- Modal for file configuration -->
        <file-settings bind="fileconfig" />

        <!-- Tooltip messages -->
        <injector for="statetext.local">Uploaded file</injector>
        <injector for="statetext.remote">Remote file</injector>

        <injector for="actiontext.download">Download</injector>
        <injector for="actiontext.configure">File settings</injector>
        <injector for="actiontext.remove">Remove file</injector>

        <!-- Unknown bug - a first useless tooltip has to be written for some reason -->
        <tooltip msg="bug-fixer" />

        <!-- The table of files -->
        <loadico bind="dataload" size="5" center="true" showtxt="true">
            <table class="table table-bordered table-hover">
                <thead>
                <tr>
                    <th>Date created</th>
                    <th>File name</th>
                    <th>Actions</th>
                    <th>Type</th>
                </tr>
                </thead>
                <tbody>
                <!-- A single file -->
                <tr ng-repeat="file in filesProxy.getView()">
                    <td class="col-md-2">{{ file.uploaded }}</td>
                    <td class="col-md-7">{{ file.id }}</td>

                    <!-- Actions -->
                    <td class="col-md-2">
                        <tooltip source="actiontext.download" place="top">
                            <a-fake ajax="fdownload" args="file.id" catcher="fileerror" type="text/csv">
                                <a class="btn btn-default">
                                    <i class="fa fa-download fa-lg"></i>
                                </a>
                            </a-fake>
                        </tooltip>
                        <tooltip source="actiontext.configure" place="top">
                            <a class="btn btn-default" ng-click="fconfigure(file.id)"><i class="fa fa-cog fa-lg"></i></a>
                        </tooltip>
                        <tooltip source="actiontext.remove" place="top">
                            <a class="btn btn-default" ng-click="fremove(file.id)"><i class="fa fa-trash fa-lg"></i></a>
                        </tooltip>
                    </td>
<commit_msg>Smoothed-up file list template text<commit_after><!-- Prepared messages to display to a user in case of a situation -->
<injector for="msgtxt.removeFailure">An error occurred while removing the file.</injector>
<injector for="msgtxt.downloadFailure">An error occurred while downloading the file.</injector>

<!-- Main Content -->
<main-cnt>
    <!-- NavBar -->
    <navbar selected="files" lmenu="default-lm.json" rmenu="default-rm.json" />

    <!-- Content -->
    <div class="container-fluid">
        <h2>Input files</h2>

        <!-- Modal for file configuration -->
        <file-settings bind="fileconfig" />

        <!-- Tooltip messages -->
        <injector for="statetext.local">Uploaded file</injector>
        <injector for="statetext.remote">Remote file</injector>

        <injector for="actiontext.download">Download</injector>
        <injector for="actiontext.configure">File settings</injector>
        <injector for="actiontext.remove">Remove file</injector>

        <!-- Unknown bug - a first useless tooltip has to be written for some reason -->
        <tooltip msg="bug-fixer" />

        <!-- The table of files -->
        <loadico bind="dataload" size="5" center="true" showtxt="true">
            <table class="table table-bordered table-hover">
                <thead>
                <tr>
                    <th>Created</th>
                    <th>File name</th>
                    <th>Actions</th>
                    <th>Type</th>
                </tr>
                </thead>
                <tbody>
                <!-- A single file -->
                <tr ng-repeat="file in filesProxy.getView()">
                    <td class="col-md-2">{{ file.uploaded }}</td>
                    <td class="col-md-7">{{ file.id }}</td>

                    <!-- Actions -->
                    <td class="col-md-2">
                        <tooltip source="actiontext.download" place="top">
                            <a-fake ajax="fdownload" args="file.id" catcher="fileerror" type="text/csv">
                                <a class="btn btn-default">
                                    <i class="fa fa-download fa-lg"></i>
                                </a>
                            </a-fake>
                        </tooltip>
                        <tooltip source="actiontext.configure" place="top">
                            <a class="btn btn-default" ng-click="fconfigure(file.id)"><i class="fa fa-cog fa-lg"></i></a>
                        </tooltip>
                        <tooltip source="actiontext.remove" place="top">
                            <a class="btn btn-default" ng-click="fremove(file.id)"><i class="fa fa-trash fa-lg"></i></a>
                        </tooltip>
                    </td>

{'fraction_non_alphanumeric': 0.1503363024904563, 'fraction_numerical': 0.0021814215597164154, 'mean_word_length': 1.510036496350365, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 149, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5698666', 'n_tokens_mistral': 1499, 'n_tokens_neox': 1412, 'n_words': 328}