<commit_before><header id="header" class="ptn-header">
    <div id="aside-trigger" class="ptn-header__aside-trigger">
        <div class="ptn-line-wrap ptn-line-wrap_converge">
            <div class="ptn-line-wrap__line ptn-line-wrap__line_top"></div>
            <div class="ptn-line-wrap__line ptn-line-wrap__line_center"></div>
            <div class="ptn-line-wrap__line ptn-line-wrap__line_bottom"></div>
        </div>
    </div>
    <div class="ptn-header__logo">
        <a class="ptn-header__logo-link" href="{{ '/' | app }}">
            <span>{{ app.name }}</span>
            <img src="{{ 'assets/images/logos/logo-lightest-96x96.png' | theme }}">
        </a>
    </div>
    <div class="ptn-header__navigation">
        <ul class="ptn-header__navigation-list">
            <li class="ptn-header__navigation-list-item">
                {% if user %}
                <div class="ptn-header__navigation-list-item-wrap ptn-dropdown">
                    <a class="ptn-header__navigation-list-item-icon ptn-dropdown__trigger">
                        <i class="zmdi zmdi-account"></i>
                    </a>
                    <div class="dropdown__menu">
                        <div class="dropdown__menu-header">
                            <p class="dropdown__menu-title">{{ user.name }}</p>
                        </div>
                        <div class="dropdown__menu-body dropdown__menu-body_hollow">
                            <div class="ptn-list">
                                <ul class="ptn-list__list">
                                    <li class="ptn-list__item">
                                        <a class="ptn-list__link" href="{{ 'account' | page }}">
                                            <div class="ptn-list__item-icon">
                                                <i class="zmdi zmdi-male"></i>
                                            </div>
                                            <p class="ptn-list__item-text">My account</p>
                                        </a>
                                    </li>
                                    <li class="ptn-list__item">
                                        <a class="ptn-list__link" data-request="onLogout" data-request-redirect="/home">
                                            <div class="ptn-list__item-icon">
                                                <i class="zmdi zmdi-run"></i>
                                            </div>
                                            <p class="ptn-list__item-text">Sign out</p>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                {% else %}
                <div class="ptn-header__navigation-list-item-wrap ptn-dropdown">
                    <a class="ptn-header__navigation-list-item-text ptn-dropdown__trigger">
                        <i class="zmdi zmdi-walk"></i>
                        <span>Sign in</span>
                    </a>
                    <div class="dropdown__menu">
                        <div class="dropdown__menu-body">
                            <div class="dropdown__menu-form">
                                <form data-request="onSignin">
                                    <div class="ptn-input-block">
                                        <label class="ptn-input-block__label">
                                            <i class="zmdi zmdi-email"></i>
                                        </label>
                                        <div class="ptn-input-block__input">
                                            <input
                                                    class="ptn-input-block__input-text"
                                                    type="email"
                                                    name="email"
                                                    placeholder="Email">
                                        </div>
                                    </div>
                                    <div class="ptn-input-block">
                                        <label class="ptn-input-block__label">
                                            <i class="zmdi zmdi-shield-security"></i>
                                        </label>
                                        <div class="ptn-input-block__input">
                                            <input
                                                    class="ptn-input-block__input-text"
                                                    type="password"
                                                    name="password"
                                                    placeholder="Password">
                                        </div>
                                    </div>
                                    <button type="submit">
                                        <i class="zmdi zmdi-arrow-forward"></i>
                                    </button>
                                </form>
                            </div>
                        </div>
                        <div class="dropdown__menu-body dropdown__menu-body_hollow">
                            <div class="ptn-list">
                                <ul class="ptn-list__list">
                                    <li class="ptn-list__item">
                                        <a class="ptn-list__link" href="{{ 'account' | page }}">
                                            <div class="ptn-list__item-icon">
                                                <i class="zmdi zmdi-male-alt"></i>
                                            </div>
                                            <p class="ptn-list__item-text">Sign up</p>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div><commit_msg>[HEADER] Added "social sign in" links into the "account" dropdown of the "header" section.<commit_after><header id="header" class="ptn-header">
    <div id="aside-trigger" class="ptn-header__aside-trigger">
        <div class="ptn-line-wrap ptn-line-wrap_converge">
            <div class="ptn-line-wrap__line ptn-line-wrap__line_top"></div>
            <div class="ptn-line-wrap__line ptn-line-wrap__line_center"></div>
            <div class="ptn-line-wrap__line ptn-line-wrap__line_bottom"></div>
        </div>
    </div>
    <div class="ptn-header__logo">
        <a class="ptn-header__logo-link" href="{{ '/' | app }}">
            <span>{{ app.name }}</span>
            <img src="{{ 'assets/images/logos/logo-lightest-96x96.png' | theme }}">
        </a>
    </div>
    <div class="ptn-header__navigation">
        <ul class="ptn-header__navigation-list">
            <li class="ptn-header__navigation-list-item">
                {% if user %}
                <div class="ptn-header__navigation-list-item-wrap ptn-dropdown">
                    <a class="ptn-header__navigation-list-item-icon ptn-dropdown__trigger">
                        <i class="zmdi zmdi-account"></i>
                    </a>
                    <div class="dropdown__menu">
                        <div class="dropdown__menu-header">
                            <p class="dropdown__menu-title">{{ user.name }}</p>
                        </div>
                        <div class="dropdown__menu-body dropdown__menu-body_hollow">
                            <div class="ptn-list">
                                <ul class="ptn-list__list">
                                    <li class="ptn-list__item">
                                        <a class="ptn-list__link" href="{{ 'account' | page }}">
                                            <div class="ptn-list__item-icon">
                                                <i class="zmdi zmdi-male"></i>
                                            </div>
                                            <p class="ptn-list__item-text">My account</p>
                                        </a>
                                    </li>
                                    <li class="ptn-list__item">
                                        <a class="ptn-list__link" data-request="onLogout" data-request-redirect="/home">
                                            <div class="ptn-list__item-icon">
                                                <i class="zmdi zmdi-run"></i>
                                            </div>
                                            <p class="ptn-list__item-text">Sign out</p>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                {% else %}
                <div class="ptn-header__navigation-list-item-wrap ptn-dropdown">
                    <a class="ptn-header__navigation-list-item-text ptn-dropdown__trigger">
                        <i class="zmdi zmdi-walk"></i>
                        <span>Sign in</span>
                    </a>
                    <div class="dropdown__menu">
                        <div class="dropdown__menu-body">
                            <div class="dropdown__menu-form">
                                <form data-request="onSignin">
                                    <div class="ptn-input-block">
                                        <label class="ptn-input-block__label">
                                            <i class="zmdi zmdi-email"></i>
                                        </label>
                                        <div class="ptn-input-block__input">
                                            <input
                                                    class="ptn-input-block__input-text"
                                                    type="email"
                                                    name="email"
                                                    placeholder="Email">
                                        </div>
                                    </div>
                                    <div class="ptn-input-block">
                                        <label class="ptn-input-block__label">
                                            <i class="zmdi zmdi-shield-security"></i>
                                        </label>
                                        <div class="ptn-input-block__input">
                                            <input
                                                    class="ptn-input-block__input-text"
                                                    type="password"
                                                    name="password"
                                                    placeholder="Password">
                                        </div>
                                    </div>
                                    <div class="ptn-util__clearfix"></div>
                                    <button type="submit">
                                        <i class="zmdi zmdi-arrow-forward"></i>
                                    </button>
                                </form>
                            </div>
                        </div>
                        <div class="dropdown__menu-body dropdown__menu-body_hollow">
                            <div class="ptn-list">
                                <ul class="ptn-list__list">
                                    {% for name, link in social_login_links %}
                                    <li class="ptn-list__item">
                                        <a class="ptn-list__link" href="{{ link }}">
                                            <div class="ptn-list__item-icon">
                                                <i class="zmdi zmdi-{{ name | lower }}"></i>
                                            </div>
                                            <p class="ptn-list__item-text">Sign in with {{ name }}</p>
                                        </a>
                                    </li>
                                    {% endfor %}
                                </ul>
                            </div>
                        </div>
                        <div class="dropdown__menu-body dropdown__menu-body_hollow">
                            <div class="ptn-list">
                                <ul class="ptn-list__list">
                                    <li class="ptn-list__item">
                                        <a class="ptn-list__link" href="{{ 'account' | page }}">
                                            <div class="ptn-list__item-icon">
                                                <i class="zmdi zmdi-male-alt"></i>
                                            </div>
                                            <p class="ptn-list__item-text">Sign up</p>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
{'fraction_non_alphanumeric': 0.10727969348659004, 'fraction_numerical': 0.000601006686199384, 'mean_word_length': 0.7066666666666667, 'pattern_counts': {'":': 0, '<': 243, '<?xml version=': 0, '>': 243, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 188, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5437065', 'n_tokens_mistral': 2837, 'n_tokens_neox': 2692, 'n_words': 455}