<commit_before>        {% if id.s.author %}
            <aside class="main-aside">
                {% with m.search[{ginger_search hasobject=[id,'author'] cat_exclude=['remark'] pagelen=6 sort='seq' }] as result %}

                    {% include "list/list-header.tpl" id=id list_title=_"Authored by "++id.title items=result %}

                    {% include "list/list.tpl" list_id="list--authored" items=result extraClasses="" id=id %}

                {% endwith %}
            </aside>
        {% endif %}

        {% if id.o.interest %}
            <aside class="main-aside">
                {% with m.search[{ginger_search hassubject=[id,'interest'] pagelen=6}] as result %}

                    {% include "list/list-header.tpl" id=id list_title=_"Favorites of "++id.title items=result %}

                    {% include "list/list.tpl" list_id="list--favorited" items=result extraClasses="" id=id %}

                {% endwith %}
            </aside>
        {% endif %}


        {% with m.search[{ginger_search cat="remark" hasobject=[id,'author'] pagelen=6}] as result %}

            {% if result %}

                <aside class="main-aside">

                    {% include "list/list-header.tpl" id=id list_title=_"Remarks of "++id.title items=result %}

                    {% include "list/list.tpl" list_id="list--favorited" items=result extraClasses="" id=id %}
                </aside>

            {% endif %}

        {% endwith %}

<commit_msg>[base] sorting contribution lists on profile page<commit_after>        {% if id.s.author %}
            <aside class="main-aside">
                {% with m.search[{ginger_search hasobject=[id,'author'] cat_exclude=['remark'] pagelen=6 sort='-rsc.modified'}] as result %}

                    {% include "list/list-header.tpl" id=id list_title=_"Authored by "++id.title items=result %}

                    {% include "list/list.tpl" list_id="list--authored" items=result extraClasses="" id=id %}

                {% endwith %}
            </aside>
        {% endif %}

        {% if id.o.interest %}
            <aside class="main-aside">
                {% with m.search[{ginger_search hassubject=[id,'interest'] pagelen=6 sort='-rsc.modified'}] as result %}

                    {% include "list/list-header.tpl" id=id list_title=_"Favorites of "++id.title items=result %}

                    {% include "list/list.tpl" list_id="list--favorited" items=result extraClasses="" id=id %}

                {% endwith %}
            </aside>
        {% endif %}


        {% with m.search[{ginger_search cat="remark" hasobject=[id,'author'] pagelen=6 sort='-rsc.modified'}] as result %}

            {% if result %}

                <aside class="main-aside">

                    {% include "list/list-header.tpl" id=id list_title=_"Remarks of "++id.title items=result %}

                    {% include "list/list.tpl" list_id="list--favorited" items=result extraClasses="" id=id %}
                </aside>

            {% endif %}

        {% endwith %}


{'fraction_non_alphanumeric': 0.15923356458539809, 'fraction_numerical': 0.0019821605550049554, 'mean_word_length': 1.9455252918287937, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '678709', 'n_tokens_mistral': 993, 'n_tokens_neox': 843, 'n_words': 172}