<commit_before><% @page_title = "Results: #{@person.name}: #{@event.full_name}" %>

<h2><%= link_to @person.name, person_results_path(@person) %></h2>

<%- @results.sort_by(&:date).reverse.each do |result| -%>

<h3><%= result.place.to_i.ordinalize %> &mdash; <%=
  link_to result.race_full_name, event_results_path(@event, anchor: "race_#{result.race_id}")
%></h3>

<%= scores_table result %>

<% end %>

<p>
  See all results for <%= link_to(@person.name, person_results_year_path(@person, @event.date.year), class: 'obvious') %> or the
  <% if @event.is_a?(Competitions::Ironman) %>
    <%= link_to(@event.name, {controller: 'ironman', action: 'index', year: @event.date.year}, class: 'obvious') %>.
  <% else %>
    <%= link_to(@event.full_name, event_results_path(@event), class: 'obvious') %>.
  <% end %>
</p><commit_msg>Use qualified Ironman path<commit_after><% @page_title = "Results: #{@person.name}: #{@event.full_name}" %>

<h2><%= link_to @person.name, person_results_path(@person) %></h2>

<%- @results.sort_by(&:date).reverse.each do |result| -%>

<h3><%= result.place.to_i.ordinalize %> &mdash; <%=
  link_to result.race_full_name, event_results_path(@event, anchor: "race_#{result.race_id}")
%></h3>

<%= scores_table result %>

<% end %>

<p>
  See all results for <%= link_to(@person.name, person_results_year_path(@person, @event.date.year), class: 'obvious') %> or the
  <% if @event.is_a?(Competitions::Ironman) %>
    <%= link_to(@event.name, {controller: 'competitions/ironman', action: 'index', year: @event.date.year}, class: 'obvious') %>.
  <% else %>
    <%= link_to(@event.full_name, event_results_path(@event), class: 'obvious') %>.
  <% end %>
</p>
{'fraction_non_alphanumeric': 0.2255952380952381, 'fraction_numerical': 0.004761904761904762, 'mean_word_length': 5.5408560311284045, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 41, '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': '2542957', 'n_tokens_mistral': 681, 'n_tokens_neox': 635, 'n_words': 112}