<commit_before><?php
/**
 * @author <NAME> <<EMAIL>>
 * @date 1-3-2017
 */
?>

<div class="col-md-12 vmargin col-md-offset-0">
    <div class="container">
        <!-- Tabs with icons on Card -->
        <div class="card card-nav-tabs">
            <div class="header header-primary">
                <div class="text-center">
                    <h4><?=lang('leaderboard_title')?></h4>
                    <p><?=lang('leaderboard_subtext')?></p>
                </div>
            </div>
            <div class="content">
                <div class="content">
                    <div class="tab-content text-center"><div class="tab-pane active" id="ordered-first-name">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th><?=lang('leaderboard_table_header_name')?></th>
                                <th><?=lang('leaderboard_table_header_sum')?></th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php foreach ($entries as $entry) { ?>
                                <tr>
                                    <td><?=$entry[$fields['first_name']] . ' ' . $entry[$fields['last_name']]?></td>
                                    <td><?=-$entry[$fields['sum']]?></td>
                                </tr>
                            <?php } ?><commit_msg>new: added numbering<commit_after><?php
/**
 * @author <NAME> <<EMAIL>>
 * @date 1-3-2017
 */
?>

<div class="col-md-12 vmargin col-md-offset-0">
    <div class="container">
        <!-- Tabs with icons on Card -->
        <div class="card card-nav-tabs">
            <div class="header header-primary">
                <div class="text-center">
                    <h4><?=lang('leaderboard_title')?></h4>
                    <p><?=lang('leaderboard_subtext')?></p>
                </div>
            </div>
            <div class="content">
                <div class="content">
                    <div class="tab-content text-center"><div class="tab-pane active" id="ordered-first-name">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th>#</th>
                                <th><?=lang('leaderboard_table_header_name')?></th>
                                <th><?=lang('leaderboard_table_header_sum')?></th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php $count = 0; foreach ($entries as $entry) { ?>
                                <tr>
                                    <td><?=++$count?></td>
                                    <td><?=$entry[$fields['first_name']] . ' ' . $entry[$fields['last_name']]?></td>
                                    <td><?=-$entry[$fields['sum']]?></td>
                                </tr>
                            <?php } ?>
{'fraction_non_alphanumeric': 0.16617308325106944, 'fraction_numerical': 0.007568279039157618, 'mean_word_length': 1.0596205962059622, 'pattern_counts': {'":': 0, '<': 96, '<?xml version=': 0, '>': 96, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5661611', 'n_tokens_mistral': 833, 'n_tokens_neox': 794, 'n_words': 126}