<commit_before><% n = 1 %>
<% chef = @items[0].parent.parent %>
<% recipe = chef.child(:type => :recipe) %>
<% recipes = @items.sort_by {|rec| rec.namespace.to_s} %>
<% recipes.each do |item| %>
  <li class="r<%= n %>">
    <span class="object_link">
      <a href="<%= chef.name %>/<%= recipe.name %>.html#<%= item.parent.name %>::<%= item.name %>"
      title="<%= item.parent.name %>::<%= item.name %> (recipe)">
        <%= h(item.parent.name) %>::<%= h(item.name) %>
      </a>
    </span>
    <small><%= item.namespace %></small>
  </li>
  <% n = n == 2 ? 1 : 2 %>
<% end %><commit_msg>* Replaced hard-coded links with url_for * Removed top level recipes from the menu list<commit_after><% n = 1 %>
<% recipe = object.child(:type => :chef).child(:type => :recipe) %>
<% @items.each do |item| %>
  <% if not item.namespace.parent.root? %>
    <li class="r<%= n %>">
      <span class="object_link">
        <a href="<%= url_for(recipe, item.Name, false) %>" title="<%= item.Name %> (recipe)">
          <%= h(item.Name) %>
        </a>
      </span>
      <small><%= item.namespace %></small>
    </li>
    <% n = n == 2 ? 1 : 2 %>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.26252158894645944, 'fraction_numerical': 0.007772020725388601, 'mean_word_length': 2.8762541806020065, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 51, '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': '3105203', 'n_tokens_mistral': 483, 'n_tokens_neox': 424, 'n_words': 98}