<commit_before><h2 class="search-title">Search results for <?php the_search_query(); ?> </h2>
<?php while (have_posts()) : the_post() ?>
<article <?php post_class() ?>>
  <header>
    <h2 class="entry-title"><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h2>
    <?php get_template_part('templates/entry-meta') ?>
    <?php if ( has_post_thumbnail() ) {
    	the_post_thumbnail('large');
    	} ?> 
  </header>
  <div class="entry-summary">
    <?php the_excerpt() ?>
  </div>
  <footer>
    <a class="read-more" href="<?php the_permalink() ?>">Read more</a>
    —
    <a href="<?php comments_link() ?>"><?php printf(_n('1 comment', '%1$s comments', get_comments_number(), 'roots'), number_format_i18n(get_comments_number())) ?></a>
  </footer>
</article>
<?php endwhile ?>
 <commit_msg>no search results<commit_after><h2 class="search-title">Search results for <?php the_search_query(); ?> </h2>

<?php if ( have_posts() ) { ?>
  
  <?php while (have_posts()) : the_post() ?>
    <article <?php post_class() ?>>
      <header>
        <h2 class="entry-title"><a href="<?php the_permalink() ?>"><?php the_title() ?></a></h2>
        <?php get_template_part('templates/entry-meta') ?>
        <?php if ( has_post_thumbnail() ) {
        	the_post_thumbnail('large');
        	} ?> 
      </header>
      <div class="entry-summary">
        <?php the_excerpt() ?>
      </div>
      <footer>
        <a class="read-more" href="<?php the_permalink() ?>">Read more</a>
        —
        <a href="<?php comments_link() ?>"><?php printf(_n('1 comment', '%1$s comments', get_comments_number(), 'roots'), number_format_i18n(get_comments_number())) ?></a>
      </footer>
    </article>
  <?php endwhile ?>

<?php } else { ?>
  <article>
    <p>No results found on <strong><?php echo get_bloginfo('name'); ?>.</strong></p>
    <p>Please try searching again using different words or try this search on <a href="https://www.gov.uk/">Gov.uk</a>.</p>
  </article>
<?php } ?>
 
{'fraction_non_alphanumeric': 0.21851289833080426, 'fraction_numerical': 0.008093070308548306, 'mean_word_length': 3.7320574162679425, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, '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': '7109736', 'n_tokens_mistral': 679, 'n_tokens_neox': 683, 'n_words': 148}