{% macro render_feature(index_id, cluster_id, feature_id, field, value, score, context, highlight_feature_id=None) %}
{{ field }}
{{ value }}
{{ ("{:.2e}").format(score) }}
{%- endmacro %} {% macro render_cluster(index_id, cluster_id, features, cluster_score=None, highlight_cluster_id=None, highlight_feature_id=None, context='index') -%}
Cluster {{ cluster_id }} {% if cluster_score is not none %}- {{ "{:.2e}".format(cluster_score) }}{% endif %}
{% if context == "index" %} {% endif %}
{%- endmacro %}