nullius-eval 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- _nullius_app/.env.example +55 -0
- _nullius_app/app.py +96 -0
- _nullius_app/requirements.txt +1 -0
- _nullius_app/static/brand/README.md +20 -0
- _nullius_app/static/brand/docker.svg +1 -0
- _nullius_app/static/brand/favicon.svg +1 -0
- _nullius_app/static/brand/huggingface.svg +37 -0
- _nullius_app/static/brand/mark-dark.svg +1 -0
- _nullius_app/static/brand/marks.svg +34 -0
- _nullius_app/static/brand/tokens.json +51 -0
- _nullius_app/static/brand/typesafe.png +0 -0
- _nullius_app/static/brand/wordmark-dark.svg +1 -0
- _nullius_app/static/builder/command-builder-core.js +763 -0
- _nullius_app/static/builder/command-builder.css +248 -0
- _nullius_app/static/builder/command-builder.js +997 -0
- _nullius_app/static/builder/model-picker.js +113 -0
- _nullius_app/static/catalogue/add.js +46 -0
- _nullius_app/static/catalogue/agents/README.md +19 -0
- _nullius_app/static/catalogue/agents/goose.svg +1 -0
- _nullius_app/static/catalogue/agents/jiuwenswarm.svg +33 -0
- _nullius_app/static/catalogue/agents/marks.json +8 -0
- _nullius_app/static/catalogue/agents/mini-swe-agent.svg +7 -0
- _nullius_app/static/catalogue/agents/opencode.svg +7 -0
- _nullius_app/static/catalogue/catalogue.css +436 -0
- _nullius_app/static/catalogue/catalogue.js +87 -0
- _nullius_app/static/catalogue/marks.svg +29 -0
- _nullius_app/static/catalogue/new.js +78 -0
- _nullius_app/static/catalogue/versions.js +27 -0
- _nullius_app/static/compare/comparison.css +117 -0
- _nullius_app/static/controls.js +117 -0
- _nullius_app/static/disclosures.js +70 -0
- _nullius_app/static/fonts/0569c822cab6c510.ttf +0 -0
- _nullius_app/static/fonts/DMSans-Medium.woff2 +0 -0
- _nullius_app/static/fonts/DMSans-Regular.woff2 +0 -0
- _nullius_app/static/fonts/IBMPlexMono-Medium.woff2 +0 -0
- _nullius_app/static/fonts/IBMPlexMono-Regular.woff2 +0 -0
- _nullius_app/static/fonts/InstrumentSerif-Italic.woff2 +0 -0
- _nullius_app/static/fonts/InstrumentSerif-Regular.woff2 +0 -0
- _nullius_app/static/fonts/README.md +11 -0
- _nullius_app/static/fonts/c1e7453ea26a1d1e.ttf +0 -0
- _nullius_app/static/fonts/dmsans-OFL.txt +93 -0
- _nullius_app/static/fonts/ibmplexmono-OFL.txt +93 -0
- _nullius_app/static/fonts/instrumentserif-OFL.txt +93 -0
- _nullius_app/static/fonts.css +49 -0
- _nullius_app/static/notifications.js +49 -0
- _nullius_app/static/onboarding.css +78 -0
- _nullius_app/static/onboarding.js +158 -0
- _nullius_app/static/runs/board.css +358 -0
- _nullius_app/static/runs/board.js +127 -0
- _nullius_app/static/runs/launches.css +88 -0
- _nullius_app/static/runs/live-board.css +186 -0
- _nullius_app/static/runs/live-board.js +394 -0
- _nullius_app/static/runs/path-suggestions.js +119 -0
- _nullius_app/static/runs/start.css +38 -0
- _nullius_app/static/settings/autosave.js +162 -0
- _nullius_app/static/settings/custom-keys.js +100 -0
- _nullius_app/static/settings/data-providers.js +88 -0
- _nullius_app/static/settings/judges.js +61 -0
- _nullius_app/static/settings/modal.css +32 -0
- _nullius_app/static/settings/modal.js +91 -0
- _nullius_app/static/settings/navigation.js +55 -0
- _nullius_app/static/settings/prices.js +68 -0
- _nullius_app/static/settings/providers.js +134 -0
- _nullius_app/static/settings/sandbox.js +20 -0
- _nullius_app/static/settings/settings.css +288 -0
- _nullius_app/static/style.css +1752 -0
- _nullius_app/static/traces/conversation.css +49 -0
- _nullius_app/static/traces/conversation.js +215 -0
- _nullius_app/templates/agents/entry.html +145 -0
- _nullius_app/templates/agents/kits.html +55 -0
- _nullius_app/templates/agents/standard.html +58 -0
- _nullius_app/templates/base.html +479 -0
- _nullius_app/templates/builder/new_run.html +55 -0
- _nullius_app/templates/catalogue/add_dialog.html +32 -0
- _nullius_app/templates/catalogue/benchmark.html +270 -0
- _nullius_app/templates/catalogue/benchmarks.html +91 -0
- _nullius_app/templates/catalogue/new.html +141 -0
- _nullius_app/templates/catalogue/use_bundle.html +11 -0
- _nullius_app/templates/compare/_detail.html +37 -0
- _nullius_app/templates/compare/compare.html +298 -0
- _nullius_app/templates/compare/compare_picker.html +51 -0
- _nullius_app/templates/compare/compare_task.html +329 -0
- _nullius_app/templates/runs/_execution.html +131 -0
- _nullius_app/templates/runs/_runtime.html +5 -0
- _nullius_app/templates/runs/ascii-mark.html +485 -0
- _nullius_app/templates/runs/feasibility.html +127 -0
- _nullius_app/templates/runs/index.html +609 -0
- _nullius_app/templates/runs/job.html +460 -0
- _nullius_app/templates/runs/preparing.html +14 -0
- _nullius_app/templates/runs/reconcile.html +124 -0
- _nullius_app/templates/runs/setup.html +272 -0
- _nullius_app/templates/runs/start.html +51 -0
- _nullius_app/templates/settings/custom_keys.html +82 -0
- _nullius_app/templates/settings/data_providers.html +27 -0
- _nullius_app/templates/settings/settings.html +564 -0
- _nullius_app/templates/traces/_charts.html +165 -0
- _nullius_app/templates/traces/_conversation.html +37 -0
- _nullius_app/templates/traces/_judgement.html +72 -0
- _nullius_app/templates/traces/artifact.html +15 -0
- _nullius_app/templates/traces/trial.html +838 -0
- _nullius_app/templates/workspaces/workspaces.html +54 -0
- _nullius_app/web/__init__.py +1 -0
- _nullius_app/web/agents.py +230 -0
- _nullius_app/web/builder.py +406 -0
- _nullius_app/web/catalogue.py +370 -0
- _nullius_app/web/compare.py +489 -0
- _nullius_app/web/core.py +17 -0
- _nullius_app/web/execute.py +223 -0
- _nullius_app/web/feasibility.py +60 -0
- _nullius_app/web/filters.py +231 -0
- _nullius_app/web/judge.py +623 -0
- _nullius_app/web/judge_tasks.py +33 -0
- _nullius_app/web/onboarding.py +20 -0
- _nullius_app/web/reconcile.py +47 -0
- _nullius_app/web/runs.py +464 -0
- _nullius_app/web/settings.py +324 -0
- _nullius_app/web/shared.py +507 -0
- _nullius_app/web/traces.py +306 -0
- _nullius_app/web/workspaces.py +84 -0
- nullius/__init__.py +32 -0
- nullius/__main__.py +5 -0
- nullius/catalogue/__init__.py +0 -0
- nullius/catalogue/agents/codex/agent.json +222 -0
- nullius/catalogue/agents/codex/config.toml +25 -0
- nullius/catalogue/agents/goose/agent.json +131 -0
- nullius/catalogue/agents/goose/config.yaml +20 -0
- nullius/catalogue/agents/jiuwenswarm/agent.json +197 -0
- nullius/catalogue/agents/jiuwenswarm/agent.py +355 -0
- nullius/catalogue/agents/mini-swe-agent/agent.json +68 -0
- nullius/catalogue/agents/mini-swe-agent/run.py +37 -0
- nullius/catalogue/agents/opencode/agent.json +135 -0
- nullius/catalogue/agents/opencode/opencode.json +32 -0
- nullius/catalogue/agents/reference/agent.json +89 -0
- nullius/catalogue/agents/reference/agent.py +209 -0
- nullius/catalogue/agents/terminus-2/agent.json +64 -0
- nullius/catalogue/agents/terminus-2/run.py +139 -0
- nullius/catalogue/benchmarks/gaia/benchmark.json +72 -0
- nullius/catalogue/benchmarks/gaia/data-source.json +29 -0
- nullius/catalogue/benchmarks/gaia/driver.py +188 -0
- nullius/catalogue/benchmarks/gaia/env/data.Dockerfile +1 -0
- nullius/catalogue/benchmarks/gaia/standard.json +278 -0
- nullius/catalogue/benchmarks/gaia/upstream-settings.json +275 -0
- nullius/catalogue/benchmarks/gsm8k/benchmark.json +34 -0
- nullius/catalogue/benchmarks/gsm8k/driver.py +101 -0
- nullius/catalogue/benchmarks/gsm8k/standard.json +124 -0
- nullius/catalogue/benchmarks/gsm8k/upstream-settings.json +86 -0
- nullius/catalogue/benchmarks/humaneval/benchmark.json +36 -0
- nullius/catalogue/benchmarks/humaneval/driver.py +243 -0
- nullius/catalogue/benchmarks/humaneval/standard.json +115 -0
- nullius/catalogue/benchmarks/humaneval/upstream-settings.json +72 -0
- nullius/catalogue/benchmarks/locomo/benchmark.json +43 -0
- nullius/catalogue/benchmarks/locomo/driver.py +270 -0
- nullius/catalogue/benchmarks/locomo/standard.json +265 -0
- nullius/catalogue/benchmarks/locomo/upstream-settings.json +112 -0
- nullius/catalogue/benchmarks/longmemeval/benchmark.json +65 -0
- nullius/catalogue/benchmarks/longmemeval/driver.py +379 -0
- nullius/catalogue/benchmarks/longmemeval/standard.json +733 -0
- nullius/catalogue/benchmarks/longmemeval/upstream-settings.json +76 -0
- nullius/catalogue/benchmarks/swe-bench-verified/benchmark.json +87 -0
- nullius/catalogue/benchmarks/swe-bench-verified/driver.py +116 -0
- nullius/catalogue/benchmarks/swe-bench-verified/images.json +502 -0
- nullius/catalogue/benchmarks/swe-bench-verified/standard.json +108 -0
- nullius/catalogue/benchmarks/swe-bench-verified/upstream-settings.json +32 -0
- nullius/catalogue/benchmarks/tau3-bench/benchmark.json +49 -0
- nullius/catalogue/benchmarks/tau3-bench/driver.py +608 -0
- nullius/catalogue/benchmarks/tau3-bench/mcp_server.py +114 -0
- nullius/catalogue/benchmarks/tau3-bench/search_relay.py +19 -0
- nullius/catalogue/benchmarks/tau3-bench/standard.json +547 -0
- nullius/catalogue/benchmarks/tau3-bench/upstream-settings.json +639 -0
- nullius/catalogue/benchmarks/terminal-bench/benchmark.json +69 -0
- nullius/catalogue/benchmarks/terminal-bench/driver.py +267 -0
- nullius/catalogue/benchmarks/terminal-bench/standard.json +166 -0
- nullius/catalogue/benchmarks/terminal-bench/upstream-settings.json +36 -0
- nullius/catalogue/capabilities/keyword-memory/capability.json +33 -0
- nullius/catalogue/capabilities/keyword-memory/capability.py +55 -0
- nullius/catalogue/capabilities/mem0/capability.json +135 -0
- nullius/catalogue/capabilities/mem0/capability.py +173 -0
- nullius/catalogue/catalog.py +426 -0
- nullius/catalogue/citation.py +116 -0
- nullius/catalogue/harbor_entry.py +367 -0
- nullius/catalogue/sources.py +107 -0
- nullius/catalogue/storage.py +125 -0
- nullius/cli.py +85 -0
- nullius/compare/__init__.py +0 -0
- nullius/compare/cli.py +265 -0
- nullius/compare/comparison.py +184 -0
- nullius/execution.py +1653 -0
- nullius/gitrefs.py +128 -0
- nullius/harbor/__init__.py +0 -0
- nullius/harbor/feed.py +228 -0
- nullius/harbor/source.py +582 -0
- nullius/hosts.py +368 -0
- nullius/importers/__init__.py +140 -0
- nullius/importers/atif.py +387 -0
- nullius/importers/cli.py +135 -0
- nullius/importers/otel.py +274 -0
- nullius/judge/__init__.py +14 -0
- nullius/judge/batch.py +122 -0
- nullius/judge/client.py +433 -0
- nullius/judge/floors.json +86 -0
- nullius/judge/lanes.py +89 -0
- nullius/judge/questions.py +309 -0
- nullius/judge/reconcile.py +176 -0
- nullius/judge/state.py +224 -0
- nullius/judge/store.py +167 -0
- nullius/migrate.py +268 -0
- nullius/onboarding.py +116 -0
- nullius/paths.py +89 -0
- nullius/prerequisites.py +129 -0
- nullius/prices.py +283 -0
- nullius/progress.py +294 -0
- nullius/providers.py +335 -0
- nullius/recipes/__init__.py +0 -0
- nullius/recipes/launch.py +78 -0
- nullius/redact.py +72 -0
- nullius/runs/__init__.py +0 -0
- nullius/runs/artifacts.py +67 -0
- nullius/runs/classify.py +216 -0
- nullius/runs/cli.py +316 -0
- nullius/runs/feasibility.py +442 -0
- nullius/runs/launches.py +149 -0
- nullius/runs/live.py +715 -0
- nullius/runs/parse.py +1016 -0
- nullius/runs/verifier.py +241 -0
- nullius/sandbox.py +109 -0
- nullius/secrets.py +218 -0
- nullius/settings.py +544 -0
- nullius/standard/__init__.py +15 -0
- nullius/standard/acp.py +305 -0
- nullius/standard/cancellation.py +19 -0
- nullius/standard/cli.py +703 -0
- nullius/standard/conform.py +149 -0
- nullius/standard/container.py +1870 -0
- nullius/standard/definitions.py +1651 -0
- nullius/standard/egress.py +192 -0
- nullius/standard/fidelity.py +256 -0
- nullius/standard/forward.py +139 -0
- nullius/standard/hostreq.py +105 -0
- nullius/standard/howto.py +220 -0
- nullius/standard/install.py +428 -0
- nullius/standard/job.py +551 -0
- nullius/standard/jsonl.py +129 -0
- nullius/standard/kits/agent-conversation-v1/driver.py +27 -0
- nullius/standard/kits/agent-conversation-v1/standard.json +26 -0
- nullius/standard/kits/agent-search-v1/driver.py +171 -0
- nullius/standard/kits/agent-search-v1/standard.json +99 -0
- nullius/standard/kits/agent-task-v1/driver.py +25 -0
- nullius/standard/kits/agent-task-v1/standard.json +100 -0
- nullius/standard/kits/agent-tools-v1/driver.py +206 -0
- nullius/standard/kits/agent-tools-v1/mcp_kit.py +209 -0
- nullius/standard/kits/agent-tools-v1/standard.json +119 -0
- nullius/standard/kits/agent-workspace-v1/driver.py +65 -0
- nullius/standard/kits/agent-workspace-v1/standard.json +95 -0
- nullius/standard/kits/cap-memory-v1/driver.py +39 -0
- nullius/standard/kits/cap-memory-v1/standard.json +91 -0
- nullius/standard/ledger.py +326 -0
- nullius/standard/match.py +66 -0
- nullius/standard/mcp_bridge.py +62 -0
- nullius/standard/mcp_machine.py +193 -0
- nullius/standard/merge.py +239 -0
- nullius/standard/names.py +37 -0
- nullius/standard/network_requirements.py +44 -0
- nullius/standard/pace.py +53 -0
- nullius/standard/payload.py +278 -0
- nullius/standard/pins.py +130 -0
- nullius/standard/ports.py +70 -0
- nullius/standard/prove.py +373 -0
- nullius/standard/recipe.py +746 -0
- nullius/standard/relay.py +785 -0
- nullius/standard/run.py +1781 -0
- nullius/standard/setup_container.py +208 -0
- nullius/standard/shard.py +71 -0
- nullius/standard/web_services.py +30 -0
- nullius/traces/__init__.py +0 -0
- nullius/traces/behavior.py +131 -0
- nullius/traces/charts.py +898 -0
- nullius/traces/conversation.py +159 -0
- nullius/traces/otel.py +608 -0
- nullius/traces/trace.py +1477 -0
- nullius/traces/trajectory.py +586 -0
- nullius/workspace.py +417 -0
- nullius/workspace_cli.py +119 -0
- nullius_eval-0.1.0.dist-info/METADATA +93 -0
- nullius_eval-0.1.0.dist-info/RECORD +291 -0
- nullius_eval-0.1.0.dist-info/WHEEL +5 -0
- nullius_eval-0.1.0.dist-info/entry_points.txt +2 -0
- nullius_eval-0.1.0.dist-info/licenses/LICENSE +202 -0
- nullius_eval-0.1.0.dist-info/licenses/app/static/fonts/dmsans-OFL.txt +93 -0
- nullius_eval-0.1.0.dist-info/licenses/app/static/fonts/ibmplexmono-OFL.txt +93 -0
- nullius_eval-0.1.0.dist-info/licenses/app/static/fonts/instrumentserif-OFL.txt +93 -0
- nullius_eval-0.1.0.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
{# Shared chart controls for the trial and task-comparison pages.
|
|
2
|
+
|
|
3
|
+
Each macro takes `url`, a macro of `(trace filter, chart filter) -> href`,
|
|
4
|
+
so each page owns its query keys while sharing the chart markup.
|
|
5
|
+
|
|
6
|
+
The numbers arrive already placed in SVG user units from
|
|
7
|
+
`app/nullius/traces/charts.py`, which computes them in Python
|
|
8
|
+
because the arithmetic runs on nanosecond magnitudes a JS double cannot hold. #}
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
{# The label filter's chips. Built from the *unfiltered* tree, so a hidden label
|
|
12
|
+
keeps the chip that brings it back. #}
|
|
13
|
+
{% macro facet_chips(facets, filt, chart_filter, url) %}
|
|
14
|
+
<div class="legend facets">
|
|
15
|
+
{% for f in facets %}
|
|
16
|
+
<a class="chip k-{{ f.kind }}{% if f.hidden %} off{% endif %}"
|
|
17
|
+
href="{{ url(filt.toggled_name(f.name), chart_filter) }}"
|
|
18
|
+
title="{{ 'Show' if f.hidden else 'Leave out' }} the {{ f.count }} span{{ '' if f.count == 1 else 's' }} labelled “{{ f.name }}”">{{ f.name }} <b>{{ f.count }}</b></a>
|
|
19
|
+
{% endfor %}
|
|
20
|
+
</div>
|
|
21
|
+
{% endmacro %}
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
{# The four charts, their legends, and the paragraph that stops them being
|
|
25
|
+
misread as an accounting of the run.
|
|
26
|
+
|
|
27
|
+
`empty_note` explains why the current page has nothing to plot.
|
|
28
|
+
|
|
29
|
+
`tail` closes the paragraph that says summed span time is not wall clock. The
|
|
30
|
+
trial page points from there at the Time breakdown strip below it; a page
|
|
31
|
+
without that strip must not claim one. #}
|
|
32
|
+
{% macro charts_panel(charts, chart_filter, filt, url, empty_note="", tail="") %}
|
|
33
|
+
{% set box = charts.box %}
|
|
34
|
+
<div class="panel">
|
|
35
|
+
<h3 style="margin-top:0">Distributions
|
|
36
|
+
<span class="muted" style="font-weight:400">· the shape of the calls, not the timeline</span></h3>
|
|
37
|
+
{% if charts.has_spans %}
|
|
38
|
+
<div class="charts">
|
|
39
|
+
{% for c in charts.items %}
|
|
40
|
+
<figure class="chart" id="chart-{{ c.key }}">
|
|
41
|
+
<figcaption><b>{{ c.title }}</b> <span class="muted small">{{ c.subtitle }}</span>
|
|
42
|
+
{% if c.head %}
|
|
43
|
+
<span class="ch-head"><span class="ch-value">{{ c.head.ns|nsround if c.head.ns is not none else c.head.text }}</span>
|
|
44
|
+
<span class="ch-unit">{{ c.head.unit }}{% if c.head.lo_ns is not none %} {{ c.head.lo_ns|nsround }}–{{ c.head.hi_ns|nsround }}{% endif %}</span></span>
|
|
45
|
+
{% endif %}
|
|
46
|
+
</figcaption>
|
|
47
|
+
<div class="chart-plot" role="group" aria-label="{{ c.title }} — {{ c.subtitle }}">
|
|
48
|
+
<div class="ch-area">
|
|
49
|
+
{# Stretched to the column (`none`): `non-scaling-stroke` keeps every line one weight
|
|
50
|
+
however wide that is, and the bars and labels are page elements, so nothing distorts. #}
|
|
51
|
+
<svg class="ch-svg" viewBox="{{ charts.viewbox }}" preserveAspectRatio="none" aria-hidden="true">
|
|
52
|
+
{% for t in c.yticks %}
|
|
53
|
+
<line class="ch-grid" x1="{{ box.x0 }}" x2="{{ box.x1 }}" y1="{{ t.at }}" y2="{{ t.at }}"></line>
|
|
54
|
+
{% endfor %}
|
|
55
|
+
<line class="ch-axis" x1="{{ box.x0 }}" x2="{{ box.x1 }}" y1="{{ box.y1 }}" y2="{{ box.y1 }}"></line>
|
|
56
|
+
{% if c.form == 'cdf' %}
|
|
57
|
+
<g class="ch-lines">
|
|
58
|
+
{% if c.series|length == 1 %}<polygon class="ch-wash{% if c.series[0].kind %} k-{{ c.series[0].kind }}{% endif %}" points="{{ c.series[0].area }}"></polygon>{% endif %}
|
|
59
|
+
{% for s in c.series %}
|
|
60
|
+
<polyline class="ch-line{% if s.kind %} k-{{ s.kind }}{% endif %}" points="{{ s.points }}"></polyline>
|
|
61
|
+
{% endfor %}
|
|
62
|
+
</g>
|
|
63
|
+
{% endif %}
|
|
64
|
+
</svg>
|
|
65
|
+
{% for t in c.yticks %}<span class="ch-lab ch-y" style="top:{{ box.top(t.at) }}%">{{ t.text }}</span>{% endfor %}
|
|
66
|
+
{% if c.marker %}
|
|
67
|
+
{% set m_at = box.left(c.marker.at) %}
|
|
68
|
+
<div class="ch-marker{{ ' flip' if m_at > 62 }}" style="left:{{ m_at }}%"><span>{{ c.marker.word }} {{ c.marker.ns|nsround }}</span></div>
|
|
69
|
+
{% endif %}
|
|
70
|
+
{% if c.form == 'histogram' %}
|
|
71
|
+
<div class="ch-cols">
|
|
72
|
+
{% for col in c.columns %}
|
|
73
|
+
{% set at = box.left(col.x) %}
|
|
74
|
+
<div class="ch-col" tabindex="0" role="img" style="left:{{ at }}%;width:{{ box.width(col.w) }}%;--i:{{ loop.index0 }}"
|
|
75
|
+
aria-label="{{ col.lo_ns|nsround }} to {{ col.hi_ns|nsround }}: {% if col.share %}{{ col.share }} of summed span time, {% endif %}{{ col.count }} span{{ '' if col.count == 1 else 's' }}">
|
|
76
|
+
<div class="ch-stack">
|
|
77
|
+
{% for b in col.segs %}<span class="ch-seg{% if b.kind %} k-{{ b.kind }}{% endif %}{{ ' cap' if loop.last }}" style="top:{{ box.top(b.y) }}%;height:{{ box.height(b.h) }}%"></span>{% endfor %}
|
|
78
|
+
</div>
|
|
79
|
+
<div class="ch-tip{{ ' at-start' if at < 22 else ' at-end' if at > 72 }}">
|
|
80
|
+
<b>{{ col.share or (col.count ~ (' span' if col.count == 1 else ' spans')) }}</b>
|
|
81
|
+
<span class="ch-tip-sub">{{ col.lo_ns|nsround }}–{{ col.hi_ns|nsround }}{% if col.share %} · {{ col.count }} span{{ '' if col.count == 1 else 's' }}{% endif %}</span>
|
|
82
|
+
{% if col.segs|length > 1 or col.segs[0].kind %}
|
|
83
|
+
{% for b in col.segs|reverse %}<span class="ch-tip-row"><i class="ch-key k-{{ b.kind }}"></i><b>{{ b.ns|nsdur if col.share else b.count }}</b> {{ b.kind }}</span>{% endfor %}
|
|
84
|
+
{% endif %}
|
|
85
|
+
</div>
|
|
86
|
+
</div>
|
|
87
|
+
{% endfor %}
|
|
88
|
+
</div>
|
|
89
|
+
{% else %}
|
|
90
|
+
<div class="ch-zones">
|
|
91
|
+
{% for r in c.readouts %}
|
|
92
|
+
{% set at = box.left(r.x) %}
|
|
93
|
+
<div class="ch-zone" tabindex="0" role="img" style="left:{{ box.left(r.left) }}%;width:{{ box.width(r.right - r.left) }}%;--at:{{ r.at }}%"
|
|
94
|
+
aria-label="{{ r.ns|nsround }} or shorter: {% for row in r.rows %}{{ row.share }} {{ row.label }}{{ ', ' if not loop.last }}{% endfor %}">
|
|
95
|
+
<i class="ch-cross"></i>
|
|
96
|
+
{% for row in r.rows if row.on_line %}<i class="ch-dot{% if row.kind %} k-{{ row.kind }}{% endif %}" style="top:{{ box.top(row.y) }}%"></i>{% endfor %}
|
|
97
|
+
<div class="ch-tip{{ ' at-start' if at < 22 else ' at-end' if at > 72 }}">
|
|
98
|
+
<span class="ch-tip-sub">{{ r.ns|nsround }} or shorter</span>
|
|
99
|
+
{% for row in r.rows %}<span class="ch-tip-row"><i class="ch-key{% if row.kind %} k-{{ row.kind }}{% endif %}"></i><b>{{ row.share }}</b> {{ row.label }}</span>{% endfor %}
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
{% endfor %}
|
|
103
|
+
</div>
|
|
104
|
+
{% endif %}
|
|
105
|
+
</div>
|
|
106
|
+
<div class="ch-x">
|
|
107
|
+
{% for t in c.xticks %}<span class="ch-lab {{ t.anchor }}" style="left:{{ box.left(t.at) }}%">{{ t.ns|nsround }}</span>{% endfor %}
|
|
108
|
+
</div>
|
|
109
|
+
<p class="ch-x-title">How long one call took{% if c.x_step %}, each mark {{ c.x_step }}× the last{% endif %}</p>
|
|
110
|
+
</div>
|
|
111
|
+
{# A control, not a key: each chip drops its kind from *this* chart and the
|
|
112
|
+
chart rescales to what is left. Its own query key, because it changes
|
|
113
|
+
one chart and not the trace — the waterfall, the breakdown and
|
|
114
|
+
save-trace are all blind to it. #}
|
|
115
|
+
{% if c.kinds %}
|
|
116
|
+
<div class="legend chart-legend">
|
|
117
|
+
{% for k in c.kinds %}
|
|
118
|
+
<a class="chip k-{{ k.kind }}{% if k.off %} off{% endif %}"
|
|
119
|
+
href="{{ url(filt, chart_filter.toggled(c.key, k.kind)) }}#chart-{{ c.key }}"
|
|
120
|
+
title="{{ 'Draw' if k.off else 'Leave out' }} the {{ k.n }} {{ k.kind }} span{{ '' if k.n == 1 else 's' }} in this chart — the trace itself is untouched">{{ k.kind }} <b>{{ k.n }}</b></a>
|
|
121
|
+
{% endfor %}
|
|
122
|
+
{% if c.hidden_kinds %}
|
|
123
|
+
<a class="chip clear" href="{{ url(filt, chart_filter.cleared(c.key)) }}#chart-{{ c.key }}"
|
|
124
|
+
title="Draw every kind in this chart again">all ×</a>
|
|
125
|
+
{% endif %}
|
|
126
|
+
</div>
|
|
127
|
+
{% endif %}
|
|
128
|
+
{% if c.key_kinds|length > 1 %}
|
|
129
|
+
<div class="legend chart-legend chart-key">{% for k in c.key_kinds %}<span class="chip k-{{ k.kind }}">{{ k.kind }}</span>{% endfor %}</div>
|
|
130
|
+
{% endif %}
|
|
131
|
+
{% if c.note %}<p class="muted small chart-note">{{ c.note }}</p>{% endif %}
|
|
132
|
+
</figure>
|
|
133
|
+
{% endfor %}
|
|
134
|
+
</div>
|
|
135
|
+
{# The one thing these charts could be misread as. #}
|
|
136
|
+
<p class="muted small chart-foot">These durations are how long each call lasted, not moments in the run.
|
|
137
|
+
The {{ charts.summed_ns|nsdur }} they add up to is <b>not</b> wall clock: calls overlap and leave gaps. {{ tail }}
|
|
138
|
+
{% if charts.note %}{{ charts.note }}{% endif %}
|
|
139
|
+
{% if chart_filter.active %}
|
|
140
|
+
<a class="linkish" href="{{ url(filt, chart_filter.cleared()) }}">Draw every kind again ×</a>
|
|
141
|
+
{% endif %}</p>
|
|
142
|
+
<details class="tc chart-values">
|
|
143
|
+
<summary><span class="name">Values</span></summary>
|
|
144
|
+
{% for c in charts.items %}
|
|
145
|
+
<table class="grid compact">
|
|
146
|
+
<caption>{{ c.title }}</caption>
|
|
147
|
+
{% if c.form == 'histogram' %}
|
|
148
|
+
<thead><tr><th>Duration</th><th class="num">Spans</th><th class="num">Span time</th>{% if c.columns and c.columns[0].share %}<th class="num">Share</th>{% endif %}</tr></thead>
|
|
149
|
+
<tbody>{% for col in c.columns %}<tr><td>{{ col.lo_ns|nsround }}–{{ col.hi_ns|nsround }}</td><td class="num">{{ col.count }}</td><td class="num">{{ col.ns|nsdur }}</td>{% if col.share %}<td class="num">{{ col.share }}</td>{% endif %}</tr>{% endfor %}</tbody>
|
|
150
|
+
{% else %}
|
|
151
|
+
<thead><tr><th>No longer than</th>{% for s in c.series %}<th class="num">{{ s.label }}</th>{% endfor %}</tr></thead>
|
|
152
|
+
<tbody>{% for r in c.readouts %}<tr><td>{{ r.ns|nsround }}</td>{% for row in r.rows %}<td class="num">{{ row.share }}</td>{% endfor %}</tr>{% endfor %}</tbody>
|
|
153
|
+
{% endif %}
|
|
154
|
+
</table>
|
|
155
|
+
{% endfor %}
|
|
156
|
+
</details>
|
|
157
|
+
{% else %}
|
|
158
|
+
<p class="muted" style="margin:0">
|
|
159
|
+
{% if empty_note %}{{ empty_note }}
|
|
160
|
+
{% elif charts.total %}None of the {{ charts.total }} span{{ '' if charts.total == 1 else 's' }}
|
|
161
|
+
in this view is a call with a known duration — there is nothing to plot.
|
|
162
|
+
{% else %}Every span is filtered out — nothing left to plot.{% endif %}</p>
|
|
163
|
+
{% endif %}
|
|
164
|
+
</div>
|
|
165
|
+
{% endmacro %}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<section class="conversation-reader" id="conversation-reader"
|
|
2
|
+
data-endpoint="{{ url_for('conversation_data', job_id=job.job_id, trial_name=trial.trial_name) }}"
|
|
3
|
+
aria-label="Conversation reader">
|
|
4
|
+
<div class="reader-heading">
|
|
5
|
+
<div><h2>Conversation</h2><p class="muted small">One source step at a time, with its tool calls and results. Search reads the full recorded content.</p></div>
|
|
6
|
+
<span class="reader-total mono">{{ traj.n_steps if traj and not traj.error else '—' }} steps</span>
|
|
7
|
+
</div>
|
|
8
|
+
{% if not traj or traj.error %}
|
|
9
|
+
<div class="panel"><p class="muted" style="margin:0">{% if traj and traj.error %}Trajectory unreadable: {{ traj.error }}{% elif trial.agent_type == 'control' %}This control has no recorded conversation.{% else %}No trajectory recorded for this trial.{% endif %}</p></div>
|
|
10
|
+
{% else %}
|
|
11
|
+
<form class="reader-search" role="search">
|
|
12
|
+
<label for="conversation-search" class="reader-sr">Search the full conversation</label>
|
|
13
|
+
<input id="conversation-search" name="q" type="search" placeholder="Search messages, tools, results…" maxlength="500" autocomplete="off">
|
|
14
|
+
<button type="submit" class="btn sm">Search</button>
|
|
15
|
+
<button type="button" class="linkish" data-clear-search>Clear</button>
|
|
16
|
+
</form>
|
|
17
|
+
<div class="reader-toolbar">
|
|
18
|
+
<div class="reader-filters" role="group" aria-label="Conversation filter">
|
|
19
|
+
<button type="button" data-kind="all" aria-pressed="true">All steps</button>
|
|
20
|
+
<button type="button" data-kind="messages" aria-pressed="false">Messages</button>
|
|
21
|
+
<button type="button" data-kind="tools" aria-pressed="false">Tools</button>
|
|
22
|
+
<button type="button" data-kind="errors" aria-pressed="false" title="Tool failures flagged by the existing trajectory reader, not benchmark verdicts">Errors</button>
|
|
23
|
+
</div>
|
|
24
|
+
<form class="reader-jump"><label for="conversation-jump">Source step</label><input id="conversation-jump" name="step" placeholder="e.g. 42" aria-label="Source step id" autocomplete="off"><button type="submit" class="btn sm">Go</button></form>
|
|
25
|
+
</div>
|
|
26
|
+
<p class="reader-status muted small" role="status" aria-live="polite">Open this tab to load the conversation.</p>
|
|
27
|
+
<div class="reader-layout">
|
|
28
|
+
<aside class="reader-index" aria-label="Recorded steps">
|
|
29
|
+
<div class="reader-rows"></div>
|
|
30
|
+
<nav class="reader-pages" aria-label="Conversation index pages"><button type="button" class="btn sm" data-page="previous">←</button><span></span><button type="button" class="btn sm" data-page="next">→</button></nav>
|
|
31
|
+
</aside>
|
|
32
|
+
<div class="reader-selected" tabindex="-1"><p class="muted">Select a step to inspect its recorded evidence.</p></div>
|
|
33
|
+
</div>
|
|
34
|
+
<p class="muted small reader-footnote">Step numbers and tool-call IDs come from the source. “Errors” uses the reader’s tool-failure signals; it does not change the trial’s verdict. Content is redacted before search and paging.</p>
|
|
35
|
+
<noscript><p class="alert">Enable JavaScript to use the paged conversation reader. The trial summary remains available above.</p></noscript>
|
|
36
|
+
{% endif %}
|
|
37
|
+
</section>
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{# The Judgement tab: the judge's answers beside the recorded evidence, never in its place.
|
|
2
|
+
Outcome questions as cards (the answer, a pill saying how it reads, the judge's own confidence or
|
|
3
|
+
Nullius's decisiveness for a yes/no), then the behaviour flags as a table (a human name, a result pill,
|
|
4
|
+
the likelihood as a bar, a row that opens on the question's own wording and the hygiene reading of its
|
|
5
|
+
state). "Not judged" until asked; Judge asks. Every count is Nullius's; the judge is never asked how many. #}
|
|
6
|
+
{% macro pill(r) -%}
|
|
7
|
+
<span class="jpill {{ 'warn' if r.undecided else ('bad' if r.tone == 'bad' else ('good' if r.tone == 'good' else 'none')) }}" title="{% if r.undecided %}Undecided: within the judge's measured run-to-run spread of the 50% line (±{{ '%.0f'|format(r.floor * 100) }} points on this question), so another ask could land on the other side{% elif r.flag and r.floor is not none %}{{ r.pill }} by more than the judge's measured spread on this question (±{{ '%.0f'|format(r.floor * 100) }} points){% elif r.flag %}{{ r.pill }}: probability {{ 'at or above' if r.raised else 'below' }} 50%; no run-to-run spread has been measured for this question{% else %}{{ r.pill }}{% endif %}">{% if r.undecided %}—{% elif r.flag and r.raised %}⚑{% elif r.flag %}✓{% endif %} {{ r.pill }}</span>
|
|
8
|
+
{%- endmacro %}
|
|
9
|
+
{% macro judgement_panel(j, job, trial, csrf) %}
|
|
10
|
+
{%- set llm = j.lane == 'llm' %}
|
|
11
|
+
<div class="judgement" id="{{ 'llm-judgement' if llm else 'judgement' }}">
|
|
12
|
+
<div class="judgement-head">
|
|
13
|
+
<div>
|
|
14
|
+
<h2>{{ 'LLM judge' if llm else 'System One judge' }} <span class="badge" title="A judge model's answers: experimental, beside the recorded reward and outcome, which they never change">experimental</span></h2>
|
|
15
|
+
<p class="muted small">{% if llm %}The same questions, asked of {{ j.judge.label if j.keyed else 'the LLM judge Settings names' }}. Its numbers are what the model states, not calibrated: a choice or a score carries no confidence.{% else %}Task outcome, answer quality, and behaviour — as TypeSafe's System One reads the transcript.{% endif %} Experimental: the recorded outcome and reward stand.</p>
|
|
16
|
+
</div>
|
|
17
|
+
{% if j.keyed %}
|
|
18
|
+
<form method="post" action="{{ url_for('judge_trial_route', job_id=job.job_id, trial_name=trial.trial_name) }}" class="header-form"><input type="hidden" name="csrf" value="{{ csrf }}"><input type="hidden" name="lane" value="{{ j.lane }}"><button class="btn sm {{ 'ghost' if j.judged }}" type="submit" title="One click, one judge call per state the questions read; the answers replace the ones shown">{{ 'Judge again' if j.judged else 'Judge' }}</button></form>
|
|
19
|
+
{% else %}<span class="small faint">{{ 'LLM judge' if llm else 'System One' }} not configured{% if j.judge is not none and j.judge.missing %}: needs {{ j.judge.missing }}{% endif %} — <a href="{{ url_for('settings_page') }}#judge">set it in Settings</a></span><button class="btn sm ghost" type="button" disabled title="Not configured: Settings, Judge">Judge</button>{% endif %}
|
|
20
|
+
</div>
|
|
21
|
+
{% if j.record %}<p class="small muted judgement-provenance">{{ j.record.judge.model }}{% if j.record.judge.provider not in ('typesafe.ai', 'typesafe') %} via {{ {'openrouter': 'OpenRouter', 'openai': 'OpenAI'}.get(j.record.judge.provider, 'an OpenAI-compatible endpoint' if (j.record.judge.provider or '').startswith('local') else j.record.judge.provider) }}{% endif %} · {{ j.record.questions }}{% if j.earlier %} <span class="badge" title="Asked under an earlier question vocabulary; the answers are shown as they were given. Judge again asks the current questions.">earlier vocabulary</span>{% endif %} · asked {{ j.record.asked_at[:16]|replace('T', ' ') }}Z{% if j.record.truncated %} · state truncated{% if j.record.states %} ({% for kind, k in j.record.states.items() if k.truncated %}{{ kind }}{{ ', ' if not loop.last }}{% endfor %}){% endif %}{% endif %}{% if j.record.usage and j.record.usage.input_tokens %} · {{ j.record.usage.input_tokens }} input tokens{% endif %}</p>{% endif %}
|
|
22
|
+
{% if j.hygiene and j.hygiene.kinds %}<p class="small judgement-hygiene" title="Two yes/no readings ride every judge call over every state: does the state contain text addressed to whoever judges it, and does it still show what looks like a credential after the regex pass. State is untrusted text from the job directory; this makes the risk visible on the answers drawn from it. It does not make the judge robust, and it changes no answer.">
|
|
23
|
+
{% if j.hygiene.flagged %}<span class="hygiene warn">⚠ state hygiene</span> {% for kind, raised in j.hygiene.flagged.items() %}<span class="mono small">`{{ kind }}`</span> state: {% for id, label, p, decided in raised %}{{ label }} <span class="mono small">{{ '%.0f'|format(p * 100) }}%</span>{% if not decided %} <span class="faint" title="Within the judge's measured run-to-run spread of the 50% line on this question: another ask could read it the other way">(undecided)</span>{% endif %}{{ '; ' if not loop.last }}{% endfor %}{{ ' · ' if not loop.last }}{% endfor %} <span class="faint">— the answers from that state are marked ⚠; none is changed</span>
|
|
24
|
+
{% else %}<span class="hygiene clear">state hygiene</span> <span class="faint">nothing read as addressing the judge or showing a credential on {{ j.hygiene.kinds|join(', ') }}</span>{% endif %}</p>{% endif %}
|
|
25
|
+
|
|
26
|
+
<div class="jcards">
|
|
27
|
+
{% for r in j.cards %}
|
|
28
|
+
<div class="jcard tone-{{ r.tone }}{{ ' hygiene-warned' if r.warnings }}" data-question="{{ r.id }}">
|
|
29
|
+
<div class="jcard-title">{{ r.label }}{% if r.warnings %} <span class="hygiene warn" title="Drawn from the `{{ r.state }}` state, which the judge read as: {% for id, label, p, decided in r.warnings %}{{ label }} ({{ '%.0f'|format(p * 100) }}%{{ ', undecided' if not decided }}){{ '; ' if not loop.last }}{% endfor %}. The answer is shown as given; weigh it knowing the state may be arguing its own case.">⚠</span>{% endif %}</div>
|
|
30
|
+
{% if r.answer %}
|
|
31
|
+
<div class="jcard-value"><span class="jnum">{{ r.headline }}</span><span class="junit">{{ r.unit }}</span> {{ pill(r) }}</div>
|
|
32
|
+
<div class="jcard-blurb muted small">{% if r.type == 'score' %}{{ r.pill }}{% else %}{{ r.blurb }}{% endif %}</div>
|
|
33
|
+
<div class="jcard-foot small">{% if r.measure is not none %}<span class="muted" title="{% if r.measure_label == 'Decisiveness' %}How far the yes/no probability sits from 50%, derived by Nullius. A yes/no question returns a probability only, no confidence; a decisive answer can still be wrong{% else %}The confidence the judge returned with this answer{% endif %}">{{ r.measure_label }}</span><span class="mono">{{ '%.0f'|format(r.measure * 100) }}%</span>{% endif %}</div>
|
|
34
|
+
{% else %}
|
|
35
|
+
<div class="jcard-value"><span class="faint">not judged</span></div>
|
|
36
|
+
<div class="jcard-blurb muted small">{{ r.blurb }}</div>
|
|
37
|
+
<div class="jcard-foot small"><span class="faint">asked on Judge</span></div>
|
|
38
|
+
{% endif %}
|
|
39
|
+
</div>
|
|
40
|
+
{% endfor %}
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div class="jflags-head">
|
|
44
|
+
<h3>Behaviour flags <span class="faint small" title="One yes/no each, asked of every trial on the same call as the questions above; a yes is a flag raised. Every count stays in code: the judge is never asked how many.">— yes/no, each one thing</span></h3>
|
|
45
|
+
{% if j.flags_judged %}<span class="small muted judgement-flags-summary">{{ j.raised|length }} raised · {{ j.undecided|length }} undecided · {{ j.cleared|length }} clear</span>{% endif %}
|
|
46
|
+
</div>
|
|
47
|
+
<table class="jflags">
|
|
48
|
+
<thead><tr><th>Check</th><th>Result</th><th>Likelihood of flag</th><th></th></tr></thead>
|
|
49
|
+
<tbody>
|
|
50
|
+
{% for r in j.flags %}
|
|
51
|
+
<tr class="jflag tone-{{ r.tone }}{{ ' raised' if r.raised and not r.undecided }}{{ ' undecided' if r.undecided }}{{ ' hygiene-warned' if r.warnings }}" data-question="{{ r.id }}">
|
|
52
|
+
<td><span class="jdot"></span> {{ r.label }}{% if r.warnings %} <span class="hygiene warn" title="Drawn from the `{{ r.state }}` state, which the judge read as: {% for id, label, p, decided in r.warnings %}{{ label }} ({{ '%.0f'|format(p * 100) }}%{{ ', undecided' if not decided }}){{ '; ' if not loop.last }}{% endfor %}. The answer is shown as given; weigh it knowing the state may be arguing its own case.">⚠</span>{% endif %}</td>
|
|
53
|
+
<td>{% if r.answer %}{{ pill(r) }}{% else %}<span class="faint">not judged</span>{% endif %}</td>
|
|
54
|
+
<td>{% if r.answer %}<span class="mono small">{{ r.headline }}%</span> <span class="jbar" title="{% if r.floor is not none %}The shaded band is the judge's measured run-to-run spread about 50%, ±{{ '%.0f'|format(r.floor * 100) }} points: an answer inside it is undecided{% else %}No run-to-run spread has been measured for this question{% endif %}">{% if r.floor is not none %}<i class="floor" style="left: {{ '%.0f'|format((0.5 - r.floor) * 100) }}%; width: {{ '%.0f'|format(r.floor * 200) }}%"></i>{% endif %}<i class="fill" style="width: {{ r.headline }}%"></i></span>{% if r.floor is not none %} <span class="mono small faint" title="The judge's measured run-to-run spread on this question">±{{ '%.0f'|format(r.floor * 100) }}</span>{% else %}<span class="small faint" title="No measured spread for this question">±?</span>{% endif %}{% endif %}</td>
|
|
55
|
+
<td class="jmore"><button type="button" class="jdisclose" aria-expanded="false" aria-controls="jflag-{{ j.lane }}-{{ r.id }}" title="The question as the judge was asked it">›</button></td>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr class="jflag-detail" id="jflag-{{ j.lane }}-{{ r.id }}" hidden>
|
|
58
|
+
<td colspan="4"><span class="mono small">{{ r.id }}</span> · <span class="small muted">{{ r.instructions }}</span>{% if r.floor is not none %} <span class="small faint">· undecided zone {{ '%.0f'|format((0.5 - r.floor) * 100) }}–{{ '%.0f'|format((0.5 + r.floor) * 100) }}%</span>{% endif %}</td>
|
|
59
|
+
</tr>
|
|
60
|
+
{% endfor %}
|
|
61
|
+
</tbody>
|
|
62
|
+
</table>
|
|
63
|
+
</div>
|
|
64
|
+
<script>
|
|
65
|
+
// a flag's row opens on the question's own wording; no request, nothing asked. The page holds two
|
|
66
|
+
// panels (System One, the LLM judge): each script binds its own, the panel just before it.
|
|
67
|
+
document.currentScript.previousElementSibling.querySelectorAll('.jdisclose').forEach(b => b.addEventListener('click', () => {
|
|
68
|
+
const open = b.getAttribute('aria-expanded') !== 'true'; b.setAttribute('aria-expanded', String(open));
|
|
69
|
+
const d = document.getElementById(b.getAttribute('aria-controls')); if (d) d.hidden = !open;
|
|
70
|
+
}));
|
|
71
|
+
</script>
|
|
72
|
+
{% endmacro %}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
{% block title %}{{ artifact.label }} — Nullius{% endblock %}
|
|
3
|
+
{% block crumb %}/ runs / {{ job.job_id }} / {{ trial.task_base }} / artifacts{% endblock %}
|
|
4
|
+
{% block body %}
|
|
5
|
+
<p><a href="{{ url_for('trial', job_id=job.job_id, trial_name=trial.trial_name, workspace=request.args.get('workspace')) }}#artifacts">← Back to trial artifacts</a></p>
|
|
6
|
+
<div class="page-title"><h1>{{ artifact.label }}</h1></div>
|
|
7
|
+
<p class="subtitle"><span class="mono">{{ artifact.filename }}</span> · source record · credential-shaped values redacted</p>
|
|
8
|
+
{% if artifact.truncated %}<p class="alert">This record exceeds the viewer’s 16 MiB limit. The first portion is available here; the original file is intact.</p>{% endif %}
|
|
9
|
+
<div class="table-tools" aria-label="Artifact pages">
|
|
10
|
+
<span class="table-note">Page {{ artifact.page }} of {{ artifact.pages }} · characters {{ artifact.start + 1 if artifact.characters else 0 }}–{{ artifact.end }} of {{ artifact.characters }}</span>
|
|
11
|
+
{% if artifact.page > 1 %}<a class="btn ghost sm" href="{{ url_for('artifact_page', job_id=job.job_id, trial_name=trial.trial_name, key=artifact.key, page=artifact.page - 1, workspace=request.args.get('workspace')) }}">Previous</a>{% endif %}
|
|
12
|
+
{% if artifact.page < artifact.pages %}<a class="btn ghost sm" href="{{ url_for('artifact_page', job_id=job.job_id, trial_name=trial.trial_name, key=artifact.key, page=artifact.page + 1, workspace=request.args.get('workspace')) }}">Next</a>{% endif %}
|
|
13
|
+
</div>
|
|
14
|
+
{% if artifact.empty %}<p class="empty">This record is empty.</p>{% else %}<pre class="artifact-text" style="white-space:pre-wrap;overflow-wrap:anywhere">{{ artifact.text }}</pre>{% endif %}
|
|
15
|
+
{% endblock %}
|