anchor.diff:          assoc_tuples = assoc_list.map{ |a| [a.dependent, a.is_shallow] }
         end
   
  -      assoc_tuples.delete_if { |p, _| p.name == "Julia" }
  -
  -      assoc_tuples.delete_if { |p, _| p.name == @package.name }
  -
  -      assoc_tuples.delete_if { |p, _| not p.is_registered } \
  -        unless cookies[:include_unregistered_packages] == 'true'
  -
  -      assoc_tuples = assoc_tuples.first(batch_total - substract_batch)
       %>
   
       <div class="col-sm-6">
   
  -      <div class="panel panel-default cs-no-margin cs-hide-indirect-dependencies">
  +      <div class="panel panel-default cs-no-margin <%= "cs-hide-indirect-dependencies" unless is_full_list %>">
   
           <div class="panel-heading">
   
  
positive.code: <div class="row cs-require-panels cs-no-margin hidden-xs">
  
    <%
      dependency_relations = {}
  
      dependency_relations["Requires"] = @package.active_dependencies.order(is_shallow: :desc).includes(depended: :counter)
      dependency_relations["Used By"] = @package.passive_dependencies.order(is_shallow: :desc).includes(dependent: :counter)
    %>
  
    <% dependency_relations.each do |name, assocs| %>
  
      <%
        batch_total = 150
        substract_batch = 50
  
        assoc_list = assocs
          .order("counters.stargazer desc")
          .first(batch_total)
  
        if name == "Requires"
          assoc_tuples = assoc_list.map{ |a| [a.depended, a.is_shallow] }
  
negative.code:             <%= name %>:
            </h4>
  
            <%
  
              include_checkbox = ( not assoc_tuples.empty? )
  
              if include_checkbox
                shallow_count = assocs.where(is_shallow: true).count
                total_count = assocs.count
  
                include_checkbox &= ( shallow_count != total_count )
              end
  
              include_checkbox |= is_full_list
  
            %>
  
  