<commit_before><%= render layout: "shared/model_show" do %>

  <%= attribute_table_row(t("myplaceonline.files.name"), @obj.file_file_name) %>
  <%= attribute_table_row(t("myplaceonline.files.size_bytes"), @obj.file_file_size) %>
  <%= attribute_table_row_url(t("myplaceonline.files.download"), file_download_name_path(@obj, @obj.urlname), false, @obj.urlname, nil, "externallink", true) %>
  <%= attribute_table_row_url(t("myplaceonline.files.view"), file_view_name_path(@obj, @obj.urlname), false, @obj.urlname, nil, "externallink", true) %>
  <%= attribute_table_row_markdown(t("myplaceonline.files.notes"), @obj.notes) %>
  <%= attribute_table_row(t("myplaceonline.files.content_type"), @obj.file_content_type) %><commit_msg>Handle condition where file has no name<commit_after><%= render layout: "shared/model_show" do %>

  <%= attribute_table_row(t("myplaceonline.files.name"), @obj.file_file_name) %>
  <%= attribute_table_row(t("myplaceonline.files.size_bytes"), @obj.file_file_size) %>
  <% if @obj.urlname.blank? %>
    <%= attribute_table_row_url(t("myplaceonline.files.download"), file_download_path(@obj), false, @obj.display, nil, "externallink", true) %>
    <%= attribute_table_row_url(t("myplaceonline.files.view"), file_view_path(@obj), false, @obj.display, nil, "externallink", true) %>
  <% else %>
    <%= attribute_table_row_url(t("myplaceonline.files.download"), file_download_name_path(@obj, @obj.urlname), false, @obj.urlname, nil, "externallink", true) %>
    <%= attribute_table_row_url(t("myplaceonline.files.view"), file_view_name_path(@obj, @obj.urlname), false, @obj.urlname, nil, "externallink", true) %>
  <% end %>
  <%= attribute_table_row_markdown(t("myplaceonline.files.notes"), @obj.notes) %>
  <%= attribute_table_row(t("myplaceonline.files.content_type"), @obj.file_content_type) %>
{'fraction_non_alphanumeric': 0.18441273326015367, 'fraction_numerical': 0.0, 'mean_word_length': 7.639810426540285, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '790217', 'n_tokens_mistral': 681, 'n_tokens_neox': 633, 'n_words': 82}