<commit_before><?php
  $carousel_posts = IGV_get_option('_igv_home_options', '_igv_carousel_posts');

  if ($carousel_posts) {
?>
<div class="grid-row margin-bottom-large">
  <div class="grid-item item-s-12">
    <div class="swiper-container home-carousel text-align-center font-style-shadow">
      <div class="swiper-wrapper">
      <?php
        global $post;
        foreach ($carousel_posts as $carousel_post) {
          $post = $carousel_post['_igv_carousel_post_id'];
          setup_postdata($post);

          $link = get_the_permalink();

          if ($carousel_post['_igv_link_media']) {
            $link = $link . '?autoplay';
          }

          if (!empty($carousel_post['_igv_carousel_image_override_id'])) {
            $background_url = wp_get_attachment_image_src($carousel_post['_igv_carousel_image_override_id'], 'l-12-carousel');
          } else {<commit_msg>fix conditionals<commit_after><?php
  $carousel_posts = IGV_get_option('_igv_home_options', '_igv_carousel_posts');

  if (!empty($carousel_posts)) {
?>
<div class="grid-row margin-bottom-large">
  <div class="grid-item item-s-12">
    <div class="swiper-container home-carousel text-align-center font-style-shadow">
      <div class="swiper-wrapper">
      <?php
        global $post;
        foreach ($carousel_posts as $carousel_post) {
          $post = $carousel_post['_igv_carousel_post_id'];
          setup_postdata($post);

          $link = get_the_permalink();

          if (!empty($carousel_post['_igv_link_media'])) {
            $link = $link . '?autoplay';
          }

          if (!empty($carousel_post['_igv_carousel_image_override_id'])) {
            $background_url = wp_get_attachment_image_src($carousel_post['_igv_carousel_image_override_id'], 'l-12-carousel');
          } else {
{'fraction_non_alphanumeric': 0.14277746793084217, 'fraction_numerical': 0.004461795872838818, 'mean_word_length': 3.3125, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, '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': '1675219', 'n_tokens_mistral': 613, 'n_tokens_neox': 600, 'n_words': 85}