<commit_before><?php include 'header.phtml'; ?>

<h2>Score &mdash; <?php echo round(count($correct) * 100 / (count($incorrect) + count($correct))); ?>%</h2>

<h3>Incorrect</h3>

<ul>
    <?php foreach ($incorrect as $vocab): ?>
    <li><a href="<?php echo $vocab->get_permalink(); ?>"><?php echo htmlentities($vocab->front); ?></a></li>
    <?php endforeach; ?>
</ul>

<h3>Correct</h3>

<ul>
    <?php foreach ($correct as $vocab): ?>
    <li><a href="<?php echo $vocab->get_permalink(); ?>"><?php echo htmlentities($vocab->front); ?></a></li>
    <?php endforeach; ?>
</ul>

<?php include 'footer.phtml'; ?><commit_msg>Fix score page<commit_after><?php include 'header.phtml'; ?>

<h2>Score &mdash; <?php echo round(count($correct) * 100 / (count($incorrect) + count($correct))); ?>%</h2>

<h3>Level Down</h3>

<ul class="vocabularies">
    <?php foreach ($incorrect as $vocab): ?>
    <li class="<?php echo strtolower($vocab->get_human_level()); ?>">
        <a href="<?php echo $vocab->get_permalink(); ?>">
            <?php echo htmlentities($vocab->front); ?>
        </a>
    </li>
    <?php endforeach; ?>
</ul>

<h3>Level Up</h3>

<ul class="vocabularies">
    <?php foreach ($correct as $vocab): ?>
    <li class="<?php echo strtolower($vocab->get_human_level()); ?>">
        <a href="<?php echo $vocab->get_permalink(); ?>">
            <?php echo htmlentities($vocab->front); ?>
        </a>
    </li>
    <?php endforeach; ?>
</ul>

<?php include 'footer.phtml'; ?>
{'fraction_non_alphanumeric': 0.2434077079107505, 'fraction_numerical': 0.012170385395537525, 'mean_word_length': 3.9498327759197323, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 73, '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': '5748350', 'n_tokens_mistral': 557, 'n_tokens_neox': 565, 'n_words': 118}