<commit_before>-if profile.present?
  - player_rating = profile.rating
  %tr.js-player-row{:data => {'player_id' => profile.id}, :class => "js-player-row-#{profile.id}"}
    %td
      %strong= link_to profile.name, profile
    - if player_rating
      %td.center-column
        .btn.btn-default.edit-btn.js-total-btn=raw("<span class='js-value'>#{player_rating.total}</span>")
      %td.center-column
        .btn.btn-primary.edit-btn.js-throwing-btn=raw("<span class='js-value'>#{player_rating.throwing_total}</span> <i class='fa fa-pencil fa-lg'></i>")
      %td.center-column
        .btn.btn-success.edit-btn.js-fielding-btn=raw("<span class='js-value'>#{player_rating.fielding_total}</span> <i class='fa fa-pencil fa-lg'></i>")
      %td.center-column
        .btn.btn-warning.edit-btn.js-baserunning-btn=raw("<span class='js-value'>#{player_rating.baserunning_total}</span> <i class='fa fa-pencil fa-lg'></i>")
      %td.center-column
        .btn.btn-danger.edit-btn.js-hitting-btn=raw("<span class='js-value'>#{player_rating.hitting_total}</span> <i class='fa fa-pencil fa-lg'></i>")
    - else
      %td.warning.no-ranking-warning.center-column{:colspan => '5'}
        No Ranking Found.
        =link_to '+ Add Ranking', '#', {:class => 'btn btn-default js-add-player-ranking'}<commit_msg>Changing working around rating, ranking. Should always be player rating Closes #62 (switched with 61)<commit_after>-if profile.present?
  - player_rating = profile.rating
  %tr.js-player-row{:data => {'player_id' => profile.id}, :class => "js-player-row-#{profile.id}"}
    %td
      %strong= link_to profile.name, profile
    - if player_rating
      %td.center-column
        .btn.btn-default.edit-btn.js-total-btn=raw("<span class='js-value'>#{player_rating.total}</span>")
      %td.center-column
        .btn.btn-primary.edit-btn.js-throwing-btn=raw("<span class='js-value'>#{player_rating.throwing_total}</span> <i class='fa fa-pencil fa-lg'></i>")
      %td.center-column
        .btn.btn-success.edit-btn.js-fielding-btn=raw("<span class='js-value'>#{player_rating.fielding_total}</span> <i class='fa fa-pencil fa-lg'></i>")
      %td.center-column
        .btn.btn-warning.edit-btn.js-baserunning-btn=raw("<span class='js-value'>#{player_rating.baserunning_total}</span> <i class='fa fa-pencil fa-lg'></i>")
      %td.center-column
        .btn.btn-danger.edit-btn.js-hitting-btn=raw("<span class='js-value'>#{player_rating.hitting_total}</span> <i class='fa fa-pencil fa-lg'></i>")
    - else
      %td.warning.no-ranking-warning.center-column{:colspan => '5'}
        No Rating Found.
        =link_to '+ Add Rating', '#', {:class => 'btn btn-default js-add-player-ranking'}
{'fraction_non_alphanumeric': 0.19932935916542474, 'fraction_numerical': 0.0022354694485842027, 'mean_word_length': 3.5508474576271185, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 49, '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': '7370127', 'n_tokens_mistral': 952, 'n_tokens_neox': 957, 'n_words': 133}