<commit_before>IntercomRails.config do |config|
  # == Intercom app_id
  # 
  config.app_id = ENV["INTERCOM_APP_ID"] || "<%= @app_id %>"

  # == Intercom secret key 
  # This is required to enable secure mode, you can find it on your Intercom 
  # "security" configuration page.
  # 
  <%- if @api_secret -%>
  config.api_secret = "<%= @api_secret %>"
  <%- else -%>
  # config.api_secret = "..."
  <%- end -%>

  # == Intercom API Key
  # This is required for some Intercom rake tasks like importing your users;
  # you can generate one at https://www.intercom.io/apps/api_keys.
  #
  <%- if @api_key -%>
  config.api_key = "<%= @api_key %>"
  <%- else -%>
  # config.api_key = "..."
  <%- end -%>

  # == Enabled Environments
  # Which environments is auto inclusion of the Javascript enabled for
  #
  config.enabled_environments = ["development", "production"]

  # == Curent user method/variable
  # The method/variable that contains the logged in user in your controllers.
  # If it is `current_user` or `@user`, then you can ignore this
  #
  <%- if @current_user -%>
  config.user.current = Proc.new { <%= @current_user %> }
  <%- else -%>
  # config.user.current = Proc.new { current_user }
  <%- end -%>
  
  # == User model class
  # The class which defines your user model
  #
  # config.user.model = Proc.new { User }

  # == User Custom Data
  # A hash of additional data you wish to send about your users.
  # You can provide either a method name which will be sent to the current
  # user object, or a Proc which will be passed the current user.
  #
  # config.user.custom_data = {
  #   :plan => Proc.new { |current_user| current_user.plan.name },
  #   :favorite_color => :favorite_color
  # }

  # == User -> Company association
  # A Proc that given a user returns an array of companies<commit_msg>fixing typo in comment header<commit_after>IntercomRails.config do |config|
  # == Intercom app_id
  # 
  config.app_id = ENV["INTERCOM_APP_ID"] || "<%= @app_id %>"

  # == Intercom secret key 
  # This is required to enable secure mode, you can find it on your Intercom 
  # "security" configuration page.
  # 
  <%- if @api_secret -%>
  config.api_secret = "<%= @api_secret %>"
  <%- else -%>
  # config.api_secret = "..."
  <%- end -%>

  # == Intercom API Key
  # This is required for some Intercom rake tasks like importing your users;
  # you can generate one at https://www.intercom.io/apps/api_keys.
  #
  <%- if @api_key -%>
  config.api_key = "<%= @api_key %>"
  <%- else -%>
  # config.api_key = "..."
  <%- end -%>

  # == Enabled Environments
  # Which environments is auto inclusion of the Javascript enabled for
  #
  config.enabled_environments = ["development", "production"]

  # == Current user method/variable
  # The method/variable that contains the logged in user in your controllers.
  # If it is `current_user` or `@user`, then you can ignore this
  #
  <%- if @current_user -%>
  config.user.current = Proc.new { <%= @current_user %> }
  <%- else -%>
  # config.user.current = Proc.new { current_user }
  <%- end -%>
  
  # == User model class
  # The class which defines your user model
  #
  # config.user.model = Proc.new { User }

  # == User Custom Data
  # A hash of additional data you wish to send about your users.
  # You can provide either a method name which will be sent to the current
  # user object, or a Proc which will be passed the current user.
  #
  # config.user.custom_data = {
  #   :plan => Proc.new { |current_user| current_user.plan.name },
  #   :favorite_color => :favorite_color
  # }

  # == User -> Company association
  # A Proc that given a user returns an array of companies
{'fraction_non_alphanumeric': 0.1335888310977279, 'fraction_numerical': 0.0, 'mean_word_length': 2.984732824427481, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 35, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '671609', 'n_tokens_mistral': 1252, 'n_tokens_neox': 1177, 'n_words': 379}