Repository Analysis

commaai/opendbc

a Python API for your car

9.7 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of commaai/opendbc, a Python project with 3,369 GitHub stars. SynthScan v2.0 examined 53,292 lines of code across 314 source files, recording 388 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 9.7 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

9.7
Adjusted Score
9.7
Raw Score
100%
Time Factor
2026-08-29
Last Push
3.4K
Stars
Python
Language
53.3K
Lines of Code
314
Files
388
Pattern Hits
2026-08-29
Scan Date
0.06
HC Hit Rate

What These Metrics Mean

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

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 20MEDIUM 15LOW 353

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers196 hits · 216 pts
SeverityFileLineSnippetContext
LOWopendbc/car/interfaces.py172 def get_steer_feedforward_default(desired_angle, v_ego):CODE
LOWopendbc/car/interfaces.py176 def get_steer_feedforward_function(self):CODE
LOWopendbc/car/interfaces.py179 def torque_from_lateral_accel_linear(self, lateral_acceleration: float, torque_params: structs.CarParams.LateralTorqueCODE
LOWopendbc/car/interfaces.py183 def torque_from_lateral_accel(self) -> TorqueFromLateralAccelCallbackType:CODE
LOWopendbc/car/interfaces.py186 def lateral_accel_from_torque_linear(self, torque: float, torque_params: structs.CarParams.LateralTorqueTuning) -> floCODE
LOWopendbc/car/interfaces.py189 def lateral_accel_from_torque(self) -> LateralAccelFromTorqueCallbackType:CODE
LOWopendbc/car/interfaces.py317 def update_blinker_from_stalk(self, blinker_time: int, left_blinker_stalk: bool, right_blinker_stalk: bool):CODE
LOWopendbc/car/lateral.py70def apply_driver_steer_torque_limits(apply_torque: int, apply_torque_last: int, driver_torque: float, LIMITS, steer_max:CODE
LOWopendbc/car/lateral.py93def apply_dist_to_meas_limits(val, val_last, val_meas,CODE
LOWopendbc/car/lateral.py115def apply_meas_steer_torque_limits(apply_torque, apply_torque_last, motor_torque, LIMITS):CODE
LOWopendbc/car/lateral.py121def apply_std_steer_angle_limits(apply_angle: float, apply_angle_last: float, v_ego: float, steering_angle: float,CODE
LOWopendbc/car/lateral.py150def apply_steer_angle_limits_vm(apply_angle: float, apply_angle_last: float, v_ego_raw: float, steering_angle: float,CODE
LOWopendbc/car/ccp.py205 def set_memory_transfer_address(self, mta_num: int, addr_ext: int, addr: int) -> None:CODE
LOWopendbc/car/ccp.py368 def start_stop_synchronised_transmission(self, mode: int) -> None:CODE
LOWopendbc/car/ccp.py374 def get_active_calibration_page(self):CODE
LOWopendbc/car/docs.py52def build_sorted_car_docs_list(platforms, footnotes=None):CODE
LOWopendbc/car/vehicle_model.py170def create_dyn_state_matrices(u: float, VM: VehicleModel) -> tuple[np.ndarray, np.ndarray]:CODE
LOWopendbc/car/uds.py679 def diagnostic_session_control(self, session_type: SESSION_TYPE):CODE
LOWopendbc/car/uds.py724 def secured_data_transmission(self, data: bytes):CODE
LOWopendbc/car/uds.py792 def read_scaling_data_by_identifier(self, data_identifier_type: DATA_IDENTIFIER_TYPE):CODE
LOWopendbc/car/uds.py800 def read_data_by_periodic_identifier(self, transmission_mode_type: TRANSMISSION_MODE_TYPE, periodic_data_identifier: iCODE
LOWopendbc/car/uds.py805 def dynamically_define_data_identifier(self, dynamic_definition_type: DYNAMIC_DEFINITION_TYPE, dynamic_data_identifierCODE
LOWopendbc/car/uds.py855 def clear_diagnostic_information(self, dtc_group_type: DTC_GROUP_TYPE):CODE
LOWopendbc/car/uds.py897 def input_output_control_by_identifier(self, data_identifier_type: DATA_IDENTIFIER_TYPE, control_parameter_type: CONTRCODE
LOWopendbc/car/ecu_addrs.py9def _is_tester_present_response(msg: CanData, subaddr: int | None = None) -> bool:CODE
LOWopendbc/car/fingerprints.py28def eliminate_incompatible_cars(msg, candidate_cars):CODE
LOWopendbc/car/fingerprints.py52def all_legacy_fingerprint_cars():CODE
LOWopendbc/car/volkswagen/mlbcan.py21def create_acc_buttons_control(packer, bus, gra_stock_values, cancel=False, resume=False):CODE
LOWopendbc/car/volkswagen/carstate.py385 def parse_mlb_mqb_steering_state(self, ret, pt_cp):CODE
LOWopendbc/car/volkswagen/pqcan.py35def create_acc_buttons_control(packer, bus, gra_stock_values, cancel=False, resume=False):CODE
LOWopendbc/car/volkswagen/mqbcan.py55def create_acc_buttons_control(packer, bus, gra_stock_values, cancel=False, resume=False):CODE
LOWopendbc/car/volkswagen/mqbcan.py175def volkswagen_mqb_meb_checksum(address: int, sig, d: bytearray) -> int:CODE
LOWopendbc/car/volkswagen/mqbcan.py188def volkswagen_mqb_meb_dyn_len_checksum(address: int, sig, d: bytearray, length: int, const: list[int]) -> int:CODE
LOWopendbc/car/volkswagen/mqbcan.py200def volkswagen_meb_alt_crc_checksum(address: int, sig, d: bytearray) -> int:CODE
LOWopendbc/car/volkswagen/mebcan.py246def create_capacitive_wheel_touch(packer, bus, lat_active, klr_stock_values):CODE
LOWopendbc/car/volkswagen/tests/test_volkswagen.py21 def test_same_torque_mitigation(self):CODE
LOWopendbc/car/volkswagen/tests/test_volkswagen.py33 def test_spare_part_fw_pattern(self):CODE
LOWopendbc/car/volkswagen/tests/test_volkswagen.py56 def test_custom_fuzzy_fingerprinting(self):CODE
LOWopendbc/car/ford/values.py268def ford_asbuilt_block_request(block_id: int):CODE
LOWopendbc/car/ford/values.py272def ford_asbuilt_block_response(block_id: int):CODE
LOWopendbc/car/ford/radar_interface.py72def _create_delphi_esr_radar_can_parser(CP) -> CANParser:CODE
LOWopendbc/car/ford/radar_interface.py79def _create_delphi_mrr_radar_can_parser(CP) -> CANParser:CODE
LOWopendbc/car/ford/tests/test_ford.py68 def test_platform_codes_fuzzy_fw(self, fuzzy):CODE
LOWopendbc/car/ford/tests/test_ford.py72 def test_platform_codes_spot_check(self):CODE
LOWopendbc/car/tests/test_fw_fingerprint.py77 def test_fuzzy_match_ecu_count(self, brand, car_model, ecus):CODE
LOWopendbc/car/tests/test_fw_fingerprint.py118 def test_all_addrs_map_to_one_ecu(self):CODE
LOWopendbc/car/tests/test_fw_fingerprint.py128 def test_data_collection_ecus(self):CODE
LOWopendbc/car/tests/test_fw_fingerprint.py151 def test_missing_versions_and_configs(self):CODE
LOWopendbc/car/tests/test_fw_fingerprint.py169 def test_fw_request_ecu_whitelist(self):CODE
LOWopendbc/car/tests/test_fw_fingerprint.py183 def test_request_ecus_in_versions(self):CODE
LOWopendbc/car/tests/test_fw_fingerprint.py220 def fake_set_obd_multiplexing(self, obd_multiplexing):CODE
LOWopendbc/car/tests/test_vehicle_model.py26 def test_dyn_ss_sol_against_yaw_rate(self):CODE
LOWopendbc/car/tests/test_models.py108 def get_testing_data_from_logreader(cls, lr):CODE
LOWopendbc/car/tests/test_models.py231 def test_panda_safety_rx_checks(self):CODE
LOWopendbc/car/tests/test_models.py284 def test_panda_safety_tx_cases(self):CODE
LOWopendbc/car/tests/test_models.py323 def test_panda_safety_carstate_fuzzy(self, fuzzy):CODE
LOWopendbc/car/tests/test_models.py376 def test_panda_safety_carstate(self):CODE
LOWopendbc/car/tesla/teslacan.py31 def create_longitudinal_command(self, acc_state, accel, counter, v_ego, active):CODE
LOWopendbc/car/hyundai/carstate.py66 def recent_button_interaction(self) -> bool:CODE
LOWopendbc/car/hyundai/tests/test_hyundai.py122 def test_correct_ecu_response_database(self):CODE
136 more matches not shown…
Deep Nesting99 hits · 96 pts
SeverityFileLineSnippetContext
LOWopendbc/car/interfaces.py378CODE
LOWopendbc/car/ccp.py136CODE
LOWopendbc/car/vin.py32CODE
LOWopendbc/car/fw_versions.py54CODE
LOWopendbc/car/fw_versions.py104CODE
LOWopendbc/car/fw_versions.py173CODE
LOWopendbc/car/fw_versions.py252CODE
LOWopendbc/car/uds.py366CODE
LOWopendbc/car/uds.py474CODE
LOWopendbc/car/uds.py498CODE
LOWopendbc/car/uds.py805CODE
LOWopendbc/car/xcp.py150CODE
LOWopendbc/car/ecu_addrs.py31CODE
LOWopendbc/car/isotp_parallel_query.py76CODE
LOWopendbc/car/isotp.py69CODE
LOWopendbc/car/car_helpers.py42CODE
LOWopendbc/car/volkswagen/values.py71CODE
LOWopendbc/car/volkswagen/interface.py17CODE
LOWopendbc/car/volkswagen/mebcan.py97CODE
LOWopendbc/car/volkswagen/carcontroller.py63CODE
LOWopendbc/car/volkswagen/tests/test_volkswagen.py33CODE
LOWopendbc/car/volkswagen/tests/test_volkswagen.py41CODE
LOWopendbc/car/volkswagen/tests/test_volkswagen.py56CODE
LOWopendbc/car/ford/interface.py31CODE
LOWopendbc/car/ford/fordcan.py146CODE
LOWopendbc/car/ford/fordcan.py225CODE
LOWopendbc/car/tests/test_docs.py34CODE
LOWopendbc/car/tests/test_docs.py50CODE
LOWopendbc/car/tests/test_fw_fingerprint.py101CODE
LOWopendbc/car/tests/test_fw_fingerprint.py110CODE
LOWopendbc/car/tests/test_fw_fingerprint.py136CODE
LOWopendbc/car/tests/test_fw_fingerprint.py247CODE
LOWopendbc/car/tests/test_vehicle_model.py41CODE
LOWopendbc/car/tests/test_models.py108CODE
LOWopendbc/car/tests/test_models.py231CODE
LOWopendbc/car/tests/test_models.py376CODE
LOWopendbc/car/tests/car_diff.py35CODE
LOWopendbc/car/tests/car_diff.py250CODE
LOWopendbc/car/hyundai/values.py645CODE
LOWopendbc/car/hyundai/values.py18CODE
LOWopendbc/car/hyundai/carstate.py25CODE
LOWopendbc/car/hyundai/carstate.py72CODE
LOWopendbc/car/hyundai/hyundaicanfd.py236CODE
LOWopendbc/car/hyundai/carcontroller.py128CODE
LOWopendbc/car/hyundai/carcontroller.py174CODE
LOWopendbc/car/hyundai/tests/test_hyundai.py108CODE
LOWopendbc/car/hyundai/tests/test_hyundai.py139CODE
LOWopendbc/car/hyundai/tests/test_hyundai.py158CODE
LOWopendbc/car/hyundai/tests/test_hyundai.py173CODE
LOWopendbc/car/toyota/values.py404CODE
LOWopendbc/car/toyota/interface.py25CODE
LOWopendbc/car/toyota/radar_interface.py57CODE
LOWopendbc/car/toyota/carcontroller.py78CODE
LOWopendbc/car/toyota/tests/test_toyota.py68CODE
LOWopendbc/car/toyota/tests/test_toyota.py82CODE
LOWopendbc/car/toyota/tests/test_toyota.py93CODE
LOWopendbc/car/nissan/carstate.py27CODE
LOWopendbc/car/subaru/interface.py14CODE
LOWopendbc/car/subaru/carcontroller.py26CODE
LOWopendbc/car/rivian/tests/test_rivian.py8CODE
39 more matches not shown…
Cross-File Repetition17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHopendbc/car/volkswagen/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/ford/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/mazda/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/body/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/tesla/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/hyundai/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/toyota/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/nissan/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/subaru/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/rivian/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/gm/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/chrysler/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/psa/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGHopendbc/car/honda/fingerprints.py0auto-formatted using opendbc/car/debug/format_fingerprints.py, edit structure there.STRING
HIGH…dbc/generator/hyundai/hyundai_kia_mando_front_radar.py0version "" ns_ : ns_desc_ cm_ ba_def_ ba_ val_ cat_def_ cat_ filter ba_def_def_ ev_data_ envvar_data_ sgtype_ sgtype_valSTRING
HIGH…bc/generator/hyundai/hyundai_kia_mando_corner_radar.py0version "" ns_ : ns_desc_ cm_ ba_def_ ba_ val_ cat_def_ cat_ filter ba_def_def_ ev_data_ envvar_data_ sgtype_ sgtype_valSTRING
HIGH…endbc/dbc/generator/rivian/rivian_mando_front_radar.py0version "" ns_ : ns_desc_ cm_ ba_def_ ba_ val_ cat_def_ cat_ filter ba_def_def_ ev_data_ envvar_data_ sgtype_ sgtype_valSTRING
AI Slop Vocabulary15 hits · 38 pts
SeverityFileLineSnippetContext
MEDIUMopendbc/car/lateral.py71 # some safety modes utilize a dynamic max steerCOMMENT
MEDIUMopendbc/car/docs_definitions.py40 CUSTOM = "Custom" # Upstream, but don't have a harness available or need an unusual custom installCODE
MEDIUMopendbc/car/docs_definitions.py97 has_connector: bool = True # without are hidden on the harness connector pageCODE
LOWopendbc/car/volkswagen/values.py321# chassis code is already listed below, don't add a new CAR, just add to theCOMMENT
MEDIUMopendbc/car/volkswagen/interface.py43 ret.dashcamOnly = is_release # Release support needs HCA timeout fix, safety validation, revised J533 harnessCODE
MEDIUMopendbc/car/volkswagen/interface.py75 # only allow gateway harness to escalate Emergency AssistCOMMENT
MEDIUMopendbc/car/volkswagen/radar_interface.py25 # With the MEB gateway harness, we do not have access to the raw points from the radar.COMMENT
MEDIUMopendbc/car/hyundai/values.py573 # TODO: 2021 MY harness is unknownCOMMENT
MEDIUMopendbc/car/hyundai/values.py583 # TODO: Hyundai P is likely the correct harness for HDA II for 2.5T (unsupported due to missing ADAS ECU, is that COMMENT
MEDIUMopendbc/car/hyundai/hyundaicanfd.py15 # have a different harness than the LFA steering variants in order to splitCOMMENT
MEDIUMopendbc/car/toyota/values.py73 # these cars can utilize 2.0 m/s^2COMMENT
LOWopendbc/car/toyota/tests/test_toyota.py15 # TODO: just use the FW patterns, need to support all chunksCOMMENT
MEDIUMopendbc/car/gm/values.py113 # Don't show in docs until the harness is sold. See https://github.com/commaai/openpilot/issues/32471COMMENT
MEDIUMopendbc/car/gm/values.py276# We're integrated at the camera with VOACC on these cars (instead of ASCM w/ OBD-II harness)COMMENT
MEDIUMopendbc/car/gm/interface.py124 else: # ASCM, OBD-II harnessCODE
Over-Commented Block22 hits · 22 pts
SeverityFileLineSnippetContext
LOWopendbc/car/tesla/tests/test_tesla.py21# After the comma, the version string decomposes into:COMMENT
LOWopendbc/car/hyundai/values.py81# message, ADAS DRV ECU forwards it as LFA to MDPS. For longitudinal, disable ADASCOMMENT
LOWopendbc/car/hyundai/hyundaican.py41 CAR.HYUNDAI_SANTA_FE_PHEV_2022, CAR.KIA_STINGER_2022, CAR.KIA_K5_HEV_2020, CAR.KIA_CEED,COMMENT
LOWopendbc/car/toyota/values.py481COMMENT
LOWopendbc/car/toyota/values.py501# - fwdCamera: describes actual features related to ADAS. For example, on the Avalon it describesCOMMENT
LOWopendbc/car/toyota/values.py561 # Responds to KWP (0x1a8801):COMMENT
LOWopendbc/car/rivian/carstate.py61 # * ACM_FaultStatus will stay 0 since ACM itself isn't faultedCOMMENT
LOWopendbc/safety/declarations.h1#pragma onceCOMMENT
LOWopendbc/safety/declarations.h21#define SAFETY_ALLOUTPUT 17UCOMMENT
LOWopendbc/safety/declarations.h301 struct sample_t meas; // last 6 steer curvaturesCOMMENT
LOWopendbc/safety/safety.h1#pragma onceCOMMENT
LOWopendbc/safety/safety.h21#include "opendbc/safety/modes/subaru.h"COMMENT
LOWopendbc/safety/modes/chrysler.h1#pragma onceCOMMENT
LOWopendbc/safety/modes/chrysler.h21#define CHRYSLER_RAM_DT_DAS_3 0x99COMMENT
LOWopendbc/safety/modes/volkswagen_common.h21COMMENT
LOWopendbc/safety/modes/volkswagen_pq.h1#pragma onceCOMMENT
LOWopendbc/safety/modes/ford.h1#pragma onceCOMMENT
LOWopendbc/safety/modes/volkswagen_meb.h1#pragma onceCOMMENT
LOWopendbc/safety/modes/subaru_preglobal.h1#pragma onceCOMMENT
LOWopendbc/safety/modes/mazda.h1#pragma onceCOMMENT
LOWopendbc/safety/modes/psa.h1#pragma onceCOMMENT
LOWopendbc/safety/modes/subaru.h21COMMENT
Excessive Try-Catch Wrapping11 hits · 10 pts
SeverityFileLineSnippetContext
LOWopendbc/testing.py119 except Exception as exc:CODE
LOWopendbc/car/vin.py70 except Exception:CODE
LOWopendbc/car/fw_versions.py317 except Exception:CODE
LOWopendbc/car/disable_ecu.py31 except Exception:CODE
LOWopendbc/car/ecu_addrs.py54 except Exception:CODE
LOWopendbc/car/isotp_parallel_query.py108 except Exception:CODE
LOWopendbc/car/tests/car_diff.py108 except Exception:CODE
LOWopendbc/safety/tests/mutation.py478 except Exception as exc:STRING
LOWopendbc/safety/tests/mutation.py552 except Exception:STRING
LOWopendbc/safety/tests/mutation.py561 except Exception:STRING
MEDIUMopendbc/safety/tests/mutation.py470def eval_mutant(site, targets, lib_path, verbose):CODE
Cross-Language Confusion3 hits · 10 pts
SeverityFileLineSnippetContext
HIGHopendbc/car/vehicle_model.py50 If the speed is too low we can't use the dynamic model (tire slip is undefined),STRING
HIGHopendbc/car/vehicle_model.py153 At low speeds the tire slip is undefined, so a kinematicSTRING
HIGHopendbc/safety/tests/misra/test_mutation.py27 ("misra-c2012-13.5", lambda s: s + "\nvoid test(int tmp) { if (true && tmp++) {;} }\n"),CODE
Modern Structural Boilerplate9 hits · 9 pts
SeverityFileLineSnippetContext
LOWopendbc/car/ccp.py205 def set_memory_transfer_address(self, mta_num: int, addr_ext: int, addr: int) -> None:CODE
LOWopendbc/car/ccp.py256 def set_daq_list_pointer(self, list_num: int, odt_num: int, element_num: int) -> None:CODE
LOWopendbc/car/ccp.py295 def set_session_status(self, status: int) -> None:CODE
LOWopendbc/car/vehicle_model.py41 def update_params(self, stiffness_factor: float, steer_ratio: float) -> None:CODE
LOWopendbc/can/dbc.py214def set_signal_type(sig: Signal, chk: ChecksumState | None, dbc_name: str, line_num: int) -> None:CODE
LOWopendbc/can/__init__.py4__all__ = [CODE
LOWopendbc/can/packer.py58def set_value(msg: bytearray, sig: Signal, ival: int) -> None:CODE
LOWexamples/kbhit.py14 def set_kbhit_terminal(self) -> None:CODE
LOWexamples/kbhit.py26 def set_normal_term(self) -> None:CODE
Verbosity Indicators4 hits · 9 pts
SeverityFileLineSnippetContext
LOWopendbc/car/secoc.py15 # Step 1: Build Freshness Value (48 bits)COMMENT
LOWopendbc/car/secoc.py19 # Step 2: Build data to authenticate (96 bits)COMMENT
LOWopendbc/car/secoc.py23 # Step 3: Calculate CMAC (28 bit)COMMENT
LOWopendbc/car/secoc.py28 # Step 4: Build messageCOMMENT
Structural Annotation Overuse4 hits · 9 pts
SeverityFileLineSnippetContext
LOWopendbc/car/secoc.py15 # Step 1: Build Freshness Value (48 bits)COMMENT
LOWopendbc/car/secoc.py19 # Step 2: Build data to authenticate (96 bits)COMMENT
LOWopendbc/car/secoc.py23 # Step 3: Calculate CMAC (28 bit)COMMENT
LOWopendbc/car/secoc.py28 # Step 4: Build messageCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWopendbc/car/mazda/carstate.py98 # Check if LKAS is disabled due to lack of driver torque when all other states indicateCOMMENT
LOWopendbc/car/hyundai/interface.py47 # Check if the car is hybrid. Only HEV/PHEV cars have 0xFA on E-CAN.COMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMopendbc/car/rivian/radar_interface.py55 # Rivian's Short Range Radar (SSR) detects close stationary objects like guardrails, which cause phantom braking.COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWopendbc/car/honda/carcontroller.py81 # TODO: implement separate available LDW alertCOMMENT
LOWopendbc/safety/modes/volkswagen_mlb.h13 // TODO: implement checksum validationCOMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWopendbc/can/__init__.py1CODE
LOWopendbc/can/__init__.py2CODE
LOWopendbc/can/__init__.py2CODE