Repository Analysis

MarlinFirmware/Marlin

Marlin is a firmware for RepRap 3D printers optimized for both 8 and 32 bit microcontrollers. Marlin supports all common platforms. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.

12.2 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of MarlinFirmware/Marlin, a C++ project with 17,474 GitHub stars. SynthScan v2.0 examined 646,811 lines of code across 3153 source files, recording 8499 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 12.2 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).

12.2
Adjusted Score
12.2
Raw Score
100%
Time Factor
2026-07-08
Last Push
17.5K
Stars
C++
Language
646.8K
Lines of Code
3.2K
Files
8.5K
Pattern Hits
2026-07-14
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 1HIGH 12MEDIUM 43LOW 8443

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 8499 distinct pattern matches across 16 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 Block8284 hits · 7496 pts
SeverityFileLineSnippetContext
LOWMarlin/Version.h81//#define USB_DEVICE_VENDOR_ID 0x0000COMMENT
LOWMarlin/Configuration.h121//#define RS485_SERIAL_PORT 1COMMENT
LOWMarlin/Configuration.h161//#define Z3_DRIVER_TYPE A4988COMMENT
LOWMarlin/Configuration.h201 #define AXIS5_ROTATESCOMMENT
LOWMarlin/Configuration.h221COMMENT
LOWMarlin/Configuration.h241#if ENABLED(SWITCHING_EXTRUDER)COMMENT
LOWMarlin/Configuration.h281 * https://youtu.be/Bqbcs0CU2FECOMMENT
LOWMarlin/Configuration.h341 * Supports more than 2 Toolheads. See https://youtu.be/JolbsAKTKf4COMMENT
LOWMarlin/Configuration.h361 #define SWITCHING_TOOLHEAD_RETRACT_FEEDRATE 2400 // (mm/min) Extruder retract feedrateCOMMENT
LOWMarlin/Configuration.h381 //#define GRADIENT_MIX // Support for gradient mixing with M166 and LCDCOMMENT
LOWMarlin/Configuration.h421 */COMMENT
LOWMarlin/Configuration.h441 //#define PS_ON1_EDM_PIN 9COMMENT
LOWMarlin/Configuration.h581 * 998 : Dummy Table that ALWAYS reads 25°C or the temperature defined below.COMMENT
LOWMarlin/Configuration.h601#define DUMMY_THERMISTOR_998_VALUE 25COMMENT
LOWMarlin/Configuration.h621COMMENT
LOWMarlin/Configuration.h661#define HEATER_1_MINTEMP 5COMMENT
LOWMarlin/Configuration.h721 #if ENABLED(PID_PARAMS_PER_HOTEND)COMMENT
LOWMarlin/Configuration.h741 * and PID_FAN_SCALING. Enable MPC_AUTOTUNE and use M306 T to autotune the model.COMMENT
LOWMarlin/Configuration.h761COMMENT
LOWMarlin/Configuration.h781 // 0.00522 J/K/mm for 1.75mm Nylon (0.0138 J/K/mm for 2.85mm NylonCOMMENT
LOWMarlin/Configuration.h821#if ENABLED(PIDTEMPBED)COMMENT
LOWMarlin/Configuration.h901 */COMMENT
LOWMarlin/Configuration.h961 * the heater on.COMMENT
LOWMarlin/Configuration.h981//#define COREXZCOMMENT
LOWMarlin/Configuration.h1001//#define ARTICULATED_ROBOT_ARMCOMMENT
LOWMarlin/Configuration.h1021/**COMMENT
LOWMarlin/Configuration.h1041 //#define DELTA_AUTO_CALIBRATIONCOMMENT
LOWMarlin/Configuration.h1061COMMENT
LOWMarlin/Configuration.h1101 #define SCARA_LINKAGE_1 135 // (mm)COMMENT
LOWMarlin/Configuration.h1121COMMENT
LOWMarlin/Configuration.h1141 #define TPARA_LINKAGE_1 120 // (mm)COMMENT
LOWMarlin/Configuration.h1161 // the plane of measured offset must be alligned with home position planeCOMMENT
LOWMarlin/Configuration.h1221COMMENT
LOWMarlin/Configuration.h1241 //#define ENDSTOPPULLUP_ZMINCOMMENT
LOWMarlin/Configuration.h1261//#define ENDSTOPPULLDOWNSCOMMENT
LOWMarlin/Configuration.h1281 //#define ENDSTOPPULLDOWN_WMAXCOMMENT
LOWMarlin/Configuration.h1401 * Override with M205 X Y Z . . . ECOMMENT
LOWMarlin/Configuration.h1581 *COMMENT
LOWMarlin/Configuration.h1621 #ifdef MAG_MOUNTED_PROBE_SERVO_NRCOMMENT
LOWMarlin/Configuration.h1661 // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.COMMENT
LOWMarlin/Configuration.h1721 * T | 3 | H <-- Example "3" (right+, front-)COMMENT
LOWMarlin/Configuration.h1741// Leave undefined to use the average of the current XY homing feedrate.COMMENT
LOWMarlin/Configuration.h1761/**COMMENT
LOWMarlin/Configuration.h1821// For M851 provide ranges for adjusting the X, Y, and Z probe offsetsCOMMENT
LOWMarlin/Configuration.h1841 * noise. A delay can also be added to allow noise and vibration to settle.COMMENT
LOWMarlin/Configuration.h1861COMMENT
LOWMarlin/Configuration.h1881//#define DISABLE_ZCOMMENT
LOWMarlin/Configuration.h1901//#define INVERT_J_DIR falseCOMMENT
LOWMarlin/Configuration.h1941#define Z_HOME_DIR -1COMMENT
LOWMarlin/Configuration.h1961//#define V_SAFETY_STOPCOMMENT
LOWMarlin/Configuration.h2001#if ENABLED(MIN_SOFTWARE_ENDSTOPS)COMMENT
LOWMarlin/Configuration.h2041 * 3. The heaters were turned on and PRINTJOB_TIMER_AUTOSTART is enabled.COMMENT
LOWMarlin/Configuration.h2061COMMENT
LOWMarlin/Configuration.h2081COMMENT
LOWMarlin/Configuration.h2101 // Enable this option to use an encoder disc that toggles the runout pinCOMMENT
LOWMarlin/Configuration.h2121 //#define FIL_MOTION2_PULLUPCOMMENT
LOWMarlin/Configuration.h2141 //#define FIL_MOTION7_PULLUPCOMMENT
LOWMarlin/Configuration.h2261 #define MESH_TEST_NOZZLE_SIZE 0.4 // (mm) Diameter of primary nozzle.COMMENT
LOWMarlin/Configuration.h2281 #if ENABLED(AUTO_BED_LEVELING_BILINEAR)COMMENT
LOWMarlin/Configuration.h2301 //===========================================================================COMMENT
8224 more matches not shown…
Deep Nesting49 hits · 49 pts
SeverityFileLineSnippetContext
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py27CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/img2cpp.py57CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py187CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py220CODE
LOWbuildroot/bin/parallel-fix_host_menu_configs.py115CODE
LOWbuildroot/bin/config.py102CODE
LOWbuildroot/bin/parallel-fix_host_action_configs.py102CODE
LOWbuildroot/bin/parallel-build_and_log.py123CODE
LOWbuildroot/share/PlatformIO/scripts/marlin.py44CODE
LOWbuildroot/share/PlatformIO/scripts/configuration.py18CODE
LOWbuildroot/share/PlatformIO/scripts/configuration.py104CODE
LOWbuildroot/share/PlatformIO/scripts/configuration.py205CODE
LOWbuildroot/share/PlatformIO/scripts/preflight-checks.py12CODE
LOWbuildroot/share/PlatformIO/scripts/preflight-checks.py39CODE
LOWbuildroot/share/PlatformIO/scripts/preflight-checks.py52CODE
LOWbuildroot/share/PlatformIO/scripts/config.py102CODE
LOWbuildroot/share/PlatformIO/scripts/preprocessor.py61CODE
LOW…ldroot/share/PlatformIO/scripts/common-dependencies.py48CODE
LOW…ldroot/share/PlatformIO/scripts/common-dependencies.py131CODE
LOW…ldroot/share/PlatformIO/scripts/common-dependencies.py286CODE
LOWbuildroot/share/PlatformIO/scripts/mc-apply.py61CODE
LOWbuildroot/share/PlatformIO/scripts/mc-apply.py113CODE
LOWbuildroot/share/PlatformIO/scripts/mc-apply.py139CODE
LOW…/PlatformIO/scripts/jgaurora_a5s_a1_with_bootloader.py9CODE
LOWbuildroot/share/PlatformIO/scripts/signature.py89CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py67CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py87CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py121CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py484CODE
LOWbuildroot/share/make/validate_boards.py27CODE
LOWbuildroot/share/make/find.py7CODE
LOWbuildroot/share/scripts/pinsformat.py47CODE
LOWbuildroot/share/scripts/pinsformat.py113CODE
LOWbuildroot/share/scripts/upload.py10CODE
LOWbuildroot/share/scripts/image_to_tft.py28CODE
LOWbuildroot/share/scripts/visualize_memory_map.py53CODE
LOWbuildroot/share/scripts/visualize_memory_map.py158CODE
LOWbuildroot/share/scripts/visualize_memory_map.py401CODE
LOWbuildroot/share/scripts/visualize_memory_map.py414CODE
LOWbuildroot/share/scripts/visualize_memory_map.py608CODE
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py87CODE
LOWbuildroot/share/scripts/languageExport.py19CODE
LOWbuildroot/share/scripts/linesformat.py16CODE
LOWbuildroot/share/scripts/MarlinBinaryProtocol.py343CODE
LOWbuildroot/share/scripts/g29_auto.py59CODE
LOWbuildroot/share/scripts/rle_compress_bitmap.py11CODE
LOWbuildroot/share/scripts/rle_compress_bitmap.py69CODE
LOWbuildroot/share/scripts/rle_compress_bitmap.py73CODE
LOWbuildroot/share/fonts/buildhzk.py31CODE
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHbuildroot/bin/parallel-fix_host_menu_configs.py0run build_all_examples. returns (returncode, combined_output).STRING
HIGHbuildroot/bin/parallel-fix_host_action_configs.py0run build_all_examples. returns (returncode, combined_output).STRING
HIGHbuildroot/bin/parallel-build_and_log.py0run build_all_examples. returns (returncode, combined_output).STRING
HIGHbuildroot/bin/parallel-fix_host_menu_configs.py0extract failing config directory from stat file or build output.STRING
HIGHbuildroot/bin/parallel-fix_host_action_configs.py0extract failing config directory from stat file or build output.STRING
HIGHbuildroot/bin/parallel-build_and_log.py0extract failing config directory from stat file or build output.STRING
HIGHbuildroot/bin/parallel-fix_host_menu_configs.py0stash any uncommitted changes. returns true if we stashed.STRING
HIGHbuildroot/bin/parallel-fix_host_action_configs.py0stash any uncommitted changes. returns true if we stashed.STRING
HIGHbuildroot/bin/parallel-build_and_log.py0stash any uncommitted changes. returns true if we stashed.STRING
Decorative Section Separators14 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMini/native.ini100#==================================================================================COMMENT
MEDIUMbuildroot/bin/parallel-fix_host_menu_configs.py21# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-fix_host_menu_configs.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-fix_host_action_configs.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-fix_host_action_configs.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-build_and_log.py31# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel-build_and_log.py33# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel_build.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/bin/parallel_build.py40# ---------------------------------------------------------------------------COMMENT
MEDIUMbuildroot/share/dwin/bin/DWIN_ICO.py18#----------------------------------------------------------------COMMENT
MEDIUMbuildroot/share/dwin/bin/splitIco.py19#----------------------------------------------------------------COMMENT
MEDIUMbuildroot/share/dwin/bin/splitIco.py25#----------------COMMENT
MEDIUMbuildroot/share/dwin/bin/makeIco.py19#----------------------------------------------------------------COMMENT
MEDIUMbuildroot/share/dwin/bin/makeIco.py25#----------------COMMENT
Excessive Try-Catch Wrapping26 hits · 38 pts
SeverityFileLineSnippetContext
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py58 except Exception as e:CODE
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py68 except Exception as e:CODE
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py139 except Exception as e:CODE
MEDIUMMarlin/src/HAL/LPC1768/upload_extra_script.py27def before_upload(source, target, env):CODE
MEDIUM…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py304 print("Error popping tag off list")CODE
LOWbuildroot/bin/parallel_build.py51 except Exception:CODE
LOWbuildroot/share/dwin/bin/DWIN_ICO.py151 except Exception as e:CODE
LOWbuildroot/share/dwin/bin/splitIco.py48 except Exception as e:CODE
MEDIUMbuildroot/share/dwin/bin/splitIco.py49 print('Error: ', e)CODE
LOWbuildroot/share/dwin/bin/makeIco.py48 except Exception as e:CODE
MEDIUMbuildroot/share/dwin/bin/makeIco.py49 print('Error: ', e)CODE
LOWbuildroot/share/PlatformIO/scripts/offset_and_rename.py36 except Exception:CODE
LOWbuildroot/share/PlatformIO/scripts/offset_and_rename.py46 except Exception:CODE
LOWbuildroot/share/PlatformIO/scripts/signature.py209 except Exception as exc:CODE
LOWbuildroot/share/PlatformIO/scripts/schema.py487 except Exception as exc:CODE
MEDIUMbuildroot/share/PlatformIO/scripts/schema.py488 print("Error: " + str(exc))CODE
MEDIUMbuildroot/share/PlatformIO/scripts/schema.py484def main():CODE
LOWbuildroot/share/scripts/upload.py332 except Exception as ex:CODE
LOWbuildroot/share/scripts/visualize_memory_map.py79 except Exception as e:CODE
MEDIUMbuildroot/share/scripts/visualize_memory_map.py169 print(f"Error: nm tool not found: {nm_tool}", file=sys.stderr)CODE
MEDIUMbuildroot/share/scripts/visualize_memory_map.py207 print(f"Error running {nm_tool} for special symbols: {e}", file=sys.stderr)CODE
MEDIUMbuildroot/share/scripts/visualize_memory_map.py289 print(f"Error running nm: {e}", file=sys.stderr)CODE
MEDIUMbuildroot/share/scripts/visualize_memory_map.py1518 print(f"Error: ELF file not found: {args.elf_file}")STRING
MEDIUMbuildroot/share/scripts/languageExport.py268 print(f"Error: Couldn't find the '{LANGHOME}' directory.")CODE
MEDIUMbuildroot/share/scripts/languageImport.py44 print("Error: couldn't read CSV data from %s" % FILEPATH)CODE
MEDIUMbuildroot/share/scripts/languageImport.py66 print('Error: first column should be "name"')CODE
Verbosity Indicators21 hits · 37 pts
SeverityFileLineSnippetContext
LOWMarlin/src/core/serial.h52// Step 1: Find out what the first serial leaf isCOMMENT
LOWMarlin/src/core/serial.h68// Step 2: For multiserial wrap all serial ports in a singleCOMMENT
LOWMarlin/src/core/serial.cpp57// Step 2: For multiserial, handle the second serial port as wellCOMMENT
LOWMarlin/src/module/ft_motion/constant_jolt_planner.cpp168 // Step 1: Standard 7-phase S-curve.COMMENT
LOWMarlin/src/module/ft_motion/constant_jolt_planner.cpp177 // Step 2: Partial absorption + decel (a_entry != 0).COMMENT
LOWMarlin/src/module/ft_motion/constant_jolt_planner.cpp185 // Step 3: [-j, +j] decel targeting safe exit speed.COMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp94 // Step 7: Get the Z coordinate, click goes to the next point or exitsCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp143 // Step 6: Display "Next point: 1 / 9" while waiting for move to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp156 // Step 5: Initiate a move to the next pointCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp171 // Step 4: Display "Click to Begin", wait for clickCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp189 // Step 3: Display "Homing XYZ" - Wait for homing to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp201 // Step 2: Continue Bed Leveling...COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp49// Step 9: X Axis Twist Compensation Wizard is finished.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp66// Step 8: Ask the user if he wants to update the z-offset of the probeCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp82// Step 7: Set the Z-offset for this point and go to the next one.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp92// Step 6: Wizard Menu. Move the nozzle down until it touches the bed.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp116// Step 5: Display "Next point: 1 / 9" while waiting for move to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp129// Step 4: Initiate a move to the next pointCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp170// Step 3: Display "Click to Begin", wait for clickCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp193// Step 2: Display "Homing XYZ" - Wait for homing to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp202// Step 1: Prepare for the wizard...COMMENT
Structural Annotation Overuse21 hits · 36 pts
SeverityFileLineSnippetContext
LOWMarlin/src/core/serial.h52// Step 1: Find out what the first serial leaf isCOMMENT
LOWMarlin/src/core/serial.h68// Step 2: For multiserial wrap all serial ports in a singleCOMMENT
LOWMarlin/src/core/serial.cpp57// Step 2: For multiserial, handle the second serial port as wellCOMMENT
LOWMarlin/src/HAL/DUE/usb/sd_mmc_spi_mem.cpp38// NOTE: This function is defined as returning the address of the last blockCOMMENT
LOWMarlin/src/module/ft_motion/constant_jolt_planner.cpp168 // Step 1: Standard 7-phase S-curve.COMMENT
LOWMarlin/src/module/ft_motion/constant_jolt_planner.cpp177 // Step 2: Partial absorption + decel (a_entry != 0).COMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp94 // Step 7: Get the Z coordinate, click goes to the next point or exitsCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp143 // Step 6: Display "Next point: 1 / 9" while waiting for move to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp156 // Step 5: Initiate a move to the next pointCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp171 // Step 4: Display "Click to Begin", wait for clickCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp189 // Step 3: Display "Homing XYZ" - Wait for homing to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_probe_level.cpp201 // Step 2: Continue Bed Leveling...COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp49// Step 9: X Axis Twist Compensation Wizard is finished.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp66// Step 8: Ask the user if he wants to update the z-offset of the probeCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp82// Step 7: Set the Z-offset for this point and go to the next one.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp92// Step 6: Wizard Menu. Move the nozzle down until it touches the bed.COMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp116// Step 5: Display "Next point: 1 / 9" while waiting for move to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp129// Step 4: Initiate a move to the next pointCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp170// Step 3: Display "Click to Begin", wait for clickCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp193// Step 2: Display "Homing XYZ" - Wait for homing to finishCOMMENT
LOWMarlin/src/lcd/menu/menu_x_twist.cpp202// Step 1: Prepare for the wizard...COMMENT
Unused Imports35 hits · 35 pts
SeverityFileLineSnippetContext
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py7CODE
LOW…tui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/file2cpp.py18CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/img2cpp.py18CODE
LOW…tui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/font2cpp.py18CODE
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py19CODE
LOWbuildroot/bin/parallel-build_and_log.py29CODE
LOW…oot/share/PlatformIO/scripts/fix_framework_weakness.py9CODE
LOW…ildroot/share/PlatformIO/scripts/tronxy_cxy_446_v10.py8CODE
LOWbuildroot/share/PlatformIO/scripts/preprocessor.py64CODE
LOW…ldroot/share/PlatformIO/scripts/STM32F1_build_flags.py6CODE
LOW…oot/share/PlatformIO/scripts/generic_create_variant.py12CODE
LOW…oot/share/PlatformIO/scripts/generic_create_variant.py12CODE
LOW…oot/share/PlatformIO/scripts/SAMD51_grandcentral_m4.py7CODE
LOW…oot/share/PlatformIO/scripts/SAMD51_grandcentral_m4.py7CODE
LOW…oot/share/PlatformIO/scripts/SAMD51_grandcentral_m4.py8CODE
LOW…droot/share/PlatformIO/scripts/SAMD21_minitronics20.py7CODE
LOW…droot/share/PlatformIO/scripts/SAMD21_minitronics20.py7CODE
LOW…droot/share/PlatformIO/scripts/SAMD21_minitronics20.py8CODE
LOWbuildroot/share/PlatformIO/scripts/signature.py444CODE
LOWbuildroot/share/PlatformIO/scripts/signature.py450CODE
LOWbuildroot/share/scripts/upload.py1CODE
LOWbuildroot/share/scripts/upload.py184CODE
LOWbuildroot/share/scripts/upload.py190CODE
LOW…ildroot/share/scripts/rle16_compress_cpp_image_data.py8CODE
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py21CODE
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py21CODE
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py23CODE
LOWbuildroot/share/scripts/languageExport.py13CODE
LOWbuildroot/share/scripts/languageExport.py14CODE
LOWbuildroot/share/scripts/MarlinBinaryProtocol.py5CODE
LOWbuildroot/share/scripts/createSpeedLookupTable.py3CODE
LOWbuildroot/share/scripts/createSpeedLookupTable.py3CODE
LOWbuildroot/share/scripts/g29_auto.py8CODE
LOWbuildroot/share/scripts/languageImport.py20CODE
LOWbuildroot/share/scripts/rle_compress_bitmap.py9CODE
AI Slop Vocabulary10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMMarlin/src/HAL/AVR/registers.h121// and code be rewritten to use the following more robust definitions.COMMENT
MEDIUMMarlin/src/feature/bedlevel/abl/bbl.cpp84 // Median is robust (ignores outliers).COMMENT
MEDIUMMarlin/src/feature/mmu3/mmu3.cpp433 // Failed autoretry, report an error by forcing a "printer" error into the MMU infrastructure - it is a hack to leCOMMENT
MEDIUMMarlin/src/gcode/calibrate/G28.cpp546 // print, and do_move_after_z_homing is not very nuanced.COMMENT
MEDIUMbuildroot/share/uncrustify/uncrustify.cfg3534# Whether to apply special formatting for Qt SIGNAL/SLOT macros. Essentially,COMMENT
MEDIUM…PlatformIO/variants/MARLIN_FLY_CDY_V3/PeripheralPins.c108// Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
MEDIUM…atformIO/variants/MARLIN_MKS_SKIPR_V1/PeripheralPins.c67// Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
MEDIUM…are/PlatformIO/variants/MARLIN_F4x7Vx/PeripheralPins.c108// Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
MEDIUM…are/PlatformIO/variants/MARLIN_FLY_D8/PeripheralPins.c108// Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
MEDIUM…PlatformIO/variants/MARLIN_BTT_GTR_V1/PeripheralPins.c127 // Some pins can perform PWM from more than one timer. These were selected to utilize as many channels asCOMMENT
Self-Referential Comments6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMbuildroot/bin/parallel_build.py181 # Create a new window and send the commandCOMMENT
MEDIUMbuildroot/share/PlatformIO/scripts/configuration.py105 # Create a regex to match the option and capture parts of the lineCOMMENT
MEDIUMbuildroot/share/PlatformIO/scripts/schema.py151 conditions = [] # Create a condition stack for the current fileCODE
MEDIUMbuildroot/share/PlatformIO/scripts/schema.py365 # Create a new dictionary for the current #defineCOMMENT
MEDIUMbuildroot/share/scripts/g29_auto.py3# This file is for preprocessing G-code and the new G29 Auto bed leveling from MarlinCOMMENT
MEDIUMbuildroot/share/scripts/languageImport.py85# Create a folder for the imported language outfilesCOMMENT
Redundant / Tautological Comments11 hits · 16 pts
SeverityFileLineSnippetContext
LOWMarlin/src/HAL/LPC1768/upload_extra_script.py131 # Set upload_port to drive if foundCOMMENT
LOWbuildroot/share/PlatformIO/scripts/signature.py112 # Check if we can skip processingCOMMENT
LOWbuildroot/share/make/validate_boards.py42 # Open the fileCOMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py434 # Check if this is RAM or Flash by looking at items' original addressesCOMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py478 # Check if heap_start is within our RAM rangeCOMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py545 # Check if next byte is different (need delimiter)COMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py571 # Check if next byte is different (need delimiter)COMMENT
LOWbuildroot/share/scripts/visualize_memory_map.py635 # Check if one is substring of the otherSTRING
LOWbuildroot/share/scripts/languageExport.py45 # Open the fileCOMMENT
LOWbuildroot/share/scripts/languageExport.py98 # Close the fileCOMMENT
LOWbuildroot/share/scripts/g29_auto.py192 # Check if G29 already existsCOMMENT
Cross-Language Confusion3 hits · 11 pts
SeverityFileLineSnippetContext
HIGH…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py140 self.push(0xFFFF)STRING
HIGH…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py142 self.push(x * 0xFFFE)STRING
HIGH…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py143 self.push(y * 0xFFFE)STRING
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALbuildroot/web-ui/data/www/jquery-3.5.1.slim.min.js2!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):fCODE
Slop Phrases6 hits · 8 pts
SeverityFileLineSnippetContext
LOWMarlin/src/pins/mega/pins_GT2560_REV_A.h104// Don't forget to enable POWER_MONITOR_VOLTAGE in Configuration_adv.hCOMMENT
LOWMarlin/src/inc/Warnings.cpp704 #warning "Don't forget to update your TFT settings in Configuration.h."COMMENT
LOWMarlin/src/module/stepper.cpp1931 // Don't forget to finally reenable interrupts on non-AVR.COMMENT
LOW.github/ISSUE_TEMPLATE/bug_report.yml55 When pasting formatted text don't forget to put ` ``` ` (on its own line) before and after to make it readable.CODE
LOW.github/ISSUE_TEMPLATE/bug_report.yml165 label: Don't forget to includeCODE
LOW.github/ISSUE_TEMPLATE/bug_report.yml184 When pasting formatted text don't forget to put ` ``` ` (on its own line) before and after to make it readable.CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…xtui/ftdi_eve_touch_ui/ftdi_eve_lib/scripts/svg2cpp.py187 def process_svg_path_data_cmd(self, id, cmd, a, b):STRING
LOWbuildroot/share/scripts/visualize_memory_map.py414def generate_memory_blocks_html(items, module_colors, zoom_level=1, total_memory_size=None, special_symbols=None, arch='CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…ildroot/share/scripts/createTemperatureLookupMarlin.py63CODE