<commit_before>class Volunteer < ApplicationRecord
  include LanguageReferences
  include SalutationCollection
  include BuildContactRelation
  include YearCollection
  include ZuerichScopes
  include ImportRelation
  include FullBankDetails

  before_validation :handle_external
  before_save :record_acceptance_changed

  SINGLE_ACCOMPANIMENTS = [:man, :woman, :family, :kid, :unaccompanied].freeze
  GROUP_ACCOMPANIMENTS = [:sport, :creative, :music, :culture, :training, :german_course,
                          :dancing, :health, :cooking, :excursions, :women, :teenagers,
                          :children, :other_offer].freeze
  REJECTIONS = [:us, :her, :other].freeze
  AVAILABILITY = [:flexible, :morning, :afternoon, :evening, :workday, :weekend].freeze

  enum acceptance: [:undecided, :accepted, :rejected, :resigned]
<commit_msg>put back fix number definitions for enum field that where lost in translation before<commit_after>class Volunteer < ApplicationRecord
  include LanguageReferences
  include SalutationCollection
  include BuildContactRelation
  include YearCollection
  include ZuerichScopes
  include ImportRelation
  include FullBankDetails

  before_validation :handle_external
  before_save :record_acceptance_changed

  SINGLE_ACCOMPANIMENTS = [:man, :woman, :family, :kid, :unaccompanied].freeze
  GROUP_ACCOMPANIMENTS = [:sport, :creative, :music, :culture, :training, :german_course,
                          :dancing, :health, :cooking, :excursions, :women, :teenagers,
                          :children, :other_offer].freeze
  REJECTIONS = [:us, :her, :other].freeze
  AVAILABILITY = [:flexible, :morning, :afternoon, :evening, :workday, :weekend].freeze

  enum acceptance: { undecided: 0, accepted: 1, rejected: 2, resigned: 3 }

{'fraction_non_alphanumeric': 0.09486166007905138, 'fraction_numerical': 0.002258610954263128, 'mean_word_length': 4.503105590062112, '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': '2323004', 'n_tokens_mistral': 573, 'n_tokens_neox': 526, 'n_words': 135}