fix(import): Eltern-/Herkunft-/Dubletten-Korrekturen — Ticket-Triage Cluster

Akane (Roni=Vater male + Mutter Fumi), Sunny (Bill+Melly), Danielle (Mutter Ella,
motherDob-Disambiguierung), Cherry Berry (female), Black-Forest-Label vereinheitlicht,
namenloser Bock entdoppelt (mergeExternalRefs).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-23 08:25:43 +02:00
parent a66739e84d
commit 72ad706ca6
4 changed files with 319 additions and 5 deletions

View File

@@ -1151,7 +1151,10 @@ def apply_conflict_decisions(merged, conflicts, path):
if d.get("father"):
new_refs.append({
"name": d["father"],
"dob": "",
# Optional fatherDob disambiguates a parent when several
# same-named animals exist (the downstream resolver matches
# name AND, when given, dob — e.g. two „Ella“).
"dob": d.get("fatherDob", ""),
"roleGuess": "father",
"method": "decision",
"confidence": "high"
@@ -1159,7 +1162,7 @@ def apply_conflict_decisions(merged, conflicts, path):
if d.get("mother"):
new_refs.append({
"name": d["mother"],
"dob": "",
"dob": d.get("motherDob", ""),
"roleGuess": "mother",
"method": "decision",
"confidence": "high"