<commit_before>{% macro render_circling_performance(flight) -%}
<table class="table table-condensed">
  <tbody>
    <tr>
      <th></th>
      <th class='numeric'>{% trans %}Thermals{% endtrans %}<br/>{% trans %}Avg. vario{% endtrans %}</th>
      <th class='numeric'>{% trans %}Duration{% endtrans %}<br/>&Delta;H</th>
    </tr>
    {% with perf=flight.circling_performance -%}
      {{ circling_performance_row(phase_formatter(perf.total)) }}
      {{ circling_performance_row(phase_formatter(perf.left)) }}
      {{ circling_performance_row(phase_formatter(perf.right)) }}
      {{ circling_performance_row(phase_formatter(perf.mixed)) }}
    {%- endwith %}<commit_msg>templates/flights/phases-table: Fix "'dict object' has no attribute 'right'"<commit_after>{% macro render_circling_performance(flight) -%}
<table class="table table-condensed">
  <tbody>
    <tr>
      <th></th>
      <th class='numeric'>{% trans %}Thermals{% endtrans %}<br/>{% trans %}Avg. vario{% endtrans %}</th>
      <th class='numeric'>{% trans %}Duration{% endtrans %}<br/>&Delta;H</th>
    </tr>
    {% with perf=flight.circling_performance -%}
      {% if perf.total %}{{ circling_performance_row(phase_formatter(perf.total)) }}{% endif %}
      {% if perf.left %}{{ circling_performance_row(phase_formatter(perf.left)) }}{% endif %}
      {% if perf.right %}{{ circling_performance_row(phase_formatter(perf.right)) }}{% endif %}
      {% if perf.mixed %}{{ circling_performance_row(phase_formatter(perf.mixed)) }}{% endif %}
    {%- endwith %}
{'fraction_non_alphanumeric': 0.19397116644823068, 'fraction_numerical': 0.0, 'mean_word_length': 4.473118279569892, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '3222903', 'n_tokens_mistral': 574, 'n_tokens_neox': 494, 'n_words': 87}