<commit_before>module ActsAsReferred

  # Namespace for ActsAsReferred-model
  module Model

    # Represents a Referee - 
    # *attributes*
    # [origin]        the full URI of referrer
    # [origin_host]   host-part of referrer
    # [request]       the full request as string
    # [request_query] the query-string - may be nil
    # [campaign]      the supplied campaign-name in query
    # [keywords]      the supplied keywords in query
    # [is_campaign]   if this referee is from campaign
    # [visits]        number of visits before conversion
    #
    class ::Referee < ActiveRecord::Base
      
      self.table_name = 'referees'

      belongs_to :referable, polymorphic: true, dependent: :destroy

      before_create :process_request_and_referrer
<commit_msg>cleanup<commit_after>module ActsAsReferred

  # Namespace for ActsAsReferred-model
  module Model

    # Represents a Referee - 
    # *attributes*
    # [origin]        the full URI of referrer
    # [origin_host]   host-part of referrer
    # [request]       the full request as string
    # [request_query] the query-string - may be nil
    # [campaign]      the supplied campaign-name in query
    # [keywords]      the supplied keywords in query
    # [is_campaign]   if this referee is from campaign
    # [visits]        number of visits before conversion
    #
    class ::Referee < ActiveRecord::Base
      
      self.table_name = 'referees'

      belongs_to :referable, polymorphic: true

      before_create :process_request_and_referrer

{'fraction_non_alphanumeric': 0.06998037933289732, 'fraction_numerical': 0.0, 'mean_word_length': 2.6515513126491648, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '6861393', 'n_tokens_mistral': 452, 'n_tokens_neox': 435, 'n_words': 140}