Re-ranked
- {# Three-state indicator:
- - Yes: re-ranker ran successfully
- - Skipped (+ tooltip): re-rank was requested but the
- pipeline bailed — badge colour is a warning so the
- user knows something didn't work
- - Off: user unchecked the re-rank box
- #}
+ {% comment %}
+ Three-state indicator:
+ - Yes: re-ranker ran successfully
+ - Skipped (+ tooltip): re-rank was requested but the
+ pipeline bailed — badge colour is a warning so the
+ user knows something didn't work
+ - Off: user unchecked the re-rank box
+ Note: Django's ``{# #}`` comment is single-line only;
+ multi-line blocks must use ``{% comment %}`` or they
+ render as literal text.
+ {% endcomment %}
{% if results.reranker_used %}
Yes
{% elif results.reranker_skip_reason %}