{% import "v4_utils.html" as v4_utils %} {% import "utils.html" as utils %} {% set run = request_info.run %} {% set compare_to = request_info.compare_to %} {% set baseline = request_info.baseline %} {% set ts = request_info.ts %} {% set machine = run.machine %} {% extends "layout.html" %} {% set components = [(ts.name, v4_url_for("v4_overview")), ('machine', v4_url_for("v4_machine", id=machine.id))] %} {% block head %} {% endblock %} {% block title %}Run Results{% endblock %} {% block body %} {% macro get_cell_value(cr) %} {% set test_status = cr.get_test_status() %} {% set value_status = cr.get_value_status() %} {% set run_cell_value = "-" if cr.current is none else "%.4f" % cr.current %} {% if options.show_previous %} {% set prev_cell_value = "-" if cr.previous is none else "%.4f" % cr.previous %}
Name{% for field in primary_fields %} {{field.name}} {% endfor %} -{% for field in primary_fields %} Prev Value %{% endfor %} {% for test_name,test_id in test_info %}{{ test_name }}{% for field in primary_fields %}{% set cr = request_info.sri.get_run_comparison_result( run, compare_to, test_id, field, request_info.comparison_window) %} {{cr.previous}} {{cr.current}} {{cr.pct_delta}}{% endfor %} {% endfor %}{% endif %} {% endcall %} {% endblock %}