<commit_before><?php
/**
 * Legacy template for compatibility with versions prior to 2.0.0
 *
 * @version     2.0.0
 */
?>

<?php if ($instance['before_posts']) : ?>
  <div class="upw-before">
    <?php echo wpautop($instance['before_posts']); ?>
  </div>
<?php endif; ?>

<?php if ($upw_query->have_posts()) : ?>

  <ul>

  <?php while ($upw_query->have_posts()) : $upw_query->the_post(); ?>

    <?php $current_post = ($post->ID == $current_post_id && is_single()) ? 'current-post-item' : ''; ?>

    <li <?php post_class($current_post); ?>><commit_msg>remove post_class from legacy template<commit_after><?php
/**
 * Legacy template for compatibility with versions prior to 2.0.0
 *
 * @version     2.0.0
 */
?>

<?php if ($instance['before_posts']) : ?>
  <div class="upw-before">
    <?php echo wpautop($instance['before_posts']); ?>
  </div>
<?php endif; ?>

<?php if ($upw_query->have_posts()) : ?>

  <ul>

  <?php while ($upw_query->have_posts()) : $upw_query->the_post(); ?>

    <?php $current_post = ($post->ID == $current_post_id && is_single()) ? 'current-post-item' : ''; ?>

    <li class="<?php echo ($post->ID == $current_post_id && is_single())?'current-post-item':'' ?>">
{'fraction_non_alphanumeric': 0.22921914357682618, 'fraction_numerical': 0.010075566750629723, 'mean_word_length': 4.16017316017316, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 36, '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': '1030894', 'n_tokens_mistral': 428, 'n_tokens_neox': 416, 'n_words': 87}