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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user