<commit_before><div class="daily-box"><div class="pageWidth">
    <header class="clearfix">
        <h2>{{ trans('achievement.daily.header') }}</h2>
        <div class="daily-box__reset">
            {{ trans('achievement.daily.reset', [
                'reset' => '<time id="daily-reset-time" datetime="'.$daily->reset->format(\Carbon\Carbon::RFC3339).'">'.
                    $daily->reset->diff(\Carbon\Carbon::now())->format('%H:%I:%S').'</time>'
            ]) }}
        </div>
        <script>
            (function(e) {
                if(!e) return;
                function f(x) { return x<0?'00':('0'+~~(x%60)).slice(-2); }
                var d = new Date(e.getAttribute('datetime'));
                window.setInterval(function() {
                    var s = (d-new Date)/1000;
                    e.innerHTML = [s/3600,s/60,s].map(f).join(':');
                }, 1000);
            })(document.getElementById('daily-reset-time'));
        </script>
    </header>
    <div class="daily-box__content">
    @foreach([['pve', 'pvp'], ['wvw', 'fractals']] as $row)
        <div class="daily-box__row clearfix">
        @foreach($row as $type)
            <div class="daily-box__column">
                <h3>{{ trans('achievement.daily.type.'.$type) }}</h3>
                <ul class="itemList">
                    @foreach($daily->achievements->{$type} as $achievement)
                        @if(isset($achievement->achievement))
                            <li>
                                {{ $achievement->achievement->link(32) }}
                                <span class="daily-box__level">
                                    @if(!is_null($achievement->level))
                                        @lang('achievement.daily.level', (array)$achievement->level)
                                    @endif
                                </span>
                            </li>
                        @endif
                    @endforeach
                </ul>
            </div>
        @endforeach
        </div>
    @endforeach
    </div>
    @if(!empty($daily->achievements->special))
        <div class="daily-box__content clearfix">
            <h3>{{ trans('achievement.daily.type.special') }}</h3>
            <ul class="itemList">
                @foreach($daily->achievements->special as $achievement)
                    <li>
                        {{ $achievement->achievement->link(32) }}
                        <span class="daily-box__level">
                            @if(!is_null($achievement->level))
                                @lang('achievement.daily.level', (array)$achievement->level)
                            @endif
                        </span>
                    </li>
                @endforeach
            </ul>
        </div>
    @endif
    <div class="daily-box__completion clearfix">
        <?php $completion = Achievement::find(1840); ?>
        <div class="daily-box__completion__achievement">
            {{ $completion->link(32) }}<commit_msg>only show existing special achievements<commit_after><div class="daily-box"><div class="pageWidth">
    <header class="clearfix">
        <h2>{{ trans('achievement.daily.header') }}</h2>
        <div class="daily-box__reset">
            {{ trans('achievement.daily.reset', [
                'reset' => '<time id="daily-reset-time" datetime="'.$daily->reset->format(\Carbon\Carbon::RFC3339).'">'.
                    $daily->reset->diff(\Carbon\Carbon::now())->format('%H:%I:%S').'</time>'
            ]) }}
        </div>
        <script>
            (function(e) {
                if(!e) return;
                function f(x) { return x<0?'00':('0'+~~(x%60)).slice(-2); }
                var d = new Date(e.getAttribute('datetime'));
                window.setInterval(function() {
                    var s = (d-new Date)/1000;
                    e.innerHTML = [s/3600,s/60,s].map(f).join(':');
                }, 1000);
            })(document.getElementById('daily-reset-time'));
        </script>
    </header>
    <div class="daily-box__content">
    @foreach([['pve', 'pvp'], ['wvw', 'fractals']] as $row)
        <div class="daily-box__row clearfix">
        @foreach($row as $type)
            <div class="daily-box__column">
                <h3>{{ trans('achievement.daily.type.'.$type) }}</h3>
                <ul class="itemList">
                    @foreach($daily->achievements->{$type} as $achievement)
                        @if(isset($achievement->achievement))
                            <li>
                                {{ $achievement->achievement->link(32) }}
                                <span class="daily-box__level">
                                    @if(!is_null($achievement->level))
                                        @lang('achievement.daily.level', (array)$achievement->level)
                                    @endif
                                </span>
                            </li>
                        @endif
                    @endforeach
                </ul>
            </div>
        @endforeach
        </div>
    @endforeach
    </div>
    @if(!empty($daily->achievements->special))
        <div class="daily-box__content clearfix">
            <h3>{{ trans('achievement.daily.type.special') }}</h3>
            <ul class="itemList">
                @foreach($daily->achievements->special as $achievement)
                    @if(isset($achievement->achievement))
                        <li>
                            {{ $achievement->achievement->link(32) }}
                            <span class="daily-box__level">
                                @if(!is_null($achievement->level))
                                    @lang('achievement.daily.level', (array)$achievement->level)
                                @endif
                            </span>
                        </li>
                    @endif
                @endforeach
            </ul>
        </div>
    @endif
    <div class="daily-box__completion clearfix">
        <?php $completion = Achievement::find(1840); ?>
        <div class="daily-box__completion__achievement">
            {{ $completion->link(32) }}
{'fraction_non_alphanumeric': 0.16243736867625666, 'fraction_numerical': 0.013253596250202037, 'mean_word_length': 1.3564356435643565, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 126, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 9, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5437289', 'n_tokens_mistral': 1816, 'n_tokens_neox': 1656, 'n_words': 242}