<commit_before>module OpsController::Settings::RHN
  extend ActiveSupport::Concern

  # Most of this would better live in a FormClass or similar.
  # Let's move it there once we have the app/presenters in the production branch.

  ###########################################################################
  #
  # Helper and utility methods
  #

  SUBSCRIPTION_TYPES =
    [['Red Hat Subscription Management', 'sm_hosted'],
     ['Red Hat Satellite 5',             'rhn_satellite'],
     ['Red Hat Satellite 6',             'rhn_satellite6']]

  def rhn_subscription_types
    SUBSCRIPTION_TYPES
  end

  def rhn_subscription_map
    @rhn_subscription_map ||= Hash[rhn_subscription_types.map(&:reverse)]
  end

  included do<commit_msg>Remove Sat5 menu option<commit_after>module OpsController::Settings::RHN
  extend ActiveSupport::Concern

  # Most of this would better live in a FormClass or similar.
  # Let's move it there once we have the app/presenters in the production branch.

  ###########################################################################
  #
  # Helper and utility methods
  #

  SUBSCRIPTION_TYPES =
    [['Red Hat Subscription Management', 'sm_hosted'],
     ['Red Hat Satellite 6',             'rhn_satellite6']]

  def rhn_subscription_types
    SUBSCRIPTION_TYPES
  end

  def rhn_subscription_map
    @rhn_subscription_map ||= Hash[rhn_subscription_types.map(&:reverse)]
  end

  included do
{'fraction_non_alphanumeric': 0.17684210526315788, 'fraction_numerical': 0.004210526315789474, 'mean_word_length': 4.129496402877698, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1076355', 'n_tokens_mistral': 431, 'n_tokens_neox': 404, 'n_words': 115}