<commit_before>{% extends 'base.html.twig' %}
{% block title %}Dresseur {{ user.username }}{% endblock %}
{% block body %}
    <div class="row animated-panel">
        <div class="col-md-6">
            <div class="panel panel-default">
                <div class="panel-heading">
                        <div class="tools">
                            <a href="{{ path('index') }}" title="Classement général">
                                <i class="glyphicon glyphicon-list"></i>
                            </a>
                            {% if app.user == user %}
                                <a href="{{ path('account') }}" title="Modifier mon profil">
                                    <i class="glyphicon glyphicon-edit"></i>
                                </a>
                                <a href="#" id="refresh">
                                    <i class="glyphicon glyphicon-refresh"></i>
                                </a>
                            {% elseif is_granted('ROLE_ADMIN') %}
                                <a href="{{ path('edit', {id: user.id}) }}" title="Modifier le profil de {{ user.username }}">
                                    <i class="glyphicon glyphicon-edit"></i>
                                </a>
                                <a href="{{ path('index', {
                                    _switch_user: user.email
                                }) }}" title="Se connecter à la place de {{ user.username }}">
                                    <i class="glyphicon glyphicon-lock"></i>
                                </a>
                            {% endif %}
                        </div>
                    {{ user.username }}
                    {% if user.name is not empty %}
                        - {{ user.name }}
                    {% endif %}
                </div>
                <div class="panel-body">
                    <div class="row">
                        <div class="col-xs-4 avatar">
                            <img src="{{ user.avatar }}"/>
                            <strong>{{ user.level }}</strong>
                            <div class="progressXP">
                                <progress style="width: {{ user.progress }}%"></progress>
                            </div>
                        </div>
                        <div class="col-xs-4">
                            <dl class="dl-horizontal">
                                {% if app.user == user %}
                                    <div><strong>Email</strong></div>
                                {% endif %}
                                <div><strong>Expérience</strong></div>
                                {% if user.sign %}
                                    <div><strong>Date d'inscription</strong></div>
                                {% endif %}
                                <div><strong>Pokémons rencontrés</strong></div>
                                <div><strong>Pokémons possédés</strong></div>
                                <div><strong>Pokémons capturés</strong></div>
                                <div><strong>Pokémons évolués</strong></div>
                            </dl>
                        </div>
                        <div class="col-xs-4">
                            {% if app.user == user %}
                                <div>{{ user.email }}</div>
                            {% endif %}
                            <div>{{ user.xp }}</div>
                            {% if user.sign %}
                                <div>{{ user.sign | date('d/m/Y') }}</div>
                            {% endif %}
                            <div>{{ user.discovered }}</div>
                            <div>{{ user.pokedex | length }}</div>
                            <div>{{ user.catched }}</div>
                            <div>{{ user.evolved }}</div>
                        </div>
                        {% if user.cheater %}
                            <div class="col-xs-12">
                                <div class="alert alert-warning">
                                    Cet utilisateur est suspecté d'automatiser sa chasse, son compte n'apparaît donc pas dans les différentes statistiques et classements.
                                </div>
                            </div>
                        {% endif %}
                    </div>
                </div>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    Classement
                </div>
                <div class="panel-body">
                    <table class="table">
                        <thead>
                            <tr>
                                <th>#</th>
                                <th>Joueur</th>
                                <th class="text-center">Niveau</th>
                                <th class="text-center">Points</th><commit_msg>Last Update on profil<commit_after>{% extends 'base.html.twig' %}
{% block title %}Dresseur {{ user.username }}{% endblock %}
{% block body %}
    <div class="row animated-panel">
        <div class="col-md-6">
            <div class="panel panel-default">
                <div class="panel-heading">
                        <div class="tools">
                            <a href="{{ path('index') }}" title="Classement général">
                                <i class="glyphicon glyphicon-list"></i>
                            </a>
                            {% if app.user == user %}
                                <a href="{{ path('account') }}" title="Modifier mon profil">
                                    <i class="glyphicon glyphicon-edit"></i>
                                </a>
                                <a href="#" id="refresh">
                                    <i class="glyphicon glyphicon-refresh"></i>
                                </a>
                            {% elseif is_granted('ROLE_ADMIN') %}
                                <a href="{{ path('edit', {id: user.id}) }}" title="Modifier le profil de {{ user.username }}">
                                    <i class="glyphicon glyphicon-edit"></i>
                                </a>
                                <a href="{{ path('index', {
                                    _switch_user: user.email
                                }) }}" title="Se connecter à la place de {{ user.username }}">
                                    <i class="glyphicon glyphicon-lock"></i>
                                </a>
                            {% endif %}
                        </div>
                    {{ user.username }}
                    {% if user.name is not empty %}
                        - {{ user.name }}
                    {% endif %}
                </div>
                <div class="panel-body">
                    <div class="row">
                        <div class="col-xs-4 avatar">
                            <img src="{{ user.avatar }}"/>
                            <strong>{{ user.level }}</strong>
                            <div class="progressXP">
                                <progress style="width: {{ user.progress }}%"></progress>
                            </div>
                        </div>
                        <div class="col-xs-4">
                            <dl class="dl-horizontal">
                                {% if app.user == user %}
                                    <div><strong>Email</strong></div>
                                {% endif %}
                                <div><strong>Expérience</strong></div>
                                <div><strong>Date d'inscription</strong></div>
                                <div><strong>Date de mise à jour</strong></div>
                                <div><strong>Pokémons rencontrés</strong></div>
                                <div><strong>Pokémons possédés</strong></div>
                                <div><strong>Pokémons capturés</strong></div>
                                <div><strong>Pokémons évolués</strong></div>
                            </dl>
                        </div>
                        <div class="col-xs-4">
                            {% if app.user == user %}
                                <div>{{ user.email }}</div>
                            {% endif %}
                            <div>{{ user.xp }}</div>
                            <div>{{ user.sign | date('d/m/Y') }}</div>
                            <div>{{ user.lastUpdate | date('d/m/Y H:i') }}</div>
                            <div>{{ user.discovered }}</div>
                            <div>{{ user.pokedex | length }}</div>
                            <div>{{ user.catched }}</div>
                            <div>{{ user.evolved }}</div>
                        </div>
                        {% if user.cheater %}
                            <div class="col-xs-12">
                                <div class="alert alert-warning">
                                    Cet utilisateur est suspecté d'automatiser sa chasse, son compte n'apparaît donc pas dans les différentes statistiques et classements.
                                </div>
                            </div>
                        {% endif %}
                    </div>
                </div>
            </div>
            <div class="panel panel-default">
                <div class="panel-heading">
                    Classement
                </div>
                <div class="panel-body">
                    <table class="table">
                        <thead>
                            <tr>
                                <th>#</th>
                                <th>Joueur</th>
                                <th class="text-center">Niveau</th>
                                <th class="text-center">Points</th>
{'fraction_non_alphanumeric': 0.13040396881644223, 'fraction_numerical': 0.0012149438088488408, 'mean_word_length': 0.7814247069431921, 'pattern_counts': {'":': 0, '<': 225, '<?xml version=': 0, '>': 225, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 37, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2225014', 'n_tokens_mistral': 2405, 'n_tokens_neox': 2178, 'n_words': 452}