<commit_before><div class="single-dish" ><li>
  <%= dish.title %>
  <ul>
    <li>Venue: <%= dish.venue.name %></li>
    <% if dish.dishpicture.file? %>
      <li>
        <div class="reveal"> 
          <%= image_tag dish.dishpicture.url(:thumb) %>
          <div class="hidden">
            <div class="caption">
              <div><%= dish.title %></div>    
                <div class="bottom"><%= dish.review %></div>
            </div><!-- end of .caption -->
          </div><!-- end of .hidden -->
        </div>
      </li>
    <% else %>
      <li>
        <div class="reveal">
          <%= image_tag("No_image_available.svg", size: '150x150') %>
          <div class="hidden">
            <div class="caption">
              <div><%= dish.title %></div>    
                <div class="bottom"><%= dish.review %></div>
            </div><!-- end of .caption -->
          </div><!-- end of .hidden -->
        </div>
      </li>
    <% end %>
    <li>Review: <%= dish.review %></li>
  </ul>
</li>
</div><commit_msg>refactored dish partail<commit_after><div class="single-dish" ><li>
  <%= dish.title %>
  <ul>
    <li>Venue: <%= dish.venue.name %></li>
      <li>
        <div class="reveal"> 
          <%= (dish.dishpicture.file? ? image_tag(dish.dishpicture.url(:thumb)) : image_tag("No_image_available.svg", size: '150x150')) %>
          <div class="hidden">
            <div class="caption">
              <div><%= dish.title %></div>    
                <div class="bottom"><%= dish.review %></div>
            </div><!-- end of .caption -->
          </div><!-- end of .hidden -->
        </div><!-- end of .reveal -->
      </li>
    <li>Review: <%= dish.review %></li>
  </ul>
</li>
</div>
{'fraction_non_alphanumeric': 0.22865497076023392, 'fraction_numerical': 0.007017543859649123, 'mean_word_length': 1.733226837060703, 'pattern_counts': {'":': 0, '<': 84, '<?xml version=': 0, '>': 84, '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': '3373629', 'n_tokens_mistral': 609, 'n_tokens_neox': 561, 'n_words': 118}