<commit_before>require 'octokit'
require 'sinatra_auth_github'
require 'dotenv'
require_relative 'add-to-org/helpers'

Dotenv.load

module AddToOrg
  class App < Sinatra::Base

    include AddToOrg::Helpers

    set :github_options, {
      :scopes => "user,user:email"
    }

    use Rack::Session::Cookie, {
      :http_only => true,
      :secret => ENV['SESSION_SECRET'] || SecureRandom.hex<commit_msg>limit scope to read:org and user:email<commit_after>require 'octokit'
require 'sinatra_auth_github'
require 'dotenv'
require_relative 'add-to-org/helpers'

Dotenv.load

module AddToOrg
  class App < Sinatra::Base

    include AddToOrg::Helpers

    set :github_options, {
      :scopes => "read:org,user:email"
    }

    use Rack::Session::Cookie, {
      :http_only => true,
      :secret => ENV['SESSION_SECRET'] || SecureRandom.hex
{'fraction_non_alphanumeric': 0.1248513674197384, 'fraction_numerical': 0.0, 'mean_word_length': 4.072289156626506, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4180278', 'n_tokens_mistral': 296, 'n_tokens_neox': 287, 'n_words': 58}