Pass Rate Trend{% if suite_name %} — {{ suite_name }}{% endif %}

{% if trend_runs %}
{%- for run in trend_runs %}
{%- set filled = (run.pass_rate * 10) | int %}
{%- set empty = 10 - filled %}
{%- set pct = (run.pass_rate * 100) | round | int %}
{%- if pct >= 80 %}{% set color = "green" %}{% elif pct >= 60 %}{% set color = "yellow" %}{% else %}{% set color = "red" %}{% endif %}
{{ run.run_at.strftime('%m-%d %H:%M') if run.run_at else '?'  }}  {{ '█' * filled }}{{ '░' * empty }}  {{ pct }}%
{%- endfor %}
  
{% else %}

No runs to display.

{% endif %}