{% extends "base.html" %} {% block title %}Compare · AgentFlight{% endblock %} {% block main %}
Runs / Compare
{% for s in ("changed", "added", "removed", "unknown", "same") %} {{ counts[s] | number }} {{ "not comparable" if s == "unknown" else s }} {% endfor %}
{% for side, state in d.unfinished.items() %}{{ side | capitalize }} run {% if state == "running" %}is still running: spans may still arrive, so this compares the run so far.{% else %}never finished (abandoned): this compares what was recorded.{% endif %}
{% endfor %} {% if d.pairing == "same_run" %}Base and head are the same run, so every span is the same; values were not compared one by one.
{% endif %} {% if status == "not_comparable" %}Nothing that could be compared differs, but some values couldn't be compared (redacted or truncated on one or both sides), so these runs are not shown as the same.
{% endif %} {% if other_warnings %}| Run field | Base | Head | Change |
|---|---|---|---|
| {{ field }} | {{ v.base | run_value(field) }} | {{ v.head | run_value(field) }} | {{ v.get("delta") | run_value(field, True) }} |
| {{ c.field }} | {{ c.reason }}{% if c.paths %}: {% for p in c.paths %}{{ p }}{% if not loop.last %}, {% endif %}{% endfor %}{% endif %} | ||
| {{ field }} (informational) | {{ v.base | run_value(field) }} | {{ v.head | run_value(field) }} | {{ v.get("delta") | run_value(field, True) }} |
{% if show_all %}All {{ d.pairs | length | number }} pairs. Show differences only{% else %}{{ pairs | length | number }} of {{ d.pairs | length | number }} pairs differ or can't be compared. Show all pairs{% endif %}
{% if pairs %}| Status | Kind | Span | Changed | Duration Δ |
|---|---|---|---|---|
| {{ "not comparable" if p.status == "unknown" else p.status }} | {{ p.kind }} |
{% if p.depth %}{% endif %}
{% if p.replay_step is not none %}step {{ p.replay_step }}{% endif %}
{% if p.subtree_size > 1 %}({{ p.subtree_size | number }} spans){% endif %}
|
{% for c in p.changes %}{{ c.field }} {% endfor %}{% if p.usage %}usage{% endif %} |
{{ p.duration_delta_ms | delta_ms }} |