<commit_before>#live_games
  #next_game_wrapper
    .game.proposed.prepend-top.append-bottom
      .title.text-center Next Up
      .players
        .player.left.text-center
          - player = @proposed_game.players.first
          .name= player.name
          .kick-link
            %a{href: "/events/#{@event.id}/generate_match_without/#{player.id}", data: { method: :post, confirm: 'Are you sure?' }} Replace Player
        .vs.left.text-center vs
        .player.right.text-center
          - player = @proposed_game.players.last
          .name= player.name
          .kick-link
            %a{href: "/events/#{@event.id}/generate_match_without/#{player.id}", data: { method: :post, confirm: 'Are you sure?' }} Replace Player
        .clear
        .create-game.text-center
          %a{href: "/events/#{@event.id}/create_next_game", data: { method: :post }} Start Game!

  .games.prepend-top
    - @current_games.each do |game|
      = partial 'events/game', locals: { game: game }<commit_msg>Only render new game square if there are enough players available<commit_after>#live_games
  #next_game_wrapper
    - if @proposed_game && @proposed_game.players.many?
      .game.proposed.prepend-top.append-bottom
        .title.text-center Next Up
        .players
          .player.left.text-center
            - player = @proposed_game.players.first
            .name= player.name
            .kick-link
              %a{href: "/events/#{@event.id}/generate_match_without/#{player.id}", data: { method: :post, confirm: 'Are you sure?' }} Replace Player
          .vs.left.text-center vs
          .player.right.text-center
            - player = @proposed_game.players.last
            .name= player.name
            .kick-link
              %a{href: "/events/#{@event.id}/generate_match_without/#{player.id}", data: { method: :post, confirm: 'Are you sure?' }} Replace Player
          .clear
          .create-game.text-center
            %a{href: "/events/#{@event.id}/create_next_game", data: { method: :post }} Start Game!
    - else
      %h3 There are not enough active players in the event to generate a match

  .games.prepend-top
    - @current_games.each do |game|
      = partial 'events/game', locals: { game: game }
{'fraction_non_alphanumeric': 0.1387645478961504, 'fraction_numerical': 0.0004476275738585497, 'mean_word_length': 2.248546511627907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1979291', 'n_tokens_mistral': 700, 'n_tokens_neox': 683, 'n_words': 150}