{# Shared presentation only: imported report fields remain autoescaped. #} {% macro styles() -%} {%- endmacro %} {% macro finding(issue, page_limit=none) -%} {% if issue.get('rule_id') or issue.get('status') or issue.get('applicability') or issue.get('source') or issue.get('references') or issue.get('reviewed_on') or 'evidence' in issue %}
{% if issue.get('rule_id') %}

Rule: {{ issue.rule_id }}

{% endif %} {% if issue.get('status') %}

Outcome: {{ issue.status }}

{% endif %} {% if issue.get('applicability') %}

Applicability: {{ issue.applicability }}

{% endif %} {% if issue.get('rule_applicability') %}

{{ issue.rule_applicability }}

{% endif %} {% if issue.get('reason') %}

{{ issue.reason }}

{% endif %} {% if issue.get('source') %}

Observation source: {{ issue.source }}

{% endif %} {% if issue.get('score_owner') or issue.get('owner') %}

Score category: {{ issue.get('score_owner') or issue.owner }}

{% endif %} {% if 'penalty' in issue %}

Rule deduction: {{ issue.penalty|number }} points

{% endif %} {% if issue.get('references') %}

Rule references:

{% endif %} {% if issue.get('reviewed_on') %}

Rule reviewed: {{ issue.reviewed_on }}

{% endif %} {% if 'evidence' in issue and issue.evidence is not none %}
Recorded evidence
{{ issue.evidence|json_text }}
{% endif %} {% if issue.get('observations') %}
Combined observations
{{ issue.observations|json_text }}
{% endif %} {% if issue.get('evidence_by_page') %}
Evidence by affected page {% if page_limit and issue.evidence_by_page|length > page_limit %}

First {{ page_limit }} entries. Open the finding in All findings for the complete evidence.

{% endif %}
{{ (issue.evidence_by_page[:page_limit] if page_limit else issue.evidence_by_page)|json_text }}
{% endif %}
{% endif %} {%- endmacro %} {% macro overview(policies, versions, coverage) -%} {% if policies or versions or coverage %}

Scoring policy and rule coverage

{% if versions %}

Scoring versions: {{ versions|join(', ') }}

{% endif %} {% for policy in policies %} {% if policy.get('ruleset_version') %}

Ruleset: {{ policy.ruleset_version }}

{% endif %} {% if policy.get('policy') %}

{{ policy.policy }}

{% endif %} {% if policy.get('scope') %}

{{ policy.scope }}

{% endif %} {% if policy.get('weights') %}
Configured category weights
{{ policy.weights|json_text }}
{% endif %} {% endfor %} {% if policies or versions %}

Scores and weights are TFQ0SEO checklist policy, not search ranking factors or promises from the reference sources.

{% endif %} {% if coverage %}

Recorded rule evaluations: {{ coverage.get('total')|number }}. Assessed: {{ coverage.get('assessed')|number }}.

{% if coverage.get('counts') is mapping %} {% endif %} {% if coverage.get('scope') %}

{{ coverage.scope }}

{% endif %}

Unknown, error, and not-applicable outcomes are not passed checks. Disabled or unattempted checks are not assumed to pass.

{% endif %}
{% endif %} {%- endmacro %}