<commit_before>module PersistentVolumeHelper::TextualSummary
  #
  # Groups
  #

  def textual_group_properties
    %i(name creation_timestamp resource_version capacity access_modes reclaim_policy status_phase
       storage_medium_type gce_pd_resource git_repository git_revision nfs_server
       iscsi_target_portal iscsi_target_qualified_name iscsi_target_lun_number glusterfs_endpoint_name
       persistent_volume_claim_name rados_ceph_monitors rados_image_name rados_pool_name rados_user_name rados_keyring
       volume_path fs_type read_only volume_id partition secret_name)
  end

  def textual_group_relationships
    %i(parent)
  end

  def textual_group_smart_management
    items = %w(tags)
    items.collect { |m| send("textual_#{m}") }.flatten.compact
  end

  #
  # Items
  #

  def textual_name
    @record.name
  end

  def textual_creation_timestamp
    format_timezone(@record.creation_timestamp)
  end

  def textual_resource_version
    @record.resource_version
  end

  def textual_capacity
    @record.capacity
  end

  def textual_access_modes
    @record.access_modes
  end

  def textual_reclaim_policy
    @record.reclaim_policy
  end
<commit_msg>Fix Volume page crash on undefined method `creation_timestamp'<commit_after>module PersistentVolumeHelper::TextualSummary
  #
  # Groups
  #

  def textual_group_properties
    %i(name creation_timestamp resource_version capacity access_modes reclaim_policy status_phase
       storage_medium_type gce_pd_resource git_repository git_revision nfs_server
       iscsi_target_portal iscsi_target_qualified_name iscsi_target_lun_number glusterfs_endpoint_name
       persistent_volume_claim_name rados_ceph_monitors rados_image_name rados_pool_name rados_user_name rados_keyring
       volume_path fs_type read_only volume_id partition secret_name)
  end

  def textual_group_relationships
    %i(parent)
  end

  def textual_group_smart_management
    items = %w(tags)
    items.collect { |m| send("textual_#{m}") }.flatten.compact
  end

  #
  # Items
  #

  def textual_name
    @record.name
  end

  def textual_resource_version
    @record.resource_version
  end

  def textual_capacity
    @record.capacity
  end

  def textual_access_modes
    @record.access_modes
  end

  def textual_reclaim_policy
    @record.reclaim_policy
  end

{'fraction_non_alphanumeric': 0.041504539559014265, 'fraction_numerical': 0.0, 'mean_word_length': 4.4575471698113205, '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': '1559657', 'n_tokens_mistral': 777, 'n_tokens_neox': 727, 'n_words': 147}