{% extends "base.html" %} {% block title %}Corporate Memory Admin - Data Analyst Portal{% endblock %} {% block head_extra %} {% endblock %} {% block layout %}
{{ stats.pending_count|default(0) }}
Pending
{{ stats.approved_count|default(0) }}
Approved
{{ stats.mandatory_count|default(0) }}
Mandatory
{{ stats.knowledge_count|default(0) }}
Total
Loading pending items...
Loading items...
{% if contradictions %} {% for c in contradictions %}
Contradiction Detected {% if c.severity == 'hard' %} Hard {% elif c.severity == 'soft' %} Soft {% endif %}
{{ (c.detected_at|string)[:10] if c.detected_at else '' }}
Item A
{{ c.item_a.title if c.item_a else 'Unknown' }}
{{ c.item_a.content[:200] if c.item_a else '' }}
{% if c.item_a and c.item_a.domain %}
{{ c.item_a.domain|title }}
{% endif %}
Item B
{{ c.item_b.title if c.item_b else 'Unknown' }}
{{ c.item_b.content[:200] if c.item_b else '' }}
{% if c.item_b and c.item_b.domain %}
{{ c.item_b.domain|title }}
{% endif %}
Analysis: {{ c.explanation }}
{% if c.suggested_resolution %}
Suggested: {{ c.suggested_resolution }}
{% endif %}
{% endfor %} {% else %}

No contradictions detected.

Contradictions are flagged when new items conflict with existing knowledge.

{% endif %}
Loading duplicate candidates...
Loading tree…
Loading audit log...
{% endblock %} {% block scripts %} {% endblock %}