<commit_before>module SimpleNavigation
  
  # Represents an item in your navigation. Gets generated by the item method in the config-file.
  class Item
    attr_reader :key, :name, :url, :sub_navigation, :method
    attr_writer :html_options
    
    # see ItemContainer#item
    def initialize(container, key, name, url, options, sub_nav_block)
      @container = container
      @key = key
      @method = options.delete(:method)
      @name = name
      @url = url
      @url_hash = hash_for_url(url)
      @html_options = options
      if sub_nav_block
        @sub_navigation = ItemContainer.new(@container.level + 1)<commit_msg>. compare url_strings instead of url_options<commit_after>module SimpleNavigation
  
  # Represents an item in your navigation. Gets generated by the item method in the config-file.
  class Item
    attr_reader :key, :name, :url, :sub_navigation, :method
    attr_writer :html_options
    
    # see ItemContainer#item
    def initialize(container, key, name, url, options, sub_nav_block)
      @container = container
      @key = key
      @method = options.delete(:method)
      @name = name
      @url = url
      @url_hash = url #hash_for_url(url)
      @html_options = options
      if sub_nav_block
        @sub_navigation = ItemContainer.new(@container.level + 1)
{'fraction_non_alphanumeric': 0.0843558282208589, 'fraction_numerical': 0.0015337423312883436, 'mean_word_length': 3.1037735849056602, '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': '3601557', 'n_tokens_mistral': 383, 'n_tokens_neox': 379, 'n_words': 115}