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

Tool sandbox

{% if not service %}

No release to call. Build one on the release screen.

{% else %}
the pack's release.json and every release the console archived

get_coverage

search

resolve

concepts ({{ concepts | length }})

{{ concepts | join(', ') }}

context fields {% for name, spec in context_fields.items() %} {% endfor %}
FieldEnum
{{ name }}{{ (spec.enum or []) | join(', ') }}
published jurisdictions

{{ cantons | join(', ') }}

get_evidence

{% endif %}

Stored checks

{% if checks_error %}

checks.yaml does not validate: {{ checks_error }}

{% endif %} {% if not checks %}

No checks.yaml for this pack yet.

{% if not read_only %}
{% endif %} {% else %}

{% if checks.last_run %}last run {{ checks.last_run.at }} against {{ checks.last_run.release_id }}: {% for name, result in checks.last_run.results.items() %} {{ name }} {{ result }}{% endfor %} {% else %}never run{% endif %}

{% for check in checks.checks %} {% endfor %}
CheckToolRequestExpect
{{ check.check_id }}
{{ check.title }}
{{ check.tool }} {{ check.request | as_json | shorten(220) }} {{ check.expect.model_dump() | as_json | shorten(220) }}
{% if checks.samples %}

Sample verdicts

{% for document_id, sample in checks.samples.items() %} {% endfor %}
DocumentReviewerOnBlocksVerdict
{{ document_id }}{{ sample.reviewed_by }}{{ sample.on }} {{ sample.blocks_checked }}{{ sample.verdict }}
{% endif %} {% if not read_only %}
Save a call as a check
{% endif %} {% endif %} {% endblock %}