<commit_before><% content_for :title do %>
  <% "OpenSplitTime: Event group finish line - #{@presenter.name}" %>
<% end %>

<header class="ost-header">
  <div class="container">
    <div class="ost-heading row">
      <div class="col">
        <div class="ost-title">
          <%= link_to_refresh %>
          <h1>
            <strong><%= @presenter.name %> <%= @presenter.concealed? ? fa_icon('eye-slash') : fa_icon('eye') %></strong>
          </h1>
          <ul class="breadcrumb breadcrumb-ost">
            <li class="breadcrumb-item"><%= link_to 'Organizations', organizations_path %></li>
            <li class="breadcrumb-item"><%= link_to @presenter.organization.name, organization_path(@presenter.organization) %></li>
            <li class="breadcrumb-item"><%= link_to @presenter.event_group.name, event_group_path(@presenter.event_group) %></li>
            <li class="breadcrumb-item active">Finish Line</li>
          </ul>
        </div>
        <%= render 'events/time_and_course_info' %>
      </div>
    </div>
    <!-- Navigation -->
    <%= render 'events/view_buttons', view_object: @presenter %>
  </div>
</header>

<article class="ost-article container">
  <div data-controller="finish-line" data-finish-line-event-group-id="<%= @presenter.id %>">
    <%= render "efforts/projections_modal" %>

    <div class="row">
      <div class="col">
        <input class="input-xl" inputmode="numeric" pattern="[0-9]*" type="text" placeholder="Bib #"
               data-target="finish-line.search" data-action="blur->finish-line#checkInput keyup->finish-line#checkInput">
      </div>
      <div class="col">
        <button class="btn btn-lg btn-primary" data-action="finish-line#checkInput">Go</button>
      </div>
    </div>
    <hr/>

    <div data-target="finish-line.result">
      <%= render "finish_line_effort" %>
    </div>
    <hr/>

    <%= render "effort_button_card", arrivals: @presenter.recent_arrivals_at_finish, title: "Recently Finished (Finish Time)", time_zone: @presenter.home_time_zone, multiple_events: @presenter.multiple_events? %>
    <%= render "effort_button_card", arrivals: @presenter.expected_arrivals_at_finish, title: "Next Expected (Projected Time)", time_zone: @presenter.home_time_zone, multiple_events: @presenter.multiple_events? %>
  </div>
</article><commit_msg>Remove effort lookup on blur<commit_after><% content_for :title do %>
  <% "OpenSplitTime: Event group finish line - #{@presenter.name}" %>
<% end %>

<header class="ost-header">
  <div class="container">
    <div class="ost-heading row">
      <div class="col">
        <div class="ost-title">
          <%= link_to_refresh %>
          <h1>
            <strong><%= @presenter.name %> <%= @presenter.concealed? ? fa_icon('eye-slash') : fa_icon('eye') %></strong>
          </h1>
          <ul class="breadcrumb breadcrumb-ost">
            <li class="breadcrumb-item"><%= link_to 'Organizations', organizations_path %></li>
            <li class="breadcrumb-item"><%= link_to @presenter.organization.name, organization_path(@presenter.organization) %></li>
            <li class="breadcrumb-item"><%= link_to @presenter.event_group.name, event_group_path(@presenter.event_group) %></li>
            <li class="breadcrumb-item active">Finish Line</li>
          </ul>
        </div>
        <%= render 'events/time_and_course_info' %>
      </div>
    </div>
    <!-- Navigation -->
    <%= render 'events/view_buttons', view_object: @presenter %>
  </div>
</header>

<article class="ost-article container">
  <div data-controller="finish-line" data-finish-line-event-group-id="<%= @presenter.id %>">
    <%= render "efforts/projections_modal" %>

    <div class="row">
      <div class="col">
        <input class="input-xl" inputmode="numeric" pattern="[0-9]*" type="text" placeholder="Bib #"
               data-target="finish-line.search" data-action="keyup->finish-line#checkInput">
      </div>
      <div class="col">
        <button class="btn btn-lg btn-primary" data-action="finish-line#checkInput">Go</button>
      </div>
    </div>
    <hr/>

    <div data-target="finish-line.result">
      <%= render "finish_line_effort" %>
    </div>
    <hr/>

    <%= render "effort_button_card", arrivals: @presenter.recent_arrivals_at_finish, title: "Recently Finished (Finish Time)", time_zone: @presenter.home_time_zone, multiple_events: @presenter.multiple_events? %>
    <%= render "effort_button_card", arrivals: @presenter.expected_arrivals_at_finish, title: "Next Expected (Projected Time)", time_zone: @presenter.home_time_zone, multiple_events: @presenter.multiple_events? %>
  </div>
</article>
{'fraction_non_alphanumeric': 0.1775377969762419, 'fraction_numerical': 0.0017278617710583153, 'mean_word_length': 3.478723404255319, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 122, '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': '402346', 'n_tokens_mistral': 1563, 'n_tokens_neox': 1477, 'n_words': 274}