<commit_before><div class="row">
<div class="col-md-12">
    <table class="table" id="currentdirectors">
    <caption>Current Directors</caption>
        <?php renderOfficerRows($this->officers); ?>
    </table>
    
    <table class="table" id="pastdirectors">
    <caption>Past Directors</caption>
        <?php renderOfficerRows($this->pastofficers); ?>
    </table>
    </div>
</div>

<?php

function renderOfficerRows($officers)
{
    $officerCount = 0;
?>
      <tr><th>Officer Name</th><th style="width:20%">Role</th><th style="width:10%">Status</th></tr>
      <?php foreach ($officers as $officer) : ?>
      <tr>
    			<td><a id="officer-id-<?php echo ++$officerCount ?>" href="/directories/people/<?php echo $officer['officerid']; ?>"><?php echo $officer['forename'] . ' ' . $officer['surname']; ?></a></td>
    			<td><?php echo $officer['appointmenttype']; ?></td>
    			<td><?php echo $officer['appointmentstatus']; ?>
    			
    		</tr>
      <?php endforeach; ?>
<?php
}<commit_msg>Update officer list to reference whos who id<commit_after><div class="row">
<div class="col-md-12">
    <table class="table" id="currentdirectors">
    <caption>Current Directors</caption>
        <?php renderOfficerRows($this->officers); ?>
    </table>
    
    <table class="table" id="pastdirectors">
    <caption>Past Directors</caption>
        <?php renderOfficerRows($this->pastofficers); ?>
    </table>
    </div>
</div>

<?php

function renderOfficerRows($officers)
{
    $officerCount = 0;
?>
      <tr><th>Officer Name</th><th style="width:20%">Role</th><th style="width:10%">Status</th></tr>
      <?php foreach ($officers as $officer) : ?>
      <tr>
    			<td><a id="officer-id-<?php echo ++$officerCount ?>" href="/directories/people/<?php echo $officer['whoswhoid']; ?>"><?php echo $officer['forename'] . ' ' . $officer['surname']; ?></a></td>
    			<td><?php echo $officer['appointmenttype']; ?></td>
    			<td><?php echo $officer['appointmentstatus']; ?>
    			
    		</tr>
      <?php endforeach; ?>
<?php
}
{'fraction_non_alphanumeric': 0.2164289227742253, 'fraction_numerical': 0.006886374815543532, 'mean_word_length': 3.686635944700461, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 85, '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': '6723188', 'n_tokens_mistral': 732, 'n_tokens_neox': 702, 'n_words': 127}