<commit_before>{% load filters %}
{% load gravatar %}

<div id="history_item_{{item.id}}" class='row history-container infinite-scroll' data-id="{{ item.id }}">
    <div class="author-container">
        <a class="author-name" href="/users/{{ item.user.username }}">
            <img class="author-pic img-polaroid" src="{% gravatar_for_user item.user %}"/>
            {{ item.user.profile.get_full_name }} 
        </a>

        <div class="connection-container pull-right">
            {% if user.username != item.user.username %} 
                <a class="btn btn-info connection">
                    {% include 'common/snippets/follow-btn.html' with follows=item.follows username=item.user.username %}
                </a>
            {% endif %}
        </div>
    </div>
    <div id="history_item_{{ item.id }}_content" class="history-content">
        <span>
            <a href="{{ item.url }}" target="_blank" data-content="{{ url }}" class="pointer">
             <img class="favicon" src="{{ item.favIconUrl }}"> {{ item.url|url_domain }} 
            </a> {{ item.title }} 
        </span> |
        <span> <strong> Total Time: </strong> {{ item.humanize_time }} </span>
    </div>
    <hr class='rm-margin'>
    <div class="history-footer">
        <span class="date" data-timestamp="{{item.start_time|date_fmt}}"> {{ item.start_time }} </span>
    </div>

</div><commit_msg>anon user follow<commit_after>{% load filters %}
{% load gravatar %}

<div id="history_item_{{item.id}}" class='row history-container infinite-scroll' data-id="{{ item.id }}">
    <div class="author-container">
        <a class="author-name" href="/users/{{ item.user.username }}">
            <img class="author-pic img-polaroid" src="{% gravatar_for_user item.user %}"/>
            {{ item.user.profile.get_full_name }} 
        </a>

        <div class="connection-container pull-right">
            {% if user.username != item.user.username and user.is_authenticated %} 
                <a class="btn btn-info connection">
                    {% include 'common/snippets/follow-btn.html' with follows=item.follows username=item.user.username %}
                </a>
            {% endif %}
        </div>
    </div>
    <div id="history_item_{{ item.id }}_content" class="history-content">
        <span>
            <a href="{{ item.url }}" target="_blank" data-content="{{ url }}" class="pointer">
             <img class="favicon" src="{{ item.favIconUrl }}"> {{ item.url|url_domain }} 
            </a> {{ item.title }} 
        </span> |
        <span> <strong> Total Time: </strong> {{ item.humanize_time }} </span>
    </div>
    <hr class='rm-margin'>
    <div class="history-footer">
        <span class="date" data-timestamp="{{item.start_time|date_fmt}}"> {{ item.start_time }} </span>
    </div>

</div>
{'fraction_non_alphanumeric': 0.18890074706510138, 'fraction_numerical': 0.0, 'mean_word_length': 2.4630541871921183, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 57, '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': '5105662', 'n_tokens_mistral': 886, 'n_tokens_neox': 832, 'n_words': 173}