<commit_before><% @page_title = "Ironman: #{@year}" %>

<% unless @years.empty? %>	
<%= tabs do |tabs|
  for year in @years
	tabs.add(year, :year => year)
  end
end -%>
<% end %>  

<% if @ironman.nil? or @ironman.races.empty? %>
No results for <%= @year %>
<br/>
<% end %>

<% unless @ironman.nil? or @ironman.races.empty? or @ironman.races.first.results.empty? %>

<%= will_paginate @results %>

<div class="updatedon">Updated <%= @ironman.updated_at.to_formatted_s(:long) %></div>

<table class="base">
  <tr>
    <th><%= @ironman.date.year %> Ironman</th>
  </tr>
  <tr>
    <td><pre><%- for result in @results %>
<%= result.place.rjust(3) -%>
 <%= link_to(truncate(result.name), 
	 :controller => 'results',
     :action => 'competition',
     :competition_id => result.race.standings.event.to_param,
     :racer_id => result.racer_id) %><%= ' ' * (30 - truncate(result.name).length) -%>
   <%= truncate(result.racer_team_name, 40).ljust(40) -%>
   <%= number_with_precision(result.points, 0).rjust(6) -%>
<%- end -%></pre></td>
  </tr>
</table>

<%= will_paginate @results %>
<% end %>  
<commit_msg>Add 'just for fun' blurb back to Ironman<commit_after><% @page_title = "Ironman: #{@year}" %>

<% unless @years.empty? %>	
<%= tabs do |tabs|
  for year in @years
	tabs.add(year, :year => year)
  end
end -%>
<% end %>  

<% if @ironman.nil? or @ironman.races.empty? %>
No results for <%= @year %>
<br/>
<% end %>

<p>The Ironman Competition is a 'just for fun' record of the number of events riders do.<br>
There is no prize just identification of riders who need to get a life.</p>

<% unless @ironman.nil? or @ironman.races.empty? or @ironman.races.first.results.empty? %>

<%= will_paginate @results %>

<div class="updatedon">Updated <%= @ironman.updated_at.to_formatted_s(:long) %></div>

<table class="base">
  <tr>
    <th><%= @ironman.date.year %> Ironman</th>
  </tr>
  <tr>
    <td><pre><%- for result in @results %>
<%= result.place.rjust(3) -%>
 <%= link_to(truncate(result.name), 
	 :controller => 'results',
     :action => 'competition',
     :competition_id => result.race.standings.event.to_param,
     :racer_id => result.racer_id) %><%= ' ' * (30 - truncate(result.name).length) -%>
   <%= truncate(result.racer_team_name, 40).ljust(40) -%>
   <%= number_with_precision(result.points, 0).rjust(6) -%>
<%- end -%></pre></td>
  </tr>
</table>

<%= will_paginate @results %>
<% end %>  

{'fraction_non_alphanumeric': 0.22042341220423411, 'fraction_numerical': 0.007471980074719801, 'mean_word_length': 3.8785425101214575, 'pattern_counts': {'":': 0, '<': 76, '<?xml version=': 0, '>': 86, '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': '4310174', 'n_tokens_mistral': 1024, 'n_tokens_neox': 924, 'n_words': 191}