<commit_before>module Competitions
  module PortlandShortTrackSeries
    module Common
      extend ActiveSupport::Concern

      included do
        def self.parent_event_name
          "Portland Short Track Series"
        end
      end

      def category_names
        [
          "Category 1 Men 19-34",
          "Category 1 Men 35-44",
          "Category 1 Men 45+",
          "Category 2 Men 35-44",
          "Category 2 Men 45-54",
          "Category 2 Men 55+",
          "Category 2 Men U35",
          "Category 2 Women 35-44",
          "Category 2 Women 45+",
          "Category 2 Women U35",
          "Category 3 Men 10-14",
          "Category 3 Men 15-18",
          "Category 3 Men 19-44",
          "Category 3 Men 45+",
          "Category 3 Women 10-14",
          "Category 3 Women 15-18",
          "Category 3 Women 19+",
          "Clydesdale",
          "Elite Men",
          "Elite/Category 1 Women",
          "Singlespeed"
        ]
      end

      def point_schedule
        [ 100, 80, 60, 50, 45, 40, 36, 32, 29, 26, 24, 22, 20, 18, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 ]
      end

      def upgrades
        {
          "Category 2 Men 35-44"   =>   "Category 3 Men 19-44",
          "Category 2 Men 45-54"   =>   "Category 3 Men 45+",
          "Category 2 Men 55+"     =>   "Category 3 Men 45+",
          "Category 2 Men U35"     => [ "Category 3 Men 10-14", "Category 3 Men 15-18" ],
          "Category 2 Women 35-44" =>   "Category 3 Women 19+",
          "Category 2 Women 45+"   =>   "Category 3 Women 19+",
          "Category 2 Women U35"   => [ "Category 3 Women 10-14", "Category 3 Women 15-18", "Category 3 Women 19+" ],
          "Category 1 Men 19-34"   =>   "Category 2 Men U35",
          "Category 1 Men 35-44"   =>   "Category 2 Men 35-44",
          "Category 1 Men 45+"     => [ "Category 2 Men 45-54", "Category 2 Men 55+" ],
          "Elite Men"              => [ "Category 1 Men 19-34", "Category 1 Men 35-44", "Category 1 Men 45+" ],
          "Elite/Category 1 Women" => [ "Category 2 Women 35-44", "Category 2 Women 45+", "Category 2 Women U35" ]
        }
      end
    end
  end
end
<commit_msg>Disable upgrades for now. Causing dupe results.<commit_after>module Competitions
  module PortlandShortTrackSeries
    module Common
      extend ActiveSupport::Concern

      included do
        def self.parent_event_name
          "Portland Short Track Series"
        end
      end

      def category_names
        [
          "Category 1 Men 19-34",
          "Category 1 Men 35-44",
          "Category 1 Men 45+",
          "Category 2 Men 35-44",
          "Category 2 Men 45-54",
          "Category 2 Men 55+",
          "Category 2 Men U35",
          "Category 2 Women 35-44",
          "Category 2 Women 45+",
          "Category 2 Women U35",
          "Category 3 Men 10-14",
          "Category 3 Men 15-18",
          "Category 3 Men 19-44",
          "Category 3 Men 45+",
          "Category 3 Women 10-14",
          "Category 3 Women 15-18",
          "Category 3 Women 19+",
          "Clydesdale",
          "Elite Men",
          "Elite/Category 1 Women",
          "Singlespeed"
        ]
      end

      def point_schedule
        [ 100, 80, 60, 50, 45, 40, 36, 32, 29, 26, 24, 22, 20, 18, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1 ]
      end

    #   def upgrades
    #     {
    #       "Category 2 Men 35-44"   =>   "Category 3 Men 19-44",
    #       "Category 2 Men 45-54"   =>   "Category 3 Men 45+",
    #       "Category 2 Men 55+"     =>   "Category 3 Men 45+",
    #       "Category 2 Men U35"     => [ "Category 3 Men 10-14", "Category 3 Men 15-18" ],
    #       "Category 2 Women 35-44" =>   "Category 3 Women 19+",
    #       "Category 2 Women 45+"   =>   "Category 3 Women 19+",
    #       "Category 2 Women U35"   => [ "Category 3 Women 10-14", "Category 3 Women 15-18", "Category 3 Women 19+" ],
    #       "Category 1 Men 19-34"   =>   "Category 2 Men U35",
    #       "Category 1 Men 35-44"   =>   "Category 2 Men 35-44",
    #       "Category 1 Men 45+"     => [ "Category 2 Men 45-54", "Category 2 Men 55+" ],
    #       "Elite Men"              => [ "Category 1 Men 19-34", "Category 1 Men 35-44", "Category 1 Men 45+" ],
    #       "Elite/Category 1 Women" => [ "Category 2 Women 35-44", "Category 2 Women 45+", "Category 2 Women U35" ]
    #     }
    #   end
    end
  end
end

{'fraction_non_alphanumeric': 0.1237020316027088, 'fraction_numerical': 0.11060948081264109, 'mean_word_length': 1.6203429923122412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '372765', 'n_tokens_mistral': 1800, 'n_tokens_neox': 1359, 'n_words': 526}