From 79ec798abf2717a6d5a5bea7ab85983a1f08979d Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Mon, 22 Dec 2025 00:05:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Company=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9A=84UI=E4=B8=BAFUI=E9=A3=8E=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app.py b/app.py index 3941c297..6b0957f9 100755 --- a/app.py +++ b/app.py @@ -11128,6 +11128,14 @@ def get_events_by_mainline(): app.logger.info(f'[mainline] 查询到 {len(related_concepts_query)} 条概念关联') + # 调试:输出一些 related_concepts 的样本 + sample_concepts = list(set([c for _, c in related_concepts_query[:100]]))[:20] + app.logger.info(f'[mainline] related_concepts 样本: {sample_concepts}') + + # 调试:输出一些 hierarchy 的样本 + hierarchy_sample = list(concept_hierarchy_map.keys())[:20] + app.logger.info(f'[mainline] hierarchy 概念样本: {hierarchy_sample}') + # ==================== 4. 按 lv2 分组事件 ==================== mainline_groups = {} # { lv2_id: { info: {...}, events: [...] } } ungrouped_events = []