{# T11 ground-truth replay banner -- only renders when the scan has a replay_confidence below 0.5. NULL (replay didn't run) and >= 0.5 (recommendation looked solid) both produce no banner. The banner tells the user how many of the recommended calls actually returned matching data; they should treat the rest of the report cautiously before scaling. Styles are inlined because styles.css is byte-pinned to the scan-report mockup (see tests.unit.test_static_styles); inline ``style=`` attributes are the cleanest way to ship a new visual without touching the locked stylesheet. #} {% if report.replay_confidence is not none and report.replay_confidence < 0.5 %} {% set total = report.replay_per_endpoint | length %} {% set matches = report.replay_per_endpoint | selectattr('matched') | list | length %} {% endif %}