<commit_before><?php
/**
 * Web page to display information about a specific current hunt
 */
require_once('include/common.php');
require_once('include/database.php');
startValidSession();
htmlHead();
?>
<h1>Hunt Details</h1>
<?php
try {
    $hunt = getHuntDetails($_GET['hunt']);
    echo '<table class="table">';
    echo '<tr><td><b>Name</b></td> <td>',$hunt['name'],'</td></tr>';
    echo '<tr><td><b>Description</b></td> <td>',$hunt['descrip'],'</td></tr>';
    echo '<tr><td><b>Start Time</b></td> <td>',$hunt['start'],'</td></tr>';
    echo '<tr><td><b>Distance</b></td> <td>',$hunt['distance'],'</td></tr>';
    echo '<tr><td><b>Teams</b></td> <td>',$hunt['nteams'],'</td></tr>';
    echo '<tr><td><b>Waypoints</b></td> <td>',$hunt['n_wp'],'</td></tr>';
    echo '</table>'
} catch (Exception $e) {
    echo 'Cannot get hunt details';
}
htmlFoot();
?><commit_msg>Add missing ;<commit_after><?php
/**
 * Web page to display information about a specific current hunt
 */
require_once('include/common.php');
require_once('include/database.php');
startValidSession();
htmlHead();
?>
<h1>Hunt Details</h1>
<?php
try {
    $hunt = getHuntDetails($_GET['hunt']);
    echo '<table class="table">';
    echo '<tr><td><b>Name</b></td> <td>',$hunt['name'],'</td></tr>';
    echo '<tr><td><b>Description</b></td> <td>',$hunt['descrip'],'</td></tr>';
    echo '<tr><td><b>Start Time</b></td> <td>',$hunt['start'],'</td></tr>';
    echo '<tr><td><b>Distance</b></td> <td>',$hunt['distance'],'</td></tr>';
    echo '<tr><td><b>Teams</b></td> <td>',$hunt['nteams'],'</td></tr>';
    echo '<tr><td><b>Waypoints</b></td> <td>',$hunt['n_wp'],'</td></tr>';
    echo '</table>';
} catch (Exception $e) {
    echo 'Cannot get hunt details';
}
htmlFoot();
?>
{'fraction_non_alphanumeric': 0.31095811818703384, 'fraction_numerical': 0.002294893861158921, 'mean_word_length': 5.296028880866426, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 111, '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': '2681185', 'n_tokens_mistral': 661, 'n_tokens_neox': 672, 'n_words': 112}