一款专注于Ai翻译的工具,一键自动翻译RPG SLG游戏,Epub TXT小说,PDF Word MD文档,Srt Vtt Lrc字幕等等复杂长文本。
This report summarizes scanner evidence for NEKOparapa/AiNiee, a Python project with 6,407 GitHub stars. SynthScan examined 59,708 lines of code across 371 source files, recording 964 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 23.2 (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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 470 finding(s).
Are imports declared and package/API names verified? 41 finding(s).
Are wrappers, guards, and repeated structures necessary? 728 finding(s).
Which changes need focused human review? 964 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 964 distinct pattern matches across 14 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 | Frontend/core/log.py | 31 | except Exception: | CODE |
| HIGH | Frontend/core/log_system.py | 392 | except Exception: | CODE |
| HIGH | Frontend/core/log_system.py | 88 | except OSError: | CODE |
| HIGH | Frontend/core/log_system.py | 415 | except Exception: | CODE |
| HIGH | Frontend/core/log_system.py | 437 | except Exception: | CODE |
| HIGH | Frontend/core/log_system.py | 493 | except Exception: | CODE |
| HIGH | Frontend/core/log_system.py | 579 | except Exception: | CODE |
| HIGH | Frontend/core/log_system.py | 593 | except OSError: | CODE |
| HIGH | Frontend/core/log_system.py | 335 | except Exception: | CODE |
| HIGH | Frontend/core/log_system.py | 350 | except Exception: | CODE |
| HIGH | Frontend/core/log_system.py | 357 | except ValueError: | CODE |
| HIGH | Frontend/core/log_system.py | 532 | except Exception: | CODE |
| HIGH | Frontend/core/log_system.py | 380 | except Exception: | CODE |
| HIGH | Frontend/core/base.py | 98 | except ValueError: | CODE |
| HIGH | Frontend/app/updates.py | 965 | except Exception: | CODE |
| HIGH | Frontend/app/updates.py | 970 | except Exception: | CODE |
| HIGH | Frontend/app/updates.py | 253 | except OSError: | CODE |
| HIGH | Frontend/app/updates.py | 664 | except OSError: | CODE |
| HIGH | Frontend/app/updates.py | 684 | except OSError: | CODE |
| HIGH | Frontend/app/updates.py | 951 | except OSError: | CODE |
| HIGH | Frontend/app/updates.py | 963 | except Exception: | CODE |
| HIGH | Frontend/app/updates.py | 1015 | except OSError: | CODE |
| HIGH | Frontend/app/updates.py | 287 | except OSError: | CODE |
| HIGH | Frontend/app/updates.py | 783 | except OSError: | CODE |
| HIGH | Frontend/app/updates.py | 790 | except OSError: | CODE |
| HIGH | Frontend/app/updates.py | 989 | except OSError: | CODE |
| HIGH | Frontend/app/updates.py | 739 | except ValueError: | CODE |
| HIGH | Frontend/components/segmented_control.py | 50 | except Exception: | CODE |
| HIGH | Frontend/components/segmented_control.py | 56 | except (TypeError, RuntimeError): | CODE |
| HIGH | Frontend/pages/providers/add_api_dialog.py | 36 | except ImportError: | CODE |
| HIGH | Frontend/pages/providers/api_edit_page.py | 364 | except Exception: | CODE |
| HIGH | Frontend/pages/providers/model_browser_dialog.py | 117 | except Exception: | CODE |
| HIGH | Frontend/pages/providers/model_browser_dialog.py | 162 | except (TypeError, RuntimeError): | CODE |
| HIGH | Frontend/pages/providers/model_browser_dialog.py | 314 | except Exception: | CODE |
| HIGH | Frontend/pages/providers/model_browser_dialog.py | 326 | except Exception: | CODE |
| HIGH | Frontend/pages/providers/model_browser_dialog.py | 338 | except Exception: | CODE |
| HIGH | Frontend/pages/providers/model_browser_dialog.py | 352 | except Exception: | CODE |
| HIGH | …end/pages/workspace/proofreading/search_result_page.py | 45 | except Exception: | CODE |
| HIGH | …end/pages/workspace/proofreading/search_result_page.py | 49 | except Exception: | CODE |
| HIGH | …ntend/pages/workspace/proofreading/basic_table_page.py | 44 | except Exception: | CODE |
| HIGH | …ntend/pages/workspace/proofreading/basic_table_page.py | 48 | except Exception: | CODE |
| HIGH | …es/workspace/proofreading/editable_issue_table_page.py | 59 | except Exception: | CODE |
| HIGH | …es/workspace/proofreading/editable_issue_table_page.py | 64 | except Exception: | CODE |
| HIGH | Frontend/pages/logs/log_view_page.py | 190 | except RuntimeError: | CODE |
| HIGH | Frontend/pages/logs/log_view_page.py | 197 | except Exception: | CODE |
| HIGH | Frontend/pages/logs/log_view_page.py | 201 | except (TypeError, RuntimeError): | CODE |
| HIGH | Frontend/pages/logs/log_view_page.py | 205 | except (TypeError, RuntimeError): | CODE |
| HIGH | Frontend/pages/logs/log_view_page.py | 209 | except (RuntimeError, AttributeError): | CODE |
| HIGH | Frontend/pages/logs/log_view_page.py | 213 | except (RuntimeError, AttributeError): | CODE |
| HIGH | Frontend/pages/logs/log_view_page.py | 219 | except Exception: | CODE |
| HIGH | Frontend/services/backend_client.py | 112 | except BackendError: | CODE |
| HIGH | Backend/core/log.py | 31 | except Exception: | CODE |
| HIGH | Backend/core/log_system.py | 392 | except Exception: | CODE |
| HIGH | Backend/core/log_system.py | 88 | except OSError: | CODE |
| HIGH | Backend/core/log_system.py | 415 | except Exception: | CODE |
| HIGH | Backend/core/log_system.py | 437 | except Exception: | CODE |
| HIGH | Backend/core/log_system.py | 493 | except Exception: | CODE |
| HIGH | Backend/core/log_system.py | 579 | except Exception: | CODE |
| HIGH | Backend/core/log_system.py | 593 | except OSError: | CODE |
| HIGH | Backend/core/log_system.py | 335 | except Exception: | CODE |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Frontend/core/config.py | 44 | except Exception as error: | CODE |
| LOW | Frontend/core/log.py | 31 | except Exception: | CODE |
| LOW | Frontend/core/log.py | 40 | except Exception: | CODE |
| LOW | Frontend/core/log.py | 70 | except Exception: | CODE |
| LOW | Frontend/core/log.py | 110 | except Exception: | CODE |
| MEDIUM | Frontend/core/log.py | 37 | def _safe_str(value) -> str: | CODE |
| MEDIUM | Frontend/core/log_system.py | 434 | def flush(self): | CODE |
| MEDIUM | Frontend/core/log_system.py | 455 | def isatty(self): | CODE |
| MEDIUM | Frontend/core/log_system.py | 536 | def _excepthook(exc_type, exc_value, exc_tb) -> None: | CODE |
| LOW⚡ | Frontend/core/log_system.py | 380 | except Exception: | CODE |
| LOW⚡ | Frontend/core/log_system.py | 384 | except Exception: | CODE |
| LOW⚡ | Frontend/core/log_system.py | 392 | except Exception: | CODE |
| LOW⚡ | Frontend/core/log_system.py | 520 | except Exception: | CODE |
| LOW⚡ | Frontend/core/log_system.py | 528 | except Exception: | CODE |
| LOW⚡ | Frontend/core/log_system.py | 532 | except Exception: | CODE |
| LOW⚡ | Frontend/core/log_system.py | 541 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 112 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 278 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 335 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 350 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 415 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 430 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 437 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 452 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 458 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 493 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 554 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 579 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 598 | except Exception: | CODE |
| LOW | Frontend/core/log_system.py | 633 | except Exception as e: | CODE |
| LOW | Frontend/core/log_system.py | 654 | except Exception as e: | CODE |
| LOW | Frontend/app/bootstrap.py | 161 | except Exception as error: | CODE |
| LOW | Frontend/app/window.py | 63 | except Exception as error: | CODE |
| MEDIUM | Frontend/app/window.py | 60 | def report_activity(): | CODE |
| LOW⚡ | Frontend/app/updates.py | 963 | except Exception: | CODE |
| LOW⚡ | Frontend/app/updates.py | 965 | except Exception: | CODE |
| LOW⚡ | Frontend/app/updates.py | 970 | except Exception: | CODE |
| LOW | Frontend/app/updates.py | 209 | except Exception as e: | CODE |
| LOW | Frontend/app/updates.py | 289 | except Exception as e: | CODE |
| LOW | Frontend/app/updates.py | 301 | except Exception as e: | CODE |
| LOW | Frontend/app/updates.py | 361 | except Exception as e: | CODE |
| LOW | Frontend/app/updates.py | 598 | except Exception as e: | CODE |
| LOW | Frontend/app/updates.py | 674 | except Exception: | CODE |
| LOW | Frontend/app/updates.py | 718 | except Exception as e: | CODE |
| LOW | Frontend/app/updates.py | 807 | except Exception as e: | CODE |
| LOW | Frontend/app/updates.py | 923 | except Exception as e: | CODE |
| LOW | Frontend/app/updates.py | 1036 | except Exception as e: | CODE |
| LOW | Frontend/app/backend_connection.py | 83 | except Exception: | CODE |
| MEDIUM | Frontend/app/backend_connection.py | 29 | def _check_health(client, timeout): | CODE |
| LOW | Frontend/platform/single_instance.py | 43 | except Exception: | CODE |
| LOW | Frontend/components/segmented_control.py | 50 | except Exception: | CODE |
| LOW | Frontend/pages/settings/app_settings_page.py | 355 | except Exception as error: | CODE |
| LOW | Frontend/pages/settings/app_settings_page.py | 367 | except Exception as error: | CODE |
| MEDIUM | Frontend/pages/settings/app_settings_page.py | 312 | def on_clicked() -> None: | CODE |
| MEDIUM | Frontend/pages/settings/app_settings_page.py | 364 | def export_profile_file(path) -> None: | CODE |
| MEDIUM | Frontend/pages/tables/multi_table_page_mixin.py | 556 | def _update_table_metadata(self, table_id, **changes): | CODE |
| MEDIUM | Frontend/pages/tables/multi_table_page_mixin.py | 772 | def export_selected_tables(self): | CODE |
| MEDIUM | Frontend/pages/tables/multi_table_page_mixin.py | 798 | def _export_table_file(self, table_ids, bundle): | CODE |
| LOW | Frontend/pages/tables/multi_table_page_mixin.py | 276 | except Exception as error: | CODE |
| LOW | Frontend/pages/tables/multi_table_page_mixin.py | 304 | except Exception as error: | CODE |
| 225 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Frontend/core/log.py | 114 | def _gui_rows_from_rich_table(value): | CODE |
| LOW | Frontend/core/events.py | 71 | def _is_deleted_qobject_error(error: RuntimeError) -> bool: | CODE |
| LOW | Frontend/core/base.py | 101 | def _cleanup_event_subscriptions(self) -> None: | CODE |
| LOW | Frontend/core/base.py | 110 | def _ensure_event_subscription_state(self) -> None: | CODE |
| LOW | Frontend/app/bootstrap.py | 122 | def prepare_runtime_environment() -> str: | CODE |
| LOW | Frontend/app/window.py | 232 | def _on_update_check_completed(self, has_update: bool, latest_version: str, check_failed: bool) -> None: | CODE |
| LOW | Frontend/app/updates.py | 101 | def _expected_update_asset_suffix(self) -> str: | CODE |
| LOW | Frontend/app/updates.py | 119 | def _select_compatible_update_release(self, releases: list[dict]): | CODE |
| LOW | Frontend/app/updates.py | 144 | def _find_compatible_update_release(self): | CODE |
| LOW | Frontend/app/updates.py | 342 | def _check_update_in_background(self): | CODE |
| LOW | Frontend/app/updates.py | 371 | def _update_dialog_after_check(self, has_update, latest_version, check_failed, error_message): | CODE |
| LOW | Frontend/app/updates.py | 578 | def _get_download_url_in_background(self): | CODE |
| LOW | Frontend/app/updates.py | 603 | def _start_download_with_url_from_main_thread(self, url): | CODE |
| LOW | Frontend/platform/runtime_setup.py | 13 | def prepare_working_directory(): | CODE |
| LOW | Frontend/platform/app_metadata.py | 15 | def configure_application_metadata(app, version: str) -> None: | CODE |
| LOW | Frontend/platform/backend_process.py | 94 | def bundled_backend_executable(): | STRING |
| LOW | Frontend/components/tables/auto_height_table_widget.py | 151 | def _get_available_text_width(self, index): | CODE |
| LOW | Frontend/components/tables/auto_height_table_widget.py | 274 | def _resize_all_rows_to_contents(self): | CODE |
| LOW | Frontend/components/tables/table_helper.py | 35 | def style_public_table_editor(table: TableWidget) -> None: | CODE |
| LOW | Frontend/components/tables/table_helper.py | 44 | def style_public_table_toolbar(page) -> None: | CODE |
| LOW | Frontend/components/cards/editable_combo_box_card.py | 106 | def _emit_fetch_models_requested(self): | CODE |
| LOW | Frontend/pages/settings/translation_settings_page.py | 67 | def add_widget_language_filter(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/translation_settings_page.py | 107 | def add_widget_few_shot_and_example(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/translation_settings_page.py | 127 | def add_auto_process_text_code_segment(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/translation_settings_page.py | 148 | def add_widget_text_symbol_repair(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/app_settings_page.py | 139 | def add_widget_backend_connection(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/app_settings_page.py | 236 | def add_widget_interface_language_setting(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/app_settings_page.py | 256 | def add_widget_auto_check_update(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/output_settings_page.py | 85 | def add_widget_translation_output_path(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/output_settings_page.py | 89 | def add_widget_polish_output_path(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/output_settings_page.py | 183 | def add_widget_translation_result_check(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/output_settings_page.py | 202 | def add_widget_filename_suffix(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/output_settings_page.py | 222 | def add_widget_bilingual_text_order(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/extraction_settings_page.py | 27 | def add_widget_extract_token_limit(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/extraction_settings_page.py | 46 | def add_widget_auto_extract_non_translate(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/extraction_settings_page.py | 64 | def add_widget_short_name_merge(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/settings/task_settings_page.py | 48 | def update_limit_cards_visibility(self, config): | CODE |
| LOW | Frontend/pages/settings/task_settings_page.py | 176 | def add_widget_request_timeout(self, parent, config) -> None: | CODE |
| LOW | Frontend/pages/tables/exclusion_list_page.py | 61 | def _get_translated_column_name(self, index: int) -> str: | CODE |
| LOW | Frontend/pages/tables/exclusion_list_page.py | 86 | def _handle_remove_selected_rows(self) -> None: | CODE |
| LOW | Frontend/pages/tables/text_replace_a_page.py | 59 | def _get_translated_column_name(self, index: int) -> str: | CODE |
| LOW | Frontend/pages/tables/text_replace_a_page.py | 84 | def _handle_remove_selected_rows(self) -> None: | CODE |
| LOW | Frontend/pages/tables/multi_table_page_mixin.py | 229 | def _finish_multi_table_setup(self): | CODE |
| LOW | Frontend/pages/tables/multi_table_page_mixin.py | 296 | def _handle_transfer_selected_rows(self): | CODE |
| LOW | Frontend/pages/tables/multi_table_page_mixin.py | 456 | def _ensure_active_tab_visible(self): | CODE |
| LOW | Frontend/pages/tables/multi_table_page_mixin.py | 552 | def _set_current_table_enabled(self, enabled): | CODE |
| LOW | Frontend/pages/tables/multi_table_page_mixin.py | 649 | def import_into_current_table(self): | CODE |
| LOW | Frontend/pages/tables/text_replace_b_page.py | 60 | def _get_translated_column_name(self, index: int) -> str: | CODE |
| LOW | Frontend/pages/tables/text_replace_b_page.py | 85 | def _handle_remove_selected_rows(self) -> None: | CODE |
| LOW | Frontend/pages/tables/prompt_dictionary_page.py | 67 | def _get_translated_column_name(self, index: int) -> str: | CODE |
| LOW | Frontend/pages/tables/prompt_dictionary_page.py | 90 | def _handle_remove_selected_rows(self) -> None: | CODE |
| LOW | Frontend/pages/tables/prompt_dictionary_page.py | 125 | def _open_match_settings_dialog(self) -> None: | CODE |
| LOW | Frontend/pages/tables/prompt_dictionary_page.py | 478 | def glossary_translation_done(self, event: int, data: dict): | CODE |
| LOW | Frontend/pages/providers/args_edit_page.py | 243 | def add_widget_thinking_budget(self, parent, config, preset): | CODE |
| LOW | Frontend/pages/providers/args_edit_page.py | 272 | def add_widget_thinking_level(self, parent, config): | CODE |
| LOW | Frontend/pages/providers/add_api_dialog.py | 272 | def _set_bedrock_fields_visible(self, visible: bool): | CODE |
| LOW | Frontend/pages/providers/platform_page.py | 267 | def _create_empty_hint_widget(self): | STRING |
| LOW | Frontend/pages/providers/platform_page.py | 377 | def _refresh_active_interface_ui(self, config=None): | STRING |
| LOW | Frontend/pages/providers/model_browser_dialog.py | 429 | def _accept_if_single_clicked(self) -> None: | CODE |
| LOW | Frontend/pages/providers/model_browser_dialog.py | 442 | def _apply_filter_and_refresh(self) -> None: | CODE |
| 208 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Frontend/core/config.py | 26 | CODE | |
| LOW | Frontend/core/events.py | 37 | CODE | |
| LOW | Frontend/core/log_system.py | 236 | CODE | |
| LOW | Frontend/core/log_system.py | 360 | CODE | |
| LOW | Frontend/app/bootstrap.py | 131 | CODE | |
| LOW | Frontend/app/updates.py | 171 | CODE | |
| LOW | Frontend/app/updates.py | 241 | CODE | |
| LOW | Frontend/app/updates.py | 647 | CODE | |
| LOW | Frontend/app/updates.py | 974 | CODE | |
| LOW | Frontend/app/backend_connection.py | 44 | CODE | |
| LOW | Frontend/app/event_bridge.py | 26 | CODE | |
| LOW | Frontend/platform/backend_process.py | 59 | CODE | |
| LOW | Frontend/components/tables/table_helper.py | 68 | CODE | |
| LOW | Frontend/components/tables/table_helper.py | 98 | CODE | |
| LOW | Frontend/components/tables/table_helper.py | 223 | CODE | |
| LOW | Frontend/components/tables/table_helper.py | 293 | CODE | |
| LOW | Frontend/components/cards/game_drop_card.py | 301 | CODE | |
| LOW | Frontend/components/cards/game_drop_card.py | 345 | CODE | |
| LOW | Frontend/components/cards/push_button_card.py | 61 | CODE | |
| LOW | Frontend/components/cards/editable_combo_box_card.py | 165 | CODE | |
| LOW | Frontend/pages/tables/exclusion_list_page.py | 272 | CODE | |
| LOW | Frontend/pages/tables/exclusion_list_page.py | 375 | CODE | |
| LOW | Frontend/pages/tables/text_replace_a_page.py | 278 | CODE | |
| LOW | Frontend/pages/tables/multi_table_page_mixin.py | 652 | CODE | |
| LOW | Frontend/pages/tables/multi_table_page_mixin.py | 798 | CODE | |
| LOW | Frontend/pages/tables/text_replace_b_page.py | 279 | CODE | |
| LOW | Frontend/pages/tables/prompt_dictionary_page.py | 256 | CODE | |
| LOW | Frontend/pages/tables/prompt_dictionary_page.py | 367 | CODE | |
| LOW | Frontend/pages/providers/model_browser_dialog.py | 212 | CODE | |
| LOW | Frontend/pages/workspace/analysis/analysis_page.py | 1463 | CODE | |
| LOW | …ntend/pages/workspace/proofreading/basic_table_page.py | 325 | CODE | |
| LOW | …es/workspace/proofreading/editable_issue_table_page.py | 369 | CODE | |
| LOW | …ontend/pages/workspace/proofreading/navigation_card.py | 33 | CODE | |
| LOW | Frontend/pages/logs/log_view_page.py | 248 | CODE | |
| LOW | Frontend/pages/logs/log_view_page.py | 644 | CODE | |
| LOW | Frontend/services/project_state.py | 12 | CODE | |
| LOW | Frontend/services/backend_client.py | 126 | CODE | |
| LOW | Frontend/services/public_tables.py | 142 | CODE | |
| LOW | Frontend/services/public_tables.py | 220 | CODE | |
| LOW | Backend/core/events.py | 37 | CODE | |
| LOW | Backend/core/log_system.py | 236 | CODE | |
| LOW | Backend/core/log_system.py | 360 | CODE | |
| LOW | Backend/application/runtime.py | 84 | CODE | |
| LOW | Backend/application/runtime.py | 152 | CODE | |
| LOW | Backend/application/runtime.py | 242 | CODE | |
| LOW | Backend/application/name_extractor.py | 12 | CODE | |
| LOW | Backend/application/name_extractor.py | 55 | CODE | |
| LOW | Backend/application/name_extractor.py | 73 | CODE | |
| LOW | Backend/application/name_extractor.py | 99 | CODE | |
| LOW | Backend/application/name_extractor.py | 203 | CODE | |
| LOW | Backend/application/simple_executor.py | 41 | CODE | |
| LOW | Backend/application/simple_executor.py | 198 | CODE | |
| LOW | Backend/application/simple_executor.py | 354 | CODE | |
| LOW | Backend/application/simple_executor.py | 496 | CODE | |
| LOW | Backend/application/tasks/analysis_task.py | 48 | CODE | |
| LOW | Backend/application/tasks/analysis_task.py | 344 | CODE | |
| LOW | Backend/application/tasks/analysis_task.py | 503 | CODE | |
| LOW | Backend/application/tasks/analysis_task.py | 620 | CODE | |
| LOW | Backend/application/tasks/proofread_task.py | 27 | CODE | |
| LOW | Backend/application/tasks/task_executor.py | 265 | CODE | |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | Frontend/pages/workspace/analysis/analysis_page.py | 2235 | # ========================== | COMMENT |
| MEDIUM⚡ | Frontend/pages/workspace/analysis/analysis_page.py | 2237 | # ========================== | COMMENT |
| MEDIUM | Frontend/pages/workspace/analysis/analysis_page.py | 124 | # ========================== | COMMENT |
| MEDIUM | Frontend/pages/workspace/analysis/analysis_page.py | 126 | # ========================== | COMMENT |
| MEDIUM⚡ | Backend/application/tasks/analysis_task.py | 315 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | Backend/application/tasks/analysis_task.py | 317 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | Backend/application/tasks/analysis_task.py | 487 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | Backend/application/tasks/analysis_task.py | 489 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | Backend/application/tasks/analysis_task.py | 591 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | Backend/application/tasks/analysis_task.py | 593 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | Backend/application/tasks/analysis_task.py | 616 | # --------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Backend/application/tasks/analysis_task.py | 618 | # --------------------------------------------------------- | COMMENT |
| MEDIUM | Backend/application/tasks/analysis_task.py | 44 | # ======================================================================== | COMMENT |
| MEDIUM | Backend/application/tasks/analysis_task.py | 46 | # ======================================================================== | COMMENT |
| MEDIUM | Backend/application/tasks/analysis_task.py | 230 | # ======================================================================== | COMMENT |
| MEDIUM | Backend/application/tasks/analysis_task.py | 232 | # ======================================================================== | COMMENT |
| MEDIUM⚡ | Backend/infrastructure/files/writers/file_outputer.py | 13 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Backend/infrastructure/files/writers/file_outputer.py | 15 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Backend/infrastructure/files/writers/file_outputer.py | 22 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Backend/infrastructure/files/readers/file_reader.py | 15 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Backend/infrastructure/files/readers/file_reader.py | 17 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | Backend/infrastructure/files/readers/file_reader.py | 24 | # ---------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Frontend/components/segmented_control.py | 73 | def set_current_key(self, key: str) -> None: | CODE |
| LOW | Frontend/components/segmented_control.py | 118 | def _update_text_colors(self) -> None: | CODE |
| LOW | Frontend/components/tables/table_helper.py | 98 | def update_to_table(table: TableWidget, data: list[dict], keys: list[str], switch_keys=None, switch_changed=None) -> | CODE |
| LOW⚡ | Frontend/components/cards/push_button_card.py | 49 | def set_title(self, title: str) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/push_button_card.py | 52 | def set_description(self, description: str) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/push_button_card.py | 55 | def set_text(self, text: str) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/push_button_card.py | 58 | def set_icon(self, icon: str) -> None: | CODE |
| LOW | Frontend/components/cards/flow_card.py | 61 | def set_title(self, title: str) -> None: | CODE |
| LOW | Frontend/components/cards/flow_card.py | 64 | def set_description(self, description: str) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/line_edit_card.py | 63 | def set_text(self, text: str) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/line_edit_card.py | 67 | def set_fixed_width(self, width: int) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/line_edit_card.py | 71 | def set_placeholder_text(self, text: str) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/slider_card.py | 50 | def set_text(self, text:str) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/slider_card.py | 53 | def set_value(self, value: int) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/slider_card.py | 56 | def set_range(self, min: int, max: int) -> None: | CODE |
| LOW | Frontend/components/cards/spin_card.py | 44 | def set_range(self, min, max) -> None: | CODE |
| LOW | Frontend/components/cards/spin_card.py | 47 | def set_value(self, value) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/plain_text_edit_card.py | 64 | def set_text(self, text: str) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/plain_text_edit_card.py | 68 | def set_fixed_width(self, width: int) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/plain_text_edit_card.py | 72 | def set_placeholder_text(self, text: str) -> None: | CODE |
| LOW | Frontend/components/cards/group_card.py | 40 | def set_title(self, title: str) -> None: | CODE |
| LOW | Frontend/components/cards/group_card.py | 43 | def set_description(self, description: str) -> None: | CODE |
| LOW | Frontend/components/cards/empty_card.py | 36 | def set_title(self, title: str) -> None: | CODE |
| LOW | Frontend/components/cards/empty_card.py | 39 | def set_description(self, description: str) -> None: | CODE |
| LOW | Frontend/components/cards/editable_combo_box_card.py | 71 | def set_items(self, items: list) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/editable_combo_box_card.py | 85 | def set_current_index(self, index) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/editable_combo_box_card.py | 89 | def set_fixed_width(self, width: int) -> None: | CODE |
| LOW⚡ | Frontend/components/cards/editable_combo_box_card.py | 93 | def set_placeholder_text(self, text: str) -> None: | CODE |
| LOW | Frontend/components/cards/combo_box_card.py | 45 | def set_items(self, items: list) -> None: | CODE |
| LOW | Frontend/components/cards/combo_box_card.py | 55 | def set_current_index(self, index) -> None: | CODE |
| LOW | Frontend/components/dialogs/line_edit_message_box.py | 40 | def set_placeholder_text(self, text: str) -> None: | CODE |
| LOW | …ntend/components/dialogs/public_table_select_dialog.py | 46 | def _update_name_visibility(self, *_args) -> None: | CODE |
| LOW | Frontend/pages/tables/exclusion_list_page.py | 375 | def _update_table_rows(self, rows: list[dict] | None) -> None: | CODE |
| LOW | Frontend/pages/tables/text_replace_a_page.py | 381 | def _update_table_rows(self, rows: list[dict] | None) -> None: | CODE |
| LOW | Frontend/pages/tables/text_replace_b_page.py | 382 | def _update_table_rows(self, rows: list[dict] | None) -> None: | CODE |
| LOW | Frontend/pages/tables/prompt_dictionary_page.py | 367 | def _update_table_rows(self, rows: list[dict] | None) -> None: | CODE |
| LOW | Frontend/pages/tables/prompt_dictionary_page.py | 424 | def _set_row_highlight(self, row_index: int, state: str) -> None: | CODE |
| LOW | Frontend/pages/providers/add_api_dialog.py | 65 | def _set_adaptive_size(self) -> None: | CODE |
| LOW | Frontend/pages/providers/add_api_dialog.py | 258 | def _set_page(self, page_index: int) -> None: | CODE |
| LOW | Frontend/pages/workspace/edit_view_page.py | 65 | def set_current_step(self, route_key: str) -> None: | CODE |
| LOW | Frontend/pages/workspace/analysis/analysis_page.py | 994 | def _set_filter_for_view(self, view_name: str, filter_value) -> None: | CODE |
| LOW | Frontend/pages/workspace/analysis/analysis_page.py | 2072 | def _update_action_buttons(self, running: bool | None = None) -> None: | CODE |
| LOW | …tend/pages/workspace/translation/bottom_command_bar.py | 105 | def update_task_action_button(self, mode: str | None) -> None: | CODE |
| LOW | …tend/pages/workspace/translation/bottom_command_bar.py | 256 | def _update_reset_button_state(self) -> None: | CODE |
| LOW | Frontend/pages/workspace/translation/monitoring_page.py | 167 | def update_time(self, event: int, data: dict) -> None: | CODE |
| LOW | Frontend/pages/workspace/translation/monitoring_page.py | 209 | def update_line(self, event: int, data: dict) -> None: | CODE |
| LOW | Frontend/pages/workspace/translation/monitoring_page.py | 247 | def update_task(self, event: int, data: dict) -> None: | CODE |
| LOW | Frontend/pages/workspace/translation/monitoring_page.py | 259 | def update_token(self, event: int, data: dict) -> None: | CODE |
| LOW | Frontend/pages/workspace/translation/monitoring_page.py | 284 | def update_stability(self, event: int, data: dict) -> None: | CODE |
| LOW | Frontend/pages/workspace/translation/monitoring_page.py | 308 | def update_status(self, event: int, data: dict) -> None: | CODE |
| LOW | …ntend/pages/workspace/proofreading/basic_table_page.py | 121 | def _update_status_cell(self, row: int, translation_status: int) -> None: | CODE |
| LOW | …ontend/pages/workspace/proofreading/navigation_card.py | 33 | def update_tree(self, hierarchy: dict) -> None: | CODE |
| LOW | …tend/pages/workspace/proofreading/proofreading_page.py | 130 | def update_tree(self, hierarchy: dict) -> None: | CODE |
| LOW | …tend/pages/workspace/proofreading/proofreading_page.py | 187 | def _update_action_state(self) -> None: | CODE |
| LOW⚡ | Frontend/pages/workspace/startup/startup_page.py | 176 | def _set_history_controls_enabled(self, enabled: bool) -> None: | CODE |
| LOW | …prompts/translation/translation_example_prompt_page.py | 55 | def update_table(self) -> None: | CODE |
| LOW⚡ | …es/prompts/translation/characterization_prompt_page.py | 75 | def update_table(self) -> None: | CODE |
| LOW⚡ | …es/prompts/translation/characterization_prompt_page.py | 81 | def _update_table_rows(self, rows: list[dict] | None) -> None: | CODE |
| LOW | …es/prompts/translation/characterization_prompt_page.py | 102 | def _set_row_highlight(self, row_index: int, highlighted: bool) -> None: | CODE |
| LOW | Backend/application/tasks/translator_task.py | 61 | def set_items(self, items: list[CacheItem]) -> None: | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Frontend/app/updates.py | 4 | CODE | |
| LOW | Frontend/platform/platform_paths.py | 3 | CODE | |
| LOW | Frontend/pages/settings/output_settings_page.py | 9 | CODE | |
| LOW | Frontend/pages/settings/output_settings_page.py | 9 | CODE | |
| LOW | Frontend/pages/tables/exclusion_list_page.py | 1 | CODE | |
| LOW | Frontend/pages/tables/text_replace_a_page.py | 1 | CODE | |
| LOW | Frontend/pages/tables/text_replace_b_page.py | 1 | CODE | |
| LOW | Frontend/pages/tables/prompt_dictionary_page.py | 1 | CODE | |
| LOW | Frontend/pages/providers/args_edit_page.py | 4 | CODE | |
| LOW | …/pages/workspace/translation/language_settings_card.py | 3 | CODE | |
| LOW | …ages/prompts/polishing/polishing_system_prompt_page.py | 2 | CODE | |
| LOW | …ages/prompts/polishing/polishing_system_prompt_page.py | 2 | CODE | |
| LOW | …ontend/pages/prompts/translation/system_prompt_page.py | 2 | CODE | |
| LOW | …ontend/pages/prompts/translation/system_prompt_page.py | 2 | CODE | |
| LOW | Frontend/services/backend_client.py | 2 | CODE | |
| LOW | Backend/core/platform/platform_paths.py | 3 | CODE | |
| LOW | Backend/application/tasks/task_executor.py | 1 | CODE | |
| LOW | Backend/infrastructure/cache.py | 10 | CODE | |
| LOW | Backend/infrastructure/tokenizers/tokener.py | 2 | CODE | |
| LOW | Backend/infrastructure/tokenizers/tokener.py | 3 | CODE | |
| LOW | Backend/infrastructure/files/writers/ass_writer.py | 3 | CODE | |
| LOW | Backend/infrastructure/files/writers/po_writer.py | 5 | CODE | |
| LOW | …ckend/infrastructure/files/writers/directory_writer.py | 4 | CODE | |
| LOW | Backend/infrastructure/files/writers/file_outputer.py | 10 | CODE | |
| LOW | Backend/infrastructure/files/readers/file_reader.py | 12 | CODE | |
| LOW | Backend/domain/prompts/prompt_builder_polishing.py | 7 | CODE | |
| LOW | Backend/domain/prompts/prompt_builder_local.py | 1 | CODE | |
| LOW | StevExtraction/scratchpad.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | AiNiee.py | 1 | # | COMMENT |
| LOW | Frontend/app/bootstrap.py | 1 | # | COMMENT |
| LOW | Backend/infrastructure/files/readers/base_reader.py | 121 | processed_items = 0 | COMMENT |
| LOW | Backend/infrastructure/files/readers/reader_util.py | 401 | # """批量检测语言(ONNX版本) | COMMENT |
| LOW | Backend/infrastructure/files/readers/reader_util.py | 421 | # source_text = item.source_text | COMMENT |
| LOW | Backend/infrastructure/files/readers/reader_util.py | 441 | # results.append(None) # 添加占位符 | COMMENT |
| LOW | Backend/infrastructure/files/readers/reader_util.py | 461 | # final_prob -= 0.15 | COMMENT |
| LOW | Backend/infrastructure/files/readers/reader_util.py | 481 | # | COMMENT |
| LOW | Backend/infrastructure/files/readers/reader_util.py | 501 | # | COMMENT |
| LOW | Backend/infrastructure/files/readers/reader_util.py | 521 | # language_codes = [Language.get(lang[1]).language for lang in details] | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 1 | # # 辅助函数:Softmax | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 21 | # _instance = None | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 41 | # self.onnx_model_path = os.path.join(model_path, "onnx", "model_int8.onnx") | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 61 | # # rich.print(f"[[green]INFO[/]] Tokenizer loaded from {self.tokenizer_path}") | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 81 | # rich.print(f"[[red]ERROR[/]] 加载 ONNX 语言检测器失败: {e}") | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 101 | # cls._instance.tokenizer = None | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 121 | # results = self.predict_batch([text]) | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 141 | # # 检查 _instance 是否还存在,如果 release 后实例被设为 None,直接访问 self 上的属性会出错 | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 161 | # # 2. 准备 ONNX Runtime 输入 (确保 int64 类型) | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 181 | # predicted_class_id = np.argmax(probabilities) | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 201 | # # 排序并过滤 | COMMENT |
| LOW | …ructure/files/readers/unused/language_detector_onnx.py | 221 | # # 对于批处理错误,你可能想返回一个列表,其中每个失败的项都是 None 或错误标记 | COMMENT |
| LOW | Backend/domain/prompts/prompt_builder.py | 301 | # 变量n递增 | COMMENT |
| LOW | Backend/domain/text/text_symbol_repair.py | 41 | trailing_whitespace = trailing_whitespace_match.group(1) if trailing_whitespace_match else "" | COMMENT |
| LOW | Backend/domain/text/text_symbol_repair.py | 61 | #"source_text": "「息子さんが結婚したの。それはおめでとうございます」乾杯。「めでたいものか、ちくしょう」「まあまあ」乾杯。「俺が育てたのに自分で勝手に育ったようなツラをする」「親はなくても子は育つ」「俺は居 | COMMENT |
| LOW | StevExtraction/scratchpad.py | 21 | # test.InputFromJson(path=r'res/TrsData.json') | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | Frontend/pages/workspace/analysis/analysis_page.py | 2245 | if self._contains_category_hint(combined_hint, self.NON_TRANSLATE_PLACEHOLDER, "占位", "placeholder", "%s", "%d", | CODE |
| LOW | …tend/pages/workspace/proofreading/rule_check_dialog.py | 119 | "placeholder": self.check_placeholder.isChecked(), | CODE |
| LOW⚡ | Backend/application/tasks/analysis_task.py | 270 | fake_user = ( | CODE |
| LOW⚡ | Backend/application/tasks/analysis_task.py | 308 | {"role": "user", "content": fake_user}, | CODE |
| LOW⚡ | Backend/application/tasks/analysis_task.py | 480 | {"role": "user", "content": fake_user}, | CODE |
| LOW | Backend/application/tasks/analysis_task.py | 454 | fake_user = ( | CODE |
| LOW | Backend/application/checks/rule_checker.py | 182 | if rules_config.get("placeholder"): | CODE |
| LOW | Backend/domain/responses/advanced_checks.py | 81 | 每个占位符字典包含 "placeholder" (占位符字符串) 键。 | STRING |
| LOW | Backend/domain/responses/advanced_checks.py | 108 | placeholder = placeholder_data.get("placeholder") | CODE |
| LOW | Backend/domain/responses/advanced_checks.py | 110 | # 确保 'placeholder' 键存在且值是字符串 | COMMENT |
| LOW | Backend/domain/text/text_processor.py | 522 | "placeholder": placeholder_val, | CODE |
| LOW | Backend/domain/text/text_processor.py | 557 | placeholder_text = item.get("placeholder") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Frontend/components/cards/progress_ring_card.py | 10 | CODE | |
| LOW | Frontend/components/cards/combined_line_card.py | 6 | CODE | |
| LOW | Backend/domain/responses/advanced_checks.py | 286 | CODE | |
| LOW | Backend/domain/prompts/prompt_builder.py | 265 | CODE | |
| LOW | Backend/domain/prompts/prompt_builder_sakura.py | 34 | CODE | |
| LOW | Backend/domain/prompts/prompt_builder_sakura.py | 44 | CODE | |
| LOW | Backend/domain/text/text_symbol_repair.py | 168 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Backend/domain/prompts/prompt_builder_local.py | 387 | # 保留原签名,当前本地模型链路不使用上文 few-shot。 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ckend/infrastructure/files/readers/paratranz_reader.py | 22 | "context": null, | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | Backend/domain/responses/advanced_checks.py | 390 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Backend/infrastructure/llm/llm_client_factory.py | 37 | def handle_request(self, request: httpx.Request) -> httpx.Response: | CODE |