<commit_before><div class="container">
    <section>
        <h1>Current Asset</h1>

        <? if ($chunk->has_content()): ?>
            <a href="#">
                <img src="<?= Route::url('asset', array('id' => $chunk->target(), 'action' => 'thumb')) ?>" />
            </a>
        <? else: ?>
            <p>
                None set
            </p>
        <? endif ?>
    </section>

    <section>
        <h1>Attributes</h1>

        <? if ($chunk->getCaption()): ?>
            <label>
                Caption

                <input type="text" class="caption" value="<?= $chunk->getCaption() ?>" />
            </label>
        <? endif ?>

        <? if ($chunk->getLink()): ?>
            <label>
                Link

                <input type="text" class="link" value="<?= $chunk->getLink()->getTitle() ?>" />
            </label>
        <? endif ?>
    </section>
</div><commit_msg>Fixed instance of Chunk->has_content() (should have been hasContent()<commit_after><div class="container">
    <section>
        <h1>Current Asset</h1>

        <? if ($chunk->hasContent()): ?>
            <a href="#">
                <img src="<?= Route::url('asset', array('id' => $chunk->target(), 'action' => 'thumb')) ?>" />
            </a>
        <? else: ?>
            <p>
                None set
            </p>
        <? endif ?>
    </section>

    <section>
        <h1>Attributes</h1>

        <? if ($chunk->getCaption()): ?>
            <label>
                Caption

                <input type="text" class="caption" value="<?= $chunk->getCaption() ?>" />
            </label>
        <? endif ?>

        <? if ($chunk->getLink()): ?>
            <label>
                Link

                <input type="text" class="link" value="<?= $chunk->getLink()->getTitle() ?>" />
            </label>
        <? endif ?>
    </section>
</div>
{'fraction_non_alphanumeric': 0.2096514745308311, 'fraction_numerical': 0.004289544235924933, 'mean_word_length': 1.4520367936925098, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 84, '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': '7298804', 'n_tokens_mistral': 555, 'n_tokens_neox': 532, 'n_words': 106}