Benjamin Admin
b2b4d77877
fix(auto-discovery): compute missing against canonical 8 types, not submitted
...
Frontend filters out empty doc rows -> req.documents only contains the
N submitted entries (3 in BMW case). The old auto-discovery loop
computed 'missing' as 'entries in doc_entries with empty text', which
was always empty for those N entries -> discovery never fired.
Fix:
- missing = _ALL_DOC_TYPES - {canonical doc_types in doc_entries}
- For each missing type, APPEND a new entry to doc_entries with
discovery_attempted=True. If a discovered doc matched, fill text/url
and set auto_discovered=True.
- Check loop: skip entries with no URL and no text (let padding label
them). Entries with URL but no text keep the 'Kein Text' error so the
user sees fetch failures explicitly.
2026-05-17 01:28:51 +02:00
..
2026-03-07 19:00:33 +01:00
2026-05-04 07:01:37 +02:00
2026-04-07 18:16:50 +02:00
2026-05-02 08:37:51 +02:00
2026-04-29 15:27:51 +02:00
2026-05-17 01:28:51 +02:00
2026-05-17 01:14:05 +02:00
2026-05-17 01:14:05 +02:00
2026-05-12 17:34:33 +02:00
2026-04-29 15:27:51 +02:00
2026-04-27 23:39:16 +02:00
2026-04-29 15:27:51 +02:00
2026-05-11 12:15:07 +02:00
2026-05-11 12:15:07 +02:00
2026-05-11 12:15:07 +02:00
2026-04-07 13:18:29 +02:00
2026-03-23 17:15:45 +01:00
2026-04-07 18:39:40 +02:00
2026-03-23 17:15:45 +01:00
2026-05-03 21:42:50 +02:00
2026-05-03 20:58:06 +02:00
2026-05-12 14:43:13 +02:00
2026-04-25 23:23:08 +02:00
2026-03-07 19:00:33 +01:00
2026-03-07 19:00:33 +01:00
2026-04-07 19:47:29 +02:00
2026-05-03 21:42:50 +02:00
2026-03-13 10:45:35 +00:00
2026-04-07 13:18:29 +02:00
2026-04-16 16:26:48 +02:00
2026-03-24 07:24:02 +01:00
2026-04-07 13:18:29 +02:00
2026-04-16 16:26:48 +02:00
2026-03-07 17:07:43 +01:00
2026-05-03 22:03:25 +02:00
2026-04-25 23:01:44 +02:00
2026-05-03 23:30:18 +02:00
2026-04-07 13:18:29 +02:00
2026-04-08 22:39:19 +02:00
2026-04-07 13:18:29 +02:00
2026-03-14 21:03:04 +01:00
2026-05-12 13:55:07 +02:00
2026-04-16 16:26:48 +02:00
2026-03-08 22:53:29 +01:00
2026-03-13 10:45:35 +00:00
2026-04-09 08:35:57 +02:00
2026-04-16 16:26:48 +02:00
2026-04-09 08:47:56 +02:00
2026-04-28 19:25:38 +02:00
2026-03-23 17:15:45 +01:00
2026-04-16 16:26:48 +02:00
2026-03-02 12:02:40 +01:00
2026-04-09 20:10:43 +02:00
2026-04-16 16:26:48 +02:00
2026-05-03 13:03:38 +02:00
2026-03-14 21:03:04 +01:00
2026-03-09 17:48:02 +01:00
2026-04-07 13:18:29 +02:00
2026-03-02 12:46:11 +01:00
2026-04-16 16:26:48 +02:00
2026-04-16 16:26:48 +02:00
2026-02-11 23:47:28 +01:00
2026-04-16 16:26:48 +02:00
2026-04-07 13:18:29 +02:00
2026-04-07 19:58:02 +02:00
2026-05-04 07:01:37 +02:00
2026-03-07 14:12:34 +01:00
2026-03-19 11:56:53 +01:00
2026-04-07 19:42:17 +02:00
2026-05-12 23:24:12 +02:00
2026-04-09 20:11:24 +02:00
2026-03-07 19:00:33 +01:00
2026-03-19 11:56:25 +01:00
2026-04-25 22:48:04 +02:00
2026-05-04 00:22:18 +02:00
2026-03-09 20:01:27 +01:00