<commit_before># enable detailed CAS logging
cas_logger = CASClient::Logger.new(RAILS_ROOT+'/log/cas.log')
cas_logger.level = Logger::DEBUG

CASClient::Frameworks::Rails::Filter.configure(
  :cas_base_url  => "https://signin.mygcx.org/cas/",
  :username_session_key => :cas_user,
  :extra_attributes_session_key => :cas_extra_attributes,
  :proxy_retrieval_url => "https://www.globalshortfilmnetwork.com/cas_proxy_callback/retrieve_pgt",
  :proxy_callback_url => "https://www.globalshortfilmnetwork.com/cas_proxy_callback/receive_pgt",
  # :authenticate_on_every_request => true,
  :logger => cas_logger
)<commit_msg>update to use the key<commit_after># enable detailed CAS logging
cas_logger = CASClient::Logger.new(RAILS_ROOT+'/log/cas.log')
cas_logger.level = Logger::DEBUG

CASClient::Frameworks::Rails::Filter.configure(
  :cas_base_url  => "https://thekey.me/cas/",
  :login_url     => "https://thekey.me/cas/login",
  :logout_url    => "https://thekey.me/cas/logout",
  :validate_url  => "https://thekey.me/cas/proxyValidate",    
  :proxy_retrieval_url => "https://pat.powertochange.org/cas_proxy_callback/retrieve_pgt",
  :proxy_callback_url => "https://pat.powertochange.org/cas_proxy_callback/receive_pgt",
  :username_session_key => :cas_user,
  :extra_attributes_session_key => :cas_extra_attributes,
  :logger => cas_logger,
  :authenticate_on_every_request => false
)
{'fraction_non_alphanumeric': 0.14905933429811866, 'fraction_numerical': 0.0, 'mean_word_length': 6.16580310880829, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 20, 'https://': 9, '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': '3189347', 'n_tokens_mistral': 496, 'n_tokens_neox': 491, 'n_words': 58}