<commit_before><section ng-if="challenge.isParticipated" class="ev-sm-container ev-view ">
    <div class="row">
        <div class="col s12 m12">
            <div class=" ev-card-panel ev-z-depth-5 ">
                <div class="loader-container card-loader-container" id="loader" ng-show="challenge.isExistLoader" class="fade">
                    <div class="loader">
                        <div></div>
                        <div></div>
                        <div></div>
                        <div></div>
                        <div></div>
                    </div>
                </div>
                <div class="ev-md-container ev-panel-title">
                    <div ng-click="challenge.refreshSubmissionData()" class="pointer update-page" ng-if="challenge.showUpdate">
                        <span class="text-white">Page is Outdated, Click to update&nbsp; <i class="fa fa-refresh text-highlight"></i></span>
                    </div>
                    <div class="row">
                        <div class="col s12">
                            <strong>Please select a phase to get list of submissions!</strong>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col xs12 s6">
                            <span><md-select ng-model="challenge.phase.name" placeholder="Phase" class="rm-margin">
                            <md-option ng-click="challenge.getResults(key.id)" value="{{key.name}}" ng-repeat="key in challenge.phases.results">{{key.name}}</md-option>
                        </md-select></span>
                        </div>
                    </div>
                </div>
                <div class=" ev-card-body exist-team-card">
                    <div class="row">
                        <div class="col s12">
                            <div ng-if="!challenge.isResult" class="result-wrn">No phase selected.</div>
                            <table ng-if="challenge.isResult" class="highlight">
                                <thead>
                                    <tr>
                                        <th data-field="team">Team Name</th>
                                        <th data-field="status">Status</th>
                                        <th class="align-center" data-field="status">Execution Time (sec.)</th>
                                        <th data-field="file">Submitted File</th>
                                        <th data-field="file">Result File</th>
                                        <th data-field="file">Stdout File</th>
                                        <th data-field="file">Stderr File</th>
                                        <th data-field="file">Submitted At</th>
                                        <th ng-if="challenge.currentPhaseLeaderboardPublic" data-field="file">Show on Leaderboard</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr ng-repeat="key in challenge.submissionResult.results" class="result-val">
                                        <td>{{key.participant_team_name}}</td>
                                        <td class="val-style capitalize" ng-class="key.status">{{key.status}}</td>
                                        <td class="align-center">{{key.execution_time}}</td>
                                        <td><a href="{{key.input_file}}" target="_blank" class="blue-text"><i class="fa fa-external-link"></i> Link</a></td>
                                        <td ng-if="key.submission_result_file"><a href="{{key.submission_result_file}}" target="_blank" class="blue-text"><i class="fa fa-external-link"></i> Link</a></td>
                                        <td ng-if="!key.submission_result_file">None</td>
                                        <td><a href="{{key.stdout_file}}" target="_blank" class="blue-text"><i class="fa fa-external-link"></i> Link</a></td>
                                        <td ng-if="!key.stdout_file">None</td>
                                        <td><a href="{{key.stderr_file}}" target="_blank" class="blue-text"><i class="fa fa-external-link"></i> Link</a></td>
                                        <td ng-if="!key.stderr_file">None</td>
                                        <td>{{key.submitted_at | date:'medium'}}</td>
                                        <td ng-if="challenge.currentPhaseLeaderboardPublic" class="center">
                                            <input ng-checked="key.is_public" ng-if="key.status == 'finished'" ng-model="challenge.submissionVisibility[key.id]" type="checkbox" id="isPublic{{ key.id }}" ng-change="challenge.changeSubmissionVisibility(key.id)" />
                                            <label for="isPublic{{ key.id }}"></label>
                                            <span ng-if="key.status !== 'finished'" class="center"> N/A </span>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>

                    </div>
                    <section class="pagination" ng-if="challenge.showPagination">
                      <div class="row"><commit_msg>Frontend: Fix business logic for showing std-err column (#911)<commit_after><section ng-if="challenge.isParticipated" class="ev-sm-container ev-view ">
    <div class="row">
        <div class="col s12 m12">
            <div class=" ev-card-panel ev-z-depth-5 ">
                <div class="loader-container card-loader-container" id="loader" ng-show="challenge.isExistLoader" class="fade">
                    <div class="loader">
                        <div></div>
                        <div></div>
                        <div></div>
                        <div></div>
                        <div></div>
                    </div>
                </div>
                <div class="ev-md-container ev-panel-title">
                    <div ng-click="challenge.refreshSubmissionData()" class="pointer update-page" ng-if="challenge.showUpdate">
                        <span class="text-white">Page is Outdated, Click to update&nbsp; <i class="fa fa-refresh text-highlight"></i></span>
                    </div>
                    <div class="row">
                        <div class="col s12">
                            <strong>Please select a phase to get list of submissions!</strong>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col xs12 s6">
                            <span><md-select ng-model="challenge.phase.name" placeholder="Phase" class="rm-margin">
                            <md-option ng-click="challenge.getResults(key.id)" value="{{key.name}}" ng-repeat="key in challenge.phases.results">{{key.name}}</md-option>
                        </md-select></span>
                        </div>
                    </div>
                </div>
                <div class=" ev-card-body exist-team-card">
                    <div class="row">
                        <div class="col s12">
                            <div ng-if="!challenge.isResult" class="result-wrn">No phase selected.</div>
                            <table ng-if="challenge.isResult" class="highlight">
                                <thead>
                                    <tr>
                                        <th data-field="team">Team Name</th>
                                        <th data-field="status">Status</th>
                                        <th class="align-center" data-field="status">Execution Time (sec.)</th>
                                        <th data-field="file">Submitted File</th>
                                        <th data-field="file">Result File</th>
                                        <th data-field="file">Stdout File</th>
                                        <th data-field="file">Stderr File</th>
                                        <th data-field="file">Submitted At</th>
                                        <th ng-if="challenge.currentPhaseLeaderboardPublic" data-field="file">Show on Leaderboard</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr ng-repeat="key in challenge.submissionResult.results" class="result-val">
                                        <td>{{key.participant_team_name}}</td>
                                        <td class="val-style capitalize" ng-class="key.status">{{key.status}}</td>
                                        <td class="align-center">{{key.execution_time}}</td>
                                        <td><a href="{{key.input_file}}" target="_blank" class="blue-text"><i class="fa fa-external-link"></i> Link</a></td>
                                        <td ng-if="key.submission_result_file"><a href="{{key.submission_result_file}}" target="_blank" class="blue-text"><i class="fa fa-external-link"></i> Link</a></td>
                                        <td ng-if="!key.submission_result_file">None</td>
                                        <td><a href="{{key.stdout_file}}" target="_blank" class="blue-text"><i class="fa fa-external-link"></i> Link</a></td>
                                        <td ng-if="!key.stdout_file">None</td>
                                        <td ng-if="key.stderr_file"><a href="{{key.stderr_file}}" target="_blank" class="blue-text"><i class="fa fa-external-link"></i> Link</a></td>
                                        <td ng-if="!key.stderr_file">None</td>
                                        <td>{{key.submitted_at | date:'medium'}}</td>
                                        <td ng-if="challenge.currentPhaseLeaderboardPublic" class="center">
                                            <input ng-checked="key.is_public" ng-if="key.status == 'finished'" ng-model="challenge.submissionVisibility[key.id]" type="checkbox" id="isPublic{{ key.id }}" ng-change="challenge.changeSubmissionVisibility(key.id)" />
                                            <label for="isPublic{{ key.id }}"></label>
                                            <span ng-if="key.status !== 'finished'" class="center"> N/A </span>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>

                    </div>
                    <section class="pagination" ng-if="challenge.showPagination">
                      <div class="row">
{'fraction_non_alphanumeric': 0.14064362336114422, 'fraction_numerical': 0.002475474465939305, 'mean_word_length': 1.1234183375510998, 'pattern_counts': {'":': 0, '<': 253, '<?xml version=': 0, '>': 253, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 101, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2362764', 'n_tokens_mistral': 2630, 'n_tokens_neox': 2441, 'n_words': 448}