{% extends "base.html" %} {% block main %}

Compare runs

duplicate-with-changed-levers, side by side — the only honest way to price a lever
vs
{% if rows %} {% if verdict == "identical" %}
Inputs identical. All {{ n_files }} input files match by sha256 — the deltas below price the levers and nothing else.
{% elif verdict == "differ" %}
Inputs differ — {{ diff_roles | join(", ") }}. This comparison prices the inputs, not the levers; a lever's honest price needs a duplicate run on identical files.
{% elif verdict == "unknown" %}
Input identity unknown. One of the runs carries no provenance record, so file equality cannot be proven.
{% endif %} {% for r in rows %} {% endfor %}
Measure{{ a }}{{ b }}Δ (b − a)
{{ r.label }}{{ r.a }}{{ r.b }} {{ r.arrow }} {{ r.delta }} {{ r.unit }} · {{ r.word }}

Lever diff

{% if lever_diff %} {% for k, va, vb in lever_diff %} {% endfor %}
Lever{{ a }}{{ b }}
{{ k }}{{ va }}{{ vb }}
{% else %}

None — both runs resolved to the same policy.

{% endif %}

A lever's price is the delta between a run and its duplicate with only that lever changed; comparing runs with different inputs compares the inputs, not the lever.

{% elif a or b %}
Not comparable. Both runs must be finished (state done) to compare their plans.
{% elif done | length < 2 %}
Two finished runs needed. Duplicate a run with one lever changed and the delta table prices that lever.
{% endif %} {% endblock %}