<commit_before><h3><?php echo $person->first_name.' '.$person->last_name; ?></h3>
<a href="/person/edit/<?php echo $person->id; ?>" class="small button" id="ping-add-contact">Edit</a>
<a href="/person/edit/?parent_id=<?php echo $person->id; ?>" class="small button" id="ping-add-contact">Add Secondary Contact</a>

<div class="panel">
	Status: <strong><?php echo strtoupper($person->status); ?></strong> (<?php echo date('Y-m-d', strtotime($person->updated)); ?>)
</div>

<h4>Pings</h4>
<table class="display dataTable" id="activity">
	<thead>
		<tr><commit_msg>Prevent secondary contacts from having secondary contacts<commit_after><h3><?php echo $person->first_name.' '.$person->last_name; ?></h3>
<a href="/person/edit/<?php echo $person->id; ?>" class="small button" id="ping-add-contact">Edit</a>
<?php
// Make sure this isn't a secondary contact
if ( $person->parent_id == 0 ): ?>
<a href="/person/edit/?parent_id=<?php echo $person->id; ?>" class="small button" id="ping-add-contact">Add Secondary Contact</a>
<?php endif;?>
<div class="panel">
	Status: <strong><?php echo strtoupper($person->status); ?></strong> (<?php echo date('Y-m-d', strtotime($person->updated)); ?>)
</div>

<h4>Pings</h4>
<table class="display dataTable" id="activity">
	<thead>
		<tr>
{'fraction_non_alphanumeric': 0.23520126282557222, 'fraction_numerical': 0.007103393843725336, 'mean_word_length': 6.2457142857142856, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 58, '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': '658208', 'n_tokens_mistral': 449, 'n_tokens_neox': 445, 'n_words': 98}