Knowledge Graph Contradictions

← Back to Search
{% if stats %} {% set health_pct = ((stats.health_score or 0) * 100) | round | int %} {% if health_pct >= 80 %}{% set health_color = 'var(--success)' %} {% elif health_pct >= 50 %}{% set health_color = 'var(--warning)' %} {% else %}{% set health_color = 'var(--danger)' %}{% endif %}
Nodes {{ stats.node_count or 0 }}
Edges {{ stats.edge_count or 0 }}
Contradictions {{ stats.contradiction_count or 0 }}
Unresolved {{ stats.unresolved_contradiction_count or 0 }}
Health {{ health_pct }}%
{% endif %}

{{ 'Unresolved' if unresolved_only else 'All' }} Contradictions {{ contradictions | length }} found

{% if contradictions %}
{% for c in contradictions %}
{{ c.name_a }} {{ c.name_b }}
{% if c.content_a or c.content_b %}
{% if c.content_a %}
A: {{ c.content_a }}
{% endif %} {% if c.content_b %}
B: {{ c.content_b }}
{% endif %}
{% endif %}
{{ c.created_at }} {% if c.similarity is not none %} sim {{ (c.similarity * 100) | round | int }}% {% endif %} {% if c.nli_score is not none %} NLI {{ (c.nli_score * 100) | round | int }}% {% endif %}
{% endfor %}
{% else %}
All contradictions resolved.
{% endif %}