{% extends "base.html" %} {% from "_ui.html" import crumbs, logsource %} {% block title %}Compare two rules{% endblock %} {% block section %}search{% endblock %} {% block content %} {{ crumbs([('Search', '/search'), ('Compare', '')]) }}

Compare two rules

{{ 'Same detection logic.' if same_logic else 'Same normalised detection (not proof of identical behaviour).' if same_semantic else 'Different detections.' }} {{ changed }} changed line{{ 's' if changed != 1 }} are highlighted.

{% for lc, lt, rc, rt in rows %}{% endfor %}
{{ a.title }}{{ a.canonical_source }} · {{ logsource(a) }} · {{ a.copies }} copies {{ b.title }}{{ b.canonical_source }} · {{ logsource(b) }} · {{ b.copies }} copies
{{ lt }}{{ rt }}
{% endblock %}