微舆:人人可用的多Agent舆情分析助手,打破信息茧房,还原舆情原貌,预测未来走向,辅助决策!从0实现,不依赖任何框架。
This report summarizes scanner evidence for 666ghj/BettaFish, a Python project with 42,380 GitHub stars. SynthScan examined 88,993 lines of code across 248 source files, recording 1480 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 27.3 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 466 finding(s).
Are imports declared and package/API names verified? 485 finding(s).
Are wrappers, guards, and repeated structures necessary? 797 finding(s).
Which changes need focused human review? 1480 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1480 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5403 | if (typeof color !== 'string') return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5405 | if (!(normalized.length === 3 || normalized.length === 6)) return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5405 | if (!(normalized.length === 3 || normalized.length === 6)) return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5408 | if (Number.isNaN(intVal)) return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5413 | if (typeof color !== 'string') return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5415 | if (!match) return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5417 | if (parts.length < 3) return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5422 | if (typeof color !== 'string') return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5424 | if (!raw) return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5429 | if (!match) return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5441 | return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5445 | if (rawAlpha !== null) return rawAlpha; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5450 | if (normalizedAlpha !== null) return normalizedAlpha; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5453 | return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5463 | if (!rgb) return null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5489 | if (lum !== null && lum < 0.12) { | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5498 | if (!rgbA && !rgbB) return colorA || colorB; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5501 | const t = Math.min(1, Math.max(0, amount || 0)); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5507 | const styleRef = styles || getComputedStyle(document.body); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5510 | if (val && val.trim()) { | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5573 | if (alpha === 0 || isInvisible) { | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5576 | const baseColor = (!normalizedRaw || isInvisible) ? fallbackColor : normalizedRaw; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5582 | normalizedColors.push(normalizedColor); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5589 | changes.push(changeLabel); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5595 | changes.push(`dataset${idx}: 补全边框色`); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5610 | : null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5612 | if (typeAlpha !== null) { | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5613 | if (bgIsArray && dataset.backgroundColor.length) { | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5619 | if (dataset.fill || type !== 'line') { | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5620 | changes.push(`dataset${idx}: 应用淡化填充以避免遮挡`); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5697 | const explicit = payload && payload.props && payload.props.type; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5698 | const widgetType = payload && payload.widgetType ? payload.widgetType : 'chart.js/bar'; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5699 | const derived = widgetType && widgetType.includes('/') ? widgetType.split('/').pop() : widgetType; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5700 | const extra = Array.isArray(payload && payload.preferredTypes) ? payload.preferredTypes : []; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5705 | result.push(type); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5753 | const props = payload && payload.props; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5754 | const dataField = payload && payload.data; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5757 | if (props[key]) sources.push(props[key]); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5761 | sources.push(dataField); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5805 | items.sort((a, b) => (b.weight || 0) - (a.weight || 0)); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5812 | const base = WORDCLOUD_CATEGORY_COLORS[key] || palette.accent || palette.secondary || '#334155'; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5820 | const wrapper = canvas.parentElement && canvas.parentElement.classList && canvas.parentElement.classList.contains('cha | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5822 | : null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5844 | const clampedWeight = Math.max(0.5, (item.weight || 1)); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5845 | const normalized = Math.min(1, clampedWeight / (maxWeight || 1)); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5851 | if (item.weight !== undefined && item.weight !== null) { | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5851 | if (item.weight !== undefined && item.weight !== null) { | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5853 | meta.textContent = item.weight >= 0 && item.weight <= 1.5 | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5875 | const maxWeight = items.reduce((max, item) => Math.max(max, item.weight || 0), 1); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5885 | const container = canvas.parentElement && canvas.parentElement.classList && canvas.parentElement.classList.contains('c | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5887 | : null; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5897 | const dpr = Math.max(1, window.devicePixelRatio || 1); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5898 | const width = Math.max(260, (container ? container.clientWidth : canvas.clientWidth || canvas.width || 320)); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5907 | const cardEl = card || container || document.body; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5912 | if (val && val.trim() && val.trim() !== 'transparent') return val.trim(); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5914 | if (style.backgroundColor && style.backgroundColor !== 'rgba(0, 0, 0, 0)') return style.backgroundColor; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5918 | if (val && val.trim() && val.trim() !== 'transparent') return val.trim(); | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5920 | if (bodyStyle.backgroundColor && bodyStyle.backgroundColor !== 'rgba(0, 0, 0, 0)') { | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5927 | const maxWeight = items.reduce((max, item) => Math.max(max, item.weight || 0), 0) || 1; | CODE |
| HIGH⚡ | ReportEngine/renderers/html_renderer.py | 5931 | weightLookup.set(it.word, it.weight || 1); | CODE |
| 72 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | MediaEngine/agent.py | 0 | 验证日期格式是否为yyyy-mm-dd args: date_str: 日期字符串 returns: 是否为有效格式 | STRING |
| HIGH | QueryEngine/agent.py | 0 | 验证日期格式是否为yyyy-mm-dd args: date_str: 日期字符串 returns: 是否为有效格式 | STRING |
| HIGH | InsightEngine/agent.py | 0 | 验证日期格式是否为yyyy-mm-dd args: date_str: 日期字符串 returns: 是否为有效格式 | STRING |
| HIGH | MediaEngine/agent.py | 0 | 执行深度研究 args: query: 研究查询 save_report: 是否保存报告到文件 returns: 最终报告内容 | STRING |
| HIGH | QueryEngine/agent.py | 0 | 执行深度研究 args: query: 研究查询 save_report: 是否保存报告到文件 returns: 最终报告内容 | STRING |
| HIGH | InsightEngine/agent.py | 0 | 执行深度研究 args: query: 研究查询 save_report: 是否保存报告到文件 returns: 最终报告内容 | STRING |
| HIGH | MediaEngine/nodes/search_node.py | 0 | 调用llm生成搜索查询和理由 args: input_data: 包含title和content的字符串或字典 **kwargs: 额外参数 returns: 包含search_query和reasoning的字典 | STRING |
| HIGH | QueryEngine/nodes/search_node.py | 0 | 调用llm生成搜索查询和理由 args: input_data: 包含title和content的字符串或字典 **kwargs: 额外参数 returns: 包含search_query和reasoning的字典 | STRING |
| HIGH | InsightEngine/nodes/search_node.py | 0 | 调用llm生成搜索查询和理由 args: input_data: 包含title和content的字符串或字典 **kwargs: 额外参数 returns: 包含search_query和reasoning的字典 | STRING |
| HIGH | MediaEngine/nodes/search_node.py | 0 | 处理llm输出,提取搜索查询和推理 args: output: llm原始输出 returns: 包含search_query和reasoning的字典 | STRING |
| HIGH | QueryEngine/nodes/search_node.py | 0 | 处理llm输出,提取搜索查询和推理 args: output: llm原始输出 returns: 包含search_query和reasoning的字典 | STRING |
| HIGH | InsightEngine/nodes/search_node.py | 0 | 处理llm输出,提取搜索查询和推理 args: output: llm原始输出 returns: 包含search_query和reasoning的字典 | STRING |
| HIGH | MediaEngine/nodes/search_node.py | 0 | 调用llm反思并生成搜索查询 args: input_data: 包含title、content和paragraph_latest_state的字符串或字典 **kwargs: 额外参数 returns: 包含search_query和re | STRING |
| HIGH | QueryEngine/nodes/search_node.py | 0 | 调用llm反思并生成搜索查询 args: input_data: 包含title、content和paragraph_latest_state的字符串或字典 **kwargs: 额外参数 returns: 包含search_query和re | STRING |
| HIGH | InsightEngine/nodes/search_node.py | 0 | 调用llm反思并生成搜索查询 args: input_data: 包含title、content和paragraph_latest_state的字符串或字典 **kwargs: 额外参数 returns: 包含search_query和re | STRING |
| HIGH | MediaEngine/nodes/formatting_node.py | 0 | 调用llm生成markdown格式报告 args: input_data: 包含所有段落信息的列表 **kwargs: 额外参数 returns: 格式化的markdown报告 | STRING |
| HIGH | QueryEngine/nodes/formatting_node.py | 0 | 调用llm生成markdown格式报告 args: input_data: 包含所有段落信息的列表 **kwargs: 额外参数 returns: 格式化的markdown报告 | STRING |
| HIGH | InsightEngine/nodes/formatting_node.py | 0 | 调用llm生成markdown格式报告 args: input_data: 包含所有段落信息的列表 **kwargs: 额外参数 returns: 格式化的markdown报告 | STRING |
| HIGH | MediaEngine/nodes/formatting_node.py | 0 | 处理llm输出,清理markdown格式 args: output: llm原始输出 returns: 清理后的markdown报告 | STRING |
| HIGH | QueryEngine/nodes/formatting_node.py | 0 | 处理llm输出,清理markdown格式 args: output: llm原始输出 returns: 清理后的markdown报告 | STRING |
| HIGH | InsightEngine/nodes/formatting_node.py | 0 | 处理llm输出,清理markdown格式 args: output: llm原始输出 returns: 清理后的markdown报告 | STRING |
| HIGH | MediaEngine/nodes/formatting_node.py | 0 | 手动格式化报告(备用方法) args: paragraphs_data: 段落数据列表 report_title: 报告标题 returns: 格式化的markdown报告 | STRING |
| HIGH | QueryEngine/nodes/formatting_node.py | 0 | 手动格式化报告(备用方法) args: paragraphs_data: 段落数据列表 report_title: 报告标题 returns: 格式化的markdown报告 | STRING |
| HIGH | InsightEngine/nodes/formatting_node.py | 0 | 手动格式化报告(备用方法) args: paragraphs_data: 段落数据列表 report_title: 报告标题 returns: 格式化的markdown报告 | STRING |
| HIGH | MediaEngine/nodes/report_structure_node.py | 0 | 调用llm生成报告结构 args: input_data: 输入数据(这里不使用,使用初始化时的query) **kwargs: 额外参数 returns: 报告结构列表 | STRING |
| HIGH | QueryEngine/nodes/report_structure_node.py | 0 | 调用llm生成报告结构 args: input_data: 输入数据(这里不使用,使用初始化时的query) **kwargs: 额外参数 returns: 报告结构列表 | STRING |
| HIGH | InsightEngine/nodes/report_structure_node.py | 0 | 调用llm生成报告结构 args: input_data: 输入数据(这里不使用,使用初始化时的query) **kwargs: 额外参数 returns: 报告结构列表 | STRING |
| HIGH | MediaEngine/nodes/report_structure_node.py | 0 | 处理llm输出,提取报告结构 args: output: llm原始输出 returns: 处理后的报告结构列表 | STRING |
| HIGH | QueryEngine/nodes/report_structure_node.py | 0 | 处理llm输出,提取报告结构 args: output: llm原始输出 returns: 处理后的报告结构列表 | STRING |
| HIGH | InsightEngine/nodes/report_structure_node.py | 0 | 处理llm输出,提取报告结构 args: output: llm原始输出 returns: 处理后的报告结构列表 | STRING |
| HIGH | MediaEngine/nodes/report_structure_node.py | 0 | 将报告结构写入状态 args: input_data: 输入数据 state: 当前状态,如果为none则创建新状态 **kwargs: 额外参数 returns: 更新后的状态 | STRING |
| HIGH | QueryEngine/nodes/report_structure_node.py | 0 | 将报告结构写入状态 args: input_data: 输入数据 state: 当前状态,如果为none则创建新状态 **kwargs: 额外参数 returns: 更新后的状态 | STRING |
| HIGH | InsightEngine/nodes/report_structure_node.py | 0 | 将报告结构写入状态 args: input_data: 输入数据 state: 当前状态,如果为none则创建新状态 **kwargs: 额外参数 returns: 更新后的状态 | STRING |
| HIGH | MediaEngine/nodes/summary_node.py | 0 | 调用llm生成段落总结 args: input_data: 包含title、content、search_query和search_results的数据 **kwargs: 额外参数 returns: 段落总结内容 | STRING |
| HIGH | QueryEngine/nodes/summary_node.py | 0 | 调用llm生成段落总结 args: input_data: 包含title、content、search_query和search_results的数据 **kwargs: 额外参数 returns: 段落总结内容 | STRING |
| HIGH | InsightEngine/nodes/summary_node.py | 0 | 调用llm生成段落总结 args: input_data: 包含title、content、search_query和search_results的数据 **kwargs: 额外参数 returns: 段落总结内容 | STRING |
| HIGH | MediaEngine/nodes/summary_node.py | 0 | 更新段落的最新总结到状态 args: input_data: 输入数据 state: 当前状态 paragraph_index: 段落索引 **kwargs: 额外参数 returns: 更新后的状态 | STRING |
| HIGH | QueryEngine/nodes/summary_node.py | 0 | 更新段落的最新总结到状态 args: input_data: 输入数据 state: 当前状态 paragraph_index: 段落索引 **kwargs: 额外参数 returns: 更新后的状态 | STRING |
| HIGH | InsightEngine/nodes/summary_node.py | 0 | 更新段落的最新总结到状态 args: input_data: 输入数据 state: 当前状态 paragraph_index: 段落索引 **kwargs: 额外参数 returns: 更新后的状态 | STRING |
| HIGH | MediaEngine/nodes/summary_node.py | 0 | 调用llm更新段落内容 args: input_data: 包含完整反思信息的数据 **kwargs: 额外参数 returns: 更新后的段落内容 | STRING |
| HIGH | QueryEngine/nodes/summary_node.py | 0 | 调用llm更新段落内容 args: input_data: 包含完整反思信息的数据 **kwargs: 额外参数 returns: 更新后的段落内容 | STRING |
| HIGH | InsightEngine/nodes/summary_node.py | 0 | 调用llm更新段落内容 args: input_data: 包含完整反思信息的数据 **kwargs: 额外参数 returns: 更新后的段落内容 | STRING |
| HIGH | MediaEngine/nodes/summary_node.py | 0 | 处理llm输出,提取更新后的段落内容 args: output: llm原始输出 returns: 更新后的段落内容 | STRING |
| HIGH | QueryEngine/nodes/summary_node.py | 0 | 处理llm输出,提取更新后的段落内容 args: output: llm原始输出 returns: 更新后的段落内容 | STRING |
| HIGH | InsightEngine/nodes/summary_node.py | 0 | 处理llm输出,提取更新后的段落内容 args: output: llm原始输出 returns: 更新后的段落内容 | STRING |
| HIGH | MediaEngine/nodes/summary_node.py | 0 | 将更新后的总结写入状态 args: input_data: 输入数据 state: 当前状态 paragraph_index: 段落索引 **kwargs: 额外参数 returns: 更新后的状态 | STRING |
| HIGH | QueryEngine/nodes/summary_node.py | 0 | 将更新后的总结写入状态 args: input_data: 输入数据 state: 当前状态 paragraph_index: 段落索引 **kwargs: 额外参数 returns: 更新后的状态 | STRING |
| HIGH | InsightEngine/nodes/summary_node.py | 0 | 将更新后的总结写入状态 args: input_data: 输入数据 state: 当前状态 paragraph_index: 段落索引 **kwargs: 额外参数 returns: 更新后的状态 | STRING |
| HIGH | MediaEngine/nodes/base_node.py | 0 | 执行节点处理逻辑 args: input_data: 输入数据 **kwargs: 额外参数 returns: 处理结果 | STRING |
| HIGH | QueryEngine/nodes/base_node.py | 0 | 执行节点处理逻辑 args: input_data: 输入数据 **kwargs: 额外参数 returns: 处理结果 | STRING |
| HIGH | ReportEngine/nodes/base_node.py | 0 | 执行节点处理逻辑 args: input_data: 输入数据 **kwargs: 额外参数 returns: 处理结果 | STRING |
| HIGH | InsightEngine/nodes/base_node.py | 0 | 执行节点处理逻辑 args: input_data: 输入数据 **kwargs: 额外参数 returns: 处理结果 | STRING |
| HIGH | MediaEngine/nodes/base_node.py | 0 | 修改状态 args: input_data: 输入数据 state: 当前状态 **kwargs: 额外参数 returns: 修改后的状态 | STRING |
| HIGH | QueryEngine/nodes/base_node.py | 0 | 修改状态 args: input_data: 输入数据 state: 当前状态 **kwargs: 额外参数 returns: 修改后的状态 | STRING |
| HIGH | InsightEngine/nodes/base_node.py | 0 | 修改状态 args: input_data: 输入数据 state: 当前状态 **kwargs: 额外参数 returns: 修改后的状态 | STRING |
| HIGH | MediaEngine/utils/text_processing.py | 0 | 提取并清理响应中的json内容 args: text: 原始响应文本 returns: 解析后的json字典 | STRING |
| HIGH | QueryEngine/utils/text_processing.py | 0 | 提取并清理响应中的json内容 args: text: 原始响应文本 returns: 解析后的json字典 | STRING |
| HIGH | InsightEngine/utils/text_processing.py | 0 | 提取并清理响应中的json内容 args: text: 原始响应文本 returns: 解析后的json字典 | STRING |
| HIGH | MediaEngine/utils/text_processing.py | 0 | 修复不完整的json响应 args: text: 原始文本 returns: 修复后的json文本,如果无法修复则返回空字符串 | STRING |
| HIGH | QueryEngine/utils/text_processing.py | 0 | 修复不完整的json响应 args: text: 原始文本 returns: 修复后的json文本,如果无法修复则返回空字符串 | STRING |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config.py | 14 | CODE | |
| LOW | app.py | 18 | CODE | |
| LOW | MediaEngine/__init__.py | 6 | CODE | |
| LOW | MediaEngine/__init__.py | 6 | CODE | |
| LOW | MediaEngine/__init__.py | 6 | CODE | |
| LOW | MediaEngine/__init__.py | 7 | CODE | |
| LOW | MediaEngine/agent.py | 6 | CODE | |
| LOW | MediaEngine/agent.py | 10 | CODE | |
| LOW | MediaEngine/tools/__init__.py | 6 | CODE | |
| LOW | MediaEngine/tools/__init__.py | 6 | CODE | |
| LOW | MediaEngine/tools/__init__.py | 6 | CODE | |
| LOW | MediaEngine/tools/__init__.py | 6 | CODE | |
| LOW | MediaEngine/tools/__init__.py | 6 | CODE | |
| LOW | MediaEngine/tools/__init__.py | 6 | CODE | |
| LOW | MediaEngine/tools/__init__.py | 6 | CODE | |
| LOW | MediaEngine/tools/__init__.py | 6 | CODE | |
| LOW | MediaEngine/tools/search.py | 27 | CODE | |
| LOW | MediaEngine/nodes/__init__.py | 6 | CODE | |
| LOW | MediaEngine/nodes/__init__.py | 7 | CODE | |
| LOW | MediaEngine/nodes/__init__.py | 8 | CODE | |
| LOW | MediaEngine/nodes/__init__.py | 8 | CODE | |
| LOW | MediaEngine/nodes/__init__.py | 9 | CODE | |
| LOW | MediaEngine/nodes/__init__.py | 9 | CODE | |
| LOW | MediaEngine/nodes/__init__.py | 10 | CODE | |
| LOW | MediaEngine/nodes/summary_node.py | 7 | CODE | |
| LOW | MediaEngine/nodes/summary_node.py | 7 | CODE | |
| LOW | MediaEngine/nodes/summary_node.py | 14 | CODE | |
| LOW | MediaEngine/nodes/summary_node.py | 14 | CODE | |
| LOW | MediaEngine/nodes/base_node.py | 7 | CODE | |
| LOW | MediaEngine/nodes/base_node.py | 7 | CODE | |
| LOW | MediaEngine/utils/__init__.py | 6 | CODE | |
| LOW | MediaEngine/utils/__init__.py | 6 | CODE | |
| LOW | MediaEngine/utils/__init__.py | 6 | CODE | |
| LOW | MediaEngine/utils/__init__.py | 6 | CODE | |
| LOW | MediaEngine/utils/__init__.py | 6 | CODE | |
| LOW | MediaEngine/utils/__init__.py | 6 | CODE | |
| LOW | MediaEngine/utils/__init__.py | 15 | CODE | |
| LOW | MediaEngine/utils/__init__.py | 15 | CODE | |
| LOW | MediaEngine/state/__init__.py | 6 | CODE | |
| LOW | MediaEngine/state/__init__.py | 6 | CODE | |
| LOW | MediaEngine/state/__init__.py | 6 | CODE | |
| LOW | MediaEngine/state/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/prompts/__init__.py | 6 | CODE | |
| LOW | MediaEngine/llms/__init__.py | 5 | CODE | |
| LOW | MindSpider/main.py | 8 | CODE | |
| LOW | MindSpider/main.py | 17 | CODE | |
| LOW | MindSpider/main.py | 18 | CODE | |
| LOW | MindSpider/main.py | 30 | CODE | |
| LOW | MindSpider/DeepSentimentCrawling/keyword_manager.py | 10 | CODE | |
| 288 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | report_engine_only.py | 74 | except Exception as e: | CODE |
| LOW | report_engine_only.py | 192 | except Exception as e: | CODE |
| LOW | report_engine_only.py | 301 | except Exception as e: | CODE |
| LOW | report_engine_only.py | 358 | except Exception as e: | CODE |
| LOW | report_engine_only.py | 405 | except Exception as e: | CODE |
| LOW | report_engine_only.py | 565 | except Exception as e: | CODE |
| LOW | export_pdf.py | 55 | except Exception as e: | CODE |
| MEDIUM | app.py | 41 | def _patch_eventlet_disconnect_logging(): | CODE |
| MEDIUM | app.py | 915 | def _cleanup_and_exit(): | CODE |
| LOW⚡ | app.py | 44 | except Exception as exc: # pragma: no cover - 仅在生产环境有效 | CODE |
| LOW⚡ | app.py | 50 | except Exception as exc: # pragma: no cover | CODE |
| LOW⚡ | app.py | 873 | except Exception: | CODE |
| LOW⚡ | app.py | 878 | except Exception: | CODE |
| LOW⚡ | app.py | 894 | except Exception as exc: # pragma: no cover | CODE |
| LOW⚡ | app.py | 1055 | except Exception as e: | CODE |
| LOW⚡ | app.py | 1065 | except Exception as e: | CODE |
| LOW | app.py | 63 | except Exception: | CODE |
| LOW | app.py | 151 | except Exception as exc: | CODE |
| LOW | app.py | 282 | except Exception as exc: # pragma: no cover - 安全捕获 | CODE |
| LOW | app.py | 312 | except Exception as exc: # pragma: no cover - 保底捕获 | CODE |
| LOW | app.py | 325 | except Exception as exc: # pragma: no cover | CODE |
| LOW | app.py | 336 | except Exception: # pragma: no cover | CODE |
| LOW | app.py | 358 | except Exception as e: | CODE |
| LOW | app.py | 373 | except Exception as e: | CODE |
| LOW | app.py | 384 | except Exception as e: | CODE |
| LOW | app.py | 490 | except Exception as e: | CODE |
| LOW | app.py | 542 | except Exception as e: | CODE |
| LOW | app.py | 559 | except Exception as e: | CODE |
| LOW | app.py | 628 | except Exception as e: | CODE |
| LOW | app.py | 703 | except Exception as e: | CODE |
| LOW | app.py | 718 | except Exception: | CODE |
| LOW | app.py | 740 | except Exception as e: | CODE |
| LOW | app.py | 783 | except Exception as exc: | CODE |
| LOW | app.py | 813 | except Exception as exc: | CODE |
| LOW | app.py | 829 | except Exception: # pragma: no cover | CODE |
| LOW | app.py | 918 | except Exception as exc: # pragma: no cover | CODE |
| LOW | app.py | 958 | except Exception as exc: # pragma: no cover | CODE |
| LOW | app.py | 991 | except Exception as exc: # pragma: no cover | CODE |
| LOW | app.py | 1013 | except Exception as e: | CODE |
| LOW | app.py | 1098 | except Exception as e: | CODE |
| LOW | app.py | 1149 | except Exception as e: | CODE |
| LOW | app.py | 1190 | except Exception as e: | CODE |
| LOW | app.py | 1209 | except Exception as exc: | CODE |
| LOW | app.py | 1233 | except Exception as exc: | CODE |
| LOW | app.py | 1269 | except Exception as exc: # pragma: no cover - 保底捕获 | CODE |
| LOW | app.py | 1314 | except Exception as exc: # pragma: no cover - 兜底捕获 | CODE |
| LOW | regenerate_latest_pdf.py | 87 | except Exception as e: | CODE |
| LOW | regenerate_latest_pdf.py | 132 | except Exception as e: | CODE |
| LOW | regenerate_latest_md.py | 78 | except Exception as exc: | CODE |
| LOW | regenerate_latest_html.py | 78 | except Exception as exc: | CODE |
| LOW⚡ | MediaEngine/agent.py | 168 | except Exception as e: | CODE |
| LOW | MediaEngine/agent.py | 389 | except Exception as e: | CODE |
| LOW | MediaEngine/tools/search.py | 207 | except Exception as e: | CODE |
| LOW | MediaEngine/tools/search.py | 329 | except Exception as e: | CODE |
| LOW | MediaEngine/tools/search.py | 518 | except Exception as e: | CODE |
| LOW | MediaEngine/nodes/search_node.py | 77 | except Exception as e: | CODE |
| LOW | MediaEngine/nodes/search_node.py | 136 | except Exception as e: | CODE |
| LOW | MediaEngine/nodes/search_node.py | 212 | except Exception as e: | CODE |
| LOW | MediaEngine/nodes/search_node.py | 271 | except Exception as e: | CODE |
| LOW | MediaEngine/nodes/formatting_node.py | 83 | except Exception as e: | CODE |
| 279 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | report_engine_only.py | 79 | def get_latest_engine_reports() -> Dict[str, str]: | CODE |
| LOW | report_engine_only.py | 198 | def extract_query_from_reports(latest_files: Dict[str, str]) -> str: | CODE |
| LOW⚡ | app.py | 41 | def _patch_eventlet_disconnect_logging(): | CODE |
| LOW⚡ | app.py | 888 | def _schedule_server_shutdown(delay_seconds: float = 0.1): | CODE |
| LOW⚡ | app.py | 1046 | def start_forum_monitoring_api(): | CODE |
| LOW⚡ | app.py | 1059 | def stop_forum_monitoring_api(): | CODE |
| LOW | app.py | 268 | def initialize_system_components(): | CODE |
| LOW | app.py | 517 | def _describe_running_children(): | CODE |
| LOW | app.py | 753 | def _healthcheck_grace_active(app_name: str) -> bool: | CODE |
| LOW | app.py | 834 | def cleanup_processes_concurrent(timeout: float = 6.0): | CODE |
| LOW | regenerate_latest_pdf.py | 91 | def generate_pdf_with_vector_charts(document_ir, output_path, ir_file_path=None): | CODE |
| LOW⚡ | MediaEngine/agent.py | 174 | def _generate_report_structure(self, query: str): | CODE |
| LOW | MediaEngine/agent.py | 209 | def _initial_search_and_summary(self, paragraph_index: int): | CODE |
| LOW | MediaEngine/tools/search.py | 238 | def search_for_structured_data(self, query: str) -> BochaResponse: | CODE |
| LOW | MediaEngine/nodes/search_node.py | 141 | def _get_default_search_query(self) -> Dict[str, str]: | CODE |
| LOW | MediaEngine/nodes/search_node.py | 276 | def _get_default_reflection_query(self) -> Dict[str, str]: | CODE |
| LOW | MediaEngine/nodes/report_structure_node.py | 149 | def _generate_default_structure(self) -> List[Dict[str, str]]: | CODE |
| LOW | MediaEngine/utils/text_processing.py | 48 | def remove_reasoning_from_output(text: str) -> str: | CODE |
| LOW | MediaEngine/utils/text_processing.py | 222 | def update_state_with_search_results(search_results: List[Dict[str, Any]], | CODE |
| LOW | MediaEngine/utils/text_processing.py | 288 | def format_search_results_for_prompt(search_results: List[Dict[str, Any]], | CODE |
| LOW⚡ | MediaEngine/state/state.py | 210 | def get_completed_paragraphs_count(self) -> int: | CODE |
| LOW⚡ | MediaEngine/state/state.py | 214 | def get_total_paragraphs_count(self) -> int: | CODE |
| LOW⚡ | MediaEngine/state/state.py | 218 | def is_all_paragraphs_completed(self) -> bool: | CODE |
| LOW | MindSpider/main.py | 72 | def check_database_connection(self) -> bool: | CODE |
| LOW | MindSpider/main.py | 221 | def _install_mediacrawler_dependencies(self) -> bool: | CODE |
| LOW | MindSpider/main.py | 269 | def run_broad_topic_extraction(self, extract_date: date = None, keywords_count: int = 100) -> bool: | CODE |
| LOW | MindSpider/main.py | 308 | def run_deep_sentiment_crawling(self, target_date: date = None, platforms: list = None, | CODE |
| LOW | MindSpider/DeepSentimentCrawling/keyword_manager.py | 192 | def get_all_keywords_for_platforms(self, platforms: List[str], target_date: date = None, | CODE |
| LOW | MindSpider/DeepSentimentCrawling/keyword_manager.py | 213 | def get_keywords_for_platform(self, platform: str, target_date: date = None, | CODE |
| LOW | MindSpider/DeepSentimentCrawling/keyword_manager.py | 231 | def _filter_keywords_by_platform(self, keywords: List[str], platform: str) -> List[str]: | CODE |
| LOW | MindSpider/DeepSentimentCrawling/platform_crawler.py | 46 | def configure_mediacrawler_db(self): | CODE |
| LOW | MindSpider/DeepSentimentCrawling/platform_crawler.py | 369 | def run_multi_platform_crawl_by_keywords(self, keywords: List[str], platforms: List[str], | STRING |
| LOW | MindSpider/BroadTopicExtraction/get_today_news.py | 274 | def _print_collection_summary(self, data: Dict): | CODE |
| LOW | MindSpider/BroadTopicExtraction/topic_extractor.py | 36 | def extract_keywords_and_summary(self, news_list: List[Dict], max_keywords: int = 100) -> Tuple[List[str], str]: | CODE |
| LOW | MindSpider/BroadTopicExtraction/main.py | 188 | def get_keywords_for_crawling(self, extract_date: date = None) -> List[str]: | CODE |
| LOW⚡ | tests/test_monitor.py | 28 | def test_is_target_log_line_old_format(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 37 | def test_is_target_log_line_new_format(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 46 | def test_is_json_start_line_old_format(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 52 | def test_is_json_start_line_new_format(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 65 | def test_extract_json_content_old_format_single_line(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 72 | def test_extract_json_content_new_format_single_line(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 79 | def test_extract_json_content_old_format_multiline(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 86 | def test_extract_json_content_new_format_multiline(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 93 | def test_extract_json_content_updated_priority(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 100 | def test_extract_json_content_paragraph_only(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 128 | def test_extract_node_content_old_format(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 135 | def test_extract_node_content_new_format(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 142 | def test_process_lines_for_json_old_format(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 224 | def test_process_lines_for_json_real_query_engine(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 230 | def test_process_lines_for_json_real_insight_engine(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 237 | def test_process_lines_for_json_real_media_engine(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 246 | def test_filter_search_node_output(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 254 | def test_filter_search_node_output_single_line(self): | CODE |
| LOW⚡ | tests/test_monitor.py | 262 | def test_search_node_vs_summary_node_mixed(self): | CODE |
| LOW | tests/test_monitor.py | 154 | def test_process_lines_for_json_new_format(self): | CODE |
| LOW | tests/test_monitor.py | 167 | def test_process_lines_for_json_mixed_format(self): | CODE |
| LOW | tests/test_monitor.py | 185 | def test_extract_json_content_real_query_engine(self): | CODE |
| LOW | tests/test_monitor.py | 193 | def test_extract_json_content_real_insight_engine(self): | CODE |
| LOW | tests/test_monitor.py | 207 | def test_extract_json_content_real_media_engine(self): | CODE |
| LOW | tests/test_monitor.py | 282 | def test_filter_error_logs_from_summary_node(self): | CODE |
| 204 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | MediaEngine/utils/text_processing.py | 102 | except JSONDecodeError: | CODE |
| HIGH | MediaEngine/utils/text_processing.py | 154 | except JSONDecodeError: | CODE |
| HIGH | MediaEngine/utils/text_processing.py | 110 | except JSONDecodeError: | CODE |
| HIGH | MediaEngine/utils/text_processing.py | 119 | except JSONDecodeError: | CODE |
| HIGH | MediaEngine/utils/text_processing.py | 128 | except JSONDecodeError: | CODE |
| HIGH | MindSpider/DeepSentimentCrawling/platform_crawler.py | 349 | except: | CODE |
| HIGH | MindSpider/DeepSentimentCrawling/platform_crawler.py | 357 | except: | CODE |
| HIGH | tests/test_fetch_star_count.py | 30 | except BrokenPipeError: | CODE |
| HIGH | QueryEngine/utils/text_processing.py | 102 | except JSONDecodeError: | CODE |
| HIGH | QueryEngine/utils/text_processing.py | 154 | except JSONDecodeError: | CODE |
| HIGH | QueryEngine/utils/text_processing.py | 110 | except JSONDecodeError: | CODE |
| HIGH | QueryEngine/utils/text_processing.py | 119 | except JSONDecodeError: | CODE |
| HIGH | QueryEngine/utils/text_processing.py | 128 | except JSONDecodeError: | CODE |
| HIGH | ReportEngine/flask_interface.py | 59 | except Exception: | CODE |
| HIGH | ReportEngine/flask_interface.py | 68 | except Exception: | CODE |
| HIGH | ReportEngine/flask_interface.py | 107 | except Exception: | CODE |
| HIGH | ReportEngine/agent.py | 260 | except Exception: | CODE |
| HIGH | ReportEngine/agent.py | 269 | except Exception: | CODE |
| HIGH | ReportEngine/renderers/html_renderer.py | 2380 | except Exception: | CODE |
| HIGH | ReportEngine/renderers/markdown_renderer.py | 787 | except json.JSONDecodeError: | CODE |
| HIGH | ReportEngine/utils/dependency_check.py | 154 | except OSError as e: | CODE |
| HIGH | ReportEngine/utils/dependency_check.py | 186 | except Exception: | CODE |
| HIGH | InsightEngine/utils/text_processing.py | 102 | except JSONDecodeError: | CODE |
| HIGH | InsightEngine/utils/text_processing.py | 154 | except JSONDecodeError: | CODE |
| HIGH | InsightEngine/utils/text_processing.py | 110 | except JSONDecodeError: | CODE |
| HIGH | InsightEngine/utils/text_processing.py | 119 | except JSONDecodeError: | CODE |
| HIGH | InsightEngine/utils/text_processing.py | 128 | except JSONDecodeError: | CODE |
| HIGH | scripts/star_history.py | 890 | except OverflowError: | CODE |
| HIGH | scripts/star_history.py | 894 | except OverflowError: | CODE |
| HIGH | scripts/star_history.py | 1323 | except OSError: | CODE |
| HIGH | …tAnalysisModel/BertTopicDetection_Finetuned/predict.py | 60 | except Exception: | CODE |
| HIGH | SingleEngineApp/insight_engine_streamlit_app.py | 24 | except locale.Error: | CODE |
| HIGH | SingleEngineApp/query_engine_streamlit_app.py | 24 | except locale.Error: | CODE |
| HIGH | SingleEngineApp/media_engine_streamlit_app.py | 24 | except locale.Error: | CODE |
| HIGH | ForumEngine/monitor.py | 764 | except json.JSONDecodeError: | CODE |
| HIGH | ForumEngine/monitor.py | 294 | except json.JSONDecodeError: | CODE |
| HIGH | ForumEngine/monitor.py | 268 | except json.JSONDecodeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | report_engine_only.py | 198 | CODE | |
| LOW | report_engine_only.py | 224 | CODE | |
| LOW | report_engine_only.py | 250 | CODE | |
| LOW | app.py | 170 | CODE | |
| LOW | app.py | 268 | CODE | |
| LOW | app.py | 432 | CODE | |
| LOW | app.py | 563 | CODE | |
| LOW | app.py | 767 | CODE | |
| LOW | app.py | 834 | CODE | |
| LOW | app.py | 1102 | CODE | |
| LOW | regenerate_latest_pdf.py | 43 | CODE | |
| LOW | regenerate_latest_md.py | 172 | CODE | |
| LOW | regenerate_latest_html.py | 172 | CODE | |
| LOW | MediaEngine/agent.py | 98 | CODE | |
| LOW | MediaEngine/tools/search.py | 125 | CODE | |
| LOW | MediaEngine/nodes/search_node.py | 81 | CODE | |
| LOW | MediaEngine/nodes/search_node.py | 216 | CODE | |
| LOW | MediaEngine/nodes/report_structure_node.py | 67 | CODE | |
| LOW | MediaEngine/nodes/summary_node.py | 60 | CODE | |
| LOW | MediaEngine/nodes/summary_node.py | 118 | CODE | |
| LOW | MediaEngine/nodes/summary_node.py | 228 | CODE | |
| LOW | MediaEngine/nodes/summary_node.py | 286 | CODE | |
| LOW | MediaEngine/llms/base.py | 89 | CODE | |
| LOW | MindSpider/main.py | 481 | CODE | |
| LOW | MindSpider/DeepSentimentCrawling/platform_crawler.py | 158 | CODE | |
| LOW | MindSpider/DeepSentimentCrawling/platform_crawler.py | 331 | CODE | |
| LOW | MindSpider/DeepSentimentCrawling/platform_crawler.py | 369 | CODE | |
| LOW | MindSpider/schema/db_manager.py | 100 | CODE | |
| LOW | MindSpider/schema/db_manager.py | 228 | CODE | |
| LOW | MindSpider/BroadTopicExtraction/database_manager.py | 75 | CODE | |
| LOW | MindSpider/BroadTopicExtraction/get_today_news.py | 209 | CODE | |
| LOW | MindSpider/BroadTopicExtraction/topic_extractor.py | 172 | CODE | |
| LOW | MindSpider/BroadTopicExtraction/main.py | 236 | CODE | |
| LOW | utils/forum_reader.py | 95 | CODE | |
| LOW | QueryEngine/agent.py | 100 | CODE | |
| LOW | QueryEngine/agent.py | 307 | CODE | |
| LOW | QueryEngine/nodes/search_node.py | 81 | CODE | |
| LOW | QueryEngine/nodes/search_node.py | 216 | CODE | |
| LOW | QueryEngine/nodes/report_structure_node.py | 67 | CODE | |
| LOW | QueryEngine/nodes/summary_node.py | 60 | CODE | |
| LOW | QueryEngine/nodes/summary_node.py | 118 | CODE | |
| LOW | QueryEngine/nodes/summary_node.py | 228 | CODE | |
| LOW | QueryEngine/nodes/summary_node.py | 286 | CODE | |
| LOW | QueryEngine/llms/base.py | 86 | CODE | |
| LOW | ReportEngine/flask_interface.py | 436 | CODE | |
| LOW | ReportEngine/flask_interface.py | 750 | CODE | |
| LOW | ReportEngine/flask_interface.py | 988 | CODE | |
| LOW | ReportEngine/flask_interface.py | 1041 | CODE | |
| LOW | ReportEngine/flask_interface.py | 787 | CODE | |
| LOW | ReportEngine/agent.py | 405 | CODE | |
| LOW | ReportEngine/agent.py | 1493 | CODE | |
| LOW | ReportEngine/renderers/html_renderer.py | 706 | CODE | |
| LOW | ReportEngine/renderers/html_renderer.py | 828 | CODE | |
| LOW | ReportEngine/renderers/html_renderer.py | 899 | CODE | |
| LOW | ReportEngine/renderers/html_renderer.py | 944 | CODE | |
| LOW | ReportEngine/renderers/html_renderer.py | 980 | CODE | |
| LOW | ReportEngine/renderers/html_renderer.py | 1319 | CODE | |
| LOW | ReportEngine/renderers/html_renderer.py | 1622 | CODE | |
| LOW | ReportEngine/renderers/html_renderer.py | 1878 | CODE | |
| LOW | ReportEngine/renderers/html_renderer.py | 2135 | CODE | |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | MediaEngine/__init__.py | 12 | __all__ = ["DeepSearchAgent", "AnspireSearchAgent", "create_agent", "Settings"] | CODE |
| LOW | MediaEngine/tools/__init__.py | 17 | __all__ = [ | CODE |
| LOW | MediaEngine/nodes/__init__.py | 12 | __all__ = [ | CODE |
| LOW | MediaEngine/utils/__init__.py | 17 | __all__ = [ | CODE |
| LOW | MediaEngine/state/__init__.py | 8 | __all__ = ["State", "Paragraph", "Research", "Search"] | CODE |
| LOW | MediaEngine/prompts/__init__.py | 21 | __all__ = [ | CODE |
| LOW | MediaEngine/llms/__init__.py | 7 | __all__ = ["LLMClient"] | CODE |
| LOW | MindSpider/schema/models_sa.py | 18 | __all__ = [ | CODE |
| LOW | MindSpider/schema/__init__.py | 4 | __all__ = ["BDBase", "SABase"] | CODE |
| LOW | utils/github_issues.py | 74 | __all__ = [ | CODE |
| LOW | QueryEngine/__init__.py | 12 | __all__ = ["DeepSearchAgent", "create_agent", "Settings"] | CODE |
| LOW | QueryEngine/tools/__init__.py | 14 | __all__ = [ | CODE |
| LOW | QueryEngine/nodes/__init__.py | 12 | __all__ = [ | CODE |
| LOW | QueryEngine/utils/__init__.py | 17 | __all__ = [ | CODE |
| LOW | QueryEngine/state/__init__.py | 8 | __all__ = ["State", "Paragraph", "Research", "Search"] | CODE |
| LOW | QueryEngine/prompts/__init__.py | 21 | __all__ = [ | CODE |
| LOW | QueryEngine/llms/__init__.py | 7 | __all__ = ["LLMClient"] | CODE |
| LOW | ReportEngine/__init__.py | 13 | __all__ = ["ReportAgent", "create_agent"] | CODE |
| LOW | ReportEngine/renderers/html_renderer.py | 6536 | __all__ = ["HTMLRenderer"] | STRING |
| LOW | ReportEngine/renderers/__init__.py | 21 | __all__ = [ | CODE |
| LOW | ReportEngine/renderers/chart_to_svg.py | 1214 | __all__ = ["ChartToSVGConverter", "create_chart_converter"] | CODE |
| LOW | ReportEngine/renderers/pdf_layout_optimizer.py | 1400 | __all__ = [ | STRING |
| LOW | ReportEngine/renderers/pdf_renderer.py | 1609 | __all__ = ["PDFRenderer"] | STRING |
| LOW | ReportEngine/renderers/markdown_renderer.py | 994 | __all__ = ["MarkdownRenderer"] | CODE |
| LOW | ReportEngine/core/__init__.py | 12 | __all__ = [ | CODE |
| LOW | ReportEngine/core/template_parser.py | 302 | __all__ = ["TemplateSection", "parse_template_sections"] | CODE |
| LOW | ReportEngine/core/stitcher.py | 133 | __all__ = ["DocumentComposer"] | CODE |
| LOW | ReportEngine/core/chapter_storage.py | 290 | __all__ = ["ChapterStorage", "ChapterRecord"] | CODE |
| LOW | ReportEngine/nodes/word_budget_node.py | 126 | __all__ = ["WordBudgetNode"] | CODE |
| LOW | ReportEngine/nodes/chapter_generation_node.py | 2027 | __all__ = [ | CODE |
| LOW | ReportEngine/nodes/__init__.py | 18 | __all__ = [ | CODE |
| LOW | ReportEngine/nodes/document_layout_node.py | 208 | __all__ = ["DocumentLayoutNode"] | CODE |
| LOW | ReportEngine/ir/validator.py | 338 | __all__ = ["IRValidator"] | CODE |
| LOW | ReportEngine/ir/__init__.py | 18 | __all__ = [ | CODE |
| LOW | ReportEngine/ir/schema.py | 538 | __all__ = [ | CODE |
| LOW | ReportEngine/utils/chart_review_service.py | 625 | __all__ = [ | CODE |
| LOW | ReportEngine/utils/__init__.py | 23 | __all__ = [ | CODE |
| LOW | ReportEngine/utils/table_validator.py | 509 | __all__ = [ | CODE |
| LOW | ReportEngine/utils/json_parser.py | 763 | __all__ = ["RobustJSONParser", "JSONParseError"] | CODE |
| LOW | ReportEngine/state/__init__.py | 9 | __all__ = ["ReportState", "ReportMetadata"] | CODE |
| LOW | ReportEngine/prompts/__init__.py | 25 | __all__ = [ | CODE |
| LOW | ReportEngine/llms/__init__.py | 9 | __all__ = ["LLMClient"] | CODE |
| LOW | InsightEngine/__init__.py | 12 | __all__ = ["DeepSearchAgent", "create_agent", "settings", "Settings"] | CODE |
| LOW | InsightEngine/tools/__init__.py | 25 | __all__ = [ | CODE |
| LOW | InsightEngine/nodes/__init__.py | 12 | __all__ = [ | CODE |
| LOW | InsightEngine/utils/db.py | 18 | __all__ = [ | CODE |
| LOW | InsightEngine/utils/__init__.py | 15 | __all__ = [ | CODE |
| LOW | InsightEngine/state/__init__.py | 8 | __all__ = ["State", "Paragraph", "Research", "Search"] | CODE |
| LOW | InsightEngine/prompts/__init__.py | 21 | __all__ = [ | CODE |
| LOW | InsightEngine/llms/__init__.py | 8 | __all__ = ["LLMClient"] | CODE |
| LOW | ForumEngine/__init__.py | 7 | __all__ = ['LogMonitor'] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | requirements.txt | 1 | # ======================================== | COMMENT |
| MEDIUM | requirements.txt | 4 | # ======================================== | COMMENT |
| MEDIUM⚡ | MindSpider/requirements.txt | 4 | # =============================== | COMMENT |
| MEDIUM⚡ | MindSpider/requirements.txt | 6 | # =============================== | COMMENT |
| MEDIUM⚡ | MindSpider/requirements.txt | 15 | # =============================== | COMMENT |
| MEDIUM⚡ | MindSpider/requirements.txt | 17 | # =============================== | COMMENT |
| MEDIUM⚡ | MindSpider/requirements.txt | 24 | # =============================== | COMMENT |
| MEDIUM⚡ | MindSpider/requirements.txt | 26 | # =============================== | COMMENT |
| MEDIUM⚡ | MindSpider/requirements.txt | 36 | # =============================== | COMMENT |
| MEDIUM⚡ | MindSpider/requirements.txt | 38 | # =============================== | COMMENT |
| MEDIUM | MindSpider/requirements.txt | 57 | # =============================== | COMMENT |
| MEDIUM | MindSpider/requirements.txt | 59 | # =============================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | MediaEngine/agent.py | 149 | # Step 1: 生成报告结构 | COMMENT |
| LOW⚡ | MediaEngine/agent.py | 152 | # Step 2: 处理每个段落 | COMMENT |
| LOW⚡ | MediaEngine/agent.py | 155 | # Step 3: 生成最终报告 | COMMENT |
| LOW⚡ | MediaEngine/agent.py | 158 | # Step 4: 保存报告 | COMMENT |
| LOW⚡ | QueryEngine/agent.py | 157 | # Step 1: 生成报告结构 | COMMENT |
| LOW⚡ | QueryEngine/agent.py | 160 | # Step 2: 处理每个段落 | COMMENT |
| LOW⚡ | QueryEngine/agent.py | 163 | # Step 3: 生成最终报告 | COMMENT |
| LOW⚡ | QueryEngine/agent.py | 166 | # Step 4: 保存报告 | COMMENT |
| LOW⚡ | InsightEngine/agent.py | 528 | # Step 1: 生成报告结构 | COMMENT |
| LOW⚡ | InsightEngine/agent.py | 531 | # Step 2: 处理每个段落 | COMMENT |
| LOW⚡ | InsightEngine/agent.py | 534 | # Step 3: 生成最终报告 | COMMENT |
| LOW⚡ | InsightEngine/agent.py | 537 | # Step 4: 保存报告 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | MediaEngine/agent.py | 149 | # Step 1: 生成报告结构 | COMMENT |
| LOW⚡ | MediaEngine/agent.py | 152 | # Step 2: 处理每个段落 | COMMENT |
| LOW⚡ | MediaEngine/agent.py | 155 | # Step 3: 生成最终报告 | COMMENT |
| LOW⚡ | MediaEngine/agent.py | 158 | # Step 4: 保存报告 | COMMENT |
| LOW⚡ | QueryEngine/agent.py | 157 | # Step 1: 生成报告结构 | COMMENT |
| LOW⚡ | QueryEngine/agent.py | 160 | # Step 2: 处理每个段落 | COMMENT |
| LOW⚡ | QueryEngine/agent.py | 163 | # Step 3: 生成最终报告 | COMMENT |
| LOW⚡ | QueryEngine/agent.py | 166 | # Step 4: 保存报告 | COMMENT |
| LOW⚡ | InsightEngine/agent.py | 528 | # Step 1: 生成报告结构 | COMMENT |
| LOW⚡ | InsightEngine/agent.py | 531 | # Step 2: 处理每个段落 | COMMENT |
| LOW⚡ | InsightEngine/agent.py | 534 | # Step 3: 生成最终报告 | COMMENT |
| LOW⚡ | InsightEngine/agent.py | 537 | # Step 4: 保存报告 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | MindSpider/DeepSentimentCrawling/platform_crawler.py | 160 | 创建MediaCrawler的基础配置 Args: platform: 平台名称 keywords: 关键词列表 c | STRING |
| HIGH | MindSpider/DeepSentimentCrawling/platform_crawler.py | 240 | 运行爬虫 Args: platform: 平台名称 keywords: 关键词列表 login_type: 登录方式 | STRING |
| HIGH | MindSpider/DeepSentimentCrawling/main.py | 104 | 执行单个平台的爬取任务 Args: platform: 平台名称 target_date: 目标日期 max_key | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | ReportEngine/renderers/libs/jspdf.umd.min.js | 86 | */var P={print:4,modify:8,copy:16,"annot-forms":32};function k(t,e,r,n){this.v=1,this.r=2;var i=192;t.forEach((functi | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | README.md | 578 | >client = OpenAI(api_key="your_api_key", | CODE |
| HIGH | README-EN.md | 573 | >client = OpenAI(api_key="your_api_key", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | MindSpider/DeepSentimentCrawling/main.py | 141 | CODE | |
| LOW | …ysisModel/WeiboSentiment_MachineLearning/bert_train.py | 51 | CODE | |
| LOW | …tAnalysisModel/WeiboSentiment_MachineLearning/utils.py | 65 | CODE | |
| LOW | …ysisModel/WeiboSentiment_MachineLearning/lstm_train.py | 79 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_insight_database_url.py | 46 | monkeypatch.setattr(db_module.settings, "DB_USER", "user@example.com") | CODE |
| LOW⚡ | tests/test_insight_database_url.py | 53 | assert parsed.username == "user@example.com" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README-EN.md | 381 | DB_HOST=your_db_host | COMMENT |
| LOW | ReportEngine/renderers/html_renderer.py | 6461 | // 旧版 Web Component 主题按钮(已注释) | COMMENT |
| LOW | ReportEngine/ir/validator.py | 181 | # score = item.get("score") | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README-EN.md | 272 | ├── docker-compose.yml # Docker multi-service orchestration config | CODE |