{% extends "base.html" %} {% import "macros.html" as m %} {% block title %}Relocation review - {{ pack.pack }}{% endblock %} {% block content %}

Relocation review

Every citation of the last build whose outcome is not same-snapshot, grouped by outcome. Build report of {{ report.built_at or 'no build yet' }}, release {{ report.release_id }}. Citation outcomes: {% for outcome, count in (report.citation_outcomes or {}).items() %}{{ count }} {{ outcome }}{% if not loop.last %}, {% endif %}{% endfor %}

{% for group in order %} {% set rows = groups.get(group, []) %} {% if rows %}

{{ group }} ({{ rows | length }})

{% if group == 'same-text' %}

The page was downloaded anew and the text is identical. Listed for the record; nothing to do.

{% endif %} {% if group == 'moved' %}

The excerpt moved inside the page and was found by its block hashes. Nothing to do.

{% endif %} {% if group == 'moved-with-warnings' %}

The excerpt was found but its context changed. Confirm it again in the review queue.

{% endif %} {% if group == 'ambiguous' %}

The excerpt occurs more than once. Pick the range that is meant, or drop the fact.

{% endif %} {% if group == 'changed' %}

The excerpt is gone. Open the reading view at the closest block and re-cite, or drop the fact with a note.

{% endif %} {% if group == 'dropped' %}

The build dropped these facts. Fix the citation or the source.

{% endif %} {% for row in rows %}

{{ m.fact_link(pack.pack, row.fact_id) }} {% if row.concept_id %}in {{ m.concept_link(pack.pack, row.concept_id) }}{% endif %} citation {{ row.number }} {% if row.dropped %}dropped{% endif %} {% for warning in row.warnings %}{{ warning }}{% endfor %}

{{ row.statement | shorten(300) }}

document {{ row.document_id }} {% if row.entry %}- {{ row.entry.title | shorten(70) }}{% endif %} {% if row.citation.reason %}
reason: {{ row.citation.reason }}{% endif %}

{% if row.anchor %}
anchored excerpt and heading path

{{ row.anchor.heading_path | join(' / ') }}

{{ row.anchor.excerpt }}
{% endif %} {% if row.candidates %}

Candidates

{% if not read_only %}{% endif %} {% for candidate in row.candidates %} {% if candidate.block_ids %} {% if not read_only %} {% endif %} {% endif %} {% for match in candidate.matches or [] %} {% if not read_only %} {% endif %} {% endfor %} {% endfor %}
BlocksHeading pathClosest textAction
{{ candidate.block_ids | join(', ') }} {{ (candidate.heading_path or []) | join(' / ') }} -
{{ match.block_id }} similarity {{ match.ratio }} {{ match.text | shorten(200) }} open the reading view
{% endif %} {% if not read_only and group in ('ambiguous', 'changed', 'dropped') %}
drop this fact
{% endif %}
{% endfor %} {% endif %} {% else %} {% endfor %} {% if not groups %}

Every citation of the last build resolved inside its own snapshot.

{% endif %} {% endblock %}