<commit_before>= simple_fields_for (student || Student.new), index: student.id.to_i do |s|

  h2 Basics
  = s.input :name, label: '<NAME>', hint: 'Please provide your first and last name', input_html: { disabled: !may_edit?(s.object) }
  .form-inline
    = s.input :application_age, :collection => User::AGE, include_blank: true, label: 'Your age', disabled: !may_edit?(s.object), wrapper_html: { class: student_field_error_class(index, application_draft, :application_age)}, hint: student_field_error_hint(index, application_draft, :application_age)
  = s.input :application_gender_identification, label: 'Your gender self-identification', input_html: { disabled: !may_edit?(s.object) }, wrapper_html: { class: student_field_error_class(index, application_draft, :application_gender_identification) }, hint: (student_field_error_hint(index, application_draft, :application_gender_identification) ||  'No-one is excluded from applying on the basis of gender, but people who self-identify as female, or have experiences being socialized as female, are given preference during selection.')
  = s.input :application_diversity, label: 'Tell us about any special circumstances which you want us to consider while reviewing your application', input_html: { disabled: !may_edit?(s.object) }, wrapper_html: { class: student_field_error_class(index, application_draft, :application_diversity) }, hint: (student_field_error_hint(index, application_draft, :application_diversity) || 'e.g. LGBTQI, people of color, people with disabilities, single parents, people taking care of family members etc.')<commit_msg>Added an anti-bias warning to the Diversity field hint<commit_after>= simple_fields_for (student || Student.new), index: student.id.to_i do |s|

  h2 Basics
  = s.input :name, label: '<NAME>', hint: 'Please provide your first and last name', input_html: { disabled: !may_edit?(s.object) }
  .form-inline
    = s.input :application_age, :collection => User::AGE, include_blank: true, label: 'Your age', disabled: !may_edit?(s.object), wrapper_html: { class: student_field_error_class(index, application_draft, :application_age)}, hint: student_field_error_hint(index, application_draft, :application_age)
  = s.input :application_gender_identification, label: 'Your gender self-identification', input_html: { disabled: !may_edit?(s.object) }, wrapper_html: { class: student_field_error_class(index, application_draft, :application_gender_identification) }, hint: (student_field_error_hint(index, application_draft, :application_gender_identification) ||  'No-one is excluded from applying on the basis of gender, but people who self-identify as female, or have experiences being socialized as female, are given preference during selection.')
  = s.input :application_diversity, label: 'Tell us about any special circumstances which you want us to consider while reviewing your application', input_html: { disabled: !may_edit?(s.object) }, wrapper_html: { class: student_field_error_class(index, application_draft, :application_diversity) }, hint: (student_field_error_hint(index, application_draft, :application_diversity) || 'e.g. LGBTQI, people of color, people with disabilities, single parents, people taking care of family members etc. Please do not mention your name, age and location here.')
{'fraction_non_alphanumeric': 0.10585380649074917, 'fraction_numerical': 0.0006066120715802245, 'mean_word_length': 7.06356968215159, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2976681', 'n_tokens_mistral': 923, 'n_tokens_neox': 916, 'n_words': 297}