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

Sources and coverage

{% if pack.catalogue.error %}

sources.json does not validate: {{ pack.catalogue.error }}

{% endif %} {% if tab == 'matrix' %}

Coverage matrix

The highest stage each jurisdiction and language reached, with the count behind it. A cell opens the catalogue table filtered to it.

{% for language in matrix.languages %}{% endfor %} {% for row in matrix.rows %} {% for cell in row.cells %} {% endfor %} {% endfor %}
Jurisdiction{{ language }}
{{ row.jurisdiction }} {% if cell.stage %} {{ cell.stage }}
{{ cell.count }}
{% else %}-{% endif %}
{% else %}
Clear {% if not read_only %}Add a source{% endif %}
{{ m.pager(listing, '/packs/' ~ pack.pack ~ '/sources?tab=catalogue') }}
{% for row in listing.rows %} {% else %} {% endfor %}
SourceTitleAuthorityJurisdictionLangPrio ScanCanonical authorityAcquisition reviewRecordFacts
{{ m.source_link(pack.pack, row.source_id) }} {{ row.title }}
{{ row.start_url | shorten(70) }}
{{ row.authority_level }} {{ row.jurisdiction }} {{ row.language }} {{ row.priority }} {{ row.scan_status }} {{ row.canonical_authority }} {% if row.disposition == 'approved' %}human-reviewed - approved {% if row.review %}
{{ row.review.reviewed_by }}, {{ row.review.reviewed_on }}
{% endif %} {% elif row.gap in (none, 'none') %}none {% else %}{{ row.gap }} {{ 'retriable' if row.retriable else 'not retriable' }}
{{ row.action }}
{% endif %}
{% if row.disposition == 'approved' or row.text_review %}accepted scope {% elif row.record_status == 'error_page' %}error_page {% elif row.record_status == 'no record' %}no record {% else %}{{ row.record_status }}{% endif %} {% if row.document_id %}
{{ m.document_link(pack.pack, row.document_id, row.document_id | shorten(14)) }}{% endif %}
{{ row.records }} record(s)
{{ row.facts }}
No source matches.

Discovered pages of the run

Pages a link-following crawl found, grouped by attribution kind and host, as the acquisition report renders them. Promoting a page opens the source form prefilled from it, so a discovered page becomes a catalogue entry with a documented discovery reference.

{% for group in discovered %}
{{ group.host }} - {{ group.kind }} - {{ group.pages }} pages, {{ group.saved }} saved{% if group.approved %}, {{ group.approved }} accepted for scope{% endif %}{% if group.gaps %}, outstanding: {% for gap, count in group.gaps.items() %}{{ gap }} {{ count }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %} {% if not read_only %}{% endif %} {% for target in group.targets %} {% if not read_only %} {% endif %} {% endfor %}
PageStatusAcquisition reviewAction
{{ target.label | shorten(70) }}
{{ target.url | shorten(90) }}
{{ target.status }} {% if target.disposition == 'approved' %}human-reviewed - approved {% else %}{{ target.gap }}{% endif %}promote to catalogue
{% if group.pages > group.targets | length %}

The first {{ group.targets | length }} of {{ group.pages }} pages are listed; the rest are in gap-report.json.

{% endif %}
{% else %}

No discovered pages in the run, or no gap report yet.

{% endfor %} {% endif %} {% endblock %}