<commit_before><%
  dom_id ||= 'menu'
  css ||= 'menu'
  hide_children = RefinerySetting.find_or_set(:menu_hide_children, false) if hide_children.nil?
  # Select top menu items unless 'roots' is supplied.
  collection ||= @menu_pages
  caching = (cache_menu ||= RefinerySetting.find_or_set(:cache_menu, false))
  cache_if(caching, [Refinery.base_cache_key, "pages_menus", dom_id, Globalize.locale, cache_path ||= request.path].join('_')) do
    if (roots ||= collection.select{|p| p.parent_id.nil?}).present?
      # In order to match items that aren't shown in menu and highlight their associations.
      # This can be supplied if the logic is different in your case.
      unless defined?(selected_item)
        selected_item = collection.detect{|page| selected_page?(page)}
        selected_item = @page if selected_item.nil?
      end
  -%>
      <nav id='<%= dom_id %>' class='<%= %W(#{css} clearfix).join(' ') %>'>
        <ul>
          <%= render :partial => "/shared/menu_branch",
                     :collection => roots,<commit_msg>No reason to specify on separate lines.<commit_after><%
  dom_id ||= 'menu'
  css ||= 'menu'
  hide_children = RefinerySetting.find_or_set(:menu_hide_children, false) if hide_children.nil?
  # Select top menu items unless 'roots' is supplied.
  collection ||= @menu_pages
  caching = (cache_menu ||= RefinerySetting.find_or_set(:cache_menu, false))
  cache_if(caching, [Refinery.base_cache_key, "pages_menus", dom_id, Globalize.locale, cache_path ||= request.path].join('_')) do
    if (roots ||= collection.select{|p| p.parent_id.nil?}).present?
      # In order to match items that aren't shown in menu and highlight their associations.
      # This can be supplied if the logic is different in your case.
      unless defined?(selected_item)
        selected_item = collection.detect{|page| selected_page?(page)} || @page
      end
  -%>
      <nav id='<%= dom_id %>' class='<%= %W(#{css} clearfix).join(' ') %>'>
        <ul>
          <%= render :partial => "/shared/menu_branch",
                     :collection => roots,
{'fraction_non_alphanumeric': 0.1437530149541727, 'fraction_numerical': 0.0, 'mean_word_length': 3.588495575221239, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 17, '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': '4536839', 'n_tokens_mistral': 661, 'n_tokens_neox': 642, 'n_words': 170}