<commit_before><header>
    {{#if deployUser}}
        <h1>{{ deployUser }} <small><a data-action="change-user">change</a></small></h1>
    {{else}}
        <h1>Singularity</h1>
    {{/if}}
</header>

{{#if collectionSynced}}
    {{#if deployUser}}
        <div class="row">
            <div class="col-md-12">
                <div class="page-header">
                    <h2>My requests</h2>
                </div>
                <div class="row">
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/all/{{ deployUser }}" data-requests-active-filter="all">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.all }}
                                    </div>
                                    <div class="number-label">total</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/ON_DEAMAND/{{ deployUser }}" data-requests-active-filter="daemon">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.onDemand }}
                                    </div>
                                    <div class="number-label">On Demand</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/WORKER/{{ deployUser }}" data-requests-active-filter="on-demand">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.worker }}
                                    </div>
                                    <div class="number-label">Worker</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/SCHEDULED/{{ deployUser }}" data-requests-active-filter="on-demand">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.scheduled }}
                                    </div>
                                    <div class="number-label">Scheduled</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/RUN_ONCE/{{ deployUser }}" data-requests-active-filter="on-demand">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.runOnce }}
                                    </div>
                                    <div class="number-label">Run Once</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/SERVICE/{{ deployUser }}" data-requests-active-filter="scheduled">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.service }}
                                    </div>
                                    <div class="number-label">Service</div>
                                </div>
                            </div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    {{/if}}
    <div class="row">
        <div class="col-md-12">
            <div class="page-header">
                <h2>Starred requests</h2>
            </div>
            {{#if starredRequests.length}}
                <table class="table table-striped">
                    <thead>
                        <tr>
                            <th data-sortable="false"></th>
                            <th>Request</th>
                            <th class="hidden-xs">Requested</th>
                            <th class="visible-lg visible-xl">Deploy user</th>
                            <th class="visible-lg visible-xl">Instances</th><commit_msg>data-requests-active-filter for dashboard<commit_after><header>
    {{#if deployUser}}
        <h1>{{ deployUser }} <small><a data-action="change-user">change</a></small></h1>
    {{else}}
        <h1>Singularity</h1>
    {{/if}}
</header>

{{#if collectionSynced}}
    {{#if deployUser}}
        <div class="row">
            <div class="col-md-12">
                <div class="page-header">
                    <h2>My requests</h2>
                </div>
                <div class="row">
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/all/{{ deployUser }}" data-requests-active-filter="all">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.all }}
                                    </div>
                                    <div class="number-label">total</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/ON_DEAMAND/{{ deployUser }}" data-requests-active-filter="ON_DEMAND">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.onDemand }}
                                    </div>
                                    <div class="number-label">On Demand</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/WORKER/{{ deployUser }}" data-requests-active-filter="WORKER">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.worker }}
                                    </div>
                                    <div class="number-label">Worker</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/SCHEDULED/{{ deployUser }}" data-requests-active-filter="SCHEDULED">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.scheduled }}
                                    </div>
                                    <div class="number-label">Scheduled</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/RUN_ONCE/{{ deployUser }}" data-requests-active-filter="RUN_ONCE">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.runOnce }}
                                    </div>
                                    <div class="number-label">Run Once</div>
                                </div>
                            </div>
                        </a>
                    </div>
                    <div class="col-md-2">
                        <a class="big-number-link" href="{{appRoot}}/requests/active/SERVICE/{{ deployUser }}" data-requests-active-filter="SERVICE">
                            <div class="well">
                                <div class="big-number">
                                    <div class="number" data-state-attribute="requests">
                                        {{ userRequestTotals.service }}
                                    </div>
                                    <div class="number-label">Service</div>
                                </div>
                            </div>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    {{/if}}
    <div class="row">
        <div class="col-md-12">
            <div class="page-header">
                <h2>Starred requests</h2>
            </div>
            {{#if starredRequests.length}}
                <table class="table table-striped">
                    <thead>
                        <tr>
                            <th data-sortable="false"></th>
                            <th>Request</th>
                            <th class="hidden-xs">Requested</th>
                            <th class="visible-lg visible-xl">Deploy user</th>
                            <th class="visible-lg visible-xl">Instances</th>
{'fraction_non_alphanumeric': 0.12987731759062818, 'fraction_numerical': 0.003320726870214925, 'mean_word_length': 0.8423109600679695, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 0, '>': 225, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 84, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4811134', 'n_tokens_mistral': 2555, 'n_tokens_neox': 2393, 'n_words': 385}