AI Slop Code Risk Monitor

commaai/openpilot

SlopCodeMonitor badge for commaai/openpilot Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 300+ supported cars.

15.0 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for commaai/openpilot, a Python project with 64,030 GitHub stars. SynthScan examined 93,900 lines of code across 775 source files, recording 941 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 15.0 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

15.0
Adjusted Signal
15.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
64.0K
Stars
Python
Language
93.9K
Lines of Code
775
Files
941
Pattern Hits
2026-10-31
Scan Date
0.11
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 26.4/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 541 finding(s).

Hallucinated Dependency & Supply Chain Risk 3.2/100 · LOW

Are imports declared and package/API names verified? 37 finding(s).

Agent Over-Engineering Ratio 41.6/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 599 finding(s).

PR Review Velocity Impact 54.8/100 · HIGH

Which changes need focused human review? 941 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 1HIGH 88MEDIUM 51LOW 801

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 941 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Empty Error Handlers84 hits · 420 pts
SeverityFileLineSnippetContext
HIGHtools/scripts/live_cpu_and_temp.py87except IndexError:CODE
HIGHtools/scripts/car/can_print_changes.py63except KeyboardInterrupt:CODE
HIGHdocs/serve.py542except KeyboardInterrupt:CODE
HIGHopenpilot/tools/clip/run.py225except UnknownKeyName:CODE
HIGHopenpilot/tools/jotpluggler/math_eval.py45except SyntaxError:CODE
HIGHopenpilot/tools/lib/auth.py67except ConnectionError:CODE
HIGHopenpilot/tools/lib/logreader.py128except capnp.lib.capnp.KjException:CODE
HIGHopenpilot/tools/lib/url_file.py45except OSError:CODE
HIGHopenpilot/tools/lib/file_downloader.py96except OSError:CODE
HIGHopenpilot/tools/lib/file_downloader.py298except OSError:CODE
HIGHopenpilot/tools/lib/file_downloader.py275except OSError:CODE
HIGHopenpilot/tools/lib/filereader.py27except (socket.gaierror, ConnectionRefusedError):CODE
HIGHopenpilot/tools/replay/can_replay.py50except usb1.USBErrorTimeout:CODE
HIGHopenpilot/selfdrive/ui/ui.py37except OSError:CODE
HIGH…enpilot/selfdrive/ui/mici/layouts/settings/firehose.py65except Exception:CODE
HIGHopenpilot/selfdrive/ui/lib/prime_state.py57except (ValueError, TypeError):CODE
HIGHopenpilot/selfdrive/car/card.py127except Exception:CODE
HIGHopenpilot/selfdrive/test/mem_usage.py41except AttributeError:CODE
HIGHopenpilot/selfdrive/test/process_replay/capture.py49except ImportError:CODE
HIGHopenpilot/selfdrive/navigation/tiles.py90except FileNotFoundError:CODE
HIGHopenpilot/selfdrive/modeld/helpers.py29except Exception:CODE
HIGHopenpilot/system/logmessaged.py63except ValueError:CODE
HIGHopenpilot/system/tombstoned.py129except PermissionError:CODE
HIGHopenpilot/system/tombstoned.py34except Exception:CODE
HIGHopenpilot/system/tombstoned.py150except Exception:CODE
HIGHopenpilot/system/tombstoned.py86except ValueError:CODE
HIGHopenpilot/system/proclogd.py184except OSError:CODE
HIGHopenpilot/system/proclogd.py189except OSError:CODE
HIGHopenpilot/system/ubloxd/pigeond.py184except TimeoutError:CODE
HIGHopenpilot/system/ui/mici_updater.py139except ValueError:CODE
HIGHopenpilot/system/ui/tici_updater.py88except ValueError:CODE
HIGHopenpilot/system/ui/lib/egl.py172except OSError:CODE
HIGHopenpilot/system/ui/lib/application.py697except KeyboardInterrupt:CODE
HIGHopenpilot/system/hardware/hardwared.py293except queue.Empty:CODE
HIGHopenpilot/system/hardware/hardwared.py405except Exception:CODE
HIGHopenpilot/system/hardware/hardwared.py191except queue.Full:CODE
HIGHopenpilot/system/hardware/chestnut/monitoring.py39except usb1.USBError:CODE
HIGHopenpilot/system/hardware/chestnut/flash.py409except OSError:CODE
HIGHopenpilot/system/hardware/chestnut/flash.py69except OSError:CODE
HIGHopenpilot/system/sensord/sensord.py133except KeyboardInterrupt:CODE
HIGHopenpilot/system/sensord/sensord.py73except Sensor.DataNotReady:CODE
HIGHopenpilot/system/manager/build.py41except Exception:CODE
HIGHopenpilot/system/manager/process.py202except (OSError, FileNotFoundError):CODE
HIGHopenpilot/system/manager/helpers.py39except (OSError, UnicodeDecodeError):CODE
HIGHopenpilot/system/manager/manager.py52except FileExistsError:CODE
HIGHopenpilot/system/manager/manager.py164except Exception:CODE
HIGHopenpilot/system/manager/manager.py220except Exception:CODE
HIGHopenpilot/system/loggerd/tests/test_uploader.py34except Exception:CODE
HIGHopenpilot/system/webrtc/webrtcd.py515except Exception:CODE
HIGHopenpilot/system/webrtc/webrtcd.py351except Exception:CODE
HIGHopenpilot/system/webrtc/webrtcd.py451except Exception:CODE
HIGHopenpilot/system/camerad/webcam/camera.py8except ValueError: # allow strings, ex: /dev/video0CODE
HIGHopenpilot/system/updated/updated.py91except FileNotFoundError:CODE
HIGHopenpilot/system/qcomgpsd/qcomgpsd.py177except Exception:CODE
HIGHopenpilot/system/athena/athenad.py229except queue.Empty:CODE
HIGHopenpilot/system/athena/athenad.py322except queue.Empty:CODE
HIGHopenpilot/system/athena/athenad.py840except (ValueError, TypeError):CODE
HIGHopenpilot/system/athena/athenad.py915except WebSocketTimeoutException:CODE
HIGHopenpilot/system/athena/athenad.py986except queue.Empty:CODE
HIGHopenpilot/system/athena/athenad.py874except OSError:CODE
24 more matches not shown…
Hyper-Verbose Identifiers230 hits · 238 pts
SeverityFileLineSnippetContext
LOWtools/scripts/filter_log_message.py37def print_operating_system_log(t, msg):CODE
LOW…ngitudinal_maneuvers/mpc_longitudinal_tuning_report.py28def generate_mpc_tuning_report():CODE
LOWopenpilot/tools/jotpluggler/map.h29class MapDataManager {CODE
LOWopenpilot/tools/jotpluggler/app.h484class MapDataManager;CODE
LOW…npilot/tools/jotpluggler/layouts/max-torque-debug.json1{"current_tab_index":0,"tabs":[{"name":"tab1","root":{"split":"vertical","sizes":[0.249724,0.250829,0.249724,0.249724],"CODE
LOW…pilot/tools/jotpluggler/layouts/torque-controller.json1{"current_tab_index":0,"tabs":[{"name":"Lateral Plan Conformance","root":{"split":"vertical","sizes":[0.250949,0.249051,CODE
LOWopenpilot/tools/jotpluggler/layouts/gps_vs_llk.json1{"current_tab_index":0,"tabs":[{"name":"tab1","root":{"split":"vertical","sizes":[0.333805,0.33239,0.333805],"children":CODE
LOWopenpilot/tools/jotpluggler/layouts/tuning.json1{"current_tab_index":0,"tabs":[{"name":"Lateral","root":{"split":"vertical","sizes":[0.200458,0.199313,0.200458,0.199313CODE
LOWopenpilot/tools/lib/comma_car_segments.py10def get_comma_car_segments_database():CODE
LOWopenpilot/tools/lib/route.py310def get_max_seg_number_cached(sr: 'SegmentRange') -> int:CODE
LOWopenpilot/tools/lib/file_sources.py39def comma_car_segments_source(sr: SegmentRange, seg_idxs: list[int], fns: FileNames, /) -> dict[int, str]:CODE
LOWopenpilot/tools/lib/filereader.py16def internal_source_available(url: str) -> bool:CODE
LOWopenpilot/tools/lib/tests/test_logreader.py245 def test_auto_source_scenarios(self, mocker, is_internal):CODE
LOWopenpilot/tools/lib/tests/test_caching.py15class CachingTestRequestHandler(http.server.BaseHTTPRequestHandler):CODE
LOWopenpilot/tools/lib/tests/test_caching.py121 def test_recover_from_missing_file(self, host, cache_enabled):CODE
LOWopenpilot/tools/lib/tests/test_route_library.py7 def test_segment_name_formats(self):CODE
LOWopenpilot/tools/replay/lib/ui_helpers.py200def maybe_update_radar_points(lt, lid_overlay):CODE
LOWopenpilot/tools/sim/lib/simulated_sensors.py79 def send_fake_driver_monitoring(self):CODE
LOW⚡openpilot/selfdrive/ui/ui_state.py121 def add_offroad_transition_callback(self, callback: Callable[[], None]):CODE
LOW⚡openpilot/selfdrive/ui/ui_state.py124 def add_engaged_transition_callback(self, callback: Callable[[], None]):CODE
LOW⚡openpilot/selfdrive/ui/ui_state.py127 def add_on_body_changed_callbacks(self, callback: Callable[[], None]):CODE
LOWopenpilot/selfdrive/ui/ui_state.py299 def set_override_interactive_timeout(self, timeout: int | None) -> None:CODE
LOWopenpilot/selfdrive/ui/ui_state.py312 def _reset_interactive_timeout(self) -> None:CODE
LOWopenpilot/selfdrive/ui/ui_state.py315 def add_interactive_timeout_callback(self, callback: Callable):CODE
LOWopenpilot/selfdrive/ui/soundd.py55def check_selfdrive_timeout_alert(sm):CODE
LOWopenpilot/selfdrive/ui/onroad/driver_state.py163 def _pre_calculate_drawing_elements(self):CODE
LOWopenpilot/selfdrive/ui/mici/onroad/cameraview.py323 def _update_texture_color_filtering(self):CODE
LOW…enpilot/selfdrive/ui/mici/layouts/settings/software.py251 def uninstall_openpilot_callback():CODE
LOW⚡…ive/ui/mici/layouts/settings/network/network_layout.py26 def tethering_toggle_callback(checked: bool):CODE
LOW⚡…ive/ui/mici/layouts/settings/network/network_layout.py35 def tethering_password_callback(password: str):CODE
LOW⚡…ive/ui/mici/layouts/settings/network/network_layout.py41 def tethering_password_clicked():CODE
LOW…drive/ui/mici/layouts/settings/device/device_layout.py65def _engaged_confirmation_click(callback: Callable, action_text: str, icon: rl.Texture, exit_on_confirm: bool = True, reCODE
LOW…drive/ui/mici/layouts/settings/device/device_layout.py160 def reset_calibration_callback():CODE
LOWopenpilot/selfdrive/ui/tests/test_translations.py52 def test_translation_file_exists(self, language_code: str):CODE
LOWopenpilot/selfdrive/ui/tests/test_translations.py57 def test_translation_placeholders_are_preserved(self, po_path: Path):CODE
LOWopenpilot/selfdrive/ui/tests/test_translations.py94 def test_translation_refs_do_not_include_line_numbers(self, po_path: Path):CODE
LOWopenpilot/selfdrive/ui/tests/test_translations.py101 def test_translation_entities_are_valid(self, po_path: Path):CODE
LOWopenpilot/selfdrive/ui/tests/test_soundd.py12 def test_check_selfdrive_timeout_alert(self, mocker):CODE
LOWopenpilot/selfdrive/ui/tests/diff/replay_script.py358 def setup_offroad_alerts_and_refresh() -> None:CODE
LOWopenpilot/selfdrive/ui/layouts/sidebar.py121 def _update_temperature_status(self, device_state):CODE
LOWopenpilot/selfdrive/ui/layouts/sidebar.py129 def _update_connection_status(self, device_state):CODE
LOWopenpilot/selfdrive/ui/layouts/main.py76 def _handle_onroad_transition(self):CODE
LOWopenpilot/selfdrive/ui/layouts/settings/device.py82 def handle_language_selection(result: DialogResult):CODE
LOWopenpilot/selfdrive/ui/layouts/settings/device.py93 def _reset_calibration_prompt(self):CODE
LOWopenpilot/selfdrive/ui/layouts/settings/device.py113 def _update_calib_description(self):CODE
LOWopenpilot/selfdrive/ui/layouts/settings/device.py190 def _on_review_training_guide(self):CODE
LOWopenpilot/selfdrive/ui/layouts/settings/toggles.py182 def _set_longitudinal_personality(self, button_index: int):CODE
LOWopenpilot/selfdrive/ui/layouts/settings/software.py169 def handle_uninstall_confirmation(result: DialogResult):CODE
LOWopenpilot/selfdrive/ui/lib/prime_state.py140 def set_prime_trial_available(self, prime_trail_available: bool):CODE
LOWopenpilot/selfdrive/ui/widgets/prime.py23 def _render_for_non_prime_users(self, rect: rl.Rectangle):CODE
LOWopenpilot/selfdrive/ui/widgets/setup.py24 def set_open_settings_callback(self, callback):CODE
LOWopenpilot/selfdrive/ui/widgets/offroad_alerts.py99 def excessive_actuation_callback():CODE
LOWopenpilot/selfdrive/ui/widgets/offroad_alerts.py155 def _render_scrollable_content(self):CODE
LOWopenpilot/selfdrive/car/tests/test_cruise_speed.py96 def test_resume_in_standstill(self):CODE
LOWopenpilot/selfdrive/test/test_onroad.py193 def test_manager_starting_time(self):CODE
LOWopenpilot/selfdrive/test/test_onroad.py314 def test_camera_frame_timings(self, subtests):CODE
LOWopenpilot/selfdrive/test/test_onroad.py377 def test_camera_encoder_matches(self, subtests):CODE
LOWopenpilot/selfdrive/test/test_onroad.py396 def test_model_execution_timings(self, subtests):CODE
LOWopenpilot/selfdrive/test/test_power_draw.py75 def get_power_with_warmup_for_target(self, proc, prev):CODE
LOW…npilot/selfdrive/test/process_replay/process_replay.py331def card_fingerprint_callback(rc, pm, msgs, fingerprint):CODE
170 more matches not shown…
Excessive Try-Catch Wrapping203 hits · 230 pts
SeverityFileLineSnippetContext
LOWtools/test_runner.py165 except Exception:CODE
LOWtools/test_runner.py222 except Exception:CODE
MEDIUMtools/scripts/setup_ssh_keys.py23 print("Error getting public keys from github")CODE
LOWtools/scripts/test_fw_query_on_routes.py150 except Exception:CODE
LOWtools/scripts/ssh.py47 except Exception as e:CODE
LOWtools/scripts/filter_log_message.py41 except Exception:CODE
MEDIUMtools/scripts/filter_log_message.py26def print_logmessage(t, msg, min_level):CODE
LOWtools/scripts/car/max_lat_accel.py93 except Exception:CODE
MEDIUMtools/scripts/car/vw_mqb_config.py69 print("Error fetching data from EPS")CODE
MEDIUMtools/scripts/car/vw_mqb_config.py113 print("Error fetching parameterization data from EPS!")CODE
LOWdocs/serve.py540 except Exception as e:CODE
LOWopenpilot/tools/clip/run.py189 except Exception as e:CODE
MEDIUMopenpilot/tools/clip/run.py183def _worker(self, camera_paths, start_time, end_time, fps, use_qcam, frame_size)CODE
LOWopenpilot/tools/jotpluggler/math_eval.py143 except Exception as err:CODE
LOWopenpilot/tools/plotjuggler/juggle.py122 except Exception:CODE
LOWopenpilot/tools/lib/auth.py142 except Exception:CODE
LOWopenpilot/tools/lib/logreader.py186 except Exception as e:CODE
LOWopenpilot/tools/lib/auth_config.py16 except Exception:CODE
MEDIUMopenpilot/tools/lib/auth_config.py11def get_token():CODE
LOWopenpilot/tools/lib/route.py201 except Exception as e:CODE
LOWopenpilot/tools/lib/route.py316 except Exception as e:CODE
LOWopenpilot/tools/lib/file_downloader.py41 except Exception as e:CODE
LOWopenpilot/tools/lib/file_downloader.py93 except Exception:CODE
LOWopenpilot/tools/lib/file_downloader.py117 except Exception as e:CODE
LOWopenpilot/tools/lib/file_downloader.py148 except Exception as e:CODE
LOWopenpilot/tools/lib/file_downloader.py190 except Exception as e:CODE
LOWopenpilot/tools/lib/file_downloader.py272 except Exception:CODE
LOWopenpilot/tools/lib/file_downloader.py281 except Exception as e:CODE
LOWopenpilot/tools/lib/file_downloader.py295 except Exception as e:CODE
MEDIUMopenpilot/tools/lib/file_downloader.py187def cmd_resolve_route_files(args):CODE
LOWopenpilot/tools/lib/vidindex.py287 except Exception as e:CODE
LOWopenpilot/tools/sim/lib/simulated_car.py109 except Exception:CODE
LOWopenpilot/tools/camerastream/ffmpeg_decoder.py147 except Exception:CODE
LOW…enpilot/selfdrive/ui/mici/layouts/settings/firehose.py65 except Exception:CODE
LOW…enpilot/selfdrive/ui/mici/layouts/settings/firehose.py78 except Exception:CODE
LOW…enpilot/selfdrive/ui/mici/layouts/settings/firehose.py212 except Exception as e:CODE
MEDIUM…enpilot/selfdrive/ui/mici/layouts/settings/firehose.py201def _fetch_firehose_stats(self):CODE
LOW…lot/selfdrive/ui/mici/layouts/settings/device/prime.py136 except Exception as e:CODE
MEDIUM…lot/selfdrive/ui/mici/layouts/settings/device/prime.py132def _get_pairing_url(self) -> str:CODE
LOWopenpilot/selfdrive/ui/mici/widgets/qr.py23 except Exception as e:CODE
MEDIUMopenpilot/selfdrive/ui/mici/widgets/qr.py20def _generate_qr_code(self):CODE
LOWopenpilot/selfdrive/ui/layouts/settings/device.py126 except Exception:CODE
LOWopenpilot/selfdrive/ui/layouts/settings/device.py134 except Exception:CODE
LOWopenpilot/selfdrive/ui/layouts/settings/device.py152 except Exception:CODE
LOWopenpilot/selfdrive/ui/lib/prime_state.py84 except Exception as e:CODE
LOWopenpilot/selfdrive/ui/lib/prime_state.py101 except Exception as e:CODE
LOWopenpilot/selfdrive/ui/widgets/ssh_key.py66 except Exception:CODE
LOWopenpilot/selfdrive/ui/widgets/pairing_dialog.py34 except Exception:CODE
LOWopenpilot/selfdrive/ui/widgets/pairing_dialog.py44 except Exception:CODE
MEDIUMopenpilot/selfdrive/ui/widgets/pairing_dialog.py30def _get_pairing_url(self) -> str:CODE
MEDIUMopenpilot/selfdrive/ui/widgets/pairing_dialog.py39def _generate_qr_code(self) -> None:CODE
LOWopenpilot/selfdrive/car/card.py127 except Exception:CODE
LOW…npilot/selfdrive/test/process_replay/test_processes.py80 except Exception:CODE
LOW…npilot/selfdrive/test/process_replay/test_processes.py92 except Exception:CODE
LOW…npilot/selfdrive/test/process_replay/test_processes.py111 except Exception as e:CODE
LOW…npilot/selfdrive/test/process_replay/test_processes.py126 except Exception as e:CODE
LOW…npilot/selfdrive/test/process_replay/test_processes.py231 except Exception:CODE
LOWopenpilot/selfdrive/test/process_replay/model_replay.py113 except Exception:CODE
LOWopenpilot/selfdrive/test/process_replay/model_replay.py218 except Exception as e:CODE
LOWopenpilot/selfdrive/test/process_replay/model_replay.py302 except Exception as e:CODE
143 more matches not shown…
Deep Nesting221 hits · 214 pts
SeverityFileLineSnippetContext
LOWtools/test_runner.py137CODE
LOWtools/test_runner.py260CODE
LOWtools/car_porting/measure_steering_accuracy.py39CODE
LOWtools/scripts/cycle_alerts.py19CODE
LOWtools/scripts/watch_timings.py55CODE
LOWtools/scripts/fingerprint_from_route.py7CODE
LOWtools/scripts/debug_fw_fingerprinting_offline.py8CODE
LOWtools/scripts/car/toyota_eps_factor.py19CODE
LOWtools/scripts/car/can_print_changes.py14CODE
LOWtools/scripts/car/can_printer.py10CODE
LOWtools/scripts/car/max_lat_accel.py25CODE
LOWdocs/serve.py120CODE
LOWdocs/serve.py283CODE
LOWdocs/serve.py524CODE
LOWopenpilot/tools/clip/run.py139CODE
LOWopenpilot/tools/clip/run.py285CODE
LOW…npilot/tools/longitudinal_maneuvers/generate_report.py22CODE
LOWopenpilot/tools/cabana/dbc/generate_dbc_json.py9CODE
LOWopenpilot/tools/lib/auth.py113CODE
LOWopenpilot/tools/lib/logreader.py150CODE
LOWopenpilot/tools/lib/logreader.py203CODE
LOWopenpilot/tools/lib/log_time_series.py35CODE
LOWopenpilot/tools/lib/route.py99CODE
LOWopenpilot/tools/lib/file_downloader.py106CODE
LOWopenpilot/tools/lib/file_downloader.py200CODE
LOWopenpilot/tools/lib/vidindex.py122CODE
LOWopenpilot/tools/lib/vidindex.py261CODE
LOWopenpilot/tools/lib/framereader.py127CODE
LOWopenpilot/tools/lateral_maneuvers/lateral_maneuversd.py103CODE
LOWopenpilot/tools/lateral_maneuvers/generate_report.py27CODE
LOWopenpilot/tools/replay/can_replay.py59CODE
LOWopenpilot/tools/sim/bridge/common.py100CODE
LOW…npilot/tools/sim/bridge/metadrive/metadrive_process.py51CODE
LOWopenpilot/tools/sim/lib/manual_ctrl.py96CODE
LOWopenpilot/tools/sim/lib/keyboard_ctrl.py58CODE
LOWopenpilot/tools/camerastream/compressed_vipc.py26CODE
LOWopenpilot/selfdrive/ui/ui_state.py217CODE
LOWopenpilot/selfdrive/ui/ui_state.py240CODE
LOWopenpilot/selfdrive/ui/ui.py16CODE
LOWopenpilot/selfdrive/ui/soundd.py170CODE
LOWopenpilot/selfdrive/ui/onroad/alert_renderer.py84CODE
LOWopenpilot/selfdrive/ui/onroad/hud_renderer.py114CODE
LOWopenpilot/selfdrive/ui/mici/onroad/driver_state.py95CODE
LOW…npilot/selfdrive/ui/mici/onroad/augmented_road_view.py74CODE
LOW…npilot/selfdrive/ui/mici/onroad/augmented_road_view.py103CODE
LOWopenpilot/selfdrive/ui/mici/onroad/alert_renderer.py120CODE
LOWopenpilot/selfdrive/ui/mici/onroad/alert_renderer.py156CODE
LOWopenpilot/selfdrive/ui/mici/onroad/alert_renderer.py265CODE
LOWopenpilot/selfdrive/ui/mici/tests/test_widget_leaks.py47CODE
LOWopenpilot/selfdrive/ui/mici/layouts/offroad_alerts.py271CODE
LOW…enpilot/selfdrive/ui/mici/layouts/settings/software.py104CODE
LOW…/selfdrive/ui/mici/layouts/settings/network/wifi_ui.py207CODE
LOWopenpilot/selfdrive/ui/tests/test_translations.py57CODE
LOWopenpilot/selfdrive/ui/tests/diff/replay.py43CODE
LOWopenpilot/selfdrive/ui/layouts/sidebar.py144CODE
LOWopenpilot/selfdrive/ui/layouts/onboarding.py63CODE
LOWopenpilot/selfdrive/ui/layouts/settings/device.py113CODE
LOWopenpilot/selfdrive/ui/layouts/settings/software.py89CODE
LOWopenpilot/selfdrive/ui/translations/potools.py31CODE
LOWopenpilot/selfdrive/ui/translations/potools.py59CODE
161 more matches not shown…
Modern Structural Boilerplate63 hits · 67 pts
SeverityFileLineSnippetContext
LOWopenpilot/tools/lib/kbhit.py16 def set_kbhit_terminal(self) -> None:CODE
LOWopenpilot/tools/lib/kbhit.py31 def set_normal_term(self) -> None:CODE
LOWopenpilot/selfdrive/ui/ui_state.py158 def _update_state(self) -> None:CODE
LOWopenpilot/selfdrive/ui/ui_state.py188 def _update_status(self) -> None:CODE
LOWopenpilot/selfdrive/ui/ui_state.py217 def _update_chestnut_state(self) -> None:CODE
LOWopenpilot/selfdrive/ui/ui_state.py240 def update_params(self) -> None:CODE
LOWopenpilot/selfdrive/ui/ui_state.py299 def set_override_interactive_timeout(self, timeout: int | None) -> None:CODE
LOWopenpilot/selfdrive/ui/onroad/hud_renderer.py69 def _update_state(self) -> None:CODE
LOWopenpilot/selfdrive/ui/mici/onroad/hud_renderer.py67 def _update_state(self) -> None:CODE
LOWopenpilot/selfdrive/ui/mici/onroad/hud_renderer.py148 def _update_state(self) -> None:CODE
LOW…/selfdrive/ui/mici/layouts/settings/network/wifi_ui.py191 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOW…/selfdrive/ui/mici/layouts/settings/network/esim_ui.py286 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOWopenpilot/selfdrive/ui/mici/widgets/button.py59 def set_position(self, x: float, y: float) -> None:CODE
LOWopenpilot/selfdrive/ui/mici/widgets/button.py183 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOWopenpilot/selfdrive/ui/tests/diff/replay_script.py76 def set_send(self, fn: Callable, wait_after: int = WAIT_SHORT) -> None:CODE
LOWopenpilot/selfdrive/ui/tests/diff/replay_script.py117def set_prime_state(prime_type: PrimeType) -> None:CODE
LOWopenpilot/selfdrive/ui/tests/diff/replay_script.py141def set_updater_state(state: str) -> None:CODE
LOW…/selfdrive/ui/layouts/settings/initial_cruise_speed.py32def set_initial_cruise_speed(speed: int) -> None:CODE
LOWopenpilot/selfdrive/ui/lib/prime_state.py104 def set_type(self, prime_type: PrimeType) -> None:CODE
LOWopenpilot/selfdrive/ui/widgets/ssh_key.py93 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOWopenpilot/selfdrive/locationd/calibrationd.py139 def update_status(self) -> None:CODE
LOWopenpilot/selfdrive/selfdrived/alertmanager.py16def set_offroad_alert(alert: str, show_alert: bool, extra_text: str | None = None) -> None:CODE
LOWopenpilot/system/ubloxd/pigeond.py30def set_power(enabled: bool) -> None:CODE
LOWopenpilot/system/ubloxd/pigeond.py93 def set_baud(self, baud: int) -> None:CODE
LOWopenpilot/system/ui/spinner.py44 def set_text(self, text: str) -> None:CODE
LOWopenpilot/system/ui/lib/scroll_panel.py127 def set_offset(self, position: float) -> None:CODE
LOWopenpilot/system/ui/lib/scroll_panel2.py58 def set_enabled(self, enabled: bool | Callable[[], bool]) -> None:CODE
LOWopenpilot/system/ui/lib/scroll_panel2.py90 def _update_state(self, bounds_size: float, content_size: float, snap_target: float | None) -> None:CODE
LOWopenpilot/system/ui/lib/scroll_panel2.py262 def set_offset(self, value: float) -> None:CODE
LOWopenpilot/system/ui/widgets/scroller_tici.py16 def set_parent_rect(self, parent_rect: rl.Rectangle) -> None:CODE
LOWopenpilot/system/ui/widgets/list_view.py67 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOWopenpilot/system/ui/widgets/list_view.py115 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOWopenpilot/system/ui/widgets/list_view.py187 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOW⚡openpilot/system/ui/widgets/list_view.py303 def set_description_opened_callback(self, callback: Callable) -> None:CODE
LOW⚡openpilot/system/ui/widgets/list_view.py306 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOWopenpilot/system/ui/widgets/scroller.py158 def set_scrolling_enabled(self, enabled: bool | Callable[[], bool]) -> None:CODE
LOWopenpilot/system/ui/widgets/scroller.py408 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOWopenpilot/system/ui/widgets/__init__.py64 def set_rect(self, rect: rl.Rectangle) -> None:CODE
LOWopenpilot/system/ui/widgets/__init__.py71 def set_parent_rect(self, parent_rect: rl.Rectangle) -> None:CODE
LOW⚡openpilot/system/ui/widgets/__init__.py84 def set_enabled(self, enabled: bool | Callable[[], bool]) -> None:CODE
LOW⚡openpilot/system/ui/widgets/__init__.py91 def set_visible(self, visible: bool | Callable[[], bool]) -> None:CODE
LOW⚡openpilot/system/ui/widgets/__init__.py94 def set_click_callback(self, click_callback: Callable[[], None] | None) -> None:CODE
LOW⚡openpilot/system/ui/widgets/__init__.py98 def set_long_press_callback(self, callback: Callable[[], None]) -> None:CODE
LOW⚡openpilot/system/ui/widgets/__init__.py101 def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None:CODE
LOW⚡openpilot/system/ui/widgets/__init__.py109 def set_position(self, x: float, y: float) -> None:CODE
LOWopenpilot/system/ui/widgets/__init__.py220 def _update_layout_rects(self) -> None:CODE
LOWopenpilot/system/ui/widgets/icon_widget.py18 def set_opacity(self, opacity: float) -> None:CODE
LOWopenpilot/system/ui/widgets/nav_widget.py32 def set_alpha(self, alpha: float) -> None:CODE
LOWopenpilot/system/ui/widgets/nav_widget.py81 def set_back_callback(self, callback: Callable[[], None] | None) -> None:CODE
LOWopenpilot/system/ui/widgets/nav_widget.py84 def set_shown_callback(self, callback: Callable[[], None] | None) -> None:CODE
LOWopenpilot/system/loggerd/xattr_cache.py41def _setxattr(path: str, attr_name: str, attr_value: bytes) -> None:CODE
LOWopenpilot/system/updated/updated.py53 def update_now(self, signum: int, frame) -> None:CODE
LOWopenpilot/system/updated/updated.py74def set_consistent_flag(consistent: bool) -> None:CODE
LOWopenpilot/system/updated/updated.py275 def set_params(self, update_success: bool, failed_count: int, exception: str | None) -> None:CODE
LOWopenpilot/common/realtime.py36def set_core_affinity(cores: list[int]) -> None:CODE
LOWopenpilot/common/i2c.py51 def _set_address(self, addr: int, force: bool = False) -> None:CODE
LOWopenpilot/common/qrcode.py157 def _set_function(self, x: int, y: int, dark: bool) -> None:CODE
LOWopenpilot/common/serial.py270 def _set_line(self, _bit: int, packed: bytes, enabled: bool) -> None:CODE
LOWopenpilot/common/hardware/usb.py89def set_usb_state(device_state, devices: list[dict]) -> None:CODE
LOWopenpilot/common/hardware/comma/amplifier.py82 def _set_configs(self, configs: list[AmpConfig]) -> None:CODE
3 more matches not shown…
Decorative Section Separators13 hits · 50 pts
SeverityFileLineSnippetContext
MEDIUM⚡pyproject.toml11# ------------------------------------------COMMENT
MEDIUM⚡pyproject.toml13# ------------------------------------------COMMENT
MEDIUM⚡pyproject.toml16# ------------------------------------------COMMENT
MEDIUMtools/setup_dependencies.sh41 # ------------------------------------------------COMMENT
MEDIUMtools/setup_dependencies.sh49 # ------------------------------------------------COMMENT
MEDIUM⚡…npilot/system/ui/lib/tests/test_handle_state_change.py50# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…npilot/system/ui/lib/tests/test_handle_state_change.py52# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…npilot/system/ui/lib/tests/test_handle_state_change.py337# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…npilot/system/ui/lib/tests/test_handle_state_change.py342# ---------------------------------------------------------------------------COMMENT
MEDIUM…npilot/system/ui/lib/tests/test_handle_state_change.py416# ---------------------------------------------------------------------------COMMENT
MEDIUM…npilot/system/ui/lib/tests/test_handle_state_change.py418# ---------------------------------------------------------------------------COMMENT
MEDIUM…npilot/system/ui/lib/tests/test_handle_state_change.py841# ---------------------------------------------------------------------------COMMENT
MEDIUM…npilot/system/ui/lib/tests/test_handle_state_change.py843# ---------------------------------------------------------------------------COMMENT
Redundant / Tautological Comments28 hits · 42 pts
SeverityFileLineSnippetContext
LOWlaunch_chffrplus.sh20 # Check if AGNOS update is requiredCOMMENT
LOWtools/scripts/test_fw_query_on_routes.py85 # Check if fuzzy match was correctCOMMENT
LOWopenpilot/selfdrive/ui/onroad/cameraview.py311 # Check if target has frames readyCOMMENT
LOWopenpilot/selfdrive/ui/onroad/augmented_road_view.py134 # Check if camera calibration data is available and validCOMMENT
LOWopenpilot/selfdrive/ui/onroad/augmented_road_view.py152 # Check if we can use cached matrixCOMMENT
LOWopenpilot/selfdrive/ui/onroad/alert_renderer.py88 # Check if selfdriveState messages have stopped arrivingCOMMENT
LOWopenpilot/selfdrive/ui/onroad/model_renderer.py77 # Check if data is up-to-dateCOMMENT
LOWopenpilot/selfdrive/ui/mici/onroad/cameraview.py360 # Check if target has frames readyCOMMENT
LOW…npilot/selfdrive/ui/mici/onroad/augmented_road_view.py304 # Check if camera calibration data is available and validCOMMENT
LOWopenpilot/selfdrive/ui/mici/onroad/alert_renderer.py124 # Check if selfdriveState messages have stopped arrivingCOMMENT
LOWopenpilot/selfdrive/ui/mici/onroad/model_renderer.py94 # Check if data is up-to-dateCOMMENT
LOWopenpilot/selfdrive/ui/layouts/settings/software.py155 # Check if we should start checking or start downloadingCOMMENT
LOWopenpilot/selfdrive/locationd/paramsd.py213 # Check if car model matchesCOMMENT
LOWopenpilot/selfdrive/locationd/paramsd.py217 # Check if starting values are saneCOMMENT
LOWopenpilot/selfdrive/selfdrived/state.py92 # Check if openpilot is engaged and actuators are enabledCOMMENT
LOWopenpilot/system/ui/lib/wrap_text.py75 # Check if word alone exceeds max width (need to break the word)COMMENT
LOWopenpilot/system/ui/lib/wrap_text.py90 # Check if word fits on current lineCOMMENT
LOWopenpilot/system/ui/widgets/label.py361 # Check if cache is still validCOMMENT
LOWopenpilot/system/ui/widgets/label.py492 # Check if this line fitsCOMMENT
LOWopenpilot/system/hardware/hardwared.py444 # Check if we need to shut downCOMMENT
LOWopenpilot/system/sensord/sensors/lsm6ds3_gyro.py62 # Check if gyroscope data is ready, since it's shared with accelerometerCOMMENT
LOWopenpilot/system/sensord/sensors/lsm6ds3_gyro.py110 # Set ODR to 208Hz, FS to 2000dpsCOMMENT
LOWopenpilot/system/sensord/sensors/lsm6ds3_accel.py56 # Set ODR to 104 Hz, FS to ±2g (default)COMMENT
LOWopenpilot/system/sensord/sensors/lsm6ds3_accel.py67 # Check if data is ready since IRQ is shared with gyroCOMMENT
LOWopenpilot/system/updated/updated.py107 # Set protocol to the new version (default after git 2.26) to reduce dataCOMMENT
LOWopenpilot/system/updated/updated.py428 # Check if we just performed an updateCOMMENT
LOWopenpilot/system/athena/athenad.py290 # Check if uploading over metered connection is allowedCOMMENT
LOWopenpilot/system/athena/athenad.py738 # Set TOS to keep connection responsive while under load.COMMENT
Over-Commented Block37 hits · 37 pts
SeverityFileLineSnippetContext
LOWopenpilot/tools/jotpluggler/app.h1#pragma onceCOMMENT
LOWopenpilot/tools/jotpluggler/util.h1#pragma onceCOMMENT
LOWopenpilot/tools/jotpluggler/dbc.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/panda.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/threadpool.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/mainwin.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/app.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/chart/chartswidget.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/chart/chart.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/dialogs/streamselector.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/widgets/binaryview.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/widgets/detailwidget.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/widgets/videowidget.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/widgets/messageswidget.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/widgets/signalview.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/ui/widgets/cameraview.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/streams/abstractstream.h1#pragma onceCOMMENT
LOWopenpilot/tools/cabana/utils/util.h1#pragma onceCOMMENT
LOWopenpilot/tools/lib/vidindex.py181 nal_unit_type = HevcNalUnitType((nal_unit_header[0] >> 1) & 0x3F)COMMENT
LOWopenpilot/tools/lib/vidindex.py201 # if( dependent_slice_segments_enabled_flag )COMMENT
LOWopenpilot/tools/lib/vidindex.py221 # for now since we don't use it return -1 for slice_typeCOMMENT
LOWopenpilot/tools/replay/route.h1#pragma onceCOMMENT
LOWopenpilot/tools/replay/replay.h1#pragma onceCOMMENT
LOWopenpilot/selfdrive/pandad/panda.h1#pragma onceCOMMENT
LOWopenpilot/system/loggerd/loggerd.h1#pragma onceCOMMENT
LOWopenpilot/system/loggerd/encoder/v4l_decoder.h1#pragma onceCOMMENT
LOWopenpilot/system/loggerd/encoder/v4l_decoder.h21#endifCOMMENT
LOWopenpilot/system/loggerd/encoder/encoder.h1#pragma onceCOMMENT
LOWopenpilot/system/camerad/sensors/sensor.h1#pragma onceCOMMENT
LOWopenpilot/system/camerad/cameras/spectra.h1#pragma onceCOMMENT
LOWopenpilot/system/camerad/cameras/spectra.h21COMMENT
LOWopenpilot/system/camerad/cameras/nv12_info.h1#pragma onceCOMMENT
LOWopenpilot/system/qcomgpsd/nmeaport.py41 # constellation enum:COMMENT
LOWopenpilot/common/swaglog.h1#pragma onceCOMMENT
LOWopenpilot/common/util.h1#pragma onceCOMMENT
LOWopenpilot/common/hardware/hw.h1#pragma onceCOMMENT
LOWscripts/waste.c1// gcc -O2 waste.c -lpthread -owasteCOMMENT
Unused Imports29 hits · 28 pts
SeverityFileLineSnippetContext
LOWopenpilot/tools/sim/lib/simulated_sensors.py11CODE
LOWopenpilot/tools/sim/lib/simulated_sensors.py11CODE
LOWopenpilot/tools/sim/lib/keyboard_ctrl.py10CODE
LOWopenpilot/selfdrive/ui/mici/layouts/home.py1CODE
LOWopenpilot/selfdrive/ui/mici/layouts/offroad_alerts.py1CODE
LOWopenpilot/selfdrive/ui/tests/diff/replay_script.py1CODE
LOWopenpilot/selfdrive/test/process_replay/__init__.py1CODE
LOWopenpilot/selfdrive/test/process_replay/__init__.py1CODE
LOWopenpilot/selfdrive/test/process_replay/__init__.py1CODE
LOWopenpilot/selfdrive/test/process_replay/__init__.py1CODE
LOWopenpilot/selfdrive/test/process_replay/__init__.py1CODE
LOWopenpilot/selfdrive/pandad/__init__.py1CODE
LOWopenpilot/selfdrive/pandad/__init__.py1CODE
LOWopenpilot/system/ui/widgets/__init__.py1CODE
LOWopenpilot/system/ui/widgets/nav_widget.py1CODE
LOWopenpilot/system/athena/athenad.py2CODE
LOWopenpilot/common/esim/__init__.py1CODE
LOWopenpilot/common/esim/__init__.py1CODE
LOWopenpilot/common/esim/__init__.py1CODE
LOWopenpilot/common/esim/__init__.py1CODE
LOWopenpilot/cereal/messaging/__init__.py2CODE
LOWopenpilot/cereal/messaging/__init__.py2CODE
LOWopenpilot/cereal/messaging/__init__.py2CODE
LOWopenpilot/cereal/messaging/__init__.py2CODE
LOWopenpilot/cereal/messaging/__init__.py2CODE
LOWopenpilot/cereal/messaging/__init__.py2CODE
LOWopenpilot/cereal/messaging/__init__.py2CODE
LOWopenpilot/cereal/messaging/__init__.py2CODE
LOWopenpilot/cereal/messaging/__init__.py2CODE
Self-Referential Comments8 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMopenpilot/selfdrive/ui/onroad/cameraview.py104 # Create a 1x1 pixel placeholder texture for EGL image bindingSTRING
MEDIUMopenpilot/selfdrive/ui/onroad/model_renderer.py47 # Initialize ModelPoints objectsCOMMENT
MEDIUMopenpilot/selfdrive/ui/mici/onroad/cameraview.py146 # Create a 1x1 pixel placeholder texture for EGL image bindingSTRING
MEDIUMopenpilot/selfdrive/ui/mici/onroad/model_renderer.py60 # Initialize ModelPoints objectsCOMMENT
MEDIUMopenpilot/selfdrive/ui/body/layouts/onroad.py19# This class is used both in BIG (tizi) and small (mici) UIsCOMMENT
MEDIUMopenpilot/system/ui/lib/egl.py61# Create a single instance of the stateCOMMENT
MEDIUMopenpilot/system/updated/updated.py409 # Create the finalized, ready-to-swap updateCOMMENT
MEDIUMopenpilot/common/transformations/model.py64# This function is verified to give similar results to xx.uncommon.utils.transform_imgCOMMENT
Cross-Language Confusion4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHopenpilot/selfdrive/ui/translations/potools.py289 'uk': 'nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);',CODE
HIGHopenpilot/selfdrive/ui/translations/potools.py289 'uk': 'nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);',CODE
HIGHopenpilot/system/ui/lib/shader_polygon.py60 if (t >= a && t <= b) {CODE
HIGHopenpilot/system/updated/updated.py209 updated_version = run(["bash", "-c", r"unset AGNOS_VERSION && source launch_env.sh && \CODE
AI Slop Vocabulary6 hits · 12 pts
SeverityFileLineSnippetContext
LOWopenpilot/selfdrive/ui/widgets/offroad_alerts.py115 # TODO: just use a Scroller?COMMENT
MEDIUMopenpilot/selfdrive/selfdrived/events.py970 # When the relay in the harness box opens the CAN bus between the LKAS cameraCOMMENT
LOWopenpilot/system/ui/lib/scroll_panel2.py212 # TODO: we should just set velocity and let autoscroll go back to steady. delays one frame but who caresCOMMENT
LOWopenpilot/system/ui/widgets/list_view.py146 # TODO: just use the generic Widget click callbacks everywhere, no returning from renderCOMMENT
LOWopenpilot/system/ui/widgets/network.py98 # AdvancedNetworkSettings needs the full openpilot environment, standalone apps just use WifiManagerUICOMMENT
MEDIUM…enpilot/system/hardware/tests/test_power_monitoring.py166 # Test to check policy of not stopping charging when harness is not connectedCOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICALopenpilot/selfdrive/controls/controlsd.py29ACTUATOR_FIELDS = tuple(car.CarControl.Actuators.schema.fields.keys())CODE
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…enpilot/selfdrive/test/longitudinal_maneuvers/plant.py17CODE
LOWopenpilot/selfdrive/locationd/lagd.py176CODE
LOWopenpilot/selfdrive/controls/radard.py105CODE
LOWopenpilot/system/ui/widgets/button.py88CODE
LOWopenpilot/system/ui/widgets/label.py78CODE
LOWopenpilot/system/ui/widgets/label.py210CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWopenpilot/tools/lib/bootlog.py47 # TODO: implement an API endpoint for thisCOMMENT
LOWopenpilot/system/ui/widgets/mici_keyboard.py12CHAR_CAPS_FONT_SIZE = 38 # TODO: implement thisCODE
LOWopenpilot/system/ui/widgets/layouts.py7 # TODO: implementCOMMENT
Slop Phrases2 hits · 3 pts
SeverityFileLineSnippetContext
LOWopenpilot/selfdrive/ui/mici/layouts/main.py59 # Start onboarding if terms or training not completed, make sure to push after selfCOMMENT
LOWopenpilot/selfdrive/ui/layouts/main.py48 # Start onboarding if terms or training not completed, make sure to push after selfCOMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWopenpilot/system/loggerd/tests/loggerd_tests_common.py45 return "fake-token"CODE
LOWopenpilot/system/loggerd/tests/loggerd_tests_common.py55 return "fake-token"CODE
LOWopenpilot/system/athena/tests/helpers.py42 return "fake-token"CODE