<commit_before>{% load i18n %}

<img src="{{ user_obj.avatar }}" />

{% if not user_obj.picture and user_obj == user %}
    <a href="{% url profiles:my_profile %}">{% trans 'Edit profile' %}</a>
{% endif %}<commit_msg>Simplify the user avatar utility and add alt text<commit_after>{% load i18n %}
<img src="{{ user_obj.avatar }}" alt="{{ user }} avatar" />
{'fraction_non_alphanumeric': 0.2050561797752809, 'fraction_numerical': 0.011235955056179775, 'mean_word_length': 4.758064516129032, 'pattern_counts': {'":': 0, '<': 7, '<?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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4024720', 'n_tokens_mistral': 134, 'n_tokens_neox': 117, 'n_words': 38}