<commit_before>.g-item-breadcrumb-container
.g-item-header

  .pull-right
    if (accessLevel >= girder.AccessType.WRITE)
      button.g-upload-into-item.btn.btn-sm.btn-success(title="Upload files into item")
        i.icon-upload
    .btn-group
      button.g-item-actions-button.btn.btn-sm.btn-default.dropdown-toggle(
          data-toggle="dropdown", title="Item actions")
          i.icon-doc-text-inv
          |  Actions
          i.icon-down-dir
      ul.g-item-actions-menu.dropdown-menu.pull-right(role="menu")
        li(role="presentation")
          a.g-download-item(role="menuitem", href="#{item.downloadUrl()}")
            i.icon-download
            | Download item
        if (accessLevel >= girder.AccessType.WRITE)
          li.divider(role="presentation")
          li(role="presentation")
            a.g-edit-item(role="menuitem")
              i.icon-edit
              | Edit item
          li.divider(role="presentation")
          li(role="presentation")
            a.g-delete-item(role="menuitem")
              i.icon-trash
              | Delete item

  .g-item-name.g-body-title #{item.get('name')}
  .g-item-description.g-body-subtitle #{item.get('description')}

.g-item-info
  .g-item-info-header
    i.icon-info
    | Info
  .g-item-size.g-info-list-entry
    i.icon-hdd
    | #{girder.formatSize(item.get('size'))} (#{item.get('size')} bytes)
  .g-item-created.g-info-list-entry
    i.icon-clock
    | Created on #{girder.formatDate(item.get('created'), girder.DATE_SECOND)}
  .g-item-updated.g-info-list-entry
    i.icon-clock
    | Updated on #{girder.formatDate(item.get('updated'), girder.DATE_SECOND)}

.g-item-metadata

.g-item-files
  .g-item-files-header<commit_msg>Don't show exact byte count twice<commit_after>.g-item-breadcrumb-container
.g-item-header

  .pull-right
    if (accessLevel >= girder.AccessType.WRITE)
      button.g-upload-into-item.btn.btn-sm.btn-success(title="Upload files into item")
        i.icon-upload
    .btn-group
      button.g-item-actions-button.btn.btn-sm.btn-default.dropdown-toggle(
          data-toggle="dropdown", title="Item actions")
          i.icon-doc-text-inv
          |  Actions
          i.icon-down-dir
      ul.g-item-actions-menu.dropdown-menu.pull-right(role="menu")
        li(role="presentation")
          a.g-download-item(role="menuitem", href="#{item.downloadUrl()}")
            i.icon-download
            | Download item
        if (accessLevel >= girder.AccessType.WRITE)
          li.divider(role="presentation")
          li(role="presentation")
            a.g-edit-item(role="menuitem")
              i.icon-edit
              | Edit item
          li.divider(role="presentation")
          li(role="presentation")
            a.g-delete-item(role="menuitem")
              i.icon-trash
              | Delete item

  .g-item-name.g-body-title #{item.get('name')}
  .g-item-description.g-body-subtitle #{item.get('description')}

.g-item-info
  .g-item-info-header
    i.icon-info
    | Info
  .g-item-size.g-info-list-entry
    i.icon-hdd
      if item.get('size') < 20000
        | #{item.get('size')} bytes
      else
        | #{girder.formatSize(item.get('size'))} (#{item.get('size')} bytes)
  .g-item-created.g-info-list-entry
    i.icon-clock
    | Created on #{girder.formatDate(item.get('created'), girder.DATE_SECOND)}
  .g-item-updated.g-info-list-entry
    i.icon-clock
    | Updated on #{girder.formatDate(item.get('updated'), girder.DATE_SECOND)}

.g-item-metadata

.g-item-files
  .g-item-files-header
{'fraction_non_alphanumeric': 0.16265230943610087, 'fraction_numerical': 0.0014168319637291016, 'mean_word_length': 2.292910447761194, 'pattern_counts': {'":': 0, '<': 4, '<?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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7649595', 'n_tokens_mistral': 1213, 'n_tokens_neox': 1205, 'n_words': 148}