anchor.diff:  <div class="row cs-require-panels cs-no-margin hidden-xs">
   
     <%
  +
  +    max_packages = 90
  +
       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["Requires"] = @package.active_dependencies.order(is_shallow: :desc).joins(:depended).where.not(packages: {name: ["Julia", @package.name]})
  +
  +    dependency_relations["Used By"] = @package.passive_dependencies.order(is_shallow: :desc).joins(:dependent).where.not(packages: {name: ["Julia", @package.name]})
  +
  +    unless cookies[:include_unregistered_packages] == 'true'
  +      dependency_relations.each do |k, v|
  +        dependency_relations[k] = dependency_relations[k]
  +          .where(packages: {is_registered: true})
  +      end
  +    end
  +
  +    dependency_relations["Requires"] = dependency_relations["Requires"].includes(depended: :counter).order("counters.stargazer desc")
  +
  +    dependency_relations["Used By"] = dependency_relations["Used By"].includes(dependent: :counter).order("counters.stargazer desc")
  +
     %>
   
     <% dependency_relations.each do |name, assocs| %>
   
       <%
  -      batch_total = 150
  -      substract_batch = 50
   
  -      assoc_list = assocs
  -        .order("counters.stargazer desc")
  -        .first(batch_total)
  +      is_full_list = assocs.count > max_packages
  +
  +      assoc_list = assocs.first max_packages
   
         if name == "Requires"
           assoc_tuples = assoc_list.map{ |a| [a.depended, a.is_shallow] }
  
positive.code: 
              <div class="checkbox cs-pull-right cs-include-checkbox cs-secondary-checkbox" data-toggle="tooltip" data-html="true" data-placement="auto left" title="" data-original-title="<%= tooltip_text %>">
                <label>
                  <input type="checkbox">
                </label>
              </div>
  
  
negative.code:         assoc_tuples = assoc_list.map{ |a| [a.dependent, a.is_shallow] }
        end
  
      %>
  
      <div class="col-sm-6">
  
        <div class="panel panel-default cs-no-margin <%= "cs-hide-indirect-dependencies" unless is_full_list %>">
  
          <div class="panel-heading">
  
  