<commit_before><ng-include src="'/static/job_runner/templates/run_modal.html'"></ng-include>

<section class="jobs">
    <div class="row filters">
        <div class="span3">
            <h5>Template</h5>
            <select ng-model="global_state.data.jobFilter.job_template" ng-options="job_template.resource_uri as job_template.title for job_template in job_templates">
            </select>
        </div>
        <div class="span3">
            <h5>Reschedule interval type</h5>
            <select ng-model="global_state.data.jobFilter.reschedule_interval_type" ng-options="item[0] as item[1] for item in [['', ''], ['MINUTE', 'minute'], ['HOUR', 'hour'], ['DAY', 'day'], ['MONTH', 'month']]"></select>
        </div>
        <div class="span3">
            <h5>&nbsp;</h5>
            <input ng-model="global_state.data.jobFilter.title" type="text" class="search-query" placeholder="Filter" />
        </div>
    </div>
    <div class="row">
        <div class="span6 jobs">

            <div ng-repeat="j in jobs | orderBy:title | filter:global_state.data.jobFilter" class="span2">
                <div ng-class="{selected: j.id == job.id, job: true, suspended: j.enqueue_is_enabled != true}">
                    <h5><a href="/project/{{ global_state.data.projectId }}/jobs/{{ j.id }}/" class="details">{{ j.title }}</a></h5>
                    <ul>
                        <li>
                            <i class="icon-hdd"></i> {{ j.get_worker_pool().title }}
                        </li>
                    </ul>
                </div>
            </div>

        </div>
        <div class="span6 job-details" ng-switch on="job != null">
            <div ng-switch-when="true">
                <div class="tabbable">
                    <ul class="nav nav-tabs">
                        <li ng-class="{active: global_state.data.jobTab == 'details'}">
                            <a href="#tab1" data-toggle="tab" target="_self" ng-click="showDetails()">Job details</a>
                        </li>
                        <li ng-class="{active: global_state.data.jobTab == 'runs'}"><commit_msg>Show jobs as a table.<commit_after><ng-include src="'/static/job_runner/templates/run_modal.html'"></ng-include>

<section class="jobs">
    <div class="row filters">
        <div class="span3">
            <h5>Template</h5>
            <select ng-model="global_state.data.jobFilter.job_template" ng-options="job_template.resource_uri as job_template.title for job_template in job_templates">
            </select>
        </div>
        <div class="span3">
            <h5>Reschedule interval type</h5>
            <select ng-model="global_state.data.jobFilter.reschedule_interval_type" ng-options="item[0] as item[1] for item in [['', ''], ['MINUTE', 'minute'], ['HOUR', 'hour'], ['DAY', 'day'], ['MONTH', 'month']]"></select>
        </div>
        <div class="span3">
            <h5>&nbsp;</h5>
            <input ng-model="global_state.data.jobFilter.title" type="text" class="search-query" placeholder="Filter" />
        </div>
    </div>
    <div class="row">
        <div class="span6 jobs">
            <table class="table table-striped">
                <thead>
                    <tr>
                        <th>Job</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="j in jobs | orderBy:title | filter:global_state.data.jobFilter" ng-class="{info: j.id == job.id}">
                        <td><a href="/project/{{ global_state.data.projectId }}/jobs/{{ j.id }}/">{{ j.title }}</a></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="span6 job-details" ng-switch on="job != null">
            <div ng-switch-when="true">
                <div class="tabbable">
                    <ul class="nav nav-tabs">
                        <li ng-class="{active: global_state.data.jobTab == 'details'}">
                            <a href="#tab1" data-toggle="tab" target="_self" ng-click="showDetails()">Job details</a>
                        </li>
                        <li ng-class="{active: global_state.data.jobTab == 'runs'}">
{'fraction_non_alphanumeric': 0.17644242279147715, 'fraction_numerical': 0.007421594445774479, 'mean_word_length': 1.8655692729766804, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, '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': '7150185', 'n_tokens_mistral': 1278, 'n_tokens_neox': 1231, 'n_words': 238}