<commit_before><?php if (!is_null($data) && $data !== []): ?>
    <dt><?= $dataName ?></dt>
    <dd>
        <?php if (is_array($data)): ?>
                <?php if (empty($json)): ?>
                    <?php $this->partial('partials/details/data/array', ['data' => $data]); ?>
                <?php else: ?>
                    <?php $this->partial('partials/details/data/json', ['data' => $data]); ?>
                <?php endif; ?>
        <?php elseif (is_string($data)): ?>
            <?php nl2br($data) ?>
        <?php elseif (is_object($data)): ?>
            <pre>
                <?php var_dump($data); ?>
            </pre>
        <?php endif; ?>
    </dd>
<?php endif; ?>
<commit_msg>default to var_dump, echo string type<commit_after><?php if (!is_null($data) && $data !== []): ?>
    <dt><?= $dataName ?></dt>
    <dd>
        <?php if (is_array($data)): ?>
            <?php if (empty($json)): ?>
                <?php $this->partial('partials/details/data/array', ['data' => $data]); ?>
            <?php else: ?>
                <?php $this->partial('partials/details/data/json', ['data' => $data]); ?>
            <?php endif; ?>
        <?php elseif (is_string($data)): ?>
            <?= nl2br($data) ?>
        <?php else: ?>
            <pre>
                <?php var_dump($data); ?>
            </pre>
        <?php endif; ?>
    </dd>
<?php endif; ?>

{'fraction_non_alphanumeric': 0.23567802755620015, 'fraction_numerical': 0.0014503263234227702, 'mean_word_length': 1.7766599597585513, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 51, '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': '2556013', 'n_tokens_mistral': 434, 'n_tokens_neox': 429, 'n_words': 89}