{% extends "base.html" %} {% block body %}
{% for n in ['bb4', 'bb6', 'fb6'] %} {% endfor %} {% for d, dc in net.dcs.items() | sort %} {% for n in ['bb4', 'bb6'] %} {% set v = 100 * dc.counts[n].p / dc.counts[n].c if dc.counts[n].c > 0 else 0 %} {% set cl = 'error' if v < 95 else 'warn' if v < 98 else '' %} {% endfor %} {% for n in ['fb6'] %} {% set v = 100 * dc.counts[n].p / dc.counts[n].c if dc.counts[n].c > 0 else 0 %} {% set cl = 'error' if v < 80 else 'warn' if v < 90 else '' %} {% endfor %} {% for l, line in dc.lines.items() | sort %} {% for n in ['bb4', 'bb6'] %} {% set v = 100 * line.counts[n].p / line.counts[n].c if line.counts[n].c > 0 else 0 %} {% set cl = 'error' if v < 95 else 'warn' if v < 98 else '' %} {% endfor %} {% for n in ['fb6'] %} {% set v = 100 * line.counts[n].p / line.counts[n].c if line.counts[n].c > 0 else 0 %} {% set cl = 'error' if v < 80 else 'warn' if v < 90 else '' %} {% endfor %} {% endfor %} {% endfor %}

{{ n }}

{{ d }}

{{ '%.2f' | format(v) }} +h{{ '%.2f' | format(v) }} +h{{ dc.counts['bb6'].c }}

{{ l }}

{{ '%.2f' | format(v) }} +h{{ '%.2f' | format(v) }} +h{{ line.counts['bb6'].c }}
{% for d, dc in net.dcs.items() %} {% for n in ['bb4', 'bb6', 'fb6'] %}

{{ d }} / {{ n }}

{% for m in dc.counts[n].h %} +{{ m }} {% endfor %}
{% endfor %} {% for l, line in dc.lines.items() %} {% for n in ['bb4', 'bb6', 'fb6'] %}

{{ d }} / {{ l }} / {{ n }}

{% for m in net.dcs[d].lines[l].counts[n].h %} +{{ m }} {% endfor %}
{% endfor %} {% endfor %} {% endfor %}
{% endblock %}