<commit_before>module ElementsHelper
  include ElementsRouteMaps
  include PagesRouteMaps
  include QuestionnaireRouteMaps
  include ReadonlyHelper

  INITIALLY_REQUIRED = {
    :appln_person => { :person_fname => true, :person_lname => true, :gender_id => true, :person_email => true},
    :emerg => {}
  }

  def custom_element_text_field(txt, m, c)
    custom_element_item(txt, m, c) do |m, c, classes| 
      text_field m, c, :class => classes
    end
  end

  MAP_ID = { 
    :person_local_province_id => :local_province,
    :person_local_country_id => :local_country,
    :person_province_id => :permanent_province,
    :person_country_id => :permanent_country,
    :gender_id => :gender,
    :health_province_id => :health_province_longDesc
  }
<commit_msg>#1633 fixed title showing up as integer bug<commit_after>module ElementsHelper
  include ElementsRouteMaps
  include PagesRouteMaps
  include QuestionnaireRouteMaps
  include ReadonlyHelper

  INITIALLY_REQUIRED = {
    :appln_person => { :person_fname => true, :person_lname => true, :gender_id => true, :person_email => true},
    :emerg => {}
  }

  def custom_element_text_field(txt, m, c)
    custom_element_item(txt, m, c) do |m, c, classes| 
      text_field m, c, :class => classes
    end
  end

  MAP_ID = { 
    :person_local_province_id => :local_province,
    :person_local_country_id => :local_country,
    :person_province_id => :permanent_province,
    :person_country_id => :permanent_country,
    :gender_id => :gender,
    :health_province_id => :health_province_longDesc,
    :title_id => :title
  }

{'fraction_non_alphanumeric': 0.10599369085173502, 'fraction_numerical': 0.002523659305993691, 'mean_word_length': 4.234323432343234, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 30, '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': '5912550', 'n_tokens_mistral': 572, 'n_tokens_neox': 543, 'n_words': 113}