<commit_before>%h3 New "#{@anime.title}" review

- if user_signed_in?
  = form_for (@review = Review.new), url: anime_reviews_path(@anime) do |f|
    = f.label :content
    = f.text_area :content, rows: 7
    .user-reviews
      - if current_user.star_rating? or true
        .advanced-rating
          .rating.six.columns
            = radio_button "review", "rating", 2
            = radio_button "review", "rating", 1
            = radio_button "review", "rating", 0
            = radio_button "review", "rating", -1
            = radio_button "review", "rating", -2
      - else
        .simple-rating
          .four.columns
            %label{:for => "like"}
              %input{:name => "like", :type => "radio"}/
              %span.like 
                %strong :)
            %label{:for => "dislike"}
              %input{:checked => "", :name => "dislike", :type => "radio"}/
              %span.dislike<commit_msg>Hopefully the reviews star fix<commit_after>%h3 New "#{@anime.title}" review

- if user_signed_in?
  = form_for (@review = Review.new), url: anime_reviews_path(@anime) do |f|
    = f.label :content
    = f.text_area :content, rows: 7
    .user-reviews
      - if current_user.star_rating? or true
        .advanced-rating
          .rating.six.columns
            = radio_button "review", "rating", 2, :id => 'star5'
            %label{:for => "star5"}
            = radio_button "review", "rating", 1, :id => 'star4'
            %label{:for => "star4"}
            = radio_button "review", "rating", 0, :id => 'star3'
            %label{:for => "star3"}
            = radio_button "review", "rating", -1, :id => 'star2'
            %label{:for => "star2"}
            = radio_button "review", "rating", -2, :id => 'star1'
            %label{:for => "star1"}
      - else
        .simple-rating
          .four.columns
            %label{:for => "like"}
              %input{:name => "like", :type => "radio"}/
              %span.like 
                %strong :)
            %label{:for => "dislike"}
              %input{:checked => "", :name => "dislike", :type => "radio"}/
              %span.dislike
{'fraction_non_alphanumeric': 0.16877637130801687, 'fraction_numerical': 0.011251758087201125, 'mean_word_length': 1.8264900662251655, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, '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': '2740652', 'n_tokens_mistral': 683, 'n_tokens_neox': 669, 'n_words': 153}