Repository Analysis

78/xiaozhi-esp32

An MCP-based chatbot | 一个基于MCP的聊天机器人

13.5 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of 78/xiaozhi-esp32, a C++ project with 29,389 GitHub stars. SynthScan v2.0 examined 62,841 lines of code across 715 source files, recording 813 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 13.5 places this repository in the Low 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).

13.5
Adjusted Score
13.5
Raw Score
100%
Time Factor
2026-08-28
Last Push
29.4K
Stars
C++
Language
62.8K
Lines of Code
715
Files
813
Pattern Hits
2026-08-29
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 1MEDIUM 28LOW 784

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 813 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.

Over-Commented Block623 hits · 623 pts
SeverityFileLineSnippetContext
LOWdocs/custom-board_zh.md41参考示例(来自lichuang-c3-dev):COMMENT
LOWdocs/custom-board_zh.md61#define AUDIO_CODEC_I2C_SCL_PIN GPIO_NUM_1COMMENT
LOWdocs/custom-board.md41- Display parameters and pins.COMMENT
LOWdocs/custom-board.md61#define AUDIO_CODEC_PA_PIN GPIO_NUM_13COMMENT
LOWscripts/Image_Converter/LVGLImage.py321 if premultiplied:COMMENT
LOWmain/application.h1#ifndef _APPLICATION_H_COMMENT
LOWmain/application.h21#include "device_state_machine.h"COMMENT
LOWmain/mcp_server.h1#ifndef MCP_SERVER_HCOMMENT
LOWmain/assets.h1#ifndef ASSETS_HCOMMENT
LOWmain/led/circular_strip.h1#ifndef _CIRCULAR_STRIP_H_COMMENT
LOWmain/audio/audio_service.h1#ifndef AUDIO_SERVICE_HCOMMENT
LOWmain/audio/audio_service.h41#define MAX_PLAYBACK_TASKS_IN_QUEUE 2COMMENT
LOWmain/audio/audio_codec.h1#ifndef _AUDIO_CODEC_HCOMMENT
LOWmain/audio/codecs/es8374_audio_codec.h41#endif // _ES8374_AUDIO_CODEC_HCOMMENT
LOWmain/audio/wake_words/custom_wake_word.h1#ifndef CUSTOM_WAKE_WORD_HCOMMENT
LOWmain/audio/wake_words/esp_wake_word.h1#ifndef ESP_WAKE_WORD_HCOMMENT
LOWmain/audio/engines/afe_audio_engine.h1#ifndef AFE_AUDIO_ENGINE_HCOMMENT
LOWmain/boards/minsi-k08-dual/config.h1#ifndef _BOARD_CONFIG_H_COMMENT
LOWmain/boards/minsi-k08-dual/config.h21COMMENT
LOWmain/boards/freenove-esp32s3-display-2.8-lcd/config.h1#ifndef _BOARD_CONFIG_H_COMMENT
LOWmain/boards/freenove-esp32s3-display-2.8-lcd/config.h21#define AUDIO_CODEC_ES8311_ADDR ES8311_CODEC_DEFAULT_ADDRCOMMENT
LOWmain/boards/freenove-esp32s3-display-2.8-lcd/config.h41#define DISPLAY_WIDTH 320COMMENT
LOWmain/boards/doit-s3-aibox/config.h1#ifndef _BOARD_CONFIG_H_COMMENT
LOWmain/boards/doit-s3-aibox/config.h21#define BUILTIN_LED_GPIO GPIO_NUM_45COMMENT
LOWmain/boards/wdmomo/esp32-cgc-144/config.h1#ifndef _BOARD_CONFIG_H_COMMENT
LOWmain/boards/wdmomo/esp32-cgc-144/config.h21#define ASR_BUTTON_GPIO GPIO_NUM_13COMMENT
LOWmain/boards/wdmomo/esp32-cgc-144/config.h41#ifdef LCD_128X128COMMENT
LOWmain/boards/wdmomo/esp32-cgc-144/config.h61#define DISPLAY_MIRROR_Y falseCOMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h1#ifndef _BOARD_CONFIG_H_COMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h21COMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h41#define DISPLAY_SCLK_PIN GPIO_NUM_18COMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h61#endifCOMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h81#define DISPLAY_HEIGHT 320COMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h101#define DISPLAY_RGB_ORDER LCD_RGB_ELEMENT_ORDER_BGRCOMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h121#endifCOMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h141#define DISPLAY_HEIGHT 240COMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h161#define DISPLAY_RGB_ORDER LCD_RGB_ELEMENT_ORDER_BGRCOMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h181COMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h201#define DISPLAY_MIRROR_X falseCOMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h221#define DISPLAY_OFFSET_X 0COMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h241COMMENT
LOWmain/boards/wdmomo/esp32-cgc/config.h261#define DISPLAY_MIRROR_Y falseCOMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h1#ifndef _BOARD_CONFIG_H_COMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h21#elseCOMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h41#define DISPLAY_DC_PIN GPIO_NUM_40COMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h61#ifdef CONFIG_LCD_ST7789_240X320_NO_IPSCOMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h81#define DISPLAY_MIRROR_Y falseCOMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h101#define DISPLAY_OFFSET_Y 0COMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h121#ifdef CONFIG_LCD_ST7789_240X240COMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h141#define DISPLAY_MIRROR_Y falseCOMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h161#define DISPLAY_OFFSET_Y 53COMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h181#ifdef CONFIG_LCD_ST7735_128X128COMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h201#define DISPLAY_MIRROR_Y falseCOMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h221#define DISPLAY_OFFSET_Y 0COMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h241#ifdef CONFIG_LCD_ILI9341_240X320_NO_IPSCOMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h261#define DISPLAY_MIRROR_Y falseCOMMENT
LOWmain/boards/bread-compact-wifi-lcd/config.h281#define DISPLAY_BACKLIGHT_OUTPUT_INVERT falseCOMMENT
LOWmain/boards/dfrobot/df-s3-ai-cam/config.h1#ifndef _BOARD_CONFIG_H_COMMENT
LOWmain/boards/dfrobot/df-s3-ai-cam/config.h21#define RESET_NVS_BUTTON_GPIO GPIO_NUM_NCCOMMENT
LOWmain/boards/dfrobot/df-s3-ai-cam/config.h41COMMENT
563 more matches not shown…
Hyper-Verbose Identifiers95 hits · 80 pts
SeverityFileLineSnippetContext
LOWdocker/firmware-builder/firmware_builder.py293def is_retryable_upload_error(error: Exception) -> bool:CODE
LOWdocker/firmware-builder/test_firmware_builder.py56 def test_success_writes_artifacts_and_manifest(self) -> None:CODE
LOWdocker/firmware-builder/test_firmware_builder.py110 def test_failed_build_preserves_log_and_failed_manifest(self) -> None:CODE
LOWdocker/firmware-builder/test_firmware_builder.py139 def test_failure_summary_prefers_compiler_error(self) -> None:CODE
LOWdocker/firmware-builder/test_firmware_builder.py155 def test_success_uploads_outputs_and_manifest_last(self) -> None:CODE
LOWdocker/firmware-builder/test_firmware_builder.py216 def test_transient_upload_is_retried_with_exponential_backoff(self) -> None:CODE
LOWdocker/firmware-builder/test_firmware_builder.py245 def test_transient_upload_fails_after_retry_limit(self) -> None:CODE
LOWdocker/firmware-builder/test_firmware_builder.py273 def test_permanent_upload_error_is_not_retried(self) -> None:CODE
LOWdocker/firmware-builder/test_firmware_builder.py300 def test_rejects_path_traversal_board(self) -> None:CODE
LOWdocker/firmware-builder/test_firmware_builder.py319 def test_rejects_unknown_board_name(self) -> None:CODE
LOWdocker/firmware-builder/test_firmware_builder.py338 def test_rejects_invalid_build_options(self) -> None:CODE
LOWscripts/build.py96def _validate_reported_identifier(value: object, field: str) -> str:CODE
LOWscripts/build.py202def _language_sdkconfig_option(language: str) -> tuple[str, str]:CODE
LOWscripts/build.py286def _enabled_default_wake_word_symbols(target: str) -> list[str]:CODE
LOWscripts/build.py299def _board_supports_wake_word(CODE
LOWscripts/build.py324def _wake_word_sdkconfig_options(CODE
LOWscripts/build.py445def _kconfig_config_board_dependencies(CODE
LOWscripts/build.py485def _build_option_definitions(CODE
LOWscripts/build.py742def _detect_idf_version_for_listing() -> tuple[int, int, int]:CODE
LOWscripts/build.py967def _select_variants_for_changes(CODE
LOWscripts/build.py1012def _find_board_config_candidates(board_type: str) -> list[str]:CODE
LOWscripts/build.py1051def _extract_board_config_from_sdkconfig_append(sdkconfig_append: list[str]) -> Optional[str]:CODE
LOWscripts/build.py1067def _board_config_symbol_exists(CODE
LOWscripts/build.py1350def _validate_configured_symbols(symbols: list[str], option_name: str) -> None:CODE
LOWscripts/build.py1372def _validate_configured_options(options: list[str], option_name: str) -> None:CODE
LOWscripts/build_default_assets.py453def read_wakenet_from_sdkconfig(sdkconfig_path):CODE
LOWscripts/build_default_assets.py479def read_multinet_from_sdkconfig(sdkconfig_path):CODE
LOWscripts/build_default_assets.py528def read_wake_word_type_from_sdkconfig(sdkconfig_path):CODE
LOWscripts/build_default_assets.py568def read_custom_wake_word_from_sdkconfig(sdkconfig_path):CODE
LOWscripts/build_default_assets.py621def get_language_from_multinet_models(multinet_models):CODE
LOWscripts/build_default_assets.py702def get_emoji_collection_path(default_emoji_collection, noto_fonts_path, project_root=None):CODE
LOWscripts/tests/test_build.py317 def test_nested_manufacturer_board_path(self):CODE
LOWscripts/tests/test_build.py324 def test_official_directory_can_keep_legacy_board_type(self):CODE
LOWscripts/tests/test_build.py332 def test_board_display_name_comes_from_kconfig_prompt(self):CODE
LOWscripts/tests/test_build.py340 def test_variant_name_disambiguates_shared_board_directory(self):CODE
LOWscripts/tests/test_build.py689 def test_sync_vscode_target_skips_missing_settings(self):CODE
LOWscripts/tests/test_build.py694 def test_same_target_does_not_clean_build_directory(self):CODE
LOWscripts/tests/test_build.py704 def test_changed_cmake_target_runs_fullclean_only(self):CODE
LOWscripts/tests/test_build.py924 def test_incompatible_wake_word_model_is_rejected(self):CODE
LOWscripts/tests/test_build.py933 def test_board_wake_word_support_obeys_psram_dependency(self):CODE
LOWscripts/tests/test_build.py943 def test_user_options_override_board_options(self):CODE
LOWscripts/tests/test_build.py133 def test_reported_types_and_names_are_valid_and_unique(self):CODE
LOWscripts/tests/test_build.py172 def test_language_and_wake_word_are_not_board_config_options(self):CODE
LOWscripts/tests/test_build.py186 def test_default_flash_options_are_not_repeated(self):CODE
LOWscripts/tests/test_build.py237 def test_chip_defaults_only_contain_target_overrides(self):CODE
LOWscripts/tests/test_build.py360 def test_new_manufacturer_directories_keep_existing_board_types(self):CODE
LOWscripts/tests/test_build.py387 def test_alientek_directory_keeps_atk_board_types(self):CODE
LOWscripts/tests/test_build.py420 def test_same_leaf_names_are_scoped_by_manufacturer(self):CODE
LOWscripts/tests/test_build.py430 def test_common_and_core_changes_select_all(self):CODE
LOWscripts/tests/test_build.py444 def test_docs_only_selects_none(self):CODE
LOWscripts/tests/test_build.py452 def test_board_menu_is_sorted_and_matches_cmake(self):CODE
LOWscripts/tests/test_build.py513 def test_board_menu_has_explicit_target_defaults(self):CODE
LOWscripts/tests/test_build.py538 def test_duplicate_reported_identifiers_fail_collection(self):CODE
LOWscripts/tests/test_build.py578 def test_invalid_reported_identifiers_are_rejected(self):CODE
LOWscripts/tests/test_build.py603 def test_missing_reported_type_fails_collection(self):CODE
LOWscripts/tests/test_build.py616 def test_invalid_version_rule_fails_collection(self):CODE
LOWscripts/tests/test_build.py635 def test_stage_marker_is_only_emitted_when_enabled(self):CODE
LOWscripts/tests/test_build.py656 def test_merge_bin_enables_preview_mode(self):CODE
LOWscripts/tests/test_build.py664 def test_sync_vscode_target_preserves_other_settings(self):CODE
LOWscripts/tests/test_build.py717 def test_configure_build_uses_all_cmake_values_in_one_run(self):CODE
35 more matches not shown…
Excessive Try-Catch Wrapping39 hits · 63 pts
SeverityFileLineSnippetContext
LOWdocker/firmware-builder/firmware_builder.py327 except Exception as error:CODE
LOWdocker/firmware-builder/firmware_builder.py449 except Exception as error:CODE
LOWscripts/build.py909 except Exception as e:CODE
MEDIUMscripts/download_github_runs.py209 print("Error: GITHUB_TOKEN not found in environment variables.", file=sys.stderr)CODE
LOWscripts/download_github_runs.py287 except Exception as e:CODE
MEDIUMscripts/download_github_runs.py288 print(f"Error: {e}", file=sys.stderr)CODE
LOWscripts/gen_lang.py185 except Exception as e:CODE
MEDIUMscripts/gen_lang.py186 print(f"Error: {e}")CODE
MEDIUMscripts/build_default_assets.py794 print(f"Error: Generated assets.bin not found: {image_file}")CODE
MEDIUMscripts/build_default_assets.py798 print(f"Error: Failed to build assets: {e}")CODE
MEDIUMscripts/build_default_assets.py202 print(f"Error: Failed to generate srmodels.bin: {e}")CODE
MEDIUMscripts/build_default_assets.py855 print("Error: USE_CUSTOM_WAKE_WORD is enabled but no multinet models are selected in sdkconfig")CODE
LOWscripts/build_default_assets.py797 except Exception as e:CODE
LOWscripts/build_default_assets.py201 except Exception as e:CODE
LOWscripts/versions.py219 except Exception as e:CODE
MEDIUMscripts/versions.py220 print(f"Error uploading version info: {str(e)}")CODE
LOWscripts/ogg_converter/xiaozhi_ogg_converter.py186 except Exception as e:CODE
LOWscripts/ogg_converter/xiaozhi_ogg_converter.py205 except Exception as e:CODE
LOWscripts/ogg_converter/xiaozhi_ogg_converter.py224 except Exception as e:CODE
LOWscripts/Image_Converter/lvgl_tools_gui.py245 except Exception as e:CODE
LOWscripts/p3_tools/batch_convert_gui.py187 except Exception as e:CODE
LOWscripts/p3_tools/batch_convert_gui.py201 except Exception as e:CODE
LOWscripts/p3_tools/batch_convert_gui.py215 except Exception as e:CODE
MEDIUMscripts/spiffs_assets/build.py72 print(f"Error: Failed to generate srmodels.bin: {e}")CODE
LOWscripts/spiffs_assets/build.py134 except Exception as e:CODE
MEDIUMscripts/spiffs_assets/build.py135 print(f"Error loading config file {config_path}: {e}")CODE
MEDIUMscripts/spiffs_assets/build.py151 print(f"Error: No src field found for emote '{emote_name}' in config")CODE
LOWscripts/spiffs_assets/build.py259 except Exception as e:CODE
MEDIUMscripts/spiffs_assets/build.py260 print(f"Error reading/processing layout.json: {e}")CODE
MEDIUMscripts/spiffs_assets/build.py391 print(f"Error: Failed to package assets.bin: {e}")CODE
MEDIUMscripts/spiffs_assets/spiffs_assets_gen.py101 print('Error: convert_path is NULL')CODE
LOWscripts/spiffs_assets/spiffs_assets_gen.py137 except Exception as e:CODE
MEDIUMscripts/spiffs_assets/spiffs_assets_gen.py254 print('An error occurred while executing LVGLImage.py:')CODE
LOWscripts/spiffs_assets/spiffs_assets_gen.py294 except Exception as e:CODE
MEDIUMscripts/spiffs_assets/spiffs_assets_gen.py295 print(f'An error occurred during conversion: {e}')CODE
MEDIUMscripts/spiffs_assets/spiffs_assets_gen.py305 print('Error: Height must be a positive integer')CODE
LOWscripts/spiffs_assets/spiffs_assets_gen.py314 except Exception as e:CODE
LOWscripts/spiffs_assets/spiffs_assets_gen.py418 except Exception as e:CODE
LOWscripts/spiffs_assets/build_all.py75 except Exception as e:CODE
Decorative Section Separators8 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMscripts/build_default_assets.py449# =============================================================================COMMENT
MEDIUMscripts/build_default_assets.py451# =============================================================================COMMENT
MEDIUMscripts/build_default_assets.py24# =============================================================================COMMENT
MEDIUMscripts/build_default_assets.py26# =============================================================================COMMENT
MEDIUMscripts/build_default_assets.py127# =============================================================================COMMENT
MEDIUMscripts/build_default_assets.py129# =============================================================================COMMENT
MEDIUMscripts/build_default_assets.py351# =============================================================================COMMENT
MEDIUMscripts/build_default_assets.py353# =============================================================================COMMENT
Deep Nesting30 hits · 26 pts
SeverityFileLineSnippetContext
LOWscripts/build.py605CODE
LOWscripts/build.py714CODE
LOWscripts/build.py813CODE
LOWscripts/build.py1012CODE
LOWscripts/build_default_assets.py59CODE
LOWscripts/build_default_assets.py219CODE
LOWscripts/build_default_assets.py453CODE
LOWscripts/build_default_assets.py479CODE
LOWscripts/build_default_assets.py528CODE
LOWscripts/build_default_assets.py568CODE
LOWscripts/versions.py61CODE
LOWscripts/versions.py223CODE
LOWscripts/Image_Converter/lvgl_tools_gui.py195CODE
LOWscripts/Image_Converter/LVGLImage.py212CODE
LOWscripts/Image_Converter/LVGLImage.py576CODE
LOWscripts/Image_Converter/LVGLImage.py787CODE
LOWscripts/Image_Converter/LVGLImage.py839CODE
LOWscripts/Image_Converter/LVGLImage.py875CODE
LOWscripts/Image_Converter/LVGLImage.py978CODE
LOWscripts/Image_Converter/LVGLImage.py1287CODE
LOWscripts/p3_tools/convert_p3_to_audio.py9CODE
LOWscripts/p3_tools/play_p3.py8CODE
LOWscripts/p3_tools/p3_gui_player.py12CODE
LOWscripts/tests/test_build.py186CODE
LOWscripts/tests/test_build.py538CODE
LOWscripts/spiffs_assets/spiffs_assets_gen.py141CODE
LOWscripts/spiffs_assets/spiffs_assets_gen.py391CODE
LOWscripts/spiffs_assets/spiffs_assets_gen.py492CODE
LOWscripts/spiffs_assets/build_all.py80CODE
LOWscripts/spiffs_assets/pack_model.py41CODE
Redundant / Tautological Comments6 hits · 9 pts
SeverityFileLineSnippetContext
LOWscripts/download_github_runs.py87 # Check if there are more pagesCOMMENT
LOWscripts/download_github_runs.py254 # Check if file already existsCOMMENT
LOWscripts/audio_debug_server.py40 # Close files and socketCOMMENT
LOWscripts/build_default_assets.py915 # Check if we have anything to buildCOMMENT
LOWscripts/spiffs_assets/spiffs_assets_gen.py72 # Check if convert_path is not emptyCOMMENT
LOWscripts/spiffs_assets/spiffs_assets_gen.py117 # Check if the file already existsCOMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMscripts/audio_debug_server.py12 # Create a UDP socketCOMMENT
MEDIUMscripts/build_default_assets.py918 # Create an empty assets.bin fileCOMMENT
MEDIUMscripts/spiffs_assets/spiffs_assets_gen.py123 # Create the parent directories if they do not existCOMMENT
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWdocker/firmware-builder/firmware_builder.py9CODE
LOWdocker/firmware-builder/test_firmware_builder.py4CODE
LOWscripts/download_github_runs.py17CODE
LOWscripts/download_github_runs.py19CODE
LOWscripts/spiffs_assets/build.py22CODE
LOWscripts/spiffs_assets/spiffs_assets_gen.py3CODE
LOWscripts/spiffs_assets/spiffs_assets_gen.py10CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHscripts/download_github_runs.py126 Rename artifact according to the specified rules. Rules: - Remove "xiaozhi_" prefix - Remove hash STRING
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/Image_Converter/LVGLImage.py1285CODE