<commit_before><?php
/**
 * @var \Fabfuel\Prophiler\Toolbar\Formatter\BenchmarkFormatterInterface $benchmarkFormatter
 */
?>
<div class="panel-group panel-collapse collapse" id="<?= $dataCollector->getTitle() ?>" role="tablist" style="margin-top: 5px;">

    <?php foreach ($dataCollector->getData() as $dataName => $data): ?>

    <div class="panel panel-default">
        <div class="panel-heading" role="tab" id="heading-<?= $dataName ?>">
            <h4 class="panel-title" style="font-size: 1.1em">
                <a class="collapsed" data-toggle="collapse" data-parent="#benchmarks" href="#collapse-<?= $dataName ?>" aria-expanded="false" aria-controls="collapseTwo">
                    <?= $dataName ?>
                </a>
            </h4>
        </div>
        <div id="collapse-<?= $dataName ?>" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading-<?= $dataName ?>">
            <div class="panel-body">
                <json style="white-space: pre;"><?= json_encode($data); ?></json>
            </div>
        </div>
    </div>

    <?php endforeach; ?>
</div><commit_msg>Don't use panel headings in data collector view<commit_after><div class="panel-group panel-collapse collapse" id="<?= $dataCollector->getTitle() ?>" role="tablist" style="margin-top: 5px;">
    <div class="panel-body">
        <h4><?= $dataCollector->getTitle() ?></h4>
        <dl class="dl-horizontal">
            <?php foreach ($dataCollector->getData() as $dataName => $data): ?>
                <?php if (empty($data)): continue; endif; ?>
                <dt><?= $dataName ?></dt>
                <dd>
                    <?php if (is_array($data)): ?>
                        <details>
                            <summary>JSON</summary>
                            <json style="white-space: pre;"><?= json_encode($data); ?></json>
                        </details>
                    <?php else: ?>
                        <?= nl2br($data) ?></td>
                    <?php endif; ?>
                </dd>
            <?php endforeach; ?>
        </dl>
    </div>
</div>
{'fraction_non_alphanumeric': 0.1921606118546845, 'fraction_numerical': 0.004302103250478011, 'mean_word_length': 2.0779411764705884, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 66, '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': '6198889', 'n_tokens_mistral': 618, 'n_tokens_neox': 604, 'n_words': 124}