<commit_before>-# categories#show
-# Displays the "contents" of a category, i.e. its resources
.container
  .row
    .col-md-12
      %h1{:style => "text-align:center"} #{@category.name}
  .row
    .col-md-12
      %h4{:style => "text-align:center"}
        To refine your search further, select a more specific tag:
        - @category.tag_list.each do |tag|
          = link_to tag + " --", tag_path(tag)

- if !@resources.empty?<commit_msg>when there are no tags, don't display possiblities for tags in categories view<commit_after>-# categories#show
-# Displays the "contents" of a category, i.e. its resources
.container
  .row
    .col-md-12
      %h1{:style => "text-align:center"} #{@category.name}
  - if !@category.tag_list.blank?
    .row
      .col-md-12
        %h4{:style => "text-align:center"}
          To refine your search further, select a more specific tag:
          - @category.tag_list.each do |tag|
            = link_to tag + " --", tag_path(tag)

- if !@resources.empty?
{'fraction_non_alphanumeric': 0.1464393179538616, 'fraction_numerical': 0.012036108324974924, 'mean_word_length': 2.629090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2489839', 'n_tokens_mistral': 347, 'n_tokens_neox': 335, 'n_words': 91}