<commit_before>module ApplicationHelper
  module Listnav
    def render_listnav_filename
      return controller.listnav_filename if controller.respond_to?(:listnav_filename, true)
      if @lastaction == "show_list" && !session[:menu_click] &&
        %w(auth_key_pair_cloud
           availability_zone
           cloud_network
           cloud_object_store_container
           cloud_object_store_object
           cloud_subnet
           cloud_tenant
           cloud_volume
           cloud_volume_backup
           cloud_volume_snapshot
           configuration_job
           container
           container_build
           container_group
           container_image
           container_image_registry
           container_node
           container_project
           container_replicator
           container_route
           container_service
           container_template
           ems_cloud
           ems_cluster
           ems_container
           ems_infra
           ems_middleware
           ems_network
           ems_physical_infra
           ems_storage
           flavor
           floating_ip
           generic_object_definition
           guest_device
           host
           host_aggregate
           load_balancer
           middleware_deployment
           middleware_domain
           middleware_server
           middleware_server_group
           miq_template
           network_port
           network_router
           offline
           orchestration_stack
           physical_server
           persistent_volume
           physical_server
           resource_pool
           retired
           security_group
           service
           templates
           vm).include?(@layout) && !@in_a_form
        "show_list"
      elsif @compare
        "compare_sections"
      elsif @explorer
        "explorer"
      elsif %w(offline
               retired
               templates
               vm
               vm_cloud
               vm_or_template).include?(@layout)
        "vm"
      elsif %w(action
               auth_key_pair_cloud
               availability_zone
               cloud_network
               cloud_object_store_container
               cloud_object_store_object
               cloud_subnet
               cloud_tenant
               cloud_volume
               cloud_volume_backup
               cloud_volume_snapshot<commit_msg>Remove duplicate physical server entry from ApplicationHelper<commit_after>module ApplicationHelper
  module Listnav
    def render_listnav_filename
      return controller.listnav_filename if controller.respond_to?(:listnav_filename, true)
      if @lastaction == "show_list" && !session[:menu_click] &&
        %w(auth_key_pair_cloud
           availability_zone
           cloud_network
           cloud_object_store_container
           cloud_object_store_object
           cloud_subnet
           cloud_tenant
           cloud_volume
           cloud_volume_backup
           cloud_volume_snapshot
           configuration_job
           container
           container_build
           container_group
           container_image
           container_image_registry
           container_node
           container_project
           container_replicator
           container_route
           container_service
           container_template
           ems_cloud
           ems_cluster
           ems_container
           ems_infra
           ems_middleware
           ems_network
           ems_physical_infra
           ems_storage
           flavor
           floating_ip
           generic_object_definition
           guest_device
           host
           host_aggregate
           load_balancer
           middleware_deployment
           middleware_domain
           middleware_server
           middleware_server_group
           miq_template
           network_port
           network_router
           offline
           orchestration_stack
           persistent_volume
           physical_server
           resource_pool
           retired
           security_group
           service
           templates
           vm).include?(@layout) && !@in_a_form
        "show_list"
      elsif @compare
        "compare_sections"
      elsif @explorer
        "explorer"
      elsif %w(offline
               retired
               templates
               vm
               vm_cloud
               vm_or_template).include?(@layout)
        "vm"
      elsif %w(action
               auth_key_pair_cloud
               availability_zone
               cloud_network
               cloud_object_store_container
               cloud_object_store_object
               cloud_subnet
               cloud_tenant
               cloud_volume
               cloud_volume_backup
               cloud_volume_snapshot
{'fraction_non_alphanumeric': 0.022911893355550928, 'fraction_numerical': 0.0, 'mean_word_length': 1.3926258096661683, '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': '3004357', 'n_tokens_mistral': 1095, 'n_tokens_neox': 1092, 'n_words': 200}