{% extends "base.html" %} {% block title %}Evidence — {{ evidence.rule or 'rule' }} — Developer Portal{% endblock %} {% block content %}
CUI // SP-CTI
← Developer Portal {% if evidence.component %} / {{ evidence.component }} {% endif %} {% if not evidence.found %}
No evidence to show.
{{ evidence.error }}
{% else %}

{{ evidence.title or evidence.rule }}

{{ 'not applicable' if evidence.status == 'not_applicable' else evidence.status }} {{ evidence.dimension }} {% if evidence.level %}gates {{ evidence.level }}{% endif %} weight {{ evidence.weight }}

{{ evidence.rule }} as it applies to {{ evidence.component }}. Everything below was re-derived when you loaded this page — it is not a replay of a stored verdict.

{% if evidence.message %}
{{ evidence.message }}
{% endif %}
The check
query — runnable as-is in the IQE widget
{{ evidence.evidence.expression }}
{% if evidence.evidence.filter_expression %}
applies to
{{ evidence.evidence.filter_expression }}
{% endif %}
{% if evidence.status == 'not_applicable' %} {# The passing set is irrelevant here: the filter excluded this component, so the rule never graded it. Leading with the passing set would imply a verdict that was never reached. #}
This rule does not apply to {{ evidence.component }}. It falls outside the applies to query above, so it is neither passing nor failing here — it is unmeasured, and contributes nothing to the {{ evidence.dimension }} score.
For reference, {{ evidence.passing_count }} of the collection match the check itself.
{% else %}
result: {{ evidence.passing_count }} of the collection pass; {{ evidence.component }} {% if evidence.component_passes %} is in the passing set {% else %} is not {% endif %}
{% endif %}
collection {{ evidence.evidence.collection }} · adapter {{ evidence.adapter_module }} · rule defined in {{ evidence.scorecard_source }}
Observed facts
{% if evidence.evidence.observed %} {% for field, value in evidence.evidence.observed | dictsort %} {% endfor %}
{{ field }} {% if value is sameas true %}✅ true {% elif value is sameas false %}❌ false {% elif value == '' or value is none %}— {% else %}{{ value }}{% endif %}
{% else %}
This rule's predicate reads no fact field the collection exposes, so there is no observed value to show.
{% endif %} {% if evidence.evidence.note %}
{{ evidence.evidence.note }}
{% endif %}
{# The raw rows behind a derived fact. A count is an assertion until the rows are visible; an empty set is "not measured", never "healthy". #} {% for source in evidence.sources %}
{{ source.label }} {% if source.table %}{{ source.table }}{% endif %} {% if source.measured %} {{ source.rows | length }} row(s) {% else %} not measured {% endif %}
{% if not source.measured %}
Nothing has been recorded here for this component. Absent evidence is reported as absent — it is not counted as a pass.
{% elif source.kind == 'probe_rows' %} {% for row in source.rows %} {% endfor %}
RouteStatusProbed at
{{ row.route }} {{ row.status }} {{ row.probed_at }}
{% else %} {% for row in source.rows %} {% endfor %}
{% if row.present %}✅{% elif row.required %}❌{% else %}➖{% endif %} {{ row.point }} {{ row.message }}{% if row.path %} {{ row.path }}{% endif %}
{% endif %}
{% endfor %}
JSON: /idp/api/evidence?component={{ evidence.component }}&rule={{ evidence.rule }}
{% endif %}
{% include "includes/iqe_query_widget.html" %} {% endblock %}