From 311c5461fd554a07ce338206de6693fd02fc583b Mon Sep 17 00:00:00 2001 From: Gulum Date: Sat, 6 Jun 2026 12:11:41 +0200 Subject: [PATCH] =?UTF-8?q?data(import):=20Chelsea=20(merge=20to=20*02.04.?= =?UTF-8?q?2021,=20correctDob)=20+=20Vestra=20(DD)=20resolved=20=E2=80=94?= =?UTF-8?q?=20Julian?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HUMANQUESTION.md | 4 ++-- tools/import/conflict-decisions.json | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/HUMANQUESTION.md b/HUMANQUESTION.md index e2e852d..599e4a8 100644 --- a/HUMANQUESTION.md +++ b/HUMANQUESTION.md @@ -96,7 +96,7 @@ Bitte je Tier sagen, **welcher Wert stimmt** (die Quellen widersprechen sich bei | Silvain v.d. K.C. (*27.03.2022) | E-Locus: **Ee** ↔ **ee** · P-Locus: **P-** ↔ **Pp** | ✅ **ee, Pp** (`aa c[chm]c[chm] Dd ee[-] Gg Pp Spsp`) — Julian | | Ichika v.d. K.C. (*19.04.2020) | E-Locus: **ee** ↔ **ee[f]** | ✅ **ee[f]** (Beibehalten-Regel: `[f]` war vorhanden) — Julian | | Daja of Little Rose (*16.05.2021) | Scheckung: **mit `spsp`** ↔ **ohne** | ✅ **mit `spsp`** (Beibehalten-Regel) — Julian | -| Chelsea v.d. K.C. | ⚠️ **Kein Genotyp-Konflikt** — es gibt **zwei** „Chelsea v.d. K.C." mit verschiedenem Geburtsdatum: **\*02.04.2021** und **\*15.10.2021**. Zwei verschiedene Tiere, oder ist ein Datum falsch? | ⏳ offen | +| Chelsea v.d. K.C. | ⚠️ **Kein Genotyp-Konflikt** — zwei „Chelsea" mit verschiedenem Datum (\*02.04.2021 / \*15.10.2021) | ✅ **ein Tier, Geburtsdatum 02.04.2021** (15.10.2021 war falsch → zusammengeführt) — Julian | ### D4 · **Marker** unterschiedlich (`WP` / `DP` / `WFNZ` / „hörend" mal vorhanden, mal nicht) — welcher gilt? > ✅ **REGEL (Julian 2026-06-06):** „Wenn irgendwo etwas vorhanden war, das anderswo fehlte → **immer beibehalten**." Gilt generell für Marker/Flags und Angaben wie `spsp` oder `[f]` (Vorhandensein gewinnt über Fehlen). Wird zur Standard-Regel im Importer → löst alle „mit/ohne"-Fälle automatisch (z. B. Daja `spsp`, Ichika `[f]`). Greift NICHT bei echten Wert-Widersprüchen (z. B. `DD`↔`D-`, `Ee`↔`ee`) — die brauchen weiter deine Entscheidung. @@ -105,7 +105,7 @@ Bitte je Tier sagen, **welcher Wert stimmt** (die Quellen widersprechen sich bei | Tier | Konkreter Konflikt — was stimmt? | Status | |---|---|---| -| Vestra von den Schlossmäusen (*08.02.2019) | D-Locus: **D-** ↔ **DD** (WP gleich in beiden) | ⏳ offen | +| Vestra von den Schlossmäusen (*08.02.2019) | D-Locus: **D-** ↔ **DD** (WP gleich in beiden) | ✅ **DD** — Julian | | Victoria Welby gen. Welby v.d. K.C. (*16.01.2023) | E-Locus: **Ee[f]** ↔ **ee[f]** (Fuchs ja/nein; DP gleich in beiden) — **das ist die Mutter von „C"!** Sobald geklärt, bekommt C auch seine Mutter. | ⏳ offen | | Hedwig of BGB (*30.10.2019) | (WP/DP/hörend) | ✅ auto-gelöst — sind jetzt Flags, kein Konflikt mehr | | Pitari gen. Piti v.d. K.C. (*16.05.2021) | (DP) | ✅ auto-gelöst — DP ist jetzt ein Flag | diff --git a/tools/import/conflict-decisions.json b/tools/import/conflict-decisions.json index cb65ddb..2d17da3 100644 --- a/tools/import/conflict-decisions.json +++ b/tools/import/conflict-decisions.json @@ -1,5 +1,5 @@ { - "_doc": "Human conflict resolutions for the import quarantine (HUMANQUESTION section D / C6). The importer consumes this to UN-QUARANTINE an animal: for a matching (name + dob) it accepts the given authoritative field(s) — `genotype`, `farbschlag`, and/or `dateOfDeath` (DD.MM.YYYY) — and skips the conflict. Key match = normalize(name) + dob, same identity as dedup. Maintained by god (Michael) as Julian/his wife answer the D-conflicts; originals (xlsx) stay read-only.", + "_doc": "Human conflict resolutions for the import quarantine (HUMANQUESTION section D / C6). The importer consumes this to UN-QUARANTINE an animal: for a matching (name + dob) it accepts the given authoritative field(s) — `genotype`, `farbschlag`, and/or `dateOfDeath` (DD.MM.YYYY) — and skips the conflict. Special field `correctDob` (DD.MM.YYYY): the matched (name + dob) record is a DUPLICATE with a WRONG birthdate — remap its DOB to `correctDob` BEFORE dedup so it merges into the canonical same-named animal. Key match = normalize(name) + dob, same identity as dedup. Maintained by god (Michael) as Julian/his wife answer the D-conflicts; originals (xlsx) stay read-only.", "resolutions": [ { "name": "Firefly von den Kleinen Chaoten", @@ -63,6 +63,20 @@ "decision": "E-locus = ee, P-locus = Pp", "genotype": "aa c[chm]c[chm] Dd ee[-] Gg Pp Spsp", "source": "Julian 2026-06-06 — HUMANQUESTION D3" + }, + { + "name": "Chelsea von den Kleinen Chaoten", + "dob": "15.10.2021", + "decision": "duplicate with wrong birthdate — same animal as Chelsea *02.04.2021; merge into it", + "correctDob": "02.04.2021", + "source": "Julian 2026-06-06 — HUMANQUESTION D3 (Chelsea Dublette)" + }, + { + "name": "Vestra von den Schlossmäusen", + "dob": "08.02.2019", + "decision": "D-locus = DD", + "genotype": "Aa Cc[chm] DD EE GG PP Spsp [WP]", + "source": "Julian 2026-06-06 — HUMANQUESTION D4" } ] }