sunnypilot is an open source driver assistance system. sunnypilot offers the user a unique driving experience for over 350 supported car makes and models with modified behaviors of driving assist engagements. sunnypilot complies with the safety policy from comma.ai's openpilot as accurately as possible.
This report summarizes scanner evidence for sunnypilot/sunnypilot, a Python project with 2,138 GitHub stars. SynthScan examined 134,844 lines of code across 1097 source files, recording 1743 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 23.1 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 994 finding(s).
Are imports declared and package/API names verified? 49 finding(s).
Are wrappers, guards, and repeated structures necessary? 1278 finding(s).
Which changes need focused human review? 1743 finding(s).
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.
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.
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.
The scanner identified 1743 distinct pattern matches across 18 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | release/ci/model_generator.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | release/ci/upload_default_model.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/__init__.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/tools/upload_ci_routes.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/tools/pull_footage.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/tools/memory_profiler/mem_usage.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …npilot/sunnypilot/tools/lib/sunnypilot_car_segments.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/sunnylink/capabilities.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …sunnypilot/sunnylink/tools/generate_settings_schema.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/sunnylink/backups/AESCipher.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/sunnylink/backups/utils.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/sunnylink/backups/manager.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/sunnylink/athena/sunnylinkd.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …t/sunnypilot/sunnylink/athena/tests/test_sunnylinkd.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/livedelay/lagd_toggle.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/livedelay/helpers.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/models/helpers.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/models/manager.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/models/fetcher.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/models/tests/test_default_model.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …enpilot/sunnypilot/models/tests/model_manager_audit.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …pilot/sunnypilot/models/tests/test_manager_download.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/modeld.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/model_adapters.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/compile_modeld.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/stock_dependencies.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/camera_offset_helper.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/modeld_base.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/helpers.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …unnypilot/modeld_v2/tests/test_camera_offset_helper.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …ilot/sunnypilot/modeld_v2/tests/test_compile_modeld.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/tests/test_fallback.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/tests/test_models.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/modeld_v2/tests/helpers.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …sunnypilot/modeld_v2/tests/test_combined_pkl_loader.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/selfdrive/ui/quiet_mode.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/selfdrive/car/interfaces.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/selfdrive/car/car_specific.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …ilot/sunnypilot/selfdrive/car/sync_sunnylink_params.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/selfdrive/car/cruise_helpers.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/selfdrive/car/cruise_ext.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …car/intelligent_cruise_button_management/controller.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …ve/car/intelligent_cruise_button_management/helpers.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | openpilot/sunnypilot/selfdrive/locationd/torqued_ext.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …lot/sunnypilot/selfdrive/pandad/rivian_long_flasher.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …enpilot/sunnypilot/selfdrive/controls/controlsd_ext.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …selfdrive/controls/lib/latcontrol_torque_jerk_aware.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …ypilot/selfdrive/controls/lib/latcontrol_torque_ext.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …t/selfdrive/controls/lib/latcontrol_torque_ext_base.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …/sunnypilot/selfdrive/controls/lib/lane_turn_desire.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …ypilot/selfdrive/controls/lib/blinker_pause_lateral.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …lfdrive/controls/lib/latcontrol_torque_ext_override.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …/sunnypilot/selfdrive/controls/lib/auto_lane_change.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …sunnypilot/selfdrive/controls/lib/e2e_alerts_helper.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …nypilot/selfdrive/controls/lib/longitudinal_planner.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …/selfdrive/controls/lib/tests/test_auto_lane_change.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …drive/controls/lib/tests/test_latcontrol_torque_ext.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| HIGH | …drive/controls/lib/tests/test_blinker_pause_lateral.py | 0 | copyright (c) 2021-, rav4kumar, sunnypilot, and a number of other contributors. this file is part of sunnypilot and is l | STRING |
| 122 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/scripts/filter_log_message.py | 37 | def print_operating_system_log(t, msg): | CODE |
| LOW | …ngitudinal_maneuvers/mpc_longitudinal_tuning_report.py | 28 | def generate_mpc_tuning_report(e2e=False): | CODE |
| LOW | openpilot/tools/jotpluggler/map.h | 29 | class MapDataManager { | CODE |
| LOW | openpilot/tools/jotpluggler/app.h | 458 | class MapDataManager; | CODE |
| LOW | …npilot/tools/jotpluggler/layouts/max-torque-debug.json | 1 | {"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.json | 1 | {"current_tab_index":0,"tabs":[{"name":"Lateral Plan Conformance","root":{"split":"vertical","sizes":[0.250949,0.249051, | CODE |
| LOW | openpilot/tools/jotpluggler/layouts/gps_vs_llk.json | 1 | {"current_tab_index":0,"tabs":[{"name":"tab1","root":{"split":"vertical","sizes":[0.333805,0.33239,0.333805],"children": | CODE |
| LOW | openpilot/tools/jotpluggler/layouts/tuning.json | 1 | {"current_tab_index":0,"tabs":[{"name":"Lateral","root":{"split":"vertical","sizes":[0.200458,0.199313,0.200458,0.199313 | CODE |
| LOW | openpilot/tools/lib/comma_car_segments.py | 10 | def get_comma_car_segments_database(): | CODE |
| LOW | openpilot/tools/lib/route.py | 310 | def get_max_seg_number_cached(sr: 'SegmentRange') -> int: | CODE |
| LOW | openpilot/tools/lib/file_sources.py | 39 | def comma_car_segments_source(sr: SegmentRange, seg_idxs: list[int], fns: FileNames, /) -> dict[int, str]: | CODE |
| LOW | openpilot/tools/lib/filereader.py | 16 | def internal_source_available(url: str) -> bool: | CODE |
| LOW | openpilot/tools/lib/tests/test_logreader.py | 245 | def test_auto_source_scenarios(self, mocker, is_internal): | CODE |
| LOW | openpilot/tools/lib/tests/test_caching.py | 15 | class CachingTestRequestHandler(http.server.BaseHTTPRequestHandler): | CODE |
| LOW | openpilot/tools/lib/tests/test_caching.py | 121 | def test_recover_from_missing_file(self, host, cache_enabled): | CODE |
| LOW | openpilot/tools/lib/tests/test_route_library.py | 7 | def test_segment_name_formats(self): | CODE |
| LOW | openpilot/tools/replay/lib/ui_helpers.py | 200 | def maybe_update_radar_points(lt, lid_overlay): | CODE |
| LOW | openpilot/tools/sim/lib/simulated_sensors.py | 79 | def send_fake_driver_monitoring(self): | CODE |
| LOW | …npilot/sunnypilot/tools/lib/sunnypilot_car_segments.py | 19 | def sunnypilot_car_segments_source(sr, seg_idxs, fns, /): | CODE |
| LOW | openpilot/sunnypilot/sunnylink/capabilities.py | 82 | def _resolve_brand_capabilities(caps: dict, bundle_platform: str, CP) -> None: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/capabilities.py | 185 | def generate_capabilities_json(params: Params | None = None) -> str: | CODE |
| LOW | …sunnypilot/sunnylink/tools/generate_settings_schema.py | 91 | def generate_schema_compressed() -> str: | CODE |
| LOW | …lot/sunnypilot/sunnylink/tools/validate_settings_ui.py | 352 | def check_rule_wellformedness(data: dict, result: ValidationResult) -> None: | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 35 | def test_protocol_version_in_capability_fields(self): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 38 | def test_protocol_version_has_label(self): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 41 | def test_protocol_version_default_is_set(self): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 44 | def test_protocol_version_emitted(self, caps): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 49 | def test_protocol_version_matches_constant(self, caps): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 52 | def test_protocol_version_is_known(self): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 59 | def test_protocol_version_matches_latest_known(self): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 66 | def test_subaru_has_sng_field_present(self): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 69 | def test_hyundai_alpha_long_available_field_present(self): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 72 | def test_subaru_has_sng_default_false(self, caps): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 75 | def test_hyundai_alpha_long_available_default_false(self, caps): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 84 | def test_all_fields_have_labels(self): | CODE |
| LOW⚡ | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 88 | def test_string_defaults_are_strings(self, caps): | CODE |
| LOW | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 91 | def _references_capability_field(rules: list[dict[str, Any]] | None, field: str) -> bool: | CODE |
| LOW⚡ | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 114 | def test_mads_main_cruise_has_brand_gate(self, schema): | CODE |
| LOW⚡ | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 121 | def test_mads_unified_engagement_has_brand_gate(self, schema): | CODE |
| LOW⚡ | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 130 | def test_lateral_maneuver_mode_in_test_maneuvers(self, schema): | CODE |
| LOW⚡ | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 137 | def test_test_maneuvers_section_requires_attestation(self, schema): | CODE |
| LOW⚡ | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 142 | def test_test_maneuvers_section_visibility_gate(self, schema): | CODE |
| LOW | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 157 | def test_validator_accepts_real_json(self): | CODE |
| LOW | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 171 | def test_torque_versions_match_generated_options(self, schema): | CODE |
| LOW | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 179 | def test_torque_versions_path_resolves(self): | CODE |
| LOW⚡ | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 190 | def test_sp_dev_items_gate_on_is_sp_release(self, schema, key): | CODE |
| LOW⚡ | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 199 | def test_disengage_on_accelerator_has_no_offroad_only(self, schema): | CODE |
| LOW⚡ | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 204 | def test_dynamic_experimental_has_no_offroad_only(self, schema): | CODE |
| LOW | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 216 | def test_offroad_only_replaced_with_not_engaged(self, schema, key): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 104 | def test_all_items_have_key_and_widget(self, schema): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 112 | def test_sub_panel_items_have_key_and_widget(self, schema): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 122 | def test_vehicle_settings_structure(self, schema): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 152 | def test_all_schema_keys_exist_in_params(self, schema, all_param_keys): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 158 | def test_all_capability_fields_are_declared(self, schema): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 165 | def test_capability_fields_match_constant(self, schema): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 215 | def test_all_panel_rules_well_formed(self, schema): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 223 | def test_all_vehicle_rules_well_formed(self, schema): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 227 | def test_no_self_referencing_visibility(self, schema): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 247 | def test_expected_panels_exist(self, schema): | CODE |
| LOW⚡ | …lot/sunnypilot/sunnylink/tests/test_settings_schema.py | 252 | def test_mads_sub_panel_exists(self, schema): | CODE |
| 508 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/scripts/live_cpu_and_temp.py | 87 | except IndexError: | CODE |
| HIGH | tools/scripts/car/can_print_changes.py | 63 | except KeyboardInterrupt: | CODE |
| HIGH | docs/serve.py | 542 | except KeyboardInterrupt: | CODE |
| HIGH | openpilot/tools/clip/run.py | 225 | except UnknownKeyName: | CODE |
| HIGH | openpilot/tools/jotpluggler/math_eval.py | 45 | except SyntaxError: | CODE |
| HIGH | openpilot/tools/lib/auth.py | 67 | except ConnectionError: | CODE |
| HIGH | openpilot/tools/lib/logreader.py | 130 | except capnp.lib.capnp.KjException: | CODE |
| HIGH | openpilot/tools/lib/url_file.py | 45 | except OSError: | CODE |
| HIGH | openpilot/tools/lib/auth_config.py | 29 | except FileNotFoundError: | CODE |
| HIGH | openpilot/tools/lib/file_downloader.py | 93 | except OSError: | CODE |
| HIGH | openpilot/tools/lib/file_downloader.py | 201 | except OSError: | CODE |
| HIGH | openpilot/tools/lib/file_downloader.py | 178 | except OSError: | CODE |
| HIGH | openpilot/tools/lib/filereader.py | 27 | except (socket.gaierror, ConnectionRefusedError): | CODE |
| HIGH | openpilot/tools/replay/can_replay.py | 49 | except usb1.USBErrorTimeout: | CODE |
| HIGH | openpilot/sunnypilot/sunnylink/athena/sunnylinkd.py | 253 | except Exception: | CODE |
| HIGH | openpilot/sunnypilot/models/helpers.py | 115 | except Exception: | CODE |
| HIGH | openpilot/sunnypilot/modeld_v2/compile_modeld.py | 54 | except ImportError: | CODE |
| HIGH | openpilot/sunnypilot/modeld_v2/compile_modeld.py | 64 | except ImportError: | CODE |
| HIGH | openpilot/sunnypilot/modeld_v2/helpers.py | 31 | except (ImportError, AttributeError): | CODE |
| HIGH | openpilot/sunnypilot/selfdrive/car/interfaces.py | 101 | except RuntimeError: | CODE |
| HIGH | …lot/sunnypilot/selfdrive/pandad/rivian_long_flasher.py | 51 | except Exception: | CODE |
| HIGH | …lot/sunnypilot/selfdrive/pandad/rivian_long_flasher.py | 69 | except Exception: | CODE |
| HIGH | openpilot/sunnypilot/system/statsd.py | 57 | except zmq.error.Again: | CODE |
| HIGH | openpilot/sunnypilot/mapd/mapd_manager.py | 138 | except FileExistsError: | CODE |
| HIGH | openpilot/selfdrive/ui/ui.py | 37 | except OSError: | CODE |
| HIGH | …npilot/selfdrive/ui/sunnypilot/layouts/settings/osm.py | 70 | except OSError: | CODE |
| HIGH | …/selfdrive/ui/sunnypilot/layouts/settings/developer.py | 82 | except Exception: | CODE |
| HIGH | …ilot/selfdrive/ui/sunnypilot/layouts/settings/trips.py | 48 | except Exception: | CODE |
| HIGH | …youts/settings/steering_sub_layouts/torque_settings.py | 161 | except (ValueError, KeyError): | CODE |
| HIGH | …youts/settings/steering_sub_layouts/torque_settings.py | 171 | except (ValueError, KeyError): | CODE |
| HIGH | …enpilot/selfdrive/ui/mici/layouts/settings/firehose.py | 65 | except Exception: | CODE |
| HIGH | openpilot/selfdrive/ui/lib/prime_state.py | 45 | except (ValueError, TypeError): | CODE |
| HIGH | openpilot/selfdrive/car/card.py | 148 | except Exception: | CODE |
| HIGH | openpilot/selfdrive/test/mem_usage.py | 41 | except AttributeError: | CODE |
| HIGH | openpilot/selfdrive/test/process_replay/capture.py | 49 | except ImportError: | CODE |
| HIGH | openpilot/selfdrive/modeld/helpers.py | 33 | except Exception: | CODE |
| HIGH | openpilot/system/logmessaged.py | 51 | except ValueError: | CODE |
| HIGH | openpilot/system/tombstoned.py | 129 | except PermissionError: | CODE |
| HIGH | openpilot/system/tombstoned.py | 34 | except Exception: | CODE |
| HIGH | openpilot/system/tombstoned.py | 150 | except Exception: | CODE |
| HIGH | openpilot/system/tombstoned.py | 86 | except ValueError: | CODE |
| HIGH | openpilot/system/proclogd.py | 184 | except OSError: | CODE |
| HIGH | openpilot/system/proclogd.py | 189 | except OSError: | CODE |
| HIGH | openpilot/system/ubloxd/pigeond.py | 157 | except TimeoutError: | CODE |
| HIGH | openpilot/system/ui/mici_updater.py | 139 | except ValueError: | CODE |
| HIGH | openpilot/system/ui/tici_updater.py | 88 | except ValueError: | CODE |
| HIGH | openpilot/system/ui/lib/egl.py | 172 | except OSError: | CODE |
| HIGH | openpilot/system/ui/lib/application.py | 703 | except KeyboardInterrupt: | CODE |
| HIGH | openpilot/system/hardware/hardwared.py | 288 | except queue.Empty: | CODE |
| HIGH | openpilot/system/hardware/hardwared.py | 408 | except Exception: | CODE |
| HIGH | openpilot/system/hardware/hardwared.py | 186 | except queue.Full: | CODE |
| HIGH | openpilot/system/hardware/chestnut/monitoring.py | 39 | except usb1.USBError: | CODE |
| HIGH | openpilot/system/hardware/chestnut/flash.py | 409 | except OSError: | CODE |
| HIGH | openpilot/system/hardware/chestnut/flash.py | 69 | except OSError: | CODE |
| HIGH | openpilot/system/sensord/sensord.py | 133 | except KeyboardInterrupt: | CODE |
| HIGH | openpilot/system/sensord/sensord.py | 73 | except Sensor.DataNotReady: | CODE |
| HIGH | openpilot/system/manager/build.py | 41 | except Exception: | CODE |
| HIGH | openpilot/system/manager/process.py | 206 | except (OSError, FileNotFoundError): | CODE |
| HIGH | openpilot/system/manager/helpers.py | 39 | except (OSError, UnicodeDecodeError): | CODE |
| HIGH | openpilot/system/manager/manager.py | 64 | except FileExistsError: | CODE |
| 52 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/test_runner.py | 165 | except Exception: | CODE |
| LOW | tools/test_runner.py | 222 | except Exception: | CODE |
| MEDIUM | tools/scripts/setup_ssh_keys.py | 23 | print("Error getting public keys from github") | CODE |
| LOW | tools/scripts/test_fw_query_on_routes.py | 150 | except Exception: | CODE |
| LOW | tools/scripts/filter_log_message.py | 41 | except Exception: | CODE |
| MEDIUM | tools/scripts/filter_log_message.py | 26 | def print_logmessage(t, msg, min_level): | CODE |
| LOW | tools/scripts/car/max_lat_accel.py | 93 | except Exception: | CODE |
| MEDIUM | tools/scripts/car/vw_mqb_config.py | 69 | print("Error fetching data from EPS") | CODE |
| MEDIUM | tools/scripts/car/vw_mqb_config.py | 113 | print("Error fetching parameterization data from EPS!") | CODE |
| MEDIUM⚡ | release/ci/squash_and_merge_prs.py | 175 | print(f"Error processing PR #{pr_number}:") | CODE |
| MEDIUM⚡ | release/ci/squash_and_merge_prs.py | 178 | print(f"Error output: {output}") | CODE |
| LOW⚡ | release/ci/squash_and_merge_prs.py | 182 | except Exception as e: | CODE |
| LOW | release/ci/squash_and_merge_prs.py | 193 | except Exception as e: | CODE |
| MEDIUM | release/ci/squash_and_merge_prs.py | 195 | print(f"Error in process_pr: {str(e)}") | CODE |
| LOW | release/ci/squash_and_merge_prs.py | 212 | except Exception as e: | CODE |
| MEDIUM | release/ci/squash_and_merge_prs.py | 120 | def process_pr(pr_data, source_branch, target_branch, squash_script_path): | CODE |
| LOW | release/ci/upload_default_model.py | 98 | except Exception: | CODE |
| LOW | docs/serve.py | 540 | except Exception as e: | CODE |
| LOW | openpilot/tools/clip/run.py | 189 | except Exception as e: | CODE |
| MEDIUM | openpilot/tools/clip/run.py | 183 | def _worker(self, camera_paths, start_time, end_time, fps, use_qcam, frame_size) | CODE |
| LOW | openpilot/tools/jotpluggler/math_eval.py | 143 | except Exception as err: | CODE |
| LOW | openpilot/tools/plotjuggler/juggle.py | 122 | except Exception: | CODE |
| LOW | openpilot/tools/lib/auth.py | 142 | except Exception: | CODE |
| LOW | openpilot/tools/lib/logreader.py | 188 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/auth_config.py | 16 | except Exception: | CODE |
| MEDIUM | openpilot/tools/lib/auth_config.py | 11 | def get_token(): | CODE |
| LOW | openpilot/tools/lib/route.py | 201 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/route.py | 316 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 38 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 90 | except Exception: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 175 | except Exception: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 184 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/file_downloader.py | 198 | except Exception as e: | CODE |
| LOW | openpilot/tools/lib/vidindex.py | 287 | except Exception as e: | CODE |
| LOW | openpilot/tools/sim/lib/simulated_car.py | 111 | except Exception: | CODE |
| LOW | openpilot/tools/camerastream/ffmpeg_decoder.py | 147 | except Exception: | CODE |
| LOW | openpilot/sunnypilot/tools/pull_footage.py | 130 | except Exception as e: | CODE |
| MEDIUM | openpilot/sunnypilot/tools/pull_footage.py | 131 | print(f"Error: {e}") | CODE |
| LOW | openpilot/sunnypilot/tools/memory_profiler/mem_usage.py | 158 | except Exception as e: | CODE |
| MEDIUM | openpilot/sunnypilot/tools/memory_profiler/mem_usage.py | 159 | print(f"Error: {e}") | CODE |
| LOW | openpilot/sunnypilot/sunnylink/uploader.py | 192 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/uploader.py | 244 | except Exception: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/api.py | 55 | except Exception: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/api.py | 122 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/utils.py | 54 | except Exception: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/capabilities.py | 165 | except Exception: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/capabilities.py | 177 | except Exception: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/statsd.py | 83 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/statsd.py | 97 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/statsd.py | 139 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/statsd.py | 201 | except Exception: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/registration_manager.py | 28 | except Exception: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 68 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 71 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 84 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 87 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 131 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 151 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 166 | except Exception as e: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/backups/utils.py | 134 | except Exception as e: | CODE |
| 226 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/test_runner.py | 137 | CODE | |
| LOW | tools/test_runner.py | 260 | CODE | |
| LOW | tools/car_porting/measure_steering_accuracy.py | 40 | CODE | |
| LOW | tools/scripts/cycle_alerts.py | 19 | CODE | |
| LOW | tools/scripts/watch_timings.py | 55 | CODE | |
| LOW | tools/scripts/fingerprint_from_route.py | 7 | CODE | |
| LOW | tools/scripts/debug_fw_fingerprinting_offline.py | 8 | CODE | |
| LOW | tools/scripts/car/toyota_eps_factor.py | 19 | CODE | |
| LOW | tools/scripts/car/can_print_changes.py | 14 | CODE | |
| LOW | tools/scripts/car/can_printer.py | 10 | CODE | |
| LOW | tools/scripts/car/max_lat_accel.py | 25 | CODE | |
| LOW | release/ci/model_generator.py | 16 | CODE | |
| LOW | release/ci/squash_and_merge_prs.py | 66 | CODE | |
| LOW | release/ci/squash_and_merge_prs.py | 120 | CODE | |
| LOW | docs/serve.py | 120 | CODE | |
| LOW | docs/serve.py | 283 | CODE | |
| LOW | docs/serve.py | 524 | CODE | |
| LOW | openpilot/tools/clip/run.py | 139 | CODE | |
| LOW | openpilot/tools/clip/run.py | 285 | CODE | |
| LOW | …npilot/tools/longitudinal_maneuvers/generate_report.py | 22 | CODE | |
| LOW | openpilot/tools/cabana/dbc/generate_dbc_json.py | 9 | CODE | |
| LOW | openpilot/tools/lib/auth.py | 113 | CODE | |
| LOW | openpilot/tools/lib/logreader.py | 152 | CODE | |
| LOW | openpilot/tools/lib/logreader.py | 205 | CODE | |
| LOW | openpilot/tools/lib/route.py | 99 | CODE | |
| LOW | openpilot/tools/lib/file_downloader.py | 103 | CODE | |
| LOW | openpilot/tools/lib/vidindex.py | 122 | CODE | |
| LOW | openpilot/tools/lib/vidindex.py | 261 | CODE | |
| LOW | openpilot/tools/lib/framereader.py | 127 | CODE | |
| LOW | openpilot/tools/lateral_maneuvers/lateral_maneuversd.py | 103 | CODE | |
| LOW | openpilot/tools/lateral_maneuvers/generate_report.py | 27 | CODE | |
| LOW | openpilot/tools/replay/can_replay.py | 58 | CODE | |
| LOW | openpilot/tools/sim/bridge/common.py | 100 | CODE | |
| LOW | …npilot/tools/sim/bridge/metadrive/metadrive_process.py | 51 | CODE | |
| LOW | openpilot/tools/sim/lib/manual_ctrl.py | 96 | CODE | |
| LOW | openpilot/tools/sim/lib/keyboard_ctrl.py | 58 | CODE | |
| LOW | openpilot/tools/camerastream/compressed_vipc.py | 27 | CODE | |
| LOW | openpilot/sunnypilot/tools/upload_ci_routes.py | 22 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/uploader.py | 65 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/uploader.py | 90 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/uploader.py | 170 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/api.py | 65 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/utils.py | 104 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/capabilities.py | 82 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/statsd.py | 28 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/statsd.py | 103 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 135 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 216 | CODE | |
| LOW | …sunnypilot/sunnylink/tools/generate_settings_schema.py | 117 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/tools/apply_macros.py | 87 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/tools/apply_macros.py | 112 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/tools/apply_macros.py | 177 | CODE | |
| LOW | …ilot/sunnypilot/sunnylink/tools/compile_settings_ui.py | 68 | CODE | |
| LOW | …ilot/sunnypilot/sunnylink/tools/compile_settings_ui.py | 128 | CODE | |
| LOW | …lot/sunnypilot/sunnylink/tools/validate_settings_ui.py | 167 | CODE | |
| LOW | …lot/sunnypilot/sunnylink/tools/validate_settings_ui.py | 254 | CODE | |
| LOW | …lot/sunnypilot/sunnylink/tools/validate_settings_ui.py | 297 | CODE | |
| LOW | …lot/sunnypilot/sunnylink/tools/validate_settings_ui.py | 352 | CODE | |
| LOW | …lot/sunnypilot/sunnylink/tools/validate_settings_ui.py | 377 | CODE | |
| LOW | …lot/sunnypilot/sunnylink/tools/validate_settings_ui.py | 408 | CODE | |
| 239 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/tools/lib/kbhit.py | 16 | def set_kbhit_terminal(self) -> None: | CODE |
| LOW | openpilot/tools/lib/kbhit.py | 31 | def set_normal_term(self) -> None: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/sunnylink_state.py | 230 | def set_settings_open(self, _open: bool) -> None: | CODE |
| LOW | openpilot/sunnypilot/sunnylink/backups/manager.py | 69 | def _update_progress(self, progress: float, op_type: OperationType) -> None: | CODE |
| LOW⚡ | openpilot/sunnypilot/selfdrive/car/cruise_helpers.py | 36 | def update_button_frame_counts(self, CS) -> None: | CODE |
| LOW⚡ | openpilot/sunnypilot/selfdrive/car/cruise_helpers.py | 46 | def update_experimental_mode(self, events, experimental_mode) -> None: | CODE |
| LOW | openpilot/sunnypilot/selfdrive/car/cruise_ext.py | 30 | def update_manual_button_timers(CS: car.CarState, button_timers: dict[car.CarState.ButtonEvent.Type, int]) -> None: | CODE |
| LOW⚡ | openpilot/sunnypilot/selfdrive/car/cruise_ext.py | 111 | def update_speed_limit_assist(self, is_metric, LP_SP: custom.LongitudinalPlanSP) -> None: | CODE |
| LOW⚡ | openpilot/sunnypilot/selfdrive/car/cruise_ext.py | 133 | def update_speed_limit_assist_v_cruise_non_pcm(self) -> None: | CODE |
| LOW | …car/intelligent_cruise_button_management/controller.py | 53 | def update_calculations(self, CS: car.CarState, LP_SP: custom.LongitudinalPlanSP) -> None: | CODE |
| LOW | …car/intelligent_cruise_button_management/controller.py | 109 | def update_readiness(self, CS: car.CarState, CC: car.CarControl) -> None: | CODE |
| LOW | …t/sunnypilot/selfdrive/car/tests/test_custom_cruise.py | 50 | def set_custom_increments(self, enabled: bool, short_inc: int, long_inc: int) -> None: | CODE |
| LOW | …/sunnypilot/selfdrive/controls/lib/lane_turn_desire.py | 31 | def update_params(self) -> None: | CODE |
| LOW | …/sunnypilot/selfdrive/controls/lib/lane_turn_desire.py | 36 | def update_lane_turn(self, blindspot_left: bool, blindspot_right: bool, left_blinker: bool, right_blinker: bool, v_ego | CODE |
| LOW⚡ | …/sunnypilot/selfdrive/controls/lib/auto_lane_change.py | 66 | def update_params(self) -> None: | CODE |
| LOW⚡ | …/sunnypilot/selfdrive/controls/lib/auto_lane_change.py | 71 | def update_lane_change_timers(self, blindspot_detected: bool) -> None: | CODE |
| LOW | …/sunnypilot/selfdrive/controls/lib/auto_lane_change.py | 100 | def update_lane_change(self, blindspot_detected: bool, brake_pressed: bool) -> None: | CODE |
| LOW | openpilot/sunnypilot/selfdrive/controls/lib/relc.py | 37 | def update_params(self) -> None: | CODE |
| LOW | openpilot/sunnypilot/selfdrive/controls/lib/dec/dec.py | 200 | def set_mpc_fcw_crash_cnt(self) -> None: | CODE |
| LOW | openpilot/sunnypilot/selfdrive/controls/lib/dec/dec.py | 204 | def _update_calculations(self, sm: messaging.SubMaster) -> None: | CODE |
| LOW | …drive/controls/lib/speed_limit/speed_limit_resolver.py | 77 | def update_speed_limit_states(self) -> None: | CODE |
| LOW⚡ | …lfdrive/controls/lib/speed_limit/speed_limit_assist.py | 123 | def update_active_event(self, events_sp: EventsSP) -> None: | CODE |
| LOW⚡ | …lfdrive/controls/lib/speed_limit/speed_limit_assist.py | 143 | def update_params(self) -> None: | CODE |
| LOW⚡ | …lfdrive/controls/lib/speed_limit/speed_limit_assist.py | 149 | def update_buttons(self, release_toggle: int) -> None: | CODE |
| LOW | …lfdrive/controls/lib/speed_limit/speed_limit_assist.py | 176 | def update_calculations(self, v_cruise_cluster: float) -> None: | CODE |
| LOW | …lfdrive/controls/lib/speed_limit/speed_limit_assist.py | 363 | def update_events(self, events_sp: EventsSP) -> None: | CODE |
| LOW | …enpilot/sunnypilot/selfdrive/controls/lib/nnlc/nnlc.py | 90 | def update_neural_network_feedforward(self, CS, params, calibrated_pose) -> None: | CODE |
| LOW⚡ | …controls/lib/smart_cruise_control/vision_controller.py | 78 | def _update_params(self) -> None: | CODE |
| LOW⚡ | …controls/lib/smart_cruise_control/vision_controller.py | 82 | def _update_calculations(self, sm: messaging.SubMaster) -> None: | CODE |
| LOW⚡ | …ve/controls/lib/smart_cruise_control/map_controller.py | 103 | def update_calculations(self) -> None: | CODE |
| LOW | openpilot/sunnypilot/mapd/mapd_manager.py | 113 | def update_osm_db() -> None: | CODE |
| LOW | openpilot/sunnypilot/mapd/mapd_installer.py | 28 | def update_installed_version(version: str, params: Params | None = None) -> None: | CODE |
| LOW | …enpilot/sunnypilot/mapd/live_map_data/base_map_data.py | 30 | def update_location(self) -> None: | CODE |
| LOW | openpilot/sunnypilot/mapd/live_map_data/osm_map_data.py | 22 | def update_location(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 159 | def _update_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 189 | def _update_status(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 220 | def _update_chestnut_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 242 | def update_params(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/ui_state.py | 304 | def set_override_interactive_timeout(self, timeout: int | None) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/onroad/hud_renderer.py | 75 | def _update_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/onroad/exp_button.py | 27 | def set_rect(self, rect: rl.Rectangle) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/onroad/exp_button.py | 30 | def _update_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/sunnypilot/ui_state.py | 84 | def update_onroad_brightness(self, has_alert: bool) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/sunnypilot/ui_state.py | 148 | def update_params(self) -> None: | CODE |
| LOW | …enpilot/selfdrive/ui/sunnypilot/onroad/hud_renderer.py | 47 | def _update_state(self) -> None: | CODE |
| LOW | …elfdrive/ui/sunnypilot/onroad/developer_ui/__init__.py | 57 | def _update_state(self) -> None: | CODE |
| LOW | …ot/selfdrive/ui/sunnypilot/mici/onroad/hud_renderer.py | 18 | def _update_state(self) -> None: | CODE |
| LOW | …/selfdrive/ui/sunnypilot/layouts/settings/sunnylink.py | 67 | def set_parent_rect(self, parent_rect: rl.Rectangle) -> None: | CODE |
| LOW | …/selfdrive/ui/sunnypilot/layouts/settings/sunnylink.py | 119 | def set_parent_rect(self, parent_rect: rl.Rectangle) -> None: | CODE |
| LOW | …/ui/sunnypilot/layouts/settings/vehicle/brands/base.py | 15 | def update_settings(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/mici/onroad/hud_renderer.py | 67 | def _update_state(self) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/mici/onroad/hud_renderer.py | 148 | def _update_state(self) -> None: | CODE |
| LOW | …/selfdrive/ui/mici/layouts/settings/network/wifi_ui.py | 191 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | …/selfdrive/ui/mici/layouts/settings/network/esim_ui.py | 286 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/mici/widgets/button.py | 59 | def set_position(self, x: float, y: float) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/mici/widgets/button.py | 183 | def set_touch_valid_callback(self, touch_callback: Callable[[], bool]) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/tests/diff/replay_script.py | 76 | def set_send(self, fn: Callable, wait_after: int = WAIT_SHORT) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/tests/diff/replay_script.py | 117 | def set_prime_state(prime_type: PrimeType) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/tests/diff/replay_script.py | 141 | def set_updater_state(state: str) -> None: | CODE |
| LOW | openpilot/selfdrive/ui/lib/prime_state.py | 65 | def set_type(self, prime_type: PrimeType) -> None: | CODE |
| 47 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/tools/jotpluggler/app.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/jotpluggler/util.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/jotpluggler/dbc.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/panda.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/threadpool.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/mainwin.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/app.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/chart/chartswidget.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/chart/chart.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/dialogs/streamselector.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/binaryview.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/detailwidget.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/videowidget.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/messageswidget.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/signalview.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/ui/widgets/cameraview.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/streams/abstractstream.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/cabana/utils/util.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/lib/vidindex.py | 181 | nal_unit_type = HevcNalUnitType((nal_unit_header[0] >> 1) & 0x3F) | COMMENT |
| LOW | openpilot/tools/lib/vidindex.py | 201 | # if( dependent_slice_segments_enabled_flag ) | COMMENT |
| LOW | openpilot/tools/lib/vidindex.py | 221 | # for now since we don't use it return -1 for slice_type | COMMENT |
| LOW | openpilot/tools/replay/route.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/tools/replay/replay.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/sunnypilot/selfdrive/locationd/locationd.h | 1 | #pragma once | COMMENT |
| LOW | …npilot/sunnypilot/selfdrive/locationd/models/live_kf.h | 1 | #pragma once | COMMENT |
| LOW | …npilot/sunnypilot/system/sensord/sensors/bmx055_magn.h | 1 | #pragma once | COMMENT |
| LOW | …npilot/sunnypilot/system/sensord/sensors/bmx055_magn.h | 21 | #define BMX055_MAGN_I2C_REG_DIG_Z4_MSB 0x63 | COMMENT |
| LOW | openpilot/sunnypilot/system/sensord/sensors/constants.h | 1 | #pragma once | COMMENT |
| LOW | …pilot/sunnypilot/system/sensord/sensors/bmx055_accel.h | 1 | #pragma once | COMMENT |
| LOW | …pilot/sunnypilot/system/sensord/sensors/bmx055_accel.h | 21 | #define BMX055_ACCEL_HBW_DISABLE 0b00000000 | COMMENT |
| LOW | …lot/sunnypilot/system/sensord/sensors/mmc5603nj_magn.h | 1 | #pragma once | COMMENT |
| LOW | …pilot/sunnypilot/system/sensord/sensors/lsm6ds3_gyro.h | 1 | #pragma once | COMMENT |
| LOW | …ilot/sunnypilot/system/sensord/sensors/lsm6ds3_accel.h | 1 | #pragma once | COMMENT |
| LOW | …ilot/sunnypilot/system/sensord/sensors/lsm6ds3_accel.h | 21 | #define LSM6DS3TRC_ACCEL_CHIP_ID 0x6A | COMMENT |
| LOW | …npilot/sunnypilot/system/sensord/sensors/bmx055_gyro.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/selfdrive/pandad/panda.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/loggerd/loggerd.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/loggerd/encoder/v4l_decoder.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/loggerd/encoder/v4l_decoder.h | 21 | #endif | COMMENT |
| LOW | openpilot/system/loggerd/encoder/encoder.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/camerad/sensors/sensor.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/camerad/cameras/spectra.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/camerad/cameras/spectra.h | 21 | COMMENT | |
| LOW | openpilot/system/camerad/cameras/nv12_info.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/system/qcomgpsd/nmeaport.py | 41 | # constellation enum: | COMMENT |
| LOW | openpilot/common/swaglog.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/common/swaglog.h | 61 | } else { \ | COMMENT |
| LOW | openpilot/common/util.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/common/hardware/hw.h | 1 | #pragma once | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 301 | #��0�H!O7�S�m��_- ��I2�\�I�����#��f(��4��jsq�A����59=���גeГC<��??��?0?0���}�zܸ���ˣT���岭V���romɵ�ч$���H�E���� | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 321 | #�ɨ���U����� ��4İ�;Dۺ���n���G�}Xϳ�2'���_Ќ�XQ;��3�LF*7o����DK��y�&�?0�MF�/��Yfqh4��NVY=qo�qԚ��i&��U&Y$V���> | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 341 | #�;�;�^l��y��/��^���1�t��o{Y��j������'���ɣ�l����j��0�֨���>��8�J����6m��/�d�������--$���%��2�# p~�[s�U�"?r�E??�ns� | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 361 | #����w6�����N�N����t���F??o�7E�U�Ւ�[��E����M��N]UN�c���ueB/PØ�?0q�|������kxfD�-���݇�=�|?nD�Q���I͵��BVs-�9 | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 381 | #��i�+�mڟ@��-���uo��??�r:\t�X���K?0:�m��J�$Kfk_�6KC)?0=-7��ė��++�#�����3<J�-�B��6Ae��(u�X�h�*�x���1< �yf� | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 401 | #(�:��??Nˈfd�Qt�2����q�1Q56ᒸ�p��V�C0v�`�dc��fs����Hк(C9|k�!H�֚�p��9�>�[�� Ͻ���{p+T1���;w?r����Ińh�� | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 421 | #�/v�3�ܙ��|z��R���#�������*�2I�2{�dG��3N�]��Z�g�ġ�1��5ۢ���~��0���^?n7j'�Ju=�< :���h��|D�(/�#4�SuY/9���I9x�i9F� | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 441 | #?n�������M������{dLG��7#Th�G4Z�z�F���&EZv�η��t�5�nHO�ַP?r�:�?r���{��f��D�s3lf8G��#R���x8���t1xW|!���� | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 461 | #fX�?rV�E�?0Ͱ��Q�Z�![�5 ]�sA`6���-�%�X�ƃV��w�`�9���\j��m����e�ԏ��\?0�+;��_���x�#1��Xv�`��J?r()�#��(c"��Ȧ��R�Y | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 481 | #1w� �s�<���� �| �?r�Z� G�K�%�%��]S8v�^�=˝mi��_(6�|�?n��(�8��I�/��Q���ԭ���n�"��G�N�@�u!�p� =W�>>55�4�%��s$%�O� | COMMENT |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 501 | #b�'�vC��z-߫-�ZEܧ藯����?n��X��:|�RygW� �}X���d�s|g�LF�2kw(���߿���0h��q���3���@z7۾(��)�05:|����fS'�l��ƚ���;?0;� | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | launch_chffrplus.sh | 20 | # Check if AGNOS update is required | COMMENT |
| LOW | tools/scripts/test_fw_query_on_routes.py | 85 | # Check if fuzzy match was correct | COMMENT |
| LOW | release/ci/squash_and_merge_prs.py | 74 | # Check if checks have passed | COMMENT |
| LOW | release/ci/squash_and_merge_prs.py | 93 | # Check if all checks are successful except for our reset-and-squash check | COMMENT |
| LOW | release/ci/squash_and_merge.py | 33 | # Check if the target branch exists. If not, create it from the base branch. | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/cameraview.py | 313 | # Check if target has frames ready | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/augmented_road_view.py | 144 | # Check if camera calibration data is available and valid | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/augmented_road_view.py | 162 | # Check if we can use cached matrix | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/alert_renderer.py | 88 | # Check if selfdriveState messages have stopped arriving | COMMENT |
| LOW | openpilot/selfdrive/ui/onroad/model_renderer.py | 92 | # Check if data is up-to-date | COMMENT |
| LOW | openpilot/selfdrive/ui/mici/onroad/cameraview.py | 360 | # Check if target has frames ready | COMMENT |
| LOW | …npilot/selfdrive/ui/mici/onroad/augmented_road_view.py | 273 | # Check if camera calibration data is available and valid | COMMENT |
| LOW | openpilot/selfdrive/ui/mici/onroad/alert_renderer.py | 128 | # Check if selfdriveState messages have stopped arriving | COMMENT |
| LOW | openpilot/selfdrive/ui/mici/onroad/model_renderer.py | 113 | # Check if data is up-to-date | COMMENT |
| LOW | openpilot/selfdrive/ui/layouts/settings/software.py | 157 | # Check if we should start checking or start downloading | COMMENT |
| LOW | openpilot/selfdrive/locationd/paramsd.py | 214 | # Check if car model matches | COMMENT |
| LOW | openpilot/selfdrive/locationd/paramsd.py | 218 | # Check if starting values are sane | COMMENT |
| LOW | openpilot/selfdrive/selfdrived/state.py | 92 | # Check if openpilot is engaged and actuators are enabled | COMMENT |
| LOW | openpilot/system/ui/sunnypilot/widgets/list_view.py | 195 | # Check if this specific button is enabled | COMMENT |
| LOW | openpilot/system/ui/lib/wrap_text.py | 75 | # Check if word alone exceeds max width (need to break the word) | COMMENT |
| LOW | openpilot/system/ui/lib/wrap_text.py | 90 | # Check if word fits on current line | COMMENT |
| LOW | openpilot/system/ui/widgets/label.py | 361 | # Check if cache is still valid | COMMENT |
| LOW | openpilot/system/ui/widgets/label.py | 492 | # Check if this line fits | COMMENT |
| LOW | openpilot/system/hardware/hardwared.py | 454 | # Check if we need to shut down | COMMENT |
| LOW | openpilot/system/sensord/sensors/lsm6ds3_gyro.py | 62 | # Check if gyroscope data is ready, since it's shared with accelerometer | COMMENT |
| LOW | openpilot/system/sensord/sensors/lsm6ds3_gyro.py | 110 | # Set ODR to 208Hz, FS to 2000dps | COMMENT |
| LOW | openpilot/system/sensord/sensors/lsm6ds3_accel.py | 56 | # Set ODR to 104 Hz, FS to ±2g (default) | COMMENT |
| LOW | openpilot/system/sensord/sensors/lsm6ds3_accel.py | 67 | # Check if data is ready since IRQ is shared with gyro | COMMENT |
| LOW | openpilot/system/updated/updated.py | 106 | # Set protocol to the new version (default after git 2.26) to reduce data | COMMENT |
| LOW | openpilot/system/updated/updated.py | 411 | # Check if we just performed an update | COMMENT |
| LOW | openpilot/system/athena/athenad.py | 297 | # Check if uploading over metered connection is allowed | COMMENT |
| LOW | openpilot/system/athena/athenad.py | 760 | # Set TOS to keep connection responsive while under load. | COMMENT |
| LOW | openpilot/system/athena/athenad.py | 878 | # Check if the file is empty | COMMENT |
| LOW | .github/workflows/sunnypilot-master-dev-prep.yaml | 90 | # Check if source branch exists | COMMENT |
| LOW | .github/workflows/sunnypilot-master-dev-prep.yaml | 99 | # Check if target branch exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | pyproject.toml | 11 | # ------------------------------------------ | COMMENT |
| MEDIUM⚡ | pyproject.toml | 13 | # ------------------------------------------ | COMMENT |
| MEDIUM⚡ | pyproject.toml | 16 | # ------------------------------------------ | COMMENT |
| MEDIUM | tools/setup_dependencies.sh | 41 | # ------------------------------------------------ | COMMENT |
| MEDIUM | tools/setup_dependencies.sh | 49 | # ------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …npilot/system/ui/lib/tests/test_handle_state_change.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …npilot/system/ui/lib/tests/test_handle_state_change.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …npilot/system/ui/lib/tests/test_handle_state_change.py | 337 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …npilot/system/ui/lib/tests/test_handle_state_change.py | 342 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …npilot/system/ui/lib/tests/test_handle_state_change.py | 416 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …npilot/system/ui/lib/tests/test_handle_state_change.py | 418 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …npilot/system/ui/lib/tests/test_handle_state_change.py | 841 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …npilot/system/ui/lib/tests/test_handle_state_change.py | 843 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/tools/sim/lib/simulated_sensors.py | 11 | CODE | |
| LOW | openpilot/tools/sim/lib/simulated_sensors.py | 11 | CODE | |
| LOW | openpilot/tools/sim/lib/keyboard_ctrl.py | 10 | CODE | |
| LOW | …sunnypilot/sunnylink/tools/generate_settings_schema.py | 8 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/tools/apply_macros.py | 22 | CODE | |
| LOW | …ilot/sunnypilot/sunnylink/tools/extract_settings_ui.py | 17 | CODE | |
| LOW | …ilot/sunnypilot/sunnylink/tools/compile_settings_ui.py | 30 | CODE | |
| LOW | …lot/sunnypilot/sunnylink/tools/validate_settings_ui.py | 14 | CODE | |
| LOW | …npilot/sunnypilot/sunnylink/tests/test_capabilities.py | 13 | CODE | |
| LOW | …ot/sunnypilot/sunnylink/tests/test_settings_changes.py | 12 | CODE | |
| LOW | …sunnypilot/sunnylink/tests/test_compile_settings_ui.py | 16 | CODE | |
| LOW | openpilot/sunnypilot/sunnylink/athena/sunnylinkd.py | 8 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/layouts/home.py | 1 | CODE | |
| LOW | openpilot/selfdrive/ui/mici/layouts/offroad_alerts.py | 1 | CODE | |
| LOW | openpilot/selfdrive/ui/tests/diff/replay_script.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/test/process_replay/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/pandad/__init__.py | 1 | CODE | |
| LOW | openpilot/selfdrive/pandad/__init__.py | 1 | CODE | |
| LOW | openpilot/system/ui/widgets/__init__.py | 1 | CODE | |
| LOW | openpilot/system/ui/widgets/nav_widget.py | 1 | CODE | |
| LOW | openpilot/system/athena/athenad.py | 2 | CODE | |
| LOW | openpilot/common/esim/__init__.py | 1 | CODE | |
| LOW | openpilot/common/esim/__init__.py | 1 | CODE | |
| LOW | openpilot/common/esim/__init__.py | 1 | CODE | |
| LOW | openpilot/common/esim/__init__.py | 1 | CODE | |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 3 | CODE | |
| LOW | openpilot/third_party/copyparty/copyparty-sfx.py | 3 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | openpilot/cereal/messaging/__init__.py | 2 | CODE | |
| LOW | …/cereal/messaging/tests/validate_sp_cereal_upstream.py | 13 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | openpilot/sunnypilot/models/helpers.py | 200 | # The following method(s) are modeld helper methods | COMMENT |
| MEDIUM | openpilot/sunnypilot/selfdrive/controls/lib/dec/dec.py | 21 | # Define the valid mode types | COMMENT |
| MEDIUM | openpilot/selfdrive/ui/onroad/cameraview.py | 103 | # Create a 1x1 pixel placeholder texture for EGL image binding | STRING |
| MEDIUM | openpilot/selfdrive/ui/onroad/model_renderer.py | 62 | # Initialize ModelPoints objects | COMMENT |
| MEDIUM | openpilot/selfdrive/ui/mici/onroad/cameraview.py | 146 | # Create a 1x1 pixel placeholder texture for EGL image binding | STRING |
| MEDIUM | openpilot/selfdrive/ui/mici/onroad/model_renderer.py | 68 | # Initialize ModelPoints objects | COMMENT |
| MEDIUM | openpilot/selfdrive/ui/body/layouts/onroad.py | 19 | # This class is used both in BIG (tizi) and small (mici) UIs | COMMENT |
| MEDIUM | openpilot/system/ui/lib/egl.py | 61 | # Create a single instance of the state | COMMENT |
| MEDIUM | openpilot/system/updated/updated.py | 392 | # Create the finalized, ready-to-swap update | COMMENT |
| MEDIUM | openpilot/common/transformations/model.py | 64 | # This function is verified to give similar results to xx.uncommon.utils.transform_img | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | openpilot/selfdrive/ui/translations/potools.py | 289 | '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 |
| HIGH | openpilot/selfdrive/ui/translations/potools.py | 289 | '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 |
| HIGH | openpilot/system/ui/lib/shader_polygon.py | 60 | if (t >= a && t <= b) { | CODE |
| HIGH | openpilot/system/updated/updated.py | 199 | updated_version = run(["bash", "-c", r"unset AGNOS_VERSION && source launch_env.sh && \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/selfdrive/ui/widgets/offroad_alerts.py | 115 | # TODO: just use a Scroller? | COMMENT |
| MEDIUM | openpilot/selfdrive/selfdrived/events.py | 795 | # When the relay in the harness box opens the CAN bus between the LKAS camera | COMMENT |
| LOW | openpilot/system/ui/lib/scroll_panel2.py | 212 | # TODO: we should just set velocity and let autoscroll go back to steady. delays one frame but who cares | COMMENT |
| LOW | openpilot/system/ui/widgets/list_view.py | 145 | # TODO: just use the generic Widget click callbacks everywhere, no returning from render | COMMENT |
| LOW | openpilot/system/ui/widgets/network.py | 114 | # AdvancedNetworkSettings needs the full openpilot environment, standalone apps just use WifiManagerUI | COMMENT |
| MEDIUM | …enpilot/system/hardware/tests/test_power_monitoring.py | 166 | # Test to check policy of not stopping charging when harness is not connected | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/selfdrive/controls/lib/tests/test_lane_turn_desire.py | 74 | CODE | |
| LOW | …enpilot/selfdrive/test/longitudinal_maneuvers/plant.py | 17 | CODE | |
| LOW | openpilot/selfdrive/locationd/lagd.py | 177 | CODE | |
| LOW | openpilot/selfdrive/controls/radard.py | 109 | CODE | |
| LOW | openpilot/system/ui/sunnypilot/widgets/list_view.py | 376 | CODE | |
| LOW | openpilot/system/ui/sunnypilot/widgets/list_view.py | 208 | CODE | |
| LOW | openpilot/system/ui/sunnypilot/widgets/tree_dialog.py | 88 | CODE | |
| LOW | openpilot/system/ui/widgets/button.py | 82 | CODE | |
| LOW | openpilot/system/ui/widgets/label.py | 78 | CODE | |
| LOW | openpilot/system/ui/widgets/label.py | 210 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | openpilot/selfdrive/controls/controlsd.py | 31 | ACTUATOR_FIELDS = tuple(car.CarControl.Actuators.schema.fields.keys()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/tools/lib/bootlog.py | 47 | # TODO: implement an API endpoint for this | COMMENT |
| LOW | openpilot/system/ui/widgets/mici_keyboard.py | 12 | CHAR_CAPS_FONT_SIZE = 38 # TODO: implement this | CODE |
| LOW | openpilot/system/ui/widgets/layouts.py | 7 | # TODO: implement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/selfdrive/ui/mici/layouts/main.py | 62 | # Start onboarding if terms or training not completed, make sure to push after self | COMMENT |
| LOW | openpilot/selfdrive/ui/layouts/main.py | 52 | # Start onboarding if terms or training not completed, make sure to push after self | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | openpilot/system/loggerd/tests/loggerd_tests_common.py | 45 | return "fake-token" | CODE |
| LOW | openpilot/system/loggerd/tests/loggerd_tests_common.py | 55 | return "fake-token" | CODE |
| LOW | openpilot/system/athena/tests/helpers.py | 42 | return "fake-token" | CODE |