<commit_before># == Schema Information
#
# Table name: Group
#
#  Id                      :integer          not null, primary key
#  IsSystem                :boolean          not null
#  ParentGroupId           :integer
#  GroupTypeId             :integer          not null
#  CampusId                :integer
#  Name                    :string(100)      not null
#  Description             :text
#  IsSecurityRole          :boolean          not null
#  IsActive                :boolean          not null
#  Order                   :integer          not null
#  Guid                    :uuid             not null
#  CreatedDateTime         :datetime
#  ModifiedDateTime        :datetime
#  CreatedByPersonAliasId  :integer
#  ModifiedByPersonAliasId :integer
#  ForeignId               :string(50)
#  AllowGuests             :boolean
#  ScheduleId              :integer
#

class RockGroup < RockBase
  self.primary_key = :Id
  self.table_name = 'Group'
  belongs_to :parent_group, class: RockGroup, foreign_key: 'ParentGroupId', primary_key: 'Id'
  belongs_to :group_type, class: RockGroupType, foreign_key: 'GroupTypeId', primary_key: 'Id'
  belongs_to :campus, class: RockCampus, foreign_key: 'CampusId', primary_key: 'Id'
  belongs_to :schedule, class: RockSchedule, foreign_key: 'ScheduleId', primary_key: 'Id'
  '
  has_many :memberships, class: RockGroupMember, foreign_key: 'GroupId', primary_key: 'Id', dependent: :destroy
  has_many :group_locations, class: RockGroupLocation, foreign_key: 'GroupId', primary_key: 'Id'

  has_many :child_groups, class: RockGroup, foreign_key: 'ParentGroupId', primary_key: 'Id', dependent: :nullify

  has_arena_mapping

  SMALL_GROUPS = 711
  SERVING_MINISTRY = 34241
  PARTICIPANT_MINISTRY = 34240
  EVENTS_CLASSES = 34239

end<commit_msg>fix typo<commit_after># == Schema Information
#
# Table name: Group
#
#  Id                      :integer          not null, primary key
#  IsSystem                :boolean          not null
#  ParentGroupId           :integer
#  GroupTypeId             :integer          not null
#  CampusId                :integer
#  Name                    :string(100)      not null
#  Description             :text
#  IsSecurityRole          :boolean          not null
#  IsActive                :boolean          not null
#  Order                   :integer          not null
#  Guid                    :uuid             not null
#  CreatedDateTime         :datetime
#  ModifiedDateTime        :datetime
#  CreatedByPersonAliasId  :integer
#  ModifiedByPersonAliasId :integer
#  ForeignId               :string(50)
#  AllowGuests             :boolean
#  ScheduleId              :integer
#

class RockGroup < RockBase
  self.primary_key = :Id
  self.table_name = 'Group'
  belongs_to :parent_group, class: RockGroup, foreign_key: 'ParentGroupId', primary_key: 'Id'
  belongs_to :group_type, class: RockGroupType, foreign_key: 'GroupTypeId', primary_key: 'Id'
  belongs_to :campus, class: RockCampus, foreign_key: 'CampusId', primary_key: 'Id'
  belongs_to :schedule, class: RockSchedule, foreign_key: 'ScheduleId', primary_key: 'Id'

  has_many :memberships, class: RockGroupMember, foreign_key: 'GroupId', primary_key: 'Id', dependent: :destroy
  has_many :group_locations, class: RockGroupLocation, foreign_key: 'GroupId', primary_key: 'Id'
  has_many :child_groups, class: RockGroup, foreign_key: 'ParentGroupId', primary_key: 'Id', dependent: :nullify

  has_arena_mapping

  SMALL_GROUPS = 711
  SERVING_MINISTRY = 34241
  PARTICIPANT_MINISTRY = 34240
  EVENTS_CLASSES = 34239

end
{'fraction_non_alphanumeric': 0.08288845181230682, 'fraction_numerical': 0.012924978926664794, 'mean_word_length': 2.473170731707317, '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': '6114715', 'n_tokens_mistral': 1104, 'n_tokens_neox': 1041, 'n_words': 274}