<commit_before>#tos-privacy-guidelines.form-group.checkbox
  %label
    -# TOS, Privacy, and Guideline review exists outside of builder as this information is not being audited
    = check_box_tag :tos_privacy_guidelines, 1, false, required: true
    %span
      = raw t :tos_privacy_guidelines_label<commit_msg>Use site-specific Community Guidelines URL on sign up page (closes #3061)<commit_after>#tos-privacy-guidelines.form-group.checkbox
  %label
    -# TOS, Privacy, and Guideline review exists outside of builder as this information is not being audited
    = check_box_tag :tos_privacy_guidelines, 1, false, required: true
    %span
      - default_guidelines_url = "/pages/community+guidelines"
      - guidelines_url = ( @site && @site.community_guidelines_url ) || default_guidelines_url
      =raw t( :tos_privacy_guidelines_label ).sub( default_guidelines_url, guidelines_url )

{'fraction_non_alphanumeric': 0.08305274971941638, 'fraction_numerical': 0.006734006734006734, 'mean_word_length': 4.575, 'pattern_counts': {'":': 0, '<': 3, '<?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': '3521682', 'n_tokens_mistral': 277, 'n_tokens_neox': 272, 'n_words': 74}