<commit_before><% @page_title = "Oregon Cup: #{@oregon_cup.date.year}" %>


<%= image_tag 'http://www.obra.org/images/logos/or_cup_05.gif' %>


<br><br>
<%= tabs do |tabs|
  Event.find_all_years.each do |year|
  if year == @year
    tabs.add year.to_s, :year => nil
  else
    tabs.add year.to_s, :year => year
  end
  end
end -%>

<% unless @oregon_cup.new_record? %>
<div class="updatedon">Updated <%= @oregon_cup.updated_at.to_formatted_s(:long) %></div>
<% end %>  

<table style="margin-top: 24px;">
  <tr>
    <td valign="top" width="50%">
      <% unless @oregon_cup.new_record? %>
      <% for race in @oregon_cup.races %>
      <%= table :caption => race.name, :class => "event_results" do %>
        <% result_columns = %w{ place name team_name points } %>
        <tr>
          <%- result_columns.map.each do |column| -%>
          <th class="<%= column %>"><%= result_header column %></th>
          <%- end -%>
        </tr>
        <%- race.results.sort.each do |result| -%>
        <tr class="<%= cycle "even", "odd" %>">
          <%- result_columns.each do |column| -%>
          <td<%= result_cell_class column %>><%= result_cell result, column %></td>
          <%- end -%>
        </tr>
        <%- end -%>
      <%- end -%>
      <% end %>
      <% end %>  
    </td>
    <td width="24">&nbsp;</td>
    <td valign="top" width="50%">
      <p>The Oregon Cup is a year-long points series for senior men.</p>
      <%= render "races" %>
      <table class="base">
        <tr>
          <th>Rules</th>
        </tr>
        <tr>
          <td>
            <ul id="rules">
              <li>Senior 1/2 Men</li>
              <li>Events selected by OBRA Oregon Cup Committee based on Race Selection Criteria (below)</li>
              <li>There is not a minimum number of races to qualify</li>
              <li>Cash Prize List &ndash; 5 deep for men</li>
                <ol>
                  <li>$300</li>
                  <li>$200</li>
                  <li>$150</li>
                  <li>$100</li>
                  <li>$50</li>
                </ol>
              <li>Prizes awarded at the annual OBRA Banquet</li>
              <li>Leaders and champions jerseys will be awarded. </li>
              <li>The OBRA Oregon Cup Committee will conduct ongoing outreach to potential sponsors and media. </li>
              <li>Free entry to OR Cup events for OR Cup leaders. </li>
                <li>Lower category riders competing in Senior Men races will receive 
                points unless their category is picked separately. Lower-category riders <b>do</b> 
                still count in individual race placings -- if a lower category rider finishes 
                ahead of a higher category rider, the higher category rider does not move up 
                in their placing.</li>
                <li>Only yearly OBRA members are eligible for the Oregon Cup. People who only 
                purchase one-day licenses will not be counted.</li>
                <li>Ties
                  <ul>
                    <li>The most first place finishes or, if still tied, the most second place finishes, etc., or if still tied;</li>
                    <li>The highest placing in the last race, or the race nearest the last race in which at least one of the tied riders placed.</li>
                </ul>
                </li>
            </ul>
          </td>
        </tr>
        <tr>
          <th>Points</th>
        </tr>
        <tr>
          <td>
            <ol type="1">
              <li>100</li>
              <li>75</li>
              <li>60</li>
              <li>50</li>
              <li>45</li>
              <li>40</li>
              <li>35</li>
              <li>30</li>
              <li>25</li>
              <li>20</li>
              <li>19</li>
              <li>18</li>
              <li>17</li>
              <li>16</li>
              <li>15</li>
              <li>14</li>
              <li>13</li>
              <li>12</li>
              <li>11</li>
              <li>10</li>
            </ol>
          </td>
        </tr>
        <tr>
          <th>Race Selection Criteria</th>
        </tr>
        <tr>
          <td>
            <ol type="1">
              <li>No more than eight events. </li>
              <li>Primarily road races. Criteriums will be used as needed to fill schedule. </li>
              <li>Road Race Difficulty Balance - Balance degree of difficulty based on hills vs. flat, distance, etc. </li>
              <li>High Profile Event - Well advertised in advance both with membership and media. High likelihood of commercial sponsorship. </li>
              <li>Geographically Balanced - Southern, central and northwest Oregon based on membership representation. </li>
              <li>Historically Significant - History of success over many seasons. </li>
              <li>Demonstrated Participation - Popular event and/or venue. </li>
              <li>Seasonally Balanced - Monthly, if possible, March through September. </li>
              <li>Quality Venue/Promotion - Highest standards for promoters and OBRA. </li>
            </ol>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

<p>Questions? Contact <a href="mailto:<EMAIL>" class="obvious">Kenji</a>.</p><commit_msg>Updte OR Cup contact<commit_after><% @page_title = "Oregon Cup: #{@oregon_cup.date.year}" %>


<%= image_tag 'http://www.obra.org/images/logos/or_cup_05.gif' %>


<br><br>
<%= tabs do |tabs|
  Event.find_all_years.each do |year|
  if year == @year
    tabs.add year.to_s, :year => nil
  else
    tabs.add year.to_s, :year => year
  end
  end
end -%>

<% unless @oregon_cup.new_record? %>
<div class="updatedon">Updated <%= @oregon_cup.updated_at.to_formatted_s(:long) %></div>
<% end %>  

<table style="margin-top: 24px;">
  <tr>
    <td valign="top" width="50%">
      <% unless @oregon_cup.new_record? %>
      <% for race in @oregon_cup.races %>
      <%= table :caption => race.name, :class => "event_results" do %>
        <% result_columns = %w{ place name team_name points } %>
        <tr>
          <%- result_columns.map.each do |column| -%>
          <th class="<%= column %>"><%= result_header column %></th>
          <%- end -%>
        </tr>
        <%- race.results.sort.each do |result| -%>
        <tr class="<%= cycle "even", "odd" %>">
          <%- result_columns.each do |column| -%>
          <td<%= result_cell_class column %>><%= result_cell result, column %></td>
          <%- end -%>
        </tr>
        <%- end -%>
      <%- end -%>
      <% end %>
      <% end %>  
    </td>
    <td width="24">&nbsp;</td>
    <td valign="top" width="50%">
      <p>The Oregon Cup is a year-long points series for senior men.</p>
      <%= render "races" %>
      <table class="base">
        <tr>
          <th>Rules</th>
        </tr>
        <tr>
          <td>
            <ul id="rules">
              <li>Senior 1/2 Men</li>
              <li>Events selected by OBRA Oregon Cup Committee based on Race Selection Criteria (below)</li>
              <li>There is not a minimum number of races to qualify</li>
              <li>Cash Prize List &ndash; 5 deep for men</li>
                <ol>
                  <li>$300</li>
                  <li>$200</li>
                  <li>$150</li>
                  <li>$100</li>
                  <li>$50</li>
                </ol>
              <li>Prizes awarded at the annual OBRA Banquet</li>
              <li>Leaders and champions jerseys will be awarded. </li>
              <li>The OBRA Oregon Cup Committee will conduct ongoing outreach to potential sponsors and media. </li>
              <li>Free entry to OR Cup events for OR Cup leaders. </li>
                <li>Lower category riders competing in Senior Men races will receive 
                points unless their category is picked separately. Lower-category riders <b>do</b> 
                still count in individual race placings -- if a lower category rider finishes 
                ahead of a higher category rider, the higher category rider does not move up 
                in their placing.</li>
                <li>Only yearly OBRA members are eligible for the Oregon Cup. People who only 
                purchase one-day licenses will not be counted.</li>
                <li>Ties
                  <ul>
                    <li>The most first place finishes or, if still tied, the most second place finishes, etc., or if still tied;</li>
                    <li>The highest placing in the last race, or the race nearest the last race in which at least one of the tied riders placed.</li>
                </ul>
                </li>
            </ul>
          </td>
        </tr>
        <tr>
          <th>Points</th>
        </tr>
        <tr>
          <td>
            <ol type="1">
              <li>100</li>
              <li>75</li>
              <li>60</li>
              <li>50</li>
              <li>45</li>
              <li>40</li>
              <li>35</li>
              <li>30</li>
              <li>25</li>
              <li>20</li>
              <li>19</li>
              <li>18</li>
              <li>17</li>
              <li>16</li>
              <li>15</li>
              <li>14</li>
              <li>13</li>
              <li>12</li>
              <li>11</li>
              <li>10</li>
            </ol>
          </td>
        </tr>
        <tr>
          <th>Race Selection Criteria</th>
        </tr>
        <tr>
          <td>
            <ol type="1">
              <li>No more than eight events. </li>
              <li>Primarily road races. Criteriums will be used as needed to fill schedule. </li>
              <li>Road Race Difficulty Balance - Balance degree of difficulty based on hills vs. flat, distance, etc. </li>
              <li>High Profile Event - Well advertised in advance both with membership and media. High likelihood of commercial sponsorship. </li>
              <li>Geographically Balanced - Southern, central and northwest Oregon based on membership representation. </li>
              <li>Historically Significant - History of success over many seasons. </li>
              <li>Demonstrated Participation - Popular event and/or venue. </li>
              <li>Seasonally Balanced - Monthly, if possible, March through September. </li>
              <li>Quality Venue/Promotion - Highest standards for promoters and OBRA. </li>
            </ol>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>

<p>Questions? Contact <a href="mailto:<EMAIL>" class="obvious"><NAME></a>.</p>
{'fraction_non_alphanumeric': 0.13888363292336803, 'fraction_numerical': 0.013245033112582781, 'mean_word_length': 1.5845965770171149, 'pattern_counts': {'":': 0, '<': 376, '<?xml version=': 0, '>': 384, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4421821', 'n_tokens_mistral': 3385, 'n_tokens_neox': 3091, 'n_words': 954}