<commit_before>%li
  %ul.stats
    - if ontology.distributed?
      %li distributed
      %li= link_to pluralize(ontology.children.count, 'Ontology'), [ontology, :children]
    - elsif ontology.logic
      %li= link_to ontology.logic.name, ontology.logic
    - if ontology.language
      %li= ontology.language
    
    - if ontology.entities_count
      %li= link_to pluralize(ontology.entities_count, 'Symbol'), [ontology, :entities]
      %li= link_to pluralize(ontology.sentences_count, 'Sentence'), [ontology, :sentences]
    
    - else
      %li= ontology.state
  
  %h3= link_to highlight(ontology.to_s, @search), ontology
  
  %p= highlight(ontology.iri.to_s, @search)<commit_msg>show ontology state pertaining to user, #index.<commit_after>%li
  %ul.stats
    - if ontology.distributed?
      %li distributed
      %li= link_to pluralize(ontology.children.count, 'Ontology'), [ontology, :children]
    - elsif ontology.logic
      %li= link_to ontology.logic.name, ontology.logic
    - if ontology.language
      %li= ontology.language
    
    - if ontology.entities_count
      %li= link_to pluralize(ontology.entities_count, 'Symbol'), [ontology, :entities]
      %li= link_to pluralize(ontology.sentences_count, 'Sentence'), [ontology, :sentences]
    
    - else
      - if admin? || ontology.ontology_version.user == current_user
        %li= ontology.state
      - else
        %li= ontology.active_version.state
  
  %h3= link_to highlight(ontology.to_s, @search), ontology
  
  %p= highlight(ontology.iri.to_s, @search)
{'fraction_non_alphanumeric': 0.12093628088426528, 'fraction_numerical': 0.0013003901170351106, 'mean_word_length': 3.263157894736842, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6257802', 'n_tokens_mistral': 528, 'n_tokens_neox': 506, 'n_words': 106}