<commit_before><% content_for :extra_classes, flush: true do %>timeline__item--affirmative<% end %>
<% content_for :title, flush: true do %>
    <%= a.related_content.document_type.name %> added
    <%= " by #{a.owner.name}" unless a.owner.blank? %>
<% end %>
<% content_for :description, flush: true do %>
    <a href="<%= a.related_content.document.url %>" class="file file--<%= a.related_content.nice_content_type[:generic_type].parameterize %>">
        <span class="file__name">
            <%= a.related_content.document_file_name %>
        </span>
        <span class="file__description">
            <%= a.related_content.description %>
        </span>
        <span class="file__details">
            <%= number_to_human_size(a.related_content.document_file_size) %>
        </span>
    </a>
<% end %><commit_msg>Use document_path for docs in study timelines<commit_after><% content_for :extra_classes, flush: true do %>timeline__item--affirmative<% end %>
<% content_for :title, flush: true do %>
    <%= a.related_content.document_type.name %> added
    <%= " by #{a.owner.name}" unless a.owner.blank? %>
<% end %>
<% content_for :description, flush: true do %>
    <a href="<%= document_path(a.related_content) %>" class="file file--<%= a.related_content.nice_content_type[:generic_type].parameterize %>">
        <span class="file__name">
            <%= a.related_content.document_file_name %>
        </span>
        <span class="file__description">
            <%= a.related_content.description %>
        </span>
        <span class="file__details">
            <%= number_to_human_size(a.related_content.document_file_size) %>
        </span>
    </a>
<% end %>
{'fraction_non_alphanumeric': 0.16666666666666666, 'fraction_numerical': 0.0, 'mean_word_length': 3.29923273657289, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 0, '>': 45, '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': '7056025', 'n_tokens_mistral': 567, 'n_tokens_neox': 516, 'n_words': 96}