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

<table class="base" id="results_index" border="0" cellspacing="0" cellpadding="0">
	<caption>Results</caption>
  <tr valign="top">
  	<% unless @road_events.empty? %> 
    <td><pre>
    <%- for event in @road_events -%>
<%= event.short_date %> <%= 
  link_to event.name, 
  :action => 'event', :year => @year, :discipline => event.discipline, :id => event.id 
%>
      <%- end -%>
      </pre>
      </td>
  <% else %>
    <td><pre>Results will be posted when available</pre></td>
  <% end %>
  </tr>
</table><commit_msg>Made default results page work properly<commit_after><% @page_title = "Results: #{@year}" %>

<table class="base" border="0" cellspacing="0" cellpadding="0">
	<caption>#{@year} Results</caption>
  	<% unless @events.empty? %> 
    <%- for event in @events.values.flatten.sort {|x,y| y.date <=> x.date} -%>
  <tr class="<%= cycle('even', 'odd') %>">
    <td class="right"><%= event.short_date %></td>
	<td><%= link_to event.name, :action => 'event', :year => @year, :discipline => event.discipline, :id => event.id %></td>
  </tr>
  <% end %>
  <% else %>
  <tr><td>Results will be posted when available</td></tr>
  <%- end -%>
</table>
{'fraction_non_alphanumeric': 0.23844884488448845, 'fraction_numerical': 0.0049504950495049506, 'mean_word_length': 3.8134920634920637, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 57, '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': '6619256', 'n_tokens_mistral': 477, 'n_tokens_neox': 439, 'n_words': 99}