<commit_before><?php $index = 0 ?>

@foreach($orders as $order)
    @if($order->status == 'shipped')
        @continue
    @endif

    @if($index % 5 == 0)
        <div class="well" data-aggregate-id="new">
            <span class="glyphicon glyphicon-fullscreen pull-right explode-aggregate" aria-hidden="true"></span>

            <ul>
                <!-- Questo viene lasciato deliberatamente vuoto per poter fungere da appoggio per la creazione di un nuovo aggregato -->
            </ul>
        </div>
    @endif

    <div class="well" data-aggregate-id="{{ $order->id }}">
        <span class="glyphicon glyphicon-fullscreen pull-right explode-aggregate" aria-hidden="true"></span>

        <ul>
            @foreach($order->orders as $suborder)
                <li data-order-id="{{ $suborder->id }}">
                    {{ $suborder->printableName() }}<br/>
                    <small>{{ $suborder->printableDates() }}</small>
                </li>
            @endforeach
        </ul>
    </div>

    <?php $index++ ?>
@endforeach<commit_msg>inclusi anche ordini consegnati in pannello aggregazione<commit_after><?php $index = 0 ?>

@foreach($orders as $order)
    @if($index % 5 == 0)
        <div class="well" data-aggregate-id="new">
            <span class="glyphicon glyphicon-fullscreen pull-right explode-aggregate" aria-hidden="true"></span>

            <ul>
                <!-- Questo viene lasciato deliberatamente vuoto per poter fungere da appoggio per la creazione di un nuovo aggregato -->
            </ul>
        </div>
    @endif

    <div class="well" data-aggregate-id="{{ $order->id }}">
        <span class="glyphicon glyphicon-fullscreen pull-right explode-aggregate" aria-hidden="true"></span>

        <ul>
            @foreach($order->orders as $suborder)
                <li data-order-id="{{ $suborder->id }}">
                    {{ $suborder->printableName() }}<br/>
                    <small>{{ $suborder->printableDates() }}</small>
                </li>
            @endforeach
        </ul>
    </div>

    <?php $index++ ?>
@endforeach
{'fraction_non_alphanumeric': 0.1601150527325024, 'fraction_numerical': 0.0028763183125599234, 'mean_word_length': 2.0964391691394657, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 54, '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': '6194310', 'n_tokens_mistral': 649, 'n_tokens_neox': 609, 'n_words': 145}