<commit_before>$ ->
  checkCharacters = (field) ->
    button = $(this).nextAll('.search-by-text')
    if field.val().length > 1
      button.removeAttr 'disabled'
      true
    else
      button.attr 'disabled', 'disabled'
      false

  ClientSideValidations.selectors.validate_inputs += ', .select2-container:visible :input:enabled[data-validate]'
  $(document).foundation()
  Facebook.load()
  if Airesis.env == 'production'
    GoogleAnalytics.load()
  if Airesis.env == 'test'
    $.fx.off = true
  #polling alerts
  if Airesis.signed_in
    PrivatePub.subscribe '/notifications/' + Airesis.id, (data, channel) ->
      if Airesis.resource_viewable
        #if I am in a page with a viewable object, sign it has view and then poll for alerts
        $.ajax<commit_msg>wrong variable name<commit_after>$ ->
  checkCharacters = (field) ->
    button = $(this).nextAll('.search-by-text')
    if field.val().length > 1
      button.removeAttr 'disabled'
      true
    else
      button.attr 'disabled', 'disabled'
      false

  ClientSideValidations.selectors.validate_inputs += ', .select2-container:visible :input:enabled[data-validate]'
  $(document).foundation()
  Facebook.load()
  if Airesis.environment == 'production'
    GoogleAnalytics.load()
  if Airesis.environment == 'test'
    $.fx.off = true
  #polling alerts
  if Airesis.signed_in
    PrivatePub.subscribe '/notifications/' + Airesis.id, (data, channel) ->
      if Airesis.resource_viewable
        #if I am in a page with a viewable object, sign it has view and then poll for alerts
        $.ajax
{'fraction_non_alphanumeric': 0.12468193384223919, 'fraction_numerical': 0.002544529262086514, 'mean_word_length': 3.1286089238845145, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6324865', 'n_tokens_mistral': 480, 'n_tokens_neox': 466, 'n_words': 123}