<commit_before># This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
#
# This configuration file is loaded before any dependency and
# is restricted to this project.
use Mix.Config

# Configures the endpoint
config :espi_dni, EspiDni.Endpoint,
  url: [host: "localhost"],
  root: Path.dirname(__DIR__),
  secret_key_base: "<KEY>",
  render_errors: [accepts: ~w(html json)],
  pubsub: [name: EspiDni.PubSub,
           adapter: Phoenix.PubSub.PG2]

config :espi_dni, ecto_repos: [EspiDni.Repo]

# Configures Elixir's Logger
config :logger, :console,
  format: "$time $metadata[$level] $message\n",
  metadata: [:request_id]

config :logger,
  backends: [Rollbax.Logger]

config :logger, Rollbax.Logger,
  level: :error

# Configure phoenix generators
config :phoenix, :generators,
  migration: true,
  binary_id: false

config :ueberauth, Ueberauth,
  providers: [
    slack: { Ueberauth.Strategy.Slack, [
        default_scope: "bot,commands,users:read,team:read"
      ]
    },
    google: { Ueberauth.Strategy.Google, [
        default_scope: "https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/analytics",
        approval_prompt: "force",
        access_type: "offline"
      ]
    }
  ]

# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env}.exs"<commit_msg>Don't let rollbax steal all the logs :<commit_after># This file is responsible for configuring your application
# and its dependencies with the aid of the Mix.Config module.
#
# This configuration file is loaded before any dependency and
# is restricted to this project.
use Mix.Config

# Configures the endpoint
config :espi_dni, EspiDni.Endpoint,
  url: [host: "localhost"],
  root: Path.dirname(__DIR__),
  secret_key_base: "<KEY>",
  render_errors: [accepts: ~w(html json)],
  pubsub: [name: EspiDni.PubSub,
           adapter: Phoenix.PubSub.PG2]

config :espi_dni, ecto_repos: [EspiDni.Repo]

# Configures Elixir's Logger
config :logger, :console,
  format: "$time $metadata[$level] $message\n",
  metadata: [:request_id]

# Configure phoenix generators
config :phoenix, :generators,
  migration: true,
  binary_id: false

config :ueberauth, Ueberauth,
  providers: [
    slack: { Ueberauth.Strategy.Slack, [
        default_scope: "bot,commands,users:read,team:read"
      ]
    },
    google: { Ueberauth.Strategy.Google, [
        default_scope: "https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/analytics",
        approval_prompt: "force",
        access_type: "offline"
      ]
    }
  ]

# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env}.exs"
{'fraction_non_alphanumeric': 0.11336599020293912, 'fraction_numerical': 0.0006997900629811056, 'mean_word_length': 4.042328042328043, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, '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': '3258404', 'n_tokens_mistral': 932, 'n_tokens_neox': 926, 'n_words': 259}