<commit_before>{% extends 'layout.html' %}


{% block content %}
  {%- from 'bits.html' import breadcrumbs %}
  {%- set breadcrumb_links = [
        (person|string,
            url_for('pages.person', person_id=person.id)),
        ("întrebări și interpelări",
            None),
      ] %}
  {{ breadcrumbs(breadcrumb_links) }}

  <table class="person-addressee-top">
    <thead>
      <th>Top destinatari</th>
      <th>procent de întrebări</th>
    </thead>

  {% for count, name in addressee_top %}
    <tr>
      <td>{{ name }}</td>
      <td>{{ "%.0f%%"|format(100 * count / questions|length) }}</td>
    </tr>
  {% endfor %}
  </table>

  <table class="person-questions">
    <thead>
      <th>Titlu</th>
      <th>Destinatar</th>
      <th>Dată</th>
      <th>Scor</th><commit_msg>simplify the table<commit_after>{% extends 'layout.html' %}


{% block content %}
  {%- from 'bits.html' import breadcrumbs %}
  {%- set breadcrumb_links = [
        (person|string,
            url_for('pages.person', person_id=person.id)),
        ("întrebări și interpelări",
            None),
      ] %}
  {{ breadcrumbs(breadcrumb_links) }}

  <table class="person-addressee-top">
    <thead>
      <th colspan="2">Top destinatari</th>
    </thead>

  {% for count, name in addressee_top %}
    <tr>
      <td>{{ "%.0f%%"|format(100 * count / questions|length) }}</td>
      <td>{{ name }}</td>
    </tr>
  {% endfor %}
  </table>

  <table class="person-questions">
    <thead>
      <th>Titlu</th>
      <th>Destinatar</th>
      <th>Dată</th>
      <th>Scor</th>
{'fraction_non_alphanumeric': 0.19371391917896089, 'fraction_numerical': 0.005772931366260423, 'mean_word_length': 2.497757847533632, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, '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': '6876070', 'n_tokens_mistral': 618, 'n_tokens_neox': 572, 'n_words': 103}