<commit_before>module MiddlewareCommonMixin
  extend ActiveSupport::Concern
  include MiddlewareOperationsMixin

  def show_list
    process_show_list
  end

  def index
    redirect_to :action => 'show_list'
  end

  def show
    return unless init_show
    show_middleware
  end

  private

  def display_name(display = nil)
    if display.blank?
      ui_lookup(:tables => @record.class.base_class.name)
    else
      ui_lookup(:tables => display)
    end<commit_msg>MiddlewareCommonMixin: removed code that is in GenericListMinix. (transferred from ManageIQ/manageiq@1<PASSWORD>a82591cb<PASSWORD>340<PASSWORD>a16<PASSWORD>bc)<commit_after>module MiddlewareCommonMixin
  extend ActiveSupport::Concern
  include MiddlewareOperationsMixin

  def show
    return unless init_show
    show_middleware
  end

  private

  def display_name(display = nil)
    if display.blank?
      ui_lookup(:tables => @record.class.base_class.name)
    else
      ui_lookup(:tables => display)
    end
{'fraction_non_alphanumeric': 0.06802030456852792, 'fraction_numerical': 0.01116751269035533, 'mean_word_length': 4.00507614213198, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 12, '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': '1555640', 'n_tokens_mistral': 318, 'n_tokens_neox': 301, 'n_words': 68}