<commit_before>.filter
  .filter-wrapper
    = active_link_to 'All', recipes_path, class: 'btn button-filter'
    - Category.all.each do |category|
      = active_link_to category.name, recipes_path(category: category.name), class: 'btn button-filter'
- @recipe.each_slice(3) do |recipes|
  #first.row
    - recipes.each do |recipe|
      .col-md-4
        .recipe
          .image-wrapper
            = link_to (image_tag recipe.image.url(:medium)), recipe
          .recipe-name
            %h3= link_to recipe.name, recipe
            - #to do: add rating
.text-center
  = paginate @recipe
<commit_msg>add star rating to recipe#index view<commit_after>.filter
  .filter-wrapper
    = active_link_to 'All', recipes_path, class: 'btn button-filter'
    - Category.all.each do |category|
      = active_link_to category.name, recipes_path(category: category.name), class: 'btn button-filter'
- @recipe.each_slice(3) do |recipes|
  #first.row
    - recipes.each do |recipe|
      .col-md-4
        .recipe
          .image-wrapper
            = link_to (image_tag recipe.image.url(:medium)), recipe
          .recipe-name
            %h3= link_to recipe.name, recipe
          .review-rating-box
            .average-review-rating{"data-score" => "#{recipe.average_review}"}
            .counts-review-rating= "#{recipe.counts_review}"
.text-center
  = paginate @recipe

{'fraction_non_alphanumeric': 0.12636961285609935, 'fraction_numerical': 0.004382761139517896, 'mean_word_length': 2.5128205128205128, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '951441', 'n_tokens_mistral': 445, 'n_tokens_neox': 442, 'n_words': 94}