<commit_before>- if @info[:entries].empty?
  .muted
    This folder is empty
- else
  %table.table.table-condensed.table-hover.file-table{'data-id' => repository.path, 'data-path' => @path, 'data-oid' => @oid, 'data-ajax-path' => fancy_repository_path(repository, path: @path, ref: @oid, action: :entries_info), 'data-diff-path' => fancy_repository_path(repository, ref: '%s', action: :diff)}
    %tbody
      - @info[:entries].each do |name, entries|
        - entries.each_with_index do |entry, i|
          %tr{"data-id" => entry[:index]}
            - if i == 0
              %td.ontology{rowspan: entries.size}
                - unless entry[:type] == :dir || entry[:ontologies].empty?
                  %ul.ontology-list
                    - entry[:ontologies].each do |ontology|
                      %li= fancy_link ontology
            %td.icon
              - if entry[:type] == :dir<commit_msg>Mark failed ontologies in files view.<commit_after>- if @info[:entries].empty?
  .muted
    This folder is empty
- else
  %table.table.table-condensed.table-hover.file-table{'data-id' => repository.path, 'data-path' => @path, 'data-oid' => @oid, 'data-ajax-path' => fancy_repository_path(repository, path: @path, ref: @oid, action: :entries_info), 'data-diff-path' => fancy_repository_path(repository, ref: '%s', action: :diff)}
    %tbody
      - @info[:entries].each do |name, entries|
        - entries.each_with_index do |entry, i|
          %tr{"data-id" => entry[:index]}
            - if i == 0
              %td.ontology{rowspan: entries.size}
                - unless entry[:type] == :dir || entry[:ontologies].empty?
                  %ul.ontology-list
                    - entry[:ontologies].each do |ontology|
                      %li
                        = fancy_link ontology
                        - if ontology.state=='failed'
                          %i.icon-bolt{ title: "processing #{ontology.state}" }
            %td.icon
              - if entry[:type] == :dir
{'fraction_non_alphanumeric': 0.1568922305764411, 'fraction_numerical': 0.0010025062656641604, 'mean_word_length': 2.0945736434108526, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '3729439', 'n_tokens_mistral': 609, 'n_tokens_neox': 589, 'n_words': 130}