<commit_before><% content_for :body_class, 'game-page' %>

<h1>Room <em><%= resource.token %></em></h1>

<%= hidden_field_tag :pusher_api_key, ENV['PUSHER_APP_KEY'] %>

<div class="connected-users">
  <h3>Connected Users:</h3>

  <div class="users-container">
  </div>
</div>

<div class="actions-container">
</div>

<div class="game-area" data-room-attributes="<%= resource.to_json %>" data-messages="">
  <div class="messages"></div>

  <h3>Select a card:</h3>
  <div class="cards-container">
  </div>

  <div class="game-results">
    <h3>Results:</h3>

    <div class="player-cards-container">
    </div>
  </div>
</div>

<script type="text/html" data-template-name="user">
  <img src="{{avatar_url}}" width="60" height="60" title="{{name}}" data-toggle="tooltip" class="img-circle">
</script>

<script type="text/html" data-template-name="card">
  <a href="" class="card">{{value}}</a>
</script>

<script type="text/html" data-template-name="player-card">
  <img src="{{avatar_url}}" width="60" height="60" title="{{name}}" data-toggle="tooltip" class="img-circle">
  <a href="" class="card">{{card}}</a>
</script>

<script type="text/html" data-template-name="empty-results">
  <p>Waiting for players to select cards...</p>
</script>
<commit_msg>Displaying player name on tooltip when hovering over the whole player card<commit_after><% content_for :body_class, 'game-page' %>

<h1>Room <em><%= resource.token %></em></h1>

<%= hidden_field_tag :pusher_api_key, ENV['PUSHER_APP_KEY'] %>

<div class="connected-users">
  <h3>Connected Users:</h3>

  <div class="users-container">
  </div>
</div>

<div class="actions-container">
</div>

<div class="game-area" data-room-attributes="<%= resource.to_json %>" data-messages="">
  <div class="messages"></div>

  <h3>Select a card:</h3>
  <div class="cards-container">
  </div>

  <div class="game-results">
    <h3>Results:</h3>

    <div class="player-cards-container">
    </div>
  </div>
</div>

<script type="text/html" data-template-name="user">
  <img src="{{avatar_url}}" width="60" height="60" title="{{name}}" data-toggle="tooltip" class="img-circle">
</script>

<script type="text/html" data-template-name="card">
  <a href="" class="card">{{value}}</a>
</script>

<script type="text/html" data-template-name="player-card">
  <div title="{{name}}" data-toggle="tooltip">
    <img src="{{avatar_url}}" width="60" height="60" class="img-circle">
    <a href="" class="card">{{card}}</a>
  </div>
</script>

<script type="text/html" data-template-name="empty-results">
  <p>Waiting for players to select cards...</p>
</script>

{'fraction_non_alphanumeric': 0.23395204949729312, 'fraction_numerical': 0.01237432327919567, 'mean_word_length': 5.203836930455635, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '790234', 'n_tokens_mistral': 966, 'n_tokens_neox': 936, 'n_words': 183}