{% macro testresult_detail_table(tr, inline=false) %}
PropertyValue
Name{{ tr.name }}
Reject Null{{ tr.reject_null }}
Comparison to Target{{ tr.comparison_to_target }}
Confidence{{ tr.confidence }}
Observed Proportion{{ '%.3g' | format(tr.observed_proportion) }}
Observed Numerator{{ tr.observed_numerator }}
Observed Denominator{{ tr.observed_denominator }}
Target Lower Bound{{ '%.3g' | format(tr.target_lower_bound) }}
Target Upper Bound{{ '%.3g' | format(tr.target_upper_bound) }}
Bayes Factor{{ '%.3g' | format(tr.bayes_factor) }}
{% endmacro %} Validation Report

Validation Report

Overall Summary

Validation Results

{{ summary.total }}
Total Comparisons
{{ summary.passing }}
Passing
{{ summary.failing }}
Failing
{{ summary.pass_rate }}%
Pass Rate

Comparison Details

{% for comparison in comparisons %} {% endfor %}
Comparison Name Test Source Reference Source Status Actions
{{ comparison.measure_key }} {{ comparison.test_source }} {{ comparison.ref_source }} {{ 'PASS' if comparison.passed else 'FAIL' }} View Details Plots

Test Results

{% if not filtered_failing_results %}

No failing test results.

{% else %} {% for tr in filtered_failing_results %} {% endfor %}
Comparison Name Stratification Bayes Factor Direction Expand
{{ tr.name }} {% if tr.index_info %} {% for k, v in tr.index_info.items() %} {{ k }}: {{ v }}{% if not loop.last %}, {% endif %} {% endfor %} {% else %} {{ tr.name_additional }} {% endif %} {{ '%.3g' | format(tr.bayes_factor) }} {{ tr.comparison_to_target }}
{% endif %}
{% for comparison in comparisons %}

{{ comparison.measure_key }}

Metadata

Property Value
Test Source {{ comparison.test_source }}
Reference Source {{ comparison.ref_source }}
Status {{ 'PASS' if comparison.passed else 'FAIL' }}
Passing {{ comparison.passing_count }}
Failing {{ comparison.failing_count }}

Test Results

Overall Result: {{ "Pass" if comparison.passed else "Fail" }}

{% if comparison.overall_testresult %} {{ testresult_detail_table(comparison.overall_testresult) }} {% else %}

No overall test result metadata available.

{% endif %} {% if comparison.all_testresults and comparison.all_testresults|length > 1 %} {% set comp_idx = loop.index %}

All Test Results

Select Stratifications:
{% for dim in comparison.stratification_metadata["dimensions"] | default([]) %} {% endfor %}
Stratifications Status Expand
{% endif %}

{{ comparison.measure_key }} — Plots

{% set plot_key = (comparison.measure_key, comparison.test_source, comparison.ref_source) %} {% if plot_images and plot_key in plot_images %} {% for img_b64 in plot_images[plot_key] %} Plot for {{ comparison.measure_key }} {% endfor %} {% else %}

No plots available for this comparison.

{% endif %}
{% endfor %}