<commit_before>
if !ENV['GITHUB_KEY'].present? || !ENV['GITHUB_SECRET'].present?
  puts "*" * 80
  puts "ENV['GITHUB_KEY'] is NOT SET."
  puts "ENV['GITHUB_SECRET'] is NOT SET"
  puts "*" * 80
else
  puts "GITHUB_SECRET and GITHUB_KEY set"
end

Rails.application.config.middleware.use OmniAuth::Builder do
  # provider :developer unless Rails.env.production?
  require 'openid/store/filesystem' 
  provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET']
  provider :openid, :store => OpenID::Store::Filesystem.new('/tmp')
end
<commit_msg>add some instructions to the startup warning<commit_after>
if !ENV['GITHUB_KEY'].present? || !ENV['GITHUB_SECRET'].present?
  puts "*" * 80
  puts "ENV['GITHUB_KEY'] is NOT SET."
  puts "ENV['GITHUB_SECRET'] is NOT SET"
  puts "use "
  pust "$ source github.env.vars"
  puts "*" * 80
else
  puts "GITHUB_SECRET and GITHUB_KEY set"
end

Rails.application.config.middleware.use OmniAuth::Builder do
  # provider :developer unless Rails.env.production?
  require 'openid/store/filesystem' 
  provider :github, ENV['GITHUB_KEY'], ENV['GITHUB_SECRET']
  provider :openid, :store => OpenID::Store::Filesystem.new('/tmp')
end

{'fraction_non_alphanumeric': 0.14926660914581535, 'fraction_numerical': 0.006902502157031924, 'mean_word_length': 5.236559139784946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5876536', 'n_tokens_mistral': 442, 'n_tokens_neox': 437, 'n_words': 97}