<commit_before>
<h1><a href="<?php echo $this->url('project-settings', ['project' => $project->getName()]); ?>"><?php echo $project->getDisplayName(); ?></a> : View Deployment History</h1>

<table class="table table-striped table-hover" >
    <thead>
        <tr>
            <th>&nbsp;</th>
            <th>Date</th>
            <th>Revision</th>
            <th>Comment</th>
            <th>Status</th>
        </tr>
    </thead>
    <tbody>
    <?php foreach($deployments as $deployment): ?>
        <tr>
            <td><?php echo $deployment->getId(); ?></td>
            <td><?php echo $deployment->getDateAdded('d/m/Y H:i'); ?></td>
            <td>
                <code><?php echo $deployment->hasResolvedRevision() ? $deployment->getResolvedRevision() : $deployment->getRevision(); ?></code>
            </td>
            <td><?php echo $deployment->getComment(); ?></td>
            <td><?php echo $deployment->getStatus(); ?></td>
            <td><a href="<?php echo $this->url('show-deployment', ['deployment' => $deployment->getId()]); ?>">View</a></td>
        </tr>
    <?php endforeach; ?>
    </tbody>
</table><commit_msg>Only display first 8 characters of commit<commit_after>
<h1><a href="<?php echo $this->url('project-settings', ['project' => $project->getName()]); ?>"><?php echo $project->getDisplayName(); ?></a> : View Deployment History</h1>

<table class="table table-striped table-hover" >
    <thead>
        <tr>
            <th>&nbsp;</th>
            <th>Date</th>
            <th>Revision</th>
            <th>Comment</th>
            <th>Status</th>
        </tr>
    </thead>
    <tbody>
    <?php foreach($deployments as $deployment): ?>
        <tr>
            <td><?php echo $deployment->getId(); ?></td>
            <td><?php echo $deployment->getDateAdded('d/m/Y H:i'); ?></td>
            <td title="<?php echo $deployment->hasResolvedRevision() ? $deployment->getResolvedRevision() : $deployment->getRevision(); ?>">
                <code><?php echo $deployment->hasResolvedRevision() ? substr($deployment->getResolvedRevision(), 0, 8) : $deployment->getRevision(); ?></code>
            </td>
            <td><?php echo $deployment->getComment(); ?></td>
            <td><?php echo $deployment->getStatus(); ?></td>
            <td><a href="<?php echo $this->url('show-deployment', ['deployment' => $deployment->getId()]); ?>">View</a></td>
        </tr>
    <?php endforeach; ?>
    </tbody>
</table>
{'fraction_non_alphanumeric': 0.22281275551921503, 'fraction_numerical': 0.0028618152085036794, 'mean_word_length': 2.577485380116959, 'pattern_counts': {'":': 0, '<': 104, '<?xml version=': 0, '>': 135, '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': '929212', 'n_tokens_mistral': 767, 'n_tokens_neox': 777, 'n_words': 152}