{% extends "base.html" %} {% block title %}Referee · {{ current.name }} — rwa-filer dash{% endblock %} {% block head_extra %}{% if running %}{% endif %}{% endblock %} {% block content %} {% set rid = current.return_id %}
Referee

A second opinion from Arelle

Run the Arelle XBRL processor on a written instance against the Bank's taxonomy package, and set its verdict on every rule beside this package's own. A disagreement means one of the two has misread a rule. A large module takes minutes and several GB of memory; the run continues while you use the rest of the dashboard.

{% if error %} {% endif %} {% if not arelle_available %}
Arelle is not available

{{ arelle_detail }}

{% endif %} {% if job %}

{{ {"running": "Running", "done": "Finished", "failed": "Stopped"}[job.status] }}

started {{ job.started_at | moment }}{% if job.finished_at %} · finished {{ job.finished_at | moment }}{% endif %}
Instance {{ job.instance }}
Taxonomy package {{ job.package }}{% if job.rules %} · rules matching {{ job.rules }}{% endif %}
{% if running %} {% set progress = job.progress() %}

{% if progress %}{{ progress[0] }} of {{ progress[1] }} worker{{ "s" if progress[1] != 1 }} finished.{% else %}Planning the run…{% endif %} This page reloads every {{ refresh }} seconds.

{% elif job.error %}

{{ job.error }}

{% else %} {% set result = job.result %}
{{ verdict }}
Rules evaluated
{{ result.rules | length | count }}
{{ result.skipped | length }} skipped (template not filed) · {{ result.lost | length }} lost
Arelle messages
{{ result.messages | length }}
{{ result.errors | length }} at an error level
{% if job.differential %} {% set counts = job.differential.counts() %}
Engines agree
{{ counts["agree"] | count }}
of {{ job.differential.compared | count }} compared · {{ counts["count_differs"] }} differ only in count
Disagree
{{ counts["disagree"] }}
{{ counts["not_compared"] }} not compared
{% endif %}
{% if job.differential and job.differential.disagreements %}

Where the engines disagree

{% for item in job.differential.disagreements %}{% endfor %}
RuleThis packageArelleNote
{{ item.rule_id }}{{ item.native }} {{ item.native_counts }}{{ item.referee }} {{ item.referee_counts or "" }}{{ item.note }}
{% endif %} {% if result.messages %}

Arelle's messages

{% for message in result.messages[:50] %}{% endfor %}
CodeLevelMessage
{{ message.code }}{{ message.level }}{{ message.text }}
{% endif %} {% endif %}
{% endif %}

{{ "Run again" if job else "Start a run" }}

{% if instances %}
Instance {% for key, path in instances %} {% endfor %}
{% if arelle_available %}Arelle: {{ arelle_detail }}{% endif %}
{% else %}

The referee reads an XBRL instance. This return was not opened from one: build its package first on Build & sign off, then check the file that build wrote.

{% endif %}
{% if history | length > 1 %}

Earlier runs

{% for item in history %}{{ item.status }}{{ item.started_at | moment }}{{ item.instance.name }}{% endfor %}
{% endif %} {% endblock %} {% block command %}
Same on the command line: rwa-filer referee INSTANCE --taxonomy-package ZIP
{% endblock %}