Image annotation with Python. Supports polygon, rectangle, circle, line, point, and AI-assisted annotation.
This report presents the forensic synthetic code analysis of wkentaro/labelme, a Python project with 16,134 GitHub stars. SynthScan v2.0 examined 64,907 lines of code across 241 source files, recording 1300 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 22.9 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 1300 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/artifact_install_smoke.py | 26 | def _check_packaged_resources() -> None: | CODE |
| LOW | tools/artifact_install_smoke.py | 43 | def _check_application_starts() -> None: | CODE |
| LOW | tests/conftest.py | 57 | def close_failed_download_dialog( | CODE |
| LOW | tests/workflow_test.py | 10 | def test_test_matrix_covers_every_supported_python_version() -> None: | CODE |
| LOW | tests/unit/_app_test.py | 41 | def test_resolve_text_annotation_shape_type( | CODE |
| LOW | tests/unit/_app_test.py | 132 | def test_make_image_too_large_message_explains_allocation_limit( | CODE |
| LOW | tests/unit/_app_test.py | 147 | def test_make_image_too_large_message_accounts_for_bit_depth( | CODE |
| LOW | tests/unit/_app_test.py | 167 | def test_make_image_too_large_message_reports_per_side_limit( | CODE |
| LOW | tests/unit/_app_test.py | 197 | def test_make_image_too_large_message_rounds_the_need_up( | CODE |
| LOW | tests/unit/_app_test.py | 214 | def test_make_image_too_large_message_is_none_for_undecodable_data( | CODE |
| LOW | tests/unit/_app_test.py | 220 | def test_make_image_too_large_message_is_none_within_allocation_limit( | CODE |
| LOW | tests/unit/_app_test.py | 299 | def test_shapes_from_dicts_merges_label_flags( | CODE |
| LOW | tests/unit/_app_test.py | 312 | def test_shapes_from_dicts_warns_once_per_shape_with_a_non_str_label() -> None: | CODE |
| LOW | tests/unit/_app_test.py | 335 | def test_shapes_from_dicts_gives_each_shape_its_own_flags() -> None: | CODE |
| LOW | tests/unit/_app_test.py | 349 | def test_shapes_from_dicts_carries_over_the_shape_fields() -> None: | CODE |
| LOW | tests/unit/_app_test.py | 374 | def test_shape_to_dict_maps_all_fields() -> None: | CODE |
| LOW | tests/unit/_app_test.py | 411 | def test_shape_to_dict_coalesces_optional_flags_and_description( | CODE |
| LOW | tests/unit/_app_test.py | 425 | def test_shape_to_dict_passes_mask_through_unchanged() -> None: | CODE |
| LOW | tests/unit/_app_test.py | 437 | def test_shape_to_dict_requires_label() -> None: | CODE |
| LOW | tests/unit/_app_test.py | 476 | def test_resolve_stored_image_path_falls_back_to_absolute( | CODE |
| LOW | tests/unit/_app_test.py | 490 | def test_resolve_stored_image_path_falls_back_across_real_windows_drives() -> None: | CODE |
| LOW⚡ | tests/unit/_label_flags_test.py | 8 | def test_compile_label_flags_none_is_empty() -> None: | CODE |
| LOW⚡ | tests/unit/_label_flags_test.py | 12 | def test_compile_label_flags_keeps_the_flag_keys_of_a_valid_pattern() -> None: | CODE |
| LOW⚡ | tests/unit/_label_flags_test.py | 19 | def test_compile_label_flags_drops_an_uncompilable_pattern() -> None: | CODE |
| LOW⚡ | tests/unit/_label_flags_test.py | 23 | def test_compile_label_flags_drops_a_non_str_pattern() -> None: | CODE |
| LOW⚡ | tests/unit/_label_flags_test.py | 29 | def test_compile_label_flags_drops_a_bytes_pattern() -> None: | CODE |
| LOW⚡ | tests/unit/_label_flags_test.py | 36 | def test_compile_label_flags_keeps_the_valid_patterns_of_a_mixed_spec() -> None: | CODE |
| LOW⚡ | tests/unit/_yaml_test.py | 11 | def test_safe_load_parses_string_into_nested_structure() -> None: | CODE |
| LOW⚡ | tests/unit/_yaml_test.py | 15 | def test_safe_load_accepts_file_like_stream() -> None: | CODE |
| LOW⚡ | tests/unit/_yaml_test.py | 19 | def test_safe_load_returns_none_for_empty_string() -> None: | CODE |
| LOW | tests/unit/_yaml_test.py | 32 | def test_safe_load_rejects_unsafe_python_tag(payload: str) -> None: | CODE |
| LOW⚡ | tests/unit/__main___test.py | 38 | def test_removed_flag_errors_as_unknown( | CODE |
| LOW⚡ | tests/unit/__main___test.py | 48 | def test_logger_level_choice_is_a_valid_loguru_level(level: str) -> None: | CODE |
| LOW⚡ | tests/unit/__main___test.py | 52 | def test_logger_level_rejects_fatal(monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW⚡ | tests/unit/__main___test.py | 60 | def test_output_rejects_json_file_path_case_insensitively( | CODE |
| LOW⚡ | tests/unit/__main___test.py | 120 | def test_parse_list_arg_splits_comma_separated_value( | CODE |
| LOW⚡ | tests/unit/__main___test.py | 126 | def test_parse_list_arg_reads_and_strips_file_lines(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/unit/__main___test.py | 133 | def test_parse_list_arg_splits_value_too_long_to_be_a_path() -> None: | CODE |
| LOW⚡ | tests/unit/__main___test.py | 140 | def test_resolve_config_source_falls_back_to_defaults_on_missing_default_file( | CODE |
| LOW⚡ | tests/unit/__main___test.py | 194 | def test_resolve_config_source_reads_an_explicit_file(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/unit/__main___test.py | 203 | def test_resolve_config_source_takes_a_yaml_string_as_overrides(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/unit/__main___test.py | 210 | def test_logger_io_forwards_stripped_writes_to_debug() -> None: | CODE |
| LOW | tests/unit/__main___test.py | 25 | def test_help_uses_console_script_name( | CODE |
| LOW | tests/unit/__main___test.py | 78 | def test_deprecated_alias_warns_pointing_to_canonical( | CODE |
| LOW | tests/unit/__main___test.py | 98 | def test_canonical_flag_does_not_warn( | CODE |
| LOW | tests/unit/__main___test.py | 162 | def test_resolve_config_source_reads_an_existing_default_file(tmp_path: Path) -> None: | CODE |
| LOW | tests/unit/__main___test.py | 171 | def test_resolve_config_source_exits_on_an_explicit_missing_file( | CODE |
| LOW | tests/unit/__main___test.py | 183 | def test_resolve_config_source_exits_on_a_value_too_long_to_be_a_path( | CODE |
| LOW | tests/unit/__main___test.py | 226 | def test_logger_io_is_a_write_only_non_seekable_sink() -> None: | CODE |
| LOW | tests/unit/__main___test.py | 243 | def test_setup_loguru_degrades_to_stderr_when_the_cache_dir_cannot_be_created( | CODE |
| LOW | tests/unit/__main___test.py | 260 | def test_setup_loguru_degrades_to_stderr_when_the_home_directory_is_unknown( | CODE |
| LOW | tests/unit/__main___test.py | 278 | def test_setup_loguru_degrades_to_stderr_when_the_log_file_cannot_be_opened( | CODE |
| LOW | tests/unit/__main___test.py | 303 | def test_setup_loguru_degrades_to_stderr_without_localappdata( | CODE |
| LOW | tests/unit/__main___test.py | 318 | def test_route_qt_logging_drops_noise_and_forwards_the_rest() -> None: | CODE |
| LOW⚡ | tests/unit/read_image_file_test.py | 24 | def test_tiff_without_alpha_encoded_as_jpeg(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/unit/read_image_file_test.py | 30 | def test_tiff_with_alpha_encoded_as_png(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/unit/read_image_file_test.py | 36 | def test_corrupt_tiff_raises_os_error(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/unit/read_image_file_test.py | 44 | def test_jpeg_returns_raw_bytes(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/unit/read_image_file_test.py | 50 | def test_png_returns_raw_bytes(tmp_path: Path) -> None: | CODE |
| LOW⚡ | tests/unit/read_image_file_test.py | 57 | def test_palette_image_without_alpha_encoded_as_jpeg(tmp_path: Path, ext: str) -> None: | CODE |
| 932 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 86 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 88 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 121 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 123 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 144 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 146 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 229 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 231 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 355 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/utils/qt_test.py | 357 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 101 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 103 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 136 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 138 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 157 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 185 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 187 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 223 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 225 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 251 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 253 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 281 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 283 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 334 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/_canvas_interaction/canvas_test.py | 336 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/widgets/_canvas_interaction/canvas_test.py | 403 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/unit/widgets/_canvas_interaction/canvas_test.py | 415 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 49 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 51 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 66 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 68 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 99 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 101 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 207 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 209 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 267 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 269 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 291 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 293 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 338 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 340 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 357 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 359 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 160 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 162 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 94 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 96 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 148 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 150 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 224 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 226 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 257 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 259 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 298 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 300 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 326 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/widgets/label_dialog/interaction_test.py | 328 | # --------------------------------------------------------------------------- | COMMENT |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/artifact_install_smoke.py | 1 | CODE | |
| LOW | tools/artifact_install_smoke.py | 7 | CODE | |
| LOW | tests/conftest.py | 1 | CODE | |
| LOW | tests/unit/_app_test.py | 1 | CODE | |
| LOW | tests/unit/_label_flags_test.py | 1 | CODE | |
| LOW | tests/unit/_yaml_test.py | 1 | CODE | |
| LOW | tests/unit/__main___test.py | 1 | CODE | |
| LOW | tests/unit/__main___test.py | 7 | CODE | |
| LOW | tests/unit/read_image_file_test.py | 1 | CODE | |
| LOW | tests/unit/_shape_test.py | 1 | CODE | |
| LOW | tests/unit/_shape_clipboard_test.py | 1 | CODE | |
| LOW | tests/unit/_locale_test.py | 1 | CODE | |
| LOW | tests/unit/_label_file_test.py | 1 | CODE | |
| LOW | tests/unit/_shape_color_test.py | 1 | CODE | |
| LOW | tests/unit/tools/artifact_install_smoke_test.py | 1 | CODE | |
| LOW | tests/unit/utils/qt_test.py | 1 | CODE | |
| LOW | tests/unit/utils/shape_test.py | 1 | CODE | |
| LOW | tests/unit/utils/util.py | 1 | CODE | |
| LOW | tests/unit/utils/image_test.py | 1 | CODE | |
| LOW | tests/unit/examples/utils_test.py | 1 | CODE | |
| LOW | tests/unit/_automation/_ai_assist_test.py | 1 | CODE | |
| LOW | tests/unit/_automation/conftest.py | 1 | CODE | |
| LOW | tests/unit/_automation/_osam_session_test.py | 1 | CODE | |
| LOW | tests/unit/_automation/_shape_builders_test.py | 1 | CODE | |
| LOW | tests/unit/_automation/_text_detection_test.py | 1 | CODE | |
| LOW | tests/unit/_automation/_suppression_test.py | 1 | CODE | |
| LOW | tests/unit/_automation/_geometry_test.py | 1 | CODE | |
| LOW | tests/unit/_config/writer_test.py | 1 | CODE | |
| LOW | tests/unit/_config/schema_test.py | 1 | CODE | |
| LOW | tests/unit/_config/api_test.py | 1 | CODE | |
| LOW | …ts/unit/widgets/_ai_assisted_annotation_widget_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/download_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/unique_label_qlist_widget_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/label_list_widget_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/tool_bar_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/canvas_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/_shape_render_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/settings_dialog_test.py | 1 | CODE | |
| LOW | …/unit/widgets/brightness_contrast_dialog/alpha_test.py | 1 | CODE | |
| LOW | …s/unit/widgets/brightness_contrast_dialog/i18n_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/_canvas_interaction/canvas_test.py | 1 | CODE | |
| LOW | …ts/unit/widgets/_canvas_interaction/primitives_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/zoom_widget/value_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/zoom_widget/presentation_test.py | 8 | CODE | |
| LOW | tests/unit/widgets/label_dialog/interaction_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/label_dialog/updates_test.py | 1 | CODE | |
| LOW | tests/unit/widgets/label_dialog/screen_fit_test.py | 1 | CODE | |
| LOW | tests/e2e/smoke_test.py | 1 | CODE | |
| LOW | tests/e2e/file_loading_test.py | 1 | CODE | |
| LOW | tests/e2e/conftest.py | 1 | CODE | |
| LOW | tests/e2e/save_format_contract_test.py | 1 | CODE | |
| LOW | tests/e2e/navigation_test.py | 1 | CODE | |
| LOW | tests/e2e/delete_confirmation_test.py | 1 | CODE | |
| LOW | tests/e2e/annotation_test.py | 1 | CODE | |
| LOW | tests/e2e/file_operations_test.py | 1 | CODE | |
| LOW | tests/e2e/settings_test.py | 1 | CODE | |
| LOW | tests/e2e/last_label_and_restore_test.py | 1 | CODE | |
| LOW | tests/e2e/save_error_handling_test.py | 1 | CODE | |
| LOW | tests/e2e/file_list_focus_test.py | 1 | CODE | |
| LOW | tests/e2e/auto_save_test.py | 1 | CODE | |
| 103 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/update_translate.py | 13 | def _setup_logging() -> None: | CODE |
| LOW⚡ | tests/unit/utils/qt_test.py | 149 | def _set_window_text(app: QtWidgets.QApplication, color: QtGui.QColor) -> None: | CODE |
| LOW | tests/e2e/settings_test.py | 25 | def _set_flag_checked(win: MainWindow, name: str) -> None: | CODE |
| LOW | labelme/_app.py | 946 | def _setup_toolbars(self) -> None: | STRING |
| LOW | labelme/_app.py | 1351 | def update_action_states(self, value: bool = True) -> None: | STRING |
| LOW | labelme/_app.py | 1999 | def set_scroll_value(self, orientation: Qt.Orientation, value: float) -> None: | STRING |
| LOW | labelme/_app.py | 2016 | def _set_zoom(self, value: float, pos: QtCore.QPointF | None = None) -> None: | STRING |
| LOW | labelme/_app.py | 2046 | def _set_zoom_to_original(self) -> None: | STRING |
| LOW | labelme/_app.py | 2060 | def set_fit_window_mode(self, value: bool = True) -> None: | STRING |
| LOW | labelme/_app.py | 2064 | def set_fit_width_mode(self, value: bool = True) -> None: | STRING |
| LOW | labelme/_app.py | 2633 | def _set_point_prompt_mode(self, enabled: bool) -> None: | STRING |
| LOW | labelme/_app.py | 2649 | def _set_setting_value(self, key_path: tuple[str, ...], value: object) -> None: | STRING |
| LOW | labelme/_app.py | 3088 | def _update_status_stats(self, mouse_pos: QtCore.QPointF) -> None: | STRING |
| LOW | labelme/__main__.py | 47 | def _setup_loguru(logger_level: str) -> None: | CODE |
| LOW | labelme/_widgets/label_dialog.py | 27 | def set_list_widget(self, list_widget: QtWidgets.QListWidget) -> None: | CODE |
| LOW | labelme/_widgets/label_dialog.py | 221 | def _update_flags(self, text: str) -> None: | CODE |
| LOW | labelme/_widgets/label_dialog.py | 240 | def set_predefined_labels(self, labels: list[str]) -> None: | CODE |
| LOW | labelme/_widgets/label_dialog.py | 315 | def _set_flag_checkboxes(self, flags: dict[str, bool]) -> None: | CODE |
| LOW | labelme/_widgets/_integer_slider.py | 45 | def set_value(self, value: int) -> None: | CODE |
| LOW⚡ | labelme/_widgets/_ai_assisted_annotation_widget.py | 158 | def set_current_model(self, model_display: str) -> None: | CODE |
| LOW⚡ | labelme/_widgets/_ai_assisted_annotation_widget.py | 164 | def set_polygon_detail(self, detail: int) -> None: | CODE |
| LOW⚡ | labelme/_widgets/_ai_assisted_annotation_widget.py | 168 | def set_point_prompt_mode(self, enabled: bool) -> None: | CODE |
| LOW | labelme/_widgets/settings_dialog.py | 52 | def set_rgb(self, rgb: tuple[int, int, int]) -> None: | CODE |
| LOW⚡ | labelme/_widgets/settings_dialog.py | 64 | def set_accessible_note(self, note: str) -> None: | CODE |
| LOW⚡ | labelme/_widgets/settings_dialog.py | 68 | def _update_accessible_description(self) -> None: | CODE |
| LOW | labelme/_widgets/settings_dialog.py | 298 | def set_value(self, key_path: tuple[str, ...], value: object) -> None: | CODE |
| LOW | labelme/_widgets/settings_dialog.py | 545 | def _set_editor_value(self, editor: QtWidgets.QWidget, value: object) -> None: | CODE |
| LOW | labelme/_widgets/label_list_widget.py | 115 | def set_shape(self, shape: Shape | None) -> None: | CODE |
| LOW | labelme/_widgets/label_list_widget.py | 118 | def set_label(self, text: str, color: tuple[int, int, int]) -> None: | CODE |
| LOW⚡ | labelme/_widgets/canvas.py | 279 | def set_fill_drawing(self, value: bool) -> None: | CODE |
| LOW⚡ | labelme/_widgets/canvas.py | 282 | def set_show_labels(self, value: bool) -> None: | CODE |
| LOW⚡ | labelme/_widgets/canvas.py | 285 | def set_allow_out_of_bounds_points(self, value: bool) -> None: | CODE |
| LOW⚡ | labelme/_widgets/canvas.py | 440 | def set_ai_model_name(self, model_name: str) -> None: | CODE |
| LOW⚡ | labelme/_widgets/canvas.py | 446 | def set_ai_output_format(self, output_format: _automation.AiOutputFormat) -> None: | CODE |
| LOW⚡ | labelme/_widgets/canvas.py | 452 | def set_ai_polygon_detail(self, detail: int) -> None: | CODE |
| LOW⚡ | labelme/_widgets/canvas.py | 458 | def set_ai_existing_shape_suppression(self, enabled: bool) -> None: | CODE |
| LOW⚡ | labelme/_widgets/canvas.py | 1802 | def _set_ai_existing_shape_highlights(self, *, shapes: list[Shape]) -> None: | CODE |
| LOW | labelme/_widgets/canvas.py | 323 | def set_point_size(self, point_size: int) -> None: | CODE |
| LOW | labelme/_widgets/canvas.py | 339 | def set_draft_palette(self, palette: Palette) -> None: | CODE |
| LOW | labelme/_widgets/canvas.py | 539 | def set_editing(self, value: bool = True) -> None: | CODE |
| LOW | labelme/_widgets/canvas.py | 596 | def _update_status(self, extra_messages: list[str] | None = None) -> None: | CODE |
| LOW | labelme/_widgets/canvas.py | 1528 | def _setup_world_transform(self, painter: QtGui.QPainter) -> None: | CODE |
| LOW | labelme/_widgets/canvas.py | 2013 | def set_shape_visible(self, shape: Shape, value: bool) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/unit/utils/qt_test.py | 301 | keys = [s.toString() for s in action.shortcuts()] | CODE |
| HIGH⚡ | tests/unit/utils/qt_test.py | 310 | keys = [s.toString() for s in action.shortcuts()] | CODE |
| HIGH | labelme/_app.py | 2328 | logger.warning("image is null, cannot paint canvas") | STRING |
| HIGH | labelme/_widgets/_shape_render.py | 197 | if paths.orientation_arrow.length() > 0: | CODE |
| HIGH | labelme/_widgets/_shape_render.py | 203 | if paths.negative_vertices.length() > 0: | CODE |
| HIGH | labelme/_widgets/_shape_render.py | 219 | if path.length() == 0: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | labelme/_app.py | 3095 | CODE | |
| LOW | labelme/_app.py | 1536 | CODE | |
| LOW | labelme/_app.py | 2708 | CODE | |
| LOW | labelme/_app.py | 2954 | CODE | |
| LOW | labelme/_label_file.py | 244 | CODE | |
| LOW | labelme/_utils/shape.py | 27 | CODE | |
| LOW | labelme/_utils/image.py | 73 | CODE | |
| LOW | labelme/_widgets/_shape_render.py | 301 | CODE | |
| LOW | labelme/_widgets/_shape_render.py | 422 | CODE | |
| LOW | labelme/_widgets/settings_dialog.py | 400 | CODE | |
| LOW | labelme/_widgets/settings_dialog.py | 545 | CODE | |
| LOW | labelme/_widgets/canvas.py | 761 | CODE | |
| LOW | labelme/_widgets/canvas.py | 1059 | CODE | |
| LOW | labelme/_widgets/canvas.py | 1875 | CODE | |
| LOW | labelme/_widgets/canvas.py | 1901 | CODE | |
| LOW | labelme/_config/_shape_color.py | 26 | CODE | |
| LOW | examples/utils.py | 81 | CODE | |
| LOW | examples/instance_segmentation/labelme2coco.py | 56 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | labelme/_app.py | 1250 | except Exception as e: | STRING |
| LOW | labelme/_app.py | 1388 | except Exception as e: | STRING |
| LOW | labelme/__main__.py | 76 | except Exception as e: | CODE |
| LOW | labelme/__main__.py | 363 | except Exception as e: | CODE |
| LOW | labelme/_label_file.py | 240 | except Exception as e: | CODE |
| LOW | labelme/_widgets/download.py | 64 | except Exception as e: | CODE |
| LOW | labelme/_widgets/canvas.py | 1697 | except Exception as e: | CODE |
| LOW | labelme/_widgets/canvas.py | 1742 | except Exception as e: | CODE |
| LOW | labelme/_config/__init__.py | 178 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | labelme/_app.py | 1290 | self._canvas_widgets.canvas.context_menus.without_selection.clear() | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/widgets/label_dialog/interaction_test.py | 43 | CODE | |
| LOW | labelme/_utils/qt.py | 124 | CODE | |
| LOW | labelme/_widgets/label_dialog.py | 42 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/widgets/_canvas_interaction/canvas_test.py | 401 | COMMENT |