Repository Analysis

Klipper3d/klipper

Klipper is a 3d-printer firmware

21.4 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Klipper3d/klipper, a C project with 11,785 GitHub stars. SynthScan v2.0 examined 1,167,012 lines of code across 2010 source files, recording 37861 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 21.4 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).

21.4
Adjusted Score
21.4
Raw Score
100%
Time Factor
2026-07-31
Last Push
11.8K
Stars
C
Language
1.2M
Lines of Code
2.0K
Files
37.9K
Pattern Hits
2026-08-02
Scan Date
0.02
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 31MEDIUM 265LOW 37565

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 37861 distinct pattern matches across 17 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 Block37131 hits · 23554 pts
SeverityFileLineSnippetContext
LOWtest/klippy/delta_calibrate.cfg41#*# <---------------------- SAVE_CONFIG ---------------------->COMMENT
LOWtest/klippy/delta_calibrate.cfg61#*#COMMENT
LOWtest/klippy/rotary_delta_calibrate.cfg41[delta_calibrate]COMMENT
LOWtest/klippy/rotary_delta_calibrate.cfg61#*# [stepper_c]COMMENT
LOWklippy/mathutil.py1# Simple math helper functionsCOMMENT
LOWklippy/webhooks.py1# Klippy WebHooks registration and server connectionCOMMENT
LOWklippy/chelper/kin_extruder.c1// Extruder stepper pulse time generationCOMMENT
LOWklippy/chelper/kin_extruder.c21// Without pressure advance, the extruder stepper position is:COMMENT
LOWklippy/chelper/serialqueue.c1// Serial port command queuingCOMMENT
LOWklippy/chelper/serialqueue.c101#define SQPT_NUM 2COMMENT
LOWklippy/chelper/steppersync.c1// Stepper step transmit synchronizationCOMMENT
LOWklippy/chelper/stepcompress.c1// Stepper pulse schedule compressionCOMMENT
LOWklippy/chelper/stepcompress.c21#include <stdlib.h> // mallocCOMMENT
LOWklippy/chelper/compiler.h1#ifndef __COMPILER_HCOMMENT
LOWklippy/chelper/compiler.h21#ifndef __sectionCOMMENT
LOWklippy/chelper/kin_rotary_delta.c1// Rotary delta kinematics stepper pulse time generationCOMMENT
LOWklippy/chelper/msgblock.c1// Helper code for the Klipper mcu protocol "message blocks"COMMENT
LOWklippy/chelper/kin_winch.c1// Cable winch stepper kinematicsCOMMENT
LOWklippy/chelper/itersolve.c1// Iterative solver for kinematic movesCOMMENT
LOWklippy/chelper/kin_deltesian.c1// Deltesian kinematics stepper pulse time generationCOMMENT
LOWklippy/chelper/trdispatch.c1// Trigger sync "trsync" message dispatchCOMMENT
LOWklippy/chelper/kin_generic.c1// Generic cartesian kinematics stepper position calculationCOMMENT
LOWklippy/chelper/kin_idex.c1// Idex dual carriage kinematicsCOMMENT
LOWklippy/chelper/kin_polar.c1// Polar kinematics stepper pulse time generationCOMMENT
LOWklippy/chelper/kin_shaper.c1// Kinematic input shapers to minimize motion vibrations in XY planeCOMMENT
LOWklippy/chelper/kin_cartesian.c1// Cartesian kinematics stepper pulse time generationCOMMENT
LOWklippy/chelper/msgblock.h1#ifndef MSGBLOCK_HCOMMENT
LOWklippy/chelper/pyhelper.c1// Helper functions for C / Python interfaceCOMMENT
LOWklippy/chelper/trapq.c1// Trapezoidal velocity movement queueCOMMENT
LOWklippy/chelper/pollreactor.c1// Code for dispatching timer and file descriptor eventsCOMMENT
LOWklippy/chelper/kin_delta.c1// Delta kinematics stepper pulse time generationCOMMENT
LOWklippy/kinematics/__init__.py1# Package definition for the kinematics directoryCOMMENT
LOWklippy/extras/gcode_arcs.py1# adds support fro ARC commands via G2/G3COMMENT
LOWklippy/extras/htu21d.py1# HTU21D(F)/Si7013/Si7020/Si7021/SHT21 i2c based temperature sensors supportCOMMENT
LOWklippy/extras/aht10.py1# Support for AHTxx family I2C temperature and humidity sensorsCOMMENT
LOWklippy/extras/delta_calibrate.py1# Delta calibration supportCOMMENT
LOWklippy/extras/quad_gantry_level.py1# Mechanically conforms a moving gantry to the bed with 4 Z steppersCOMMENT
LOWklippy/extras/__init__.py1# Package definition for the extras directoryCOMMENT
LOWklippy/extras/sht3x.py1# SHT3X i2c based temperature sensors supportCOMMENT
LOWklippy/extras/bulk_sensor.py1# Tools for reading bulk sensor data from the mcuCOMMENT
LOWklippy/extras/bulk_sensor.py141# It is common for sensors to produce measurements at a fixedCOMMENT
LOWklippy/extras/manual_probe.py1# Helper script for manual z height probingCOMMENT
LOWklippy/extras/display/menu.cfg1# This file defines the default layout of the printer's menu.COMMENT
LOWklippy/extras/display/menu.cfg21# + Cancel printingCOMMENT
LOWklippy/extras/display/menu.cfg41# + Move X:000.0COMMENT
LOWklippy/extras/display/menu.cfg61# + Preheat hotbedCOMMENT
LOWklippy/extras/display/menu.cfg81# + CalibrationCOMMENT
LOWklippy/extras/display/font8x14.py1# Fonts for connected displaysCOMMENT
LOWklippy/extras/display/aip31068_spi.py1# Support for YHCB2004 (20x4 text) LCD displays based on AiP31068 controllerCOMMENT
LOWconfig/generic-mks-monster8.cfg61max_temp: 260COMMENT
LOWconfig/generic-mks-monster8.cfg121max_accel: 20000COMMENT
LOWconfig/generic-mks-monster8.cfg141#[tmc2208 stepper_x]COMMENT
LOWconfig/generic-mks-monster8.cfg161#run_current: 0.8COMMENT
LOWconfig/generic-mks-monster8.cfg181#hold_current: 0.5COMMENT
LOWconfig/generic-mks-monster8.cfg201COMMENT
LOWconfig/generic-mks-monster8.cfg221#diag1_pin: PA13COMMENT
LOWconfig/generic-mks-monster8.cfg241COMMENT
LOWconfig/generic-bigtreetech-skr-e3-dip.cfg1# This file contains common pin mappings for the BIGTREETECH SKR E3COMMENT
LOWconfig/generic-bigtreetech-skr-e3-dip.cfg101#run_current: 0.580COMMENT
LOWconfig/generic-bigtreetech-skr-e3-dip.cfg121# TMC2130 configurationCOMMENT
37071 more matches not shown…
Self-Referential Comments219 hits · 660 pts
SeverityFileLineSnippetContext
MEDIUMklippy/kinematics/rotary_delta.py167 # Create a new calibration object from coordinate_descent paramsCOMMENT
MEDIUMklippy/kinematics/delta.py198 # Create a new calibration object from coordinate_descent paramsCOMMENT
MEDIUMklippy/extras/thermistor.py71# Create an ADC converter with a thermistorCOMMENT
MEDIUMklippy/extras/bltouch.py33 # Create a pwm object to handle the control pinCOMMENT
MEDIUMklippy/extras/probe_eddy_current.py609 # This function is an optimized version of _build_ls_matrix()COMMENT
MEDIUMklippy/extras/display/menu.cfg1# This file defines the default layout of the printer's menu.COMMENT
MEDIUMklippy/extras/display/display.cfg1# This file defines the default layout of the printer's lcd display.COMMENT
MEDIUMklippy/extras/display/aip31068_spi.py10# This file is a modified version of hd44780_spi.py, introducing slightlyCOMMENT
MEDIUMconfig/generic-mks-monster8.cfg1# This file contains common pin mappings for MKS Monster8COMMENT
MEDIUMconfig/generic-bigtreetech-skr-e3-dip.cfg1# This file contains common pin mappings for the BIGTREETECH SKR E3COMMENT
MEDIUMconfig/printer-creality-sermoonD1-2021.cfg1# This file contains pin mappings for the Creality Sermoon D1 withCOMMENT
MEDIUMconfig/example-cartesian.cfg1# This file is an example config file for cartesian style printers.COMMENT
MEDIUMconfig/example-rotary-delta.cfg1# This file is an example config file for rotary delta style printers.COMMENT
MEDIUMconfig/printer-anycubic-kossel-2016.cfg1# This file contains a configuration for the Anycubic Kossel deltaCOMMENT
MEDIUMconfig/printer-creality-cr10s-2017.cfg1# This file contains pin mappings for the 2017 Creality CR-10S. To useCOMMENT
MEDIUMconfig/printer-biqu-bx-2021.cfg1# This file contains common pin mappings for the BigTreeTech SKR SE BX.COMMENT
MEDIUMconfig/printer-anet-e16-2019.cfg1# This file contains common pin mappings for Anet E16 printer fromCOMMENT
MEDIUMconfig/generic-bigtreetech-skr-mini.cfg1# This file contains common pin mappings for the BIGTREETECH SKRCOMMENT
MEDIUMconfig/generic-replicape.cfg1# This file contains an example configuration for the Replicape rev B3COMMENT
MEDIUMconfig/printer-creality-ender3-s1plus-2022.cfg1# This file contains pin mappings for the stock 2022 Creality Ender 3COMMENT
MEDIUMconfig/printer-eryone-thinker-series-v2-2020.cfg1# This file contains pin mappings for the Eryone Thinker Series V2.COMMENT
MEDIUMconfig/printer-creality-ender5plus-2019.cfg1# This file contains pin mappings for the Creality Ender 5 Plus.COMMENT
MEDIUMconfig/generic-creality-v4.2.10.cfg1# This file contains pin mappings for the Creality "v4.2.10" board. ToCOMMENT
MEDIUMconfig/generic-mellow-fly-e3-v2.cfg1# This file contains common pin mappings for the Mellow Fly-E3-v2.COMMENT
MEDIUMconfig/example-polar.cfg1# This file is an example config file for polar style printers. OneCOMMENT
MEDIUMconfig/printer-creality-ender3-v2-neo-2022.cfg1# This file contains pin mappings for the stock 2022 Creality Ender 3COMMENT
MEDIUMconfig/generic-bigtreetech-skr-mini-mz.cfg1# This file contains common pin mappings for the BIGTREETECH SKR miniCOMMENT
MEDIUMconfig/printer-creality-ender3-s1-2021.cfg1# This file contains pin mappings for the stock 2021 Creality Ender 3COMMENT
MEDIUMconfig/printer-anet-a4-2018.cfg1# This file contains common pin mappings for Anet A4 printer fromCOMMENT
MEDIUMconfig/printer-tronxy-p802e-2020.cfg1# This file contains common pin mappings for Tronxy P802E printer. ToCOMMENT
MEDIUMconfig/generic-bigtreetech-skr-cr6-v1.0.cfg1# This file contains common pin mappings for the BIGTREETECH SKR CR6COMMENT
MEDIUMconfig/generic-bigtreetech-skr-e3-turbo.cfg1# This file contains common pin mappings for the BIGTREETECH SKR E3COMMENT
MEDIUMconfig/example-generic-caretesian.cfg1# This file is an example config file for cartesian style printers.COMMENT
MEDIUMconfig/printer-creality-ender2pro-2021.cfg1# This file contains pin mappings for the stock 2021 CrealityCOMMENT
MEDIUMconfig/sample-huvud-v0.61.cfg1# This file contains common pin mappings for the Huvud V0.61 by Bondus.COMMENT
MEDIUMconfig/generic-rumba.cfg1# This file contains common pin mappings for RUMBA boards. To useCOMMENT
MEDIUMconfig/printer-artillery-sidewinder-x2-2022.cfg1# This file contains pin mappings for the Artillery Sidewinder X2 (2022)COMMENT
MEDIUMconfig/generic-einsy-rambo.cfg1# This file contains common pin mappings for Einsy Rambo boards. To useCOMMENT
MEDIUMconfig/generic-fysetc-spider.cfg1# This file contains common pin mappings for the Fysetc Spider board.COMMENT
MEDIUMconfig/generic-duet2-maestro.cfg1# This file contains common pin mappings for the Duet2 Maestro. To useCOMMENT
MEDIUMconfig/printer-creality-cr10s-pro-v2-2020.cfg1# This file contains pin mappings for the Creality CR-10S Pro V2. To useCOMMENT
MEDIUMconfig/generic-alligator-r3.cfg1# This file contains common pin mappings for Alligator (Rev.3) board.COMMENT
MEDIUMconfig/generic-alligator-r2.cfg1# This file contains common pin mappings for Alligator (Rev.2) board.COMMENT
MEDIUMconfig/printer-eryone-er20-2021.cfg1# This file contains common pin mappings for the Eryone ER-20 boardCOMMENT
MEDIUMconfig/printer-twotrees-sapphire-pro-sp-3-2020.cfg1# This file contains common pin mappings for the Two Trees SapphireCOMMENT
MEDIUMconfig/generic-fysetc-cheetah-v2.0.cfg1# This file contains common pin mappings for the Fysetc Cheetah V2.0COMMENT
MEDIUMconfig/sample-corexyuv.cfg1# This file contains a configuration snippet for a CoreXYUVCOMMENT
MEDIUMconfig/sample-bigtreetech-ebb-sb-canbus-v1.0.cfg1# This file contains common pin mappings for the BIGTREETECH EBBCanCOMMENT
MEDIUMconfig/printer-elegoo-neptune3-pro-2023.cfg1# This file contains pin mappings for the stock Elegoo Neptune 3 Pro (ZNP Robin Nano_DW V2.2)COMMENT
MEDIUMconfig/printer-tronxy-x5s-2018.cfg1# This file contains pin mappings for the Tronxy X5S (circa 2017). ToCOMMENT
MEDIUMconfig/printer-creality-ender6-2020.cfg1# This file contains pin mappings for the stock 2020 Creality Ender 6.COMMENT
MEDIUMconfig/printer-creality-cr6se-2021.cfg1# This file contains pin mappings for the Creality CR6-SECOMMENT
MEDIUMconfig/generic-fysetc-s6-v2.cfg1# This file contains common pin mappings for the Fysetc S6 v2 board. To useCOMMENT
MEDIUMconfig/printer-creality-ender2-2017.cfg1# This file contains common pin mappings for the 2017 CrealityCOMMENT
MEDIUMconfig/example-hybrid-corexz.cfg1# This file is an example config file for hybrid corexz style printers alsoCOMMENT
MEDIUMconfig/printer-creality-cr6se-2020.cfg1# This file contains pin mappings for the stock 2020 Creality CR6-SECOMMENT
MEDIUMconfig/printer-flashforge-creator-pro-2018.cfg1# This file contains common pin mappings for the FlashForge-Creator-ProCOMMENT
MEDIUMconfig/printer-alfawise-u30-2018.cfg1# This file contains common pin mappings for the Alfawise U30 printer.COMMENT
MEDIUMconfig/generic-th3d-ezboard-v2.0.cfg1# This file contains common pin mappings for the TH3D EZBoard v2.COMMENT
MEDIUMconfig/generic-archim2.cfg1# This file contains common pin mappings for Ultimachine Archim2COMMENT
159 more matches not shown…
Cross-Language Confusion31 hits · 146 pts
SeverityFileLineSnippetContext
HIGHlib/kconfiglib/kconfiglib.py4136 example, 'default A && B if C || D' is represented asCODE
HIGHlib/kconfiglib/kconfiglib.py4136 example, 'default A && B if C || D' is represented asCODE
HIGHlib/kconfiglib/kconfiglib.py4145 example, 'select A if B && C' is represented as (A, (AND, B, C)). If noCODE
HIGHlib/kconfiglib/kconfiglib.py6155 split_expr( A && B , OR ) -> [A && B]CODE
HIGHlib/kconfiglib/kconfiglib.py6156 split_expr( A || B , OR ) -> [A, B]CODE
HIGHlib/kconfiglib/kconfiglib.py6157 split_expr( A || B , AND ) -> [A || B]CODE
HIGHlib/kconfiglib/kconfiglib.py6158 split_expr( A || B || (C && D) , OR ) -> [A, B, C && D]CODE
HIGHlib/kconfiglib/kconfiglib.py6158 split_expr( A || B || (C && D) , OR ) -> [A, B, C && D]CODE
HIGHlib/kconfiglib/kconfiglib.py6161 split_expr( A || (B && (C || D)) , OR ) -> [A, B && (C || D)]CODE
HIGHlib/kconfiglib/kconfiglib.py6165 split_expr( (A || B) || C , OR ) -> [A, B, C]CODE
HIGHlib/kconfiglib/kconfiglib.py6166 split_expr( A || (B || C) , OR ) -> [A, B, C]CODE
HIGHlib/kconfiglib/kconfiglib.py1554 /dev/null).CODE
HIGHlib/kconfiglib/kconfiglib.py1970 which has the value y, then eval_string("y && (FOO || BAR)") returnsCODE
HIGHlib/kconfiglib/kconfiglib.py1979 the C implementation. m is rewritten to 'm && MODULES', soCODE
HIGHlib/kconfiglib/kconfiglib.py4026 (A, !A, A && B, A || B).CODE
HIGHlib/kconfiglib/kconfiglib.py4026 (A, !A, A && B, A || B).CODE
HIGHlib/kconfiglib/kconfiglib.py4123 If the symbol is undefined, the location is given as "(undefined)".CODE
HIGHlib/kconfiglib/kconfiglib.py4162 Gotcha: 1 and 2 above will be represented as (undefined) Symbols ratherCODE
HIGHlib/kconfiglib/kconfiglib.py5127 example, 'default A if B && C' is represented as (A, (AND, B, C)). IfCODE
HIGHlib/kconfiglib/kconfiglib.py188 tristate "foo" if A && B && C && DSTRING
HIGHlib/kconfiglib/kconfiglib.py189 default y if A && B && CSTRING
HIGHlib/kconfiglib/kconfiglib.py193In this example, A && B && C && D (the prompt condition) needs to be non-n forSTRING
HIGHlib/kconfiglib/kconfiglib.py306A && B (AND, A, B)STRING
HIGHlib/kconfiglib/kconfiglib.py307A && B && C (AND, A, (AND, B, C))STRING
HIGHlib/kconfiglib/kconfiglib.py308A || B (OR, A, B)STRING
HIGHlib/kconfiglib/kconfiglib.py309A || (B && C && D) (OR, A, (AND, B, (AND, C, D)))STRING
HIGHlib/kconfiglib/kconfiglib.py312A && B = C && D (AND, A, (AND, (EQUAL, B, C), D))STRING
HIGHlib/kconfiglib/kconfiglib.py329 - The value of A && B is min(A.tri_value, B.tri_value)STRING
HIGHlib/kconfiglib/kconfiglib.py331 - The value of A || B is max(A.tri_value, B.tri_value)STRING
HIGHlib/kconfiglib/kconfiglib.py338 For constant (as well as undefined) symbols, str_value matches the name ofSTRING
HIGHlib/kconfiglib/kconfiglib.py6438 return "(undefined)"STRING
Deep Nesting123 hits · 108 pts
SeverityFileLineSnippetContext
LOWklippy/stepper.py78CODE
LOWklippy/klippy.py238CODE
LOWklippy/klippy.py128CODE
LOWklippy/console.py210CODE
LOWklippy/toolhead.py135CODE
LOWklippy/toolhead.py269CODE
LOWklippy/pins.py96CODE
LOWklippy/mcu.py293CODE
LOWklippy/msgproto.py138CODE
LOWklippy/msgproto.py324CODE
LOWklippy/webhooks.py487CODE
LOWklippy/webhooks.py534CODE
LOWklippy/kinematics/idex_modes.py140CODE
LOWklippy/kinematics/idex_modes.py240CODE
LOWklippy/kinematics/idex_modes.py303CODE
LOWklippy/kinematics/generic_cartesian.py120CODE
LOWklippy/extras/palette2.py330CODE
LOWklippy/extras/palette2.py533CODE
LOWklippy/extras/exclude_object.py221CODE
LOWklippy/extras/tmc.py527CODE
LOWklippy/extras/board_pins.py8CODE
LOWklippy/extras/htu21d.py159CODE
LOWklippy/extras/shaper_defs.py170CODE
LOWklippy/extras/gcode_move.py134CODE
LOWklippy/extras/ads1x1x.py289CODE
LOWklippy/extras/skew_correction.py98CODE
LOWklippy/extras/skew_correction.py118CODE
LOWklippy/extras/resonance_tester.py311CODE
LOWklippy/extras/trigger_analog.py173CODE
LOWklippy/extras/bme280.py176CODE
LOWklippy/extras/verify_heater.py47CODE
LOWklippy/extras/shaper_calibrate.py250CODE
LOWklippy/extras/shaper_calibrate.py445CODE
LOWklippy/extras/buttons.py121CODE
LOWklippy/extras/temperature_probe.py559CODE
LOWklippy/extras/temperature_probe.py569CODE
LOWklippy/extras/virtual_sdcard.py74CODE
LOWklippy/extras/tsl1401cl_filament_width_sensor.py81CODE
LOWklippy/extras/motion_report.py232CODE
LOWklippy/extras/statistics.py24CODE
LOWklippy/extras/homing.py208CODE
LOWklippy/extras/hall_filament_width_sensor.py151CODE
LOWklippy/extras/bed_mesh.py417CODE
LOWklippy/extras/bed_mesh.py828CODE
LOWklippy/extras/bed_mesh.py887CODE
LOWklippy/extras/bed_mesh.py952CODE
LOWklippy/extras/bed_mesh.py1021CODE
LOWklippy/extras/bed_mesh.py1054CODE
LOWklippy/extras/bed_mesh.py1294CODE
LOWklippy/extras/bed_mesh.py1554CODE
LOWklippy/extras/bed_mesh.py1584CODE
LOWklippy/extras/bed_mesh.py1628CODE
LOWklippy/extras/probe_eddy_current.py402CODE
LOWklippy/extras/motion_queuing.py193CODE
LOWklippy/extras/display/menu.py129CODE
LOWklippy/extras/display/menu.py601CODE
LOWklippy/extras/display/menu.py880CODE
LOWklippy/extras/display/menu.py926CODE
LOWklippy/extras/display/menu.py1028CODE
LOWdocs/_klipper3d/mkdocs_hooks.py17CODE
63 more matches not shown…
Excessive Try-Catch Wrapping74 hits · 81 pts
SeverityFileLineSnippetContext
LOWklippy/klippy.py154 except Exception as e:STRING
LOWklippy/klippy.py166 except Exception as e:STRING
MEDIUMklippy/klippy.py128def _connect(self, eventtime):CODE
LOWklippy/queuelogger.py20 except Exception:CODE
MEDIUMklippy/queuelogger.py13def emit(self, record):CODE
LOWklippy/msgproto.py433 except Exception as e:CODE
MEDIUMklippy/msgproto.py413def process_identify(self, data, decompress=True):CODE
LOWklippy/webhooks.py258 except Exception:CODE
LOWklippy/webhooks.py271 except Exception as e:CODE
MEDIUMklippy/webhooks.py141def _handle_accept(self, eventtime):CODE
LOWklippy/extras/gcode_macro.py61 except Exception as e:CODE
LOWklippy/extras/gcode_macro.py71 except Exception as e:CODE
MEDIUMklippy/extras/gcode_macro.py34def __contains__(self, val):CODE
LOWklippy/extras/htu21d.py221 except Exception:CODE
MEDIUMklippy/extras/htu21d.py159def _sample_htu21d(self, eventtime):CODE
LOWklippy/extras/aht10.py121 except Exception as e:CODE
LOWklippy/extras/ads1x1x.py249 except Exception:CODE
LOWklippy/extras/ads1x1x.py302 except Exception as e:CODE
MEDIUMklippy/extras/ads1x1x.py245def _handle_connect(self):CODE
LOWklippy/extras/heaters.py268 except Exception:CODE
LOWklippy/extras/skew_correction.py111 except Exception:CODE
LOWklippy/extras/temperature_host.py62 except Exception:CODE
LOWklippy/extras/bme280.py420 except Exception:CODE
LOWklippy/extras/bme280.py543 except Exception:CODE
LOWklippy/extras/bme280.py587 except Exception:CODE
LOWklippy/extras/bme280.py600 except Exception:CODE
LOWklippy/extras/aio_executor.py48 except Exception as e:CODE
LOWklippy/extras/output_pin.py151 except Exception as e:CODE
LOWklippy/extras/filament_switch_sensor.py60 except Exception:CODE
MEDIUMklippy/extras/filament_switch_sensor.py57def _exec_gcode(self, prefix, template):CODE
LOWklippy/extras/sht3x.py143 except Exception:CODE
MEDIUMklippy/extras/sht3x.py106def _sample_sht3x(self, eventtime):CODE
LOWklippy/extras/delayed_gcode.py35 except Exception:CODE
LOWklippy/extras/shaper_calibrate.py375 except Exception as e:CODE
LOWklippy/extras/temperature_probe.py217 except Exception:CODE
LOWklippy/extras/temperature_probe.py229 except Exception:CODE
LOWklippy/extras/lm75.py72 except Exception:CODE
MEDIUMklippy/extras/lm75.py68def _sample_lm75(self, eventtime):CODE
LOWklippy/extras/display/display.py121 except Exception:CODE
LOWklippy/extras/display/menu.py658 except Exception:CODE
LOWklippy/extras/display/menu.py957 except Exception:CODE
LOWklippy/extras/display/menu.py1005 except Exception:CODE
MEDIUMklippy/extras/display/menu.py283def _index_of(self, item):CODE
LOWscripts/flash_usb.py85 except Exception:CODE
MEDIUMscripts/flash_usb.py13def enter_bootloader(device):CODE
LOWscripts/test_klippy.py124 except Exception:CODE
MEDIUMscripts/test_klippy.py119def run(self):CODE
LOWscripts/graph_shaper.py142 except Exception as e:CODE
MEDIUMscripts/graph_shaper.py137def plot_shaper(opts, shaper_name, shaper_freq, damping_ratio,CODE
LOWscripts/dump_mcu.py101 except Exception:CODE
LOWscripts/dump_mcu.py195 except Exception as e:CODE
MEDIUMscripts/spi_flash/spi_flash.py276def _fatfs_cb_initialize(self):CODE
LOWscripts/spi_flash/spi_flash.py279 except Exception:CODE
LOWscripts/spi_flash/spi_flash.py297 except Exception:CODE
LOWscripts/spi_flash/spi_flash.py319 except Exception:CODE
LOWscripts/spi_flash/spi_flash.py635 except Exception:CODE
LOWscripts/spi_flash/spi_flash.py986 except Exception:CODE
LOWscripts/spi_flash/spi_flash.py1250 except Exception:STRING
LOWscripts/spi_flash/spi_flash.py1286 except Exception as err:STRING
LOWscripts/spi_flash/spi_flash.py1436 except Exception:STRING
14 more matches not shown…
Decorative Section Separators22 hits · 78 pts
SeverityFileLineSnippetContext
MEDIUMconfig/printer-tronxy-crux1-2022.cfg4# =======================COMMENT
MEDIUMconfig/printer-tronxy-crux1-2022.cfg6# =======================COMMENT
MEDIUMconfig/sample-glyphs.cfg7# ===============================COMMENT
MEDIUMconfig/sample-glyphs.cfg9# ===============================COMMENT
MEDIUMconfig/sample-glyphs.cfg32# ===============================COMMENT
MEDIUMconfig/sample-glyphs.cfg34# ===============================COMMENT
MEDIUMconfig/sample-glyphs.cfg76# ===============================COMMENT
MEDIUMconfig/sample-glyphs.cfg78# ===============================COMMENT
MEDIUMconfig/sample-glyphs.cfg139# ===============================COMMENT
MEDIUMconfig/sample-glyphs.cfg141# ===============================COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg6#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg7#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg8#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg10#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg11#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg12#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg29#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg31#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg209#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-taz6-dual-v3-2017.cfg211#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-mini1-2016.cfg6#-------------------------------------------------------------------------------------------------COMMENT
MEDIUMconfig/printer-lulzbot-mini1-2016.cfg10#-------------------------------------------------------------------------------------------------COMMENT
Hyper-Verbose Identifiers78 hits · 75 pts
SeverityFileLineSnippetContext
LOWklippy/stepper.py70 def setup_default_pulse_duration(self, pulse_duration, step_both_edge):CODE
LOWklippy/stepper.py183 def mcu_to_commanded_position(self, mcu_pos):CODE
LOWklippy/toolhead.py60 def limit_next_junction_speed(self, speed):CODE
LOWklippy/toolhead.py391 def limit_next_junction_speed(self, speed):CODE
LOWklippy/toolhead.py526 def register_lookahead_callback(self, callback):CODE
LOWklippy/configfile.py223 def build_fileconfig_with_includes(self, data, filename):CODE
LOWklippy/configfile.py338 def _disallow_include_conflicts(self, regular_fileconfig):STRING
LOWklippy/serialhdl.py241 def get_default_command_queue(self):CODE
LOWklippy/mcu.py631 def _old_handle_analog_in_state(self, params):CODE
LOWklippy/mcu.py690 def check_restart_on_crc_mismatch(self):CODE
LOWklippy/mcu.py692 def check_restart_on_send_config(self):CODE
LOWklippy/mcu.py1133 def register_post_init_callback(self, cb):CODE
LOWklippy/mcu.py1162 def dummy_estimated_print_time(eventtime):CODE
LOWklippy/mathutil.py53def background_coordinate_descent(printer, adj_params, params, error_func):CODE
LOWklippy/webhooks.py564def add_early_printer_objects(printer):CODE
LOWklippy/gcode.py40 def get_raw_command_parameters(self):CODE
LOWklippy/gcode.py488def add_early_printer_objects(printer):CODE
LOWklippy/kinematics/idex_modes.py303 def restore_dual_carriage_state(self, saved_state, move, move_speed=0.):CODE
LOWklippy/kinematics/generic_cartesian.py213 def _check_carriages_references(self, report_error):CODE
LOWklippy/kinematics/rotary_delta.py152 def coordinate_descent_params(self, is_extended):CODE
LOWklippy/kinematics/delta.py184 def coordinate_descent_params(self, is_extended):CODE
LOWklippy/extras/gcode_macro.py99 def _action_call_remote_method(self, method, **kwargs):CODE
LOWklippy/extras/exclude_object.py155 def _move_into_excluded_region(self, newpos, speed):CODE
LOWklippy/extras/exclude_object.py159 def _move_from_excluded_region(self, newpos, speed):CODE
LOWklippy/extras/shaper_defs.py105def _get_shaper_from_expansion_coeffs(shaper_freq, damping_ratio, t, a):CODE
LOWklippy/extras/input_shaper.py138 def _get_input_shaper_stepper_kinematics(self, stepper):CODE
LOWklippy/extras/gcode_move.py75 def _handle_activate_extruder(self):CODE
LOWklippy/extras/gcode_move.py100 def _get_gcode_speed_override(self):CODE
LOWklippy/extras/servo.py61 def _get_pwm_from_pulse_width(self, width):CODE
LOWklippy/extras/ads1x1x.py280 def handle_report_time_update(self):CODE
LOWklippy/extras/axis_twist_compensation.py54 def _update_z_compensation_value(self, poslist):CODE
LOWklippy/extras/axis_twist_compensation.py76 def _get_interpolated_z_compensation(CODE
LOWklippy/extras/axis_twist_compensation.py289 def _manual_probe_callback_factory(self, probe_points,STRING
LOWklippy/extras/resonance_tester.py394 def _get_max_calibration_freq(self):CODE
LOWklippy/extras/pwm_tool.py119 def _gen_intermediate_updates(self, clock):CODE
LOWklippy/extras/delta_calibrate.py35def measurements_to_distances(measured_params, delta_params):CODE
LOWklippy/extras/bme280.py698 def _calc_gas_heater_resistance(self, target_temp):CODE
LOWklippy/extras/bme280.py713 def _calc_gas_heater_duration(self, duration_ms):CODE
LOWklippy/extras/load_cell.py164 def verify_no_active_calibration(self,):CODE
LOWklippy/extras/load_cell.py510 def get_reference_tare_counts(self):CODE
LOWklippy/extras/temperature_combined.py146 def _temperature_update_event(self, eventtime):CODE
LOWklippy/extras/print_stats.py20 def _handle_activate_extruder(self):CODE
LOWklippy/extras/shaper_calibrate.py195 def process_accelerometer_data(self, name, data):CODE
LOWklippy/extras/shaper_calibrate.py218 def _estimate_remaining_vibrations(self, shaper, test_damping_ratio,CODE
LOWklippy/extras/bus.py117 def spi_transfer_with_preface(self, preface_data, data,CODE
LOWklippy/extras/buttons.py299 def register_debounce_adc_button(self, pin, min_val, max_val, pullupCODE
LOWklippy/extras/temperature_probe.py547 def note_z_calibration_finish(self):CODE
LOWklippy/extras/tsl1401cl_filament_width_sensor.py81 def extrude_factor_update_event(self, eventtime):CODE
LOWklippy/extras/hall_filament_width_sensor.py151 def extrude_factor_update_event(self, eventtime):CODE
LOWklippy/extras/bed_mesh.py1667 def _check_incompatible_profiles(self):CODE
LOWklippy/extras/probe_eddy_current.py23 def note_z_calibration_finish(self):CODE
LOWklippy/extras/probe_eddy_current.py51 def note_z_calibration_finish(self):CODE
LOWklippy/extras/probe_eddy_current.py53 def register_drift_compensation(self, comp):CODE
LOWklippy/extras/probe_eddy_current.py207 def validate_calibration_data(self, positions):CODE
LOWklippy/extras/probe_eddy_current.py343 def _analyze_main_calibration(self):CODE
LOWklippy/extras/probe_eddy_current.py355 def _describe_main_calibration(self, coeffs):CODE
LOWklippy/extras/probe_eddy_current.py1071 def register_drift_compensation(self, comp):CODE
LOWklippy/extras/motion_queuing.py117 def unregister_flush_callback(self, callback):CODE
LOWklippy/extras/motion_queuing.py125 def check_step_generation_scan_windows(self):CODE
LOWklippy/extras/motion_queuing.py256 def note_mcu_movequeue_activity(self, mq_time, is_step_gen=True):CODE
18 more matches not shown…
Structural Annotation Overuse35 hits · 59 pts
SeverityFileLineSnippetContext
LOWconfig/printer-fokoos-odin5-f3-2021.cfg18# WARNING: The printer's Z endstop inductive sensor is not very accurate, soCOMMENT
LOWscripts/install-ubuntu-18.04.sh9# Step 1: Install system packagesCOMMENT
LOWscripts/install-ubuntu-18.04.sh33# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-ubuntu-18.04.sh45# Step 3: Install startup scriptCOMMENT
LOWscripts/install-ubuntu-18.04.sh70# Step 4: Start host softwareCOMMENT
LOWscripts/install-ubuntu-22.04.sh9# Step 1: Install system packagesCOMMENT
LOWscripts/install-ubuntu-22.04.sh33# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-ubuntu-22.04.sh45# Step 3: Install startup scriptCOMMENT
LOWscripts/install-ubuntu-22.04.sh70# Step 4: Start host softwareCOMMENT
LOWscripts/install-octopi.sh7# Step 1: Install system packagesCOMMENT
LOWscripts/install-octopi.sh31# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-octopi.sh43# Step 3: Install startup scriptCOMMENT
LOWscripts/install-octopi.sh51# Step 4: Install startup script configCOMMENT
LOWscripts/install-octopi.sh70# Step 5: Start host softwareCOMMENT
LOWscripts/install-debian.sh10# Step 1: Install system packagesCOMMENT
LOWscripts/install-debian.sh34# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-debian.sh46# Step 3: Install startup scriptCOMMENT
LOWscripts/install-debian.sh73# Step 4: Start host softwareCOMMENT
LOWscripts/install-arch.sh10# Step 1: Install system packagesCOMMENT
LOWscripts/install-arch.sh32# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-arch.sh44# Step 3: Install startup scriptCOMMENT
LOWscripts/install-arch.sh70# Step 4: Start host softwareCOMMENT
LOWscripts/install-centos.sh8# Step 1: Install system packagesCOMMENT
LOWscripts/install-centos.sh28# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-centos.sh40# Step 3: Install startup scriptCOMMENT
LOWscripts/install-centos.sh69# Step 5: Start host softwareCOMMENT
LOWscripts/install-beaglebone.sh5# Step 1: Do main installCOMMENT
LOWscripts/install-beaglebone.sh13# Step 2: Install additional system packagesCOMMENT
LOWscripts/install-beaglebone.sh29# Step 3: Install startup scriptCOMMENT
LOWscripts/install-beaglebone.sh37# Step 4: Install pru udev ruleCOMMENT
LOWscripts/install-beaglebone.sh47# Step 5: Add user to tty groupCOMMENT
LOWsrc/stm32/sdio.c176 // Step 1: Send command and argumentCOMMENT
LOWsrc/stm32/sdio.c183 // Step 2: Wait until responseCOMMENT
LOWsrc/stm32/sdio.c197 // Step 3: Store response_data and check for short and long responsesCOMMENT
LOWsrc/stm32/sdio.c238 // Step 4: For a short response check the response cmd field, too.COMMENT
Verbosity Indicators34 hits · 58 pts
SeverityFileLineSnippetContext
LOWscripts/install-ubuntu-18.04.sh9# Step 1: Install system packagesCOMMENT
LOWscripts/install-ubuntu-18.04.sh33# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-ubuntu-18.04.sh45# Step 3: Install startup scriptCOMMENT
LOWscripts/install-ubuntu-18.04.sh70# Step 4: Start host softwareCOMMENT
LOWscripts/install-ubuntu-22.04.sh9# Step 1: Install system packagesCOMMENT
LOWscripts/install-ubuntu-22.04.sh33# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-ubuntu-22.04.sh45# Step 3: Install startup scriptCOMMENT
LOWscripts/install-ubuntu-22.04.sh70# Step 4: Start host softwareCOMMENT
LOWscripts/install-octopi.sh7# Step 1: Install system packagesCOMMENT
LOWscripts/install-octopi.sh31# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-octopi.sh43# Step 3: Install startup scriptCOMMENT
LOWscripts/install-octopi.sh51# Step 4: Install startup script configCOMMENT
LOWscripts/install-octopi.sh70# Step 5: Start host softwareCOMMENT
LOWscripts/install-debian.sh10# Step 1: Install system packagesCOMMENT
LOWscripts/install-debian.sh34# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-debian.sh46# Step 3: Install startup scriptCOMMENT
LOWscripts/install-debian.sh73# Step 4: Start host softwareCOMMENT
LOWscripts/install-arch.sh10# Step 1: Install system packagesCOMMENT
LOWscripts/install-arch.sh32# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-arch.sh44# Step 3: Install startup scriptCOMMENT
LOWscripts/install-arch.sh70# Step 4: Start host softwareCOMMENT
LOWscripts/install-centos.sh8# Step 1: Install system packagesCOMMENT
LOWscripts/install-centos.sh28# Step 2: Create python virtual environmentCOMMENT
LOWscripts/install-centos.sh40# Step 3: Install startup scriptCOMMENT
LOWscripts/install-centos.sh69# Step 5: Start host softwareCOMMENT
LOWscripts/install-beaglebone.sh5# Step 1: Do main installCOMMENT
LOWscripts/install-beaglebone.sh13# Step 2: Install additional system packagesCOMMENT
LOWscripts/install-beaglebone.sh29# Step 3: Install startup scriptCOMMENT
LOWscripts/install-beaglebone.sh37# Step 4: Install pru udev ruleCOMMENT
LOWscripts/install-beaglebone.sh47# Step 5: Add user to tty groupCOMMENT
LOWsrc/stm32/sdio.c176 // Step 1: Send command and argumentCOMMENT
LOWsrc/stm32/sdio.c183 // Step 2: Wait until responseCOMMENT
LOWsrc/stm32/sdio.c197 // Step 3: Store response_data and check for short and long responsesCOMMENT
LOWsrc/stm32/sdio.c238 // Step 4: For a short response check the response cmd field, too.COMMENT
Unused Imports54 hits · 54 pts
SeverityFileLineSnippetContext
LOWklippy/stepper.py6CODE
LOWklippy/util.py7CODE
LOWklippy/mcu.py6CODE
LOWklippy/kinematics/polar.py6CODE
LOWklippy/kinematics/idex_modes.py7CODE
LOWklippy/kinematics/hybrid_corexz.py6CODE
LOWklippy/kinematics/corexy.py6CODE
LOWklippy/kinematics/corexy.py6CODE
LOWklippy/kinematics/generic_cartesian.py7CODE
LOWklippy/kinematics/generic_cartesian.py7CODE
LOWklippy/kinematics/generic_cartesian.py7CODE
LOWklippy/kinematics/cartesian.py6CODE
LOWklippy/kinematics/corexz.py6CODE
LOWklippy/kinematics/corexz.py6CODE
LOWklippy/kinematics/kinematic_stepper.py7CODE
LOWklippy/kinematics/hybrid_corexy.py6CODE
LOWklippy/extras/palette2.py8CODE
LOWklippy/extras/shaper_defs.py6CODE
LOWklippy/extras/pca9533.py6CODE
LOWklippy/extras/load_cell_probe.py6CODE
LOWklippy/extras/load_cell_probe.py7CODE
LOWklippy/extras/resonance_tester.py6CODE
LOWklippy/extras/delta_calibrate.py6CODE
LOWklippy/extras/homing_heaters.py7CODE
LOWklippy/extras/load_cell.py11CODE
LOWklippy/extras/extruder_stepper.py6CODE
LOWklippy/extras/tmc2240.py7CODE
LOWklippy/extras/tmc2240.py8CODE
LOWklippy/extras/shaper_calibrate.py6CODE
LOWklippy/extras/buttons.py6CODE
LOWklippy/extras/tmc2130.py6CODE
LOWklippy/extras/smart_effector.py7CODE
LOWklippy/extras/manual_stepper.py6CODE
LOWklippy/extras/tmc2208.py6CODE
LOWklippy/extras/tmc_uart.py6CODE
LOWklippy/extras/manual_probe.py6CODE
LOWklippy/extras/tmc5160.py6CODE
LOWklippy/extras/tmc5160.py7CODE
LOWklippy/extras/probe_eddy_current.py6CODE
LOWklippy/extras/filament_motion_sensor.py6CODE
LOWklippy/extras/tuning_tower.py6CODE
LOWklippy/extras/tmc2660.py7CODE
LOWklippy/extras/display/st7920.py6CODE
LOWklippy/extras/display/hd44780_spi.py8CODE
LOWklippy/extras/display/hd44780.py7CODE
LOWklippy/extras/display/uc1701.py7CODE
LOWscripts/calibrate_shaper.py8CODE
LOWscripts/flash_usb.py92CODE
LOWscripts/graph_extruder.py7CODE
LOWscripts/graph_motion.py8CODE
LOWscripts/make_version.py8CODE
LOWscripts/canbus_query.py7CODE
LOWlib/kconfiglib/menuconfig.py186CODE
LOWlib/katapult/flashtool.py7CODE
Redundant / Tautological Comments37 hits · 46 pts
SeverityFileLineSnippetContext
LOWklippy/stepper.py82 # Check if can enable "step on both edges"COMMENT
LOWklippy/toolhead.py192 # Check if enough moves have been queued to reach the target flush time.COMMENT
LOWklippy/toolhead.py361 # Check if there are lots of queued moves and pause if soCOMMENT
LOWklippy/clocksync.py71 # Check if this is the best round-trip-time seen so farCOMMENT
LOWklippy/chelper/__init__.py260# Check if the code needs to be compiledSTRING
LOWklippy/chelper/__init__.py266# Check if the current gcc version supports a particular command-line optionSTRING
LOWklippy/chelper/__init__.py273# Check if the current gcc version supports a particular command-line optionSTRING
LOWklippy/chelper/__init__.py315 # Check if library needs to be built, and build if soSTRING
LOWklippy/kinematics/polar.py19 # Check if the projected point lies on the bounded line segmentCOMMENT
LOWklippy/extras/tmc.py489 # Check if using step on both edges optimizationCOMMENT
LOWklippy/extras/gcode_move.py164 # Set units to inchesCOMMENT
LOWklippy/extras/gcode_move.py167 # Set units to millimetersCOMMENT
LOWklippy/extras/aht10.py86 # Check if we're constantly busy. If so, send soft-resetCOMMENT
LOWklippy/extras/angle.py532 # Set histeresis to 0.003 degreeCOMMENT
LOWklippy/extras/replicape.py231 # Check if need to set the pca9685 enable pinCOMMENT
LOWklippy/extras/replicape.py240 # Check if need to set the stepper enable linesCOMMENT
LOWklippy/extras/idle_timeout.py80 # Check if need to transition to "ready" stateSTRING
LOWklippy/extras/endstop_phase.py145 # Check if stepper has an endstop_phase config section definedCOMMENT
LOWklippy/extras/pid_calibrate.py79 # Check if the temperature has crossed the target andCOMMENT
LOWklippy/extras/pid_calibrate.py89 # Check if this temperature is a peak and record it if soCOMMENT
LOWklippy/extras/sx1509.py112 # Set direction to outputCOMMENT
LOWklippy/extras/manual_stepper.py186 # Check if need to limit maximum velocity and accelerationCOMMENT
LOWklippy/extras/safe_z_home.py35 # Check if Z axis is homed and its last known positionCOMMENT
LOWklippy/extras/save_variables.py50 # Write fileCOMMENT
LOWklippy/extras/homing.py287 # Check if this is actually a Z home via probe requestCOMMENT
LOWklippy/extras/display/uc1701.py177 0x40, # Set display to start at line 0CODE
LOWconfig/printer-biqu-bx-2021.cfg280 # Set LED to Purple for bed heatingCOMMENT
LOWconfig/printer-biqu-bx-2021.cfg297 # Set LED to Red for nozzle heatingCOMMENT
LOWconfig/printer-biqu-bx-2021.cfg304 # Set LED to white for printingCOMMENT
LOWconfig/printer-biqu-bx-2021.cfg317 G90 # Set back to Absolute modeCODE
LOWconfig/printer-velleman-k8200-2013.cfg39# Set position_max to 200 if you have the original Z-axis setup.COMMENT
LOWscripts/check-software-div.sh2# Check if a binary appears to have a software library divide operatorCOMMENT
LOWscripts/buildcommands.py520 # Check if this tool looks like a binutils programSTRING
LOWscripts/spi_flash/spi_flash.py955 # Check if bits 15:13 have some error setCOMMENT
LOWlib/kconfiglib/kconfiglib.py4326 # Check if a range is in effectSTRING
LOWlib/kconfiglib/kconfiglib.py4617 # Check if the value is valid for our typeSTRING
LOWlib/kconfiglib/kconfiglib.py5446 # Check if we have a defaultSTRING
Slop Phrases7 hits · 16 pts
SeverityFileLineSnippetContext
LOWconfig/printer-eryone-er20-2021.cfg131# Please make sure you set the correct values for your offsets.COMMENT
MEDIUMconfig/printer-longer-lk4-pro-2019.cfg61# you can use this follow values for x & y offsetCOMMENT
MEDIUMconfig/printer-geeetech-A10T-A20T-2021.cfg216# - you can add as many extruders as mixing ratios you wantCOMMENT
MEDIUMconfig/printer-geeetech-A10T-A20T-2021.cfg244# you can add as many filaments as mixing ratios you wantCOMMENT
LOWconfig/printer-fokoos-odin5-f3-2021.cfg140# 3-wire connector (make sure you connect it the right way round) and the Z+COMMENT
MEDIUMconfig/printer-fokoos-odin5-f3-2021.cfg159# Optional bed mesh configuration you can use if you have a BLtouch installed.COMMENT
LOWconfig/printer-monoprice-select-mini-v2-2018.cfg15# Also make sure to use the following string in the low-level configurationCOMMENT
AI Slop Vocabulary9 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMklippy/toolhead.py118# Class to track a list of pending move requests and to facilitateCOMMENT
LOWklippy/extras/probe_eddy_current.py519 # In debugging mode - just create dummy responseCOMMENT
LOWconfig/generic-prusa-buddy.cfg17# installed, you no longer need the jumper - just use "make flash" which willCOMMENT
LOWconfig/printer-prusa-mini-plus-2020.cfg18# installed, you no longer need the jumper - just use "make flash" which willCOMMENT
LOWlib/kconfiglib/kconfiglib.py3451 # EQUAL, UNEQUAL, etc., so we can just use the token directlySTRING
LOWlib/kconfiglib/kconfiglib.py6587 # to _check_dep_loop_sym(). We just return immediately.STRING
LOWlib/kconfiglib/menuconfig.py2370 # information dialog just return, to avoid a confusing recursive invocationSTRING
LOWlib/kconfiglib/menuconfig.py3014 # just use whatever prompt we can find for itSTRING
MEDIUMlib/pico-sdk/rp2350/hardware/regs/rp_ap.h650// manager and the switched-core. Essentially that is everythjingCOMMENT
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWklippy/extras/htu21d.py243CODE
LOWklippy/extras/shaper_calibrate.py359CODE
LOWdocs/_klipper3d/mkdocs_hooks.py42CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMklippy/extras/load_cell.py26# Helper for event driven webhooks and subscription based API clientsCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWklippy/extras/buttons.py305 def helper(eventtime, state, callback=callback):CODE
LOWklippy/extras/buttons.py339 def helper(eventtime, state, callback=callback):CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/checkstack.py9# Usage:COMMENT