{% load debusine %} {% load static %} {% if rows %}
{% if work_request.status == "completed" %} Global result {% help "regression_tracking" %}: {% include "web/_work_request-result.html" with result=work_request.result only %} {% else %} Results {% help "regression_tracking" %}: {% endif %} {# TODO: use template partialdef/partial in Django 6 to reuse the counting block (with and without parentheses),#} {# and without needing an include or the {½ if work_request.status == "completed" at the end.#} {% if work_request.status == "completed" %}({% endif %}{{ status_counts.regression }} regression{{ status_counts.regression|pluralize }}, {{ status_counts.stable }} stable, {{ status_counts.improvement }} improvement{{ status_counts.improvement|pluralize }}, {{ no_result_count }} no-result{% if work_request.status == "completed" %}){% endif %}
{% for row in rows %} {% endfor %}
Test name Original result for {{ summary.original_source_version|break_version }} New result for {{ summary.new_source_version|break_version }} Conclusion
{{ row.name }} {% include "web/_work_request-detail-qa-cell.html" with can_retry=row.orig_can_retry artifact=row.orig csrf_token=csrf_token only %} {% include "web/_work_request-detail-qa-cell.html" with can_retry=row.new_can_retry artifact=row.new csrf_token=csrf_token only %} {% include "web/_regression_label.html" with status=row.analysis.status only %}
{% else %} No regression analysis results {% endif %} {% for w in warnings %}{% endfor %}