This commit is contained in:
team3
2026-07-05 23:03:00 +02:00
parent ed5cf146c3
commit f4c5116abb
4 changed files with 116 additions and 3 deletions

View File

@@ -1192,6 +1192,15 @@ def _relation_conflict(title_a: str, title_b: str) -> bool:
return a is not None and b is not None and a != b
def _direction_conflict(title_a: str, title_b: str) -> bool:
"""Nur der DETERMINISTISCH sichere Teil des Relation-Guards: dieselben Operanden in
GETAUSCHTER Richtung („A ≤ B" vs „B ≤ A") — immer eine andere Reduktion. Ein Operand-Unterschied
(z. B. „CLIQUE" vs „k-CLIQUE" — Synonym? oder echt verschieden?) ist eine Bedeutungsfrage und
bleibt dem (belegten) Judge überlassen, statt per String-Vergleich blind blockiert zu werden."""
a, b = _relation_operands(title_a), _relation_operands(title_b)
return a is not None and b is not None and a != b and set(a) == set(b)
def _filter_schema(data) -> dict[int, int] | None: