<commit_before>if defined?(Rails)
  saml = begin
    YAML::load_file(Rails.root.join("config/okta_saml.yml").to_s)
  rescue Errno::ENOENT
    p "Missing okta_saml.yml file in Rails.root/config"
  end
  SAML_SETTINGS = {
    :idp_sso_target_url => saml[Rails.env]['idp_sso_target_url'],
    :idp_cert_fingerprint => saml[Rails.env]['idp_cert_fingerprint']
  }
end<commit_msg>Prevent Raketasks from failing if config/okta_saml.yml is not present.<commit_after>if defined?(Rails)
  begin
    saml = YAML::load_file(Rails.root.join("config/okta_saml.yml").to_s)
    SAML_SETTINGS = {
      :idp_sso_target_url => saml[Rails.env]['idp_sso_target_url'],
      :idp_cert_fingerprint => saml[Rails.env]['idp_cert_fingerprint']
    }
  rescue Errno::ENOENT
    p "Missing okta_saml.yml file in Rails.root/config"
    SAML_SETTINGS = {}
  end
end
{'fraction_non_alphanumeric': 0.1291866028708134, 'fraction_numerical': 0.0, 'mean_word_length': 4.617449664429531, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6856710', 'n_tokens_mistral': 353, 'n_tokens_neox': 342, 'n_words': 48}