AI Slop Code Risk Monitor

ApolloAuto/apollo

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

An open autonomous driving platform

2.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for ApolloAuto/apollo, a C++ project with 26,879 GitHub stars. SynthScan examined 971,179 lines of code across 5822 source files, recording 2290 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 2.5 (Low 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.

2.5
Adjusted Signal
2.5
Raw Pattern Score
100%
Time Factor
2026-04-16
Last Push
26.9K
Stars
C++
Language
971.2K
Lines of Code
5.8K
Files
2.3K
Pattern Hits
2026-10-31
Scan Date
0.01
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 8.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.6/100 · LOW

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

Agent Over-Engineering Ratio 2.2/100 · LOW

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

PR Review Velocity Impact 12.4/100 · LOW

Which changes need focused human review? 2290 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 2HIGH 42MEDIUM 32LOW 2214

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 2290 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.

Over-Commented Block1581 hits · 1442 pts
SeverityFileLineSnippetContext
LOWcyber/statistics/statistics.h21COMMENT
LOWcyber/tools/cyber_service/cyber_service.py1#!/usr/bin/env python3COMMENT
LOWcyber/tools/cyber_launch/cyber_launch.py1#!/usr/bin/env python3COMMENT
LOWcyber/tools/cyber_recorder/recorder.h21#include <mutex>COMMENT
LOWcyber/tools/cyber_recorder/player/play_task_producer.h21#include <cstdint>COMMENT
LOWcyber/tools/cyber_channel/cyber_channel.py1#!/usr/bin/env python3COMMENT
LOWcyber/tools/cyber_node/cyber_node.py1#!/usr/bin/env python3COMMENT
LOWcyber/tools/cyber_performance/cyber_performance.py1#!/usr/bin/env python3COMMENT
LOWcyber/transport/transport.h21#include <memory>COMMENT
LOWcyber/transport/shm/protobuf_arena_manager.h21#include <unordered_map>COMMENT
LOWcyber/transport/transmitter/rtps_transmitter.h21#include <string>COMMENT
LOWcyber/transport/transmitter/shm_transmitter.h21#include <iostream>COMMENT
LOWcyber/transport/transmitter/hybrid_transmitter.h21#include <map>COMMENT
LOWcyber/transport/dispatcher/intra_dispatcher.h21#include <map>COMMENT
LOWcyber/transport/dispatcher/dispatcher.h21#include <functional>COMMENT
LOWcyber/transport/dispatcher/rtps_dispatcher.h21#include <memory>COMMENT
LOWcyber/transport/dispatcher/shm_dispatcher.h21#include <memory>COMMENT
LOWcyber/transport/rtps/sub_listener.h21#include <iostream>COMMENT
LOWcyber/transport/receiver/hybrid_receiver.h21#include <memory>COMMENT
LOWcyber/logger/logger_util.h21#ifndef CYBER_LOGGER_LOGGER_UTIL_H_COMMENT
LOWcyber/logger/async_logger.h21#include <condition_variable>COMMENT
LOWcyber/record/record_writer.h21#include <memory>COMMENT
LOWcyber/record/file/record_file_reader.h21#include <memory>COMMENT
LOWcyber/record/file/record_file_writer.h21#include <fstream>COMMENT
LOWcyber/python/internal/py_cyber.h21COMMENT
LOWcyber/python/internal/py_record.h21COMMENT
LOWcyber/python/cyber_py3/__init__.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/cyber.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/cyber.py361 #COMMENT
LOWcyber/python/cyber_py3/cyber.py401 @staticmethodCOMMENT
LOWcyber/python/cyber_py3/cyber.py421COMMENT
LOWcyber/python/cyber_py3/cyber.py461 # @param service_name service name.COMMENT
LOWcyber/python/cyber_py3/cyber_timer.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/record.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/parameter.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/cyber_time.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/test/record_test.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/test/parameter_test.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/test/init_test.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/test/cyber_test.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/test/cyber_time_test.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/test/cyber_timer_test.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/examples/py_parameter.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/examples/py_service.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/examples/py_listener.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/examples/py_talker.py1#!/usr/bin/env python3COMMENT
LOW…er/python/cyber_py3/examples/py_record_channel_info.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/examples/py_record_trans.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/examples/py_client.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/examples/py_record.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/examples/py_time.py1#!/usr/bin/env python3COMMENT
LOWcyber/python/cyber_py3/examples/py_timer.py1#!/usr/bin/env python3COMMENT
LOWcyber/scheduler/scheduler.h21COMMENT
LOWcyber/scheduler/policy/classic_context.h21#include <functional>COMMENT
LOWcyber/component/component.h21#include <utility>COMMENT
LOWcyber/message/arena_message_wrapper.h121 private:COMMENT
LOWcyber/common/file.h21#ifndef CYBER_COMMON_FILE_H_COMMENT
LOWcyber/common/log.h21#ifndef CYBER_COMMON_LOG_H_COMMENT
LOWcyber/common/log.h41#define ADEBUG ADEBUG_MODULE(MODULE_NAME)COMMENT
LOWcyber/common/log.h121#if !defined(_RETURN_VAL_IF_NULL2__)COMMENT
1521 more matches not shown…
Unused Imports299 hits · 294 pts
SeverityFileLineSnippetContext
LOWcyber/tools/cyber_launch/cyber_launch.py27CODE
LOWcyber/python/cyber_py3/test/record_test.py25CODE
LOWcyber/python/cyber_py3/test/parameter_test.py21CODE
LOWtools/bootstrap.py30CODE
LOWtools/bootstrap.py31CODE
LOWtools/bootstrap.py32CODE
LOWdocs/doxygen_helpers.py12CODE
LOWdocs/update_md_links.py15CODE
LOWthird_party/gpus/check_cuda_libs.py26CODE
LOWscripts/jperf.py27CODE
LOWscripts/performance_parse.py27CODE
LOWscripts/performance_parse.py30CODE
LOWscripts/performance_parse.py33CODE
LOWscripts/performance_parse.py34CODE
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py21CODE
LOWmodules/tools/gen_vehicle_protocol/gen.py21CODE
LOWmodules/tools/gen_vehicle_protocol/gen.py23CODE
LOWmodules/tools/gen_vehicle_protocol/gen_protocols.py21CODE
LOWmodules/tools/gen_vehicle_protocol/gen_proto_file.py19CODE
LOWmodules/tools/gen_vehicle_protocol/gen_proto_file.py21CODE
LOWmodules/tools/gen_vehicle_protocol/gen_proto_file.py22CODE
LOWmodules/tools/gen_vehicle_protocol/gen_canbus_conf.py21CODE
LOWmodules/tools/dump_gpsbin/dump_gpsbin.py35CODE
LOWmodules/tools/planning_command/planning_command.py8CODE
LOWmodules/tools/planning_command/planning_command.py11CODE
LOWmodules/tools/vehicle_calibration/data_collector.py24CODE
LOWmodules/tools/vehicle_calibration/plot_data.py28CODE
LOWmodules/tools/vehicle_calibration/plot_grid.py19CODE
LOWmodules/tools/vehicle_calibration/plot_grid.py23CODE
LOWmodules/tools/vehicle_calibration/plot_grid.py24CODE
LOWmodules/tools/vehicle_calibration/plot_grid.py25CODE
LOWmodules/tools/vehicle_calibration/process_data.py22CODE
LOWmodules/tools/vehicle_calibration/process_data.py28CODE
LOWmodules/tools/vehicle_calibration/process.py22CODE
LOWmodules/tools/vehicle_calibration/plot_results.py19CODE
LOW…es/tools/vehicle_calibration/plot_calibration_table.py1CODE
LOW…es/tools/vehicle_calibration/plot_calibration_table.py3CODE
LOW…es/tools/vehicle_calibration/plot_calibration_table.py8CODE
LOWmodules/tools/mock_routing/mock_routing_request.py23CODE
LOWmodules/tools/mock_routing/mock_routing_request.py24CODE
LOWmodules/tools/mock_routing/mock_routing_request.py25CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py23CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py26CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py27CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py29CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py34CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py35CODE
LOWmodules/tools/prediction/prediction_eval.py1CODE
LOW…s/tools/prediction/data_pipelines/junctionMLP_train.py27CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py31CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py32CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py33CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py34CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py35CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py36CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py37CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py38CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py39CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py41CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py45CODE
239 more matches not shown…
Cross-File Repetition37 hits · 185 pts
SeverityFileLineSnippetContext
HIGHcyber/python/cyber_py3/examples/py_record.py0module for example of record. run with: bazel run //cyber/python/cyber_py3/examples:recordSTRING
HIGHcyber/docs/cyber_python_api_cn.md0module for example of record. run with: bazel run //cyber/python/cyber_py3/examples:recordSTRING
HIGHdocs/04_CyberRT/CyberRT_Python_API.md0module for example of record. run with: bazel run //cyber/python/cyber_py3/examples:recordSTRING
HIGHdocs/04_CyberRT/CyberRT_Python_API_cn.md0module for example of record. run with: bazel run //cyber/python/cyber_py3/examples:recordSTRING
HIGHcyber/docs/cyber_python_api_cn.md0create a topic writer for send message to topic. @param self @param name str: topic name @param data_type proto: messageSTRING
HIGHcyber/doxy-docs/source/CyberRT_Python_API.md0create a topic writer for send message to topic. @param self @param name str: topic name @param data_type proto: messageSTRING
HIGHdocs/04_CyberRT/CyberRT_Python_API.md0create a topic writer for send message to topic. @param self @param name str: topic name @param data_type proto: messageSTRING
HIGHdocs/04_CyberRT/CyberRT_Python_API_cn.md0create a topic writer for send message to topic. @param self @param name str: topic name @param data_type proto: messageSTRING
HIGHcyber/docs/cyber_python_api_cn.md0create a topic reader for receive message from topic. @param self @param name str: topic name @param data_type proto: meSTRING
HIGHcyber/doxy-docs/source/CyberRT_Python_API.md0create a topic reader for receive message from topic. @param self @param name str: topic name @param data_type proto: meSTRING
HIGHdocs/04_CyberRT/CyberRT_Python_API.md0create a topic reader for receive message from topic. @param self @param name str: topic name @param data_type proto: meSTRING
HIGHdocs/04_CyberRT/CyberRT_Python_API_cn.md0create a topic reader for receive message from topic. @param self @param name str: topic name @param data_type proto: meSTRING
HIGHcyber/docs/cyber_python_api_cn.md0read message from bag file. @param self @param start_time: @param end_time: @return: generator of (message, data_type, tSTRING
HIGHcyber/doxy-docs/source/CyberRT_Python_API.md0read message from bag file. @param self @param start_time: @param end_time: @return: generator of (message, data_type, tSTRING
HIGHdocs/04_CyberRT/CyberRT_Python_API.md0read message from bag file. @param self @param start_time: @param end_time: @return: generator of (message, data_type, tSTRING
HIGHdocs/04_CyberRT/CyberRT_Python_API_cn.md0read message from bag file. @param self @param start_time: @param end_time: @return: generator of (message, data_type, tSTRING
HIGHscripts/record_bag.py0execute shell command and return (ret-code, stdout, stderr).STRING
HIGHscripts/record_map_data.py0execute shell command and return (ret-code, stdout, stderr).STRING
HIGHscripts/record_message.py0execute shell command and return (ret-code, stdout, stderr).STRING
HIGHmodules/tools/vehicle_calibration/plot_data.py0this module provide function to plot the speed control info from log csv fileSTRING
HIGHmodules/tools/vehicle_calibration/process_data.py0this module provide function to plot the speed control info from log csv fileSTRING
HIGHmodules/tools/vehicle_calibration/process.py0this module provide function to plot the speed control info from log csv fileSTRING
HIGH…les/tools/adataset/adataset/kitti/dataset_converter.py0generate apollo record file by apolloscape dataset args: dataset_path (str): apolloscape dataset path record_path (str):STRING
HIGH…/tools/adataset/adataset/nuscenes/dataset_converter.py0generate apollo record file by apolloscape dataset args: dataset_path (str): apolloscape dataset path record_path (str):STRING
HIGH…ols/adataset/adataset/apolloscape/dataset_converter.py0generate apollo record file by apolloscape dataset args: dataset_path (str): apolloscape dataset path record_path (str):STRING
HIGH…tools/adataset/adataset/kitti/calibration_converter.py0read content from yaml args: file_path (str): yaml file returns: dict: yaml objectSTRING
HIGH…ls/adataset/adataset/nuscenes/calibration_converter.py0read content from yaml args: file_path (str): yaml file returns: dict: yaml objectSTRING
HIGH…adataset/adataset/apolloscape/calibration_converter.py0read content from yaml args: file_path (str): yaml file returns: dict: yaml objectSTRING
HIGH…tools/adataset/adataset/kitti/calibration_converter.py0save content to yaml args: file_path (src): file path content (dict): yaml objectSTRING
HIGH…ls/adataset/adataset/nuscenes/calibration_converter.py0save content to yaml args: file_path (src): file path content (dict): yaml objectSTRING
HIGH…adataset/adataset/apolloscape/calibration_converter.py0save content to yaml args: file_path (src): file path content (dict): yaml objectSTRING
HIGH…tools/adataset/adataset/kitti/calibration_converter.py0generate lidar extrinsic file args: lidar_name (str): lidar name calibrated_sensor (_type_): calibrated_sensor json objeSTRING
HIGH…ls/adataset/adataset/nuscenes/calibration_converter.py0generate lidar extrinsic file args: lidar_name (str): lidar name calibrated_sensor (_type_): calibrated_sensor json objeSTRING
HIGH…adataset/adataset/apolloscape/calibration_converter.py0generate lidar extrinsic file args: lidar_name (str): lidar name calibrated_sensor (_type_): calibrated_sensor json objeSTRING
HIGHmodules/tools/routing/debug_route.py0print command help information. print help information of command. args:STRING
HIGHmodules/tools/routing/debug_passage_region.py0print command help information. print help information of command. args:STRING
HIGHmodules/tools/routing/debug_topo.py0print command help information. print help information of command. args:STRING
Hyper-Verbose Identifiers126 hits · 125 pts
SeverityFileLineSnippetContext
LOWcyber/python/cyber_py3/cyber.py364 def get_debugstring_rawmsgdata(msg_type, rawmsgdata):CODE
LOW⚡tools/bootstrap.py146def write_blank_line_to_bazelrc():CODE
LOW⚡tools/bootstrap.py151def write_action_env_to_bazelrc(var_name, var):CODE
LOW⚡tools/bootstrap.py155def write_build_var_to_bazelrc(bazel_config_name, option_name):CODE
LOWtools/bootstrap.py239def setup_python_non_interactively(environ_cp):CODE
LOWtools/bootstrap.py285def setup_python_interactively(environ_cp):CODE
LOWtools/bootstrap.py502def get_from_env_or_user_or_default(environ_cp, var_name, ask_for_var,CODE
LOWtools/bootstrap.py527def prompt_loop_or_load_from_env(environ_cp,CODE
LOWtools/bootstrap.py593def set_gcc_host_compiler_path(environ_cp):CODE
LOWtools/bootstrap.py622def reformat_version_sequence(version_str, sequence_count):CODE
LOWtools/bootstrap.py753def get_native_cuda_compute_capabilities(environ_cp):CODE
LOWtools/bootstrap.py778def get_native_rocm_compute_capabilities(environ_cp):CODE
LOWtools/bootstrap.py803def set_cuda_compute_capabilities(environ_cp):CODE
LOWtools/bootstrap.py876def set_rocm_compute_capabilities(environ_cp):CODE
LOWtools/bootstrap.py1005def setup_cuda_family_config_interactively(environ_cp):CODE
LOWtools/bootstrap.py1048def setup_cuda_family_config_non_interactively(environ_cp):CODE
LOWtools/bootstrap.py1107def set_other_build_cuda_config(environ_cp):CODE
LOWtools/bootstrap.py1124def set_other_build_rocm_config(environ_cp):STRING
LOWdocs/doxygen_helpers.py213def generate_packages_core_cn_md():CODE
LOWdocs/doxygen_helpers.py236def render_doxygen_tree_item_html(item):CODE
LOWdocs/doxygen_helpers.py656def generate_treeview_packages_html(level=0):CODE
LOWdocs/doxygen_helpers.py683def generate_treeview_modules_html(level=0):CODE
LOWdocs/doxygen_helpers.py709def generate_treeview_modules_html_old():CODE
LOWdocs/input_filter.py13def resolve_markdown_linkpath(filename: str, match, strip_prefix=None):CODE
LOWthird_party/gpus/find_rocm_config.py157def _get_composite_version_number(major, minor, patch):CODE
LOWthird_party/gpus/find_rocm_config.py215 def hipruntime_version_number(version_file):CODE
LOWscripts/record_bag.py270 def rename_files_in_directory(self, old_paths, new_paths):STRING
LOWscripts/proto_build_generator.py204def generate_rule_for_protofile(workdir, protofile, proto_deps, py_proto_deps):CODE
LOWscripts/command_checker.py72 def print_spelling_suggestions(self, max_alt=15):CODE
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py29def gen_vehicle_controller_header(content, output_dir, protocol_template_dir):CODE
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py70def gen_vehicle_controller_cpp(content, output_dir, protocol_template_dir, use_demo_dbc=False):CODE
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py429def gen_message_manager_header(content, output_dir, protocol_template_dir):STRING
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py491def gen_vehicle_factory_header(content, output_dir, protocol_template_dir):STRING
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py575def gen_canbus_vehicle_build_file(content, output_dir, protocol_template_dir):STRING
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py585def gen_vehicle_controller_and_manager(config_file, output_dir, protocol_template_dir, use_demo_dbc):STRING
LOWmodules/tools/gen_vehicle_protocol/gen_protocols.py111def gen_report_value_offset_precision(var, protocol):CODE
LOWmodules/tools/gen_vehicle_protocol/gen_protocols.py259def gen_control_decode_offset_precision(var):CODE
LOWmodules/tools/gen_vehicle_protocol/gen_protocols.py286def gen_control_encode_one_byte_value_impl(var, byte_info):CODE
LOWmodules/tools/gen_vehicle_protocol/gen_protocols.py310def gen_control_encode_value_impl(var, byte_info):STRING
LOWmodules/tools/gen_vehicle_protocol/gen_protocols.py332def gen_control_value_func_impl(classname, var, protocol):STRING
LOWmodules/tools/gen_vehicle_protocol/gen_proto_file.py28def write_single_protocol_vars(pb_fp, p):CODE
LOWmodules/tools/vehicle_calibration/result2pb.py28def load_calibration_raw_data(fn):CODE
LOWmodules/tools/vehicle_calibration/result2pb.py68def load_calibration_raw_data_old(fn):CODE
LOWmodules/tools/amodel/amodel/model_manage.py215def _get_install_path_by_meta(model_meta):CODE
LOWmodules/tools/prediction/data_pipelines/common/util.py27def vector_projection_overlap(p0, p1, p2, p3):CODE
LOW⚡modules/tools/plot_planning/imu_angular_velocity.py61 def get_anglular_velocity_list(self):CODE
LOW⚡modules/tools/plot_planning/imu_angular_velocity.py64 def get_corrected_anglular_velocity_list(self):CODE
LOW⚡modules/tools/plot_planning/imu_angular_velocity.py70 def get_latest_angular_velocity(self):CODE
LOW⚡modules/tools/plot_planning/imu_angular_velocity.py76 def get_latest_corrected_angular_velocity(self):CODE
LOWmodules/tools/plot_planning/time_curvature_data.py63 def get_fixed_ca_speed_curvature(self):CODE
LOWmodules/tools/plot_planning/imu_acc.py61 def get_lastest_corrected_acc(self):CODE
LOWmodules/tools/navigation/planning/speed_decider.py25 def get_target_speed_and_path_length(self, mobileye_provider,CODE
LOW…tools/adataset/adataset/kitti/calibration_converter.py208def process_calib_velo_to_imu(dataset_path, calibration_file_path):CODE
LOW…tools/adataset/adataset/kitti/calibration_converter.py290def process_calib_cam_to_velo(dataset_path, calibration_file_path):CODE
LOWmodules/tools/adataset/adataset/nuscenes/nuscenes.py141 def get_sample_data_by_sample(self, sample_token):CODE
LOW…ls/adataset/adataset/nuscenes/calibration_converter.py213def process_calib_velo_to_imu(channel, calibrated_sensor, calibration_file_path):CODE
LOW…ls/adataset/adataset/nuscenes/calibration_converter.py260def process_calib_radar_to_imu(channel, calibrated_sensor, calibration_file_path):CODE
LOW…adataset/adataset/apolloscape/calibration_converter.py146def process_calib_velo_to_imu(dataset_path, calibration_file_path):CODE
LOW…adataset/adataset/apolloscape/calibration_converter.py166def process_calib_imu_to_localization(dataset_path, calibration_file_path):CODE
LOW…s/tools/record_analyzer/common/statistical_analyzer.py37 def print_statistical_results(self, data):CODE
66 more matches not shown…
Deep Nesting113 hits · 112 pts
SeverityFileLineSnippetContext
LOWcyber/tools/cyber_service/cyber_service.py41CODE
LOWcyber/tools/cyber_channel/cyber_channel.py288CODE
LOWcyber/tools/cyber_performance/cyber_performance.py123CODE
LOWcyber/tools/cyber_performance/cyber_performance.py309CODE
LOWcyber/tools/cyber_performance/cyber_performance.py197CODE
LOWcyber/tools/cyber_performance/cyber_performance.py762CODE
LOWcyber/python/cyber_py3/parameter.py47CODE
LOWtools/bootstrap.py348CODE
LOWtools/bootstrap.py803CODE
LOWtools/bootstrap.py1005CODE
LOWdocs/doxygen_helpers.py493CODE
LOWdocs/doxygen_helpers.py579CODE
LOWdocs/input_filter.py69CODE
LOWdocs/input_filter.py244CODE
LOWdocs/update_md_links.py46CODE
LOWthird_party/gpus/find_cuda_config.py208CODE
LOWthird_party/gpus/find_rocm_config.py119CODE
LOWscripts/jperf.py62CODE
LOWscripts/performance_parse.py42CODE
LOWscripts/record_bag.py243CODE
LOWscripts/proto_build_generator.py115CODE
LOW.teamcity/coverage_diff.py23CODE
LOW.teamcity/coverage_diff.py63CODE
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py70CODE
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py446CODE
LOW…vehicle_protocol/gen_vehicle_controller_and_manager.py523CODE
LOWmodules/tools/gen_vehicle_protocol/gen_protocols.py376CODE
LOWmodules/tools/gen_vehicle_protocol/gen_protocols.py478CODE
LOWmodules/tools/gen_vehicle_protocol/extract_dbc_meta.py30CODE
LOWmodules/tools/gen_vehicle_protocol/extract_dbc_meta.py72CODE
LOWmodules/tools/gen_vehicle_protocol/gen_proto_file.py112CODE
LOWmodules/tools/vehicle_calibration/data_collector.py188CODE
LOWmodules/tools/vehicle_calibration/preprocess.py115CODE
LOWmodules/tools/vehicle_calibration/result2pb.py28CODE
LOWmodules/tools/vehicle_calibration/result2pb.py68CODE
LOWmodules/tools/vehicle_calibration/sanity_check.py161CODE
LOWmodules/tools/vehicle_calibration/process.py73CODE
LOWmodules/tools/mapshow/libs/map.py57CODE
LOWmodules/tools/mapshow/libs/map.py69CODE
LOWmodules/tools/amodel/amodel/main.py33CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py559CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py573CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py587CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py601CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py615CODE
LOWmodules/tools/vehicle_profile/vehicle_profile.py651CODE
LOWmodules/tools/prediction/prediction_eval.py52CODE
LOW…s/tools/prediction/data_pipelines/junctionMLP_train.py61CODE
LOWmodules/tools/prediction/data_pipelines/mlp_train.py233CODE
LOW…s/tools/prediction/data_pipelines/common/trajectory.py135CODE
LOW…s/tools/prediction/data_pipelines/common/trajectory.py180CODE
LOW…s/tools/prediction/data_pipelines/common/trajectory.py373CODE
LOW…/prediction/data_pipelines/common/online_to_offline.py159CODE
LOW…/prediction/data_pipelines/common/online_to_offline.py275CODE
LOW…/prediction/data_pipelines/common/online_to_offline.py419CODE
LOW…_pipelines/data_preprocessing/features_labels_utils.py94CODE
LOW…es/tools/prediction/multiple_gpu_estimator/mlp_main.py53CODE
LOW…es/tools/prediction/multiple_gpu_estimator/mlp_main.py56CODE
LOWmodules/tools/aperf/aperf/profiler.py28CODE
LOWmodules/tools/rosbag/channel_size_stats.py56CODE
53 more matches not shown…
Structural Annotation Overuse59 hits · 94 pts
SeverityFileLineSnippetContext
LOWcyber/python/README.md7## Step 1: Write your own code.COMMENT
LOWcyber/python/README.md29## Step 2: Write Python rule for Bazel to buildCOMMENT
LOWcyber/python/README.md51## Step 3: Build and run the demo programCOMMENT
LOW…s/apollo_software_installation_guide_package_method.md7## Step 1: Install the base softwareCOMMENT
LOW…s/apollo_software_installation_guide_package_method.md28## Step 2: Install Apollo environment manager toolCOMMENT
LOW…s/apollo_software_installation_guide_package_method.md58## Step 3: Start and enter apollo env containerCOMMENT
LOWdocs/安装指南/Installation Guide.md5## Step 1: Install Basic SoftwareCOMMENT
LOWdocs/安装指南/Installation Guide.md35## Step 2: Get GPU Support (Optional)COMMENT
LOWdocs/安装指南/Installation Guide.md121## Step 3: Install Apollo Environment ManagerCOMMENT
LOWdocs/安装指南/Installation Guide.md162## Step 4: Install Example ProjectCOMMENT
LOWdocs/安装指南/Installation Guide.md319## Step 5: Delete Project (Optional)COMMENT
LOW…ion/how_to_add_a_new_evaluator_in_prediction_module.md82### Step 5: Upate the evaluator managerCOMMENT
LOWdocs/14_Others/代码实践/how_to_create_pull_request.md8## Step 1: Fork your own copy of ApolloAuto/apollo to your GitHub accountCOMMENT
LOWdocs/14_Others/代码实践/how_to_create_pull_request.md14## Step 2: Clone your fork of the repoCOMMENT
LOWdocs/14_Others/代码实践/how_to_create_pull_request.md31## Step 3: Set up your username and email for this repoCOMMENT
LOWdocs/14_Others/代码实践/how_to_create_pull_request.md38## Step 4: Set official Apollo repo as upstreamCOMMENT
LOWdocs/14_Others/代码实践/how_to_create_pull_request.md68## Step 5: Create a new branch; Make and commit changesCOMMENT
LOW⚡docs/14_Others/代码实践/how_to_create_pull_request.md80## Step 6: Sync up with upstream ApolloAuto/apolloCOMMENT
LOW⚡docs/14_Others/代码实践/how_to_create_pull_request.md86## Step 7: Push your local changes to your fork.COMMENT
LOW⚡docs/14_Others/代码实践/how_to_create_pull_request.md92## Step 8: Generate a pull requestCOMMENT
LOWdocs/14_Others/代码实践/how_to_create_pull_request.md112## Step 9: Done!COMMENT
LOW…06_Perception/how_to_verify_lidar_perception_module.md9### Step 1: Start and enter the Apollo Docker environmentCOMMENT
LOW…06_Perception/how_to_verify_lidar_perception_module.md36### Step 2: Download the record data packageCOMMENT
LOW…06_Perception/how_to_verify_lidar_perception_module.md51### Step 3: Install DreamViewCOMMENT
LOW…06_Perception/how_to_verify_lidar_perception_module.md59### Step 4: Install transform, perception and localizationCOMMENT
LOW…06_Perception/how_to_verify_lidar_perception_module.md73### Step 5: Module runningCOMMENT
LOW…06_Perception/how_to_verify_lidar_perception_module.md95### Step 6: Result verificationCOMMENT
LOW…06_Perception/how_to_verify_lidar_perception_module.md111### Step 7: Model ReplacementCOMMENT
LOW⚡docs/02_Quick Start/apollo_8_0_quick_start.md48#### Step 2: Install DreamViewCOMMENT
LOW⚡docs/02_Quick Start/apollo_8_0_quick_start.md56#### Step 3: Launch DreamviewCOMMENT
LOW⚡docs/02_Quick Start/apollo_8_0_quick_start.md64#### Step 4: Download the Apollo demo recordCOMMENT
LOW⚡docs/02_Quick Start/apollo_8_0_quick_start.md76#### Step 5: Play the Apollo demo recordCOMMENT
LOW⚡docs/02_Quick Start/apollo_8_0_quick_start.md84#### Step 6: Use DreamView to view the recordCOMMENT
LOW⚡docs/02_Quick Start/apollo_8_0_quick_start.md92#### Step 7: Stop DreamViewCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md19#### Step 1: Enter the Apollo Docker environmentCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md123#### Step 1: Download quickstart projectCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md137#### Step 2: Enter the Apollo Docker environmentCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md153#### Step 3: Compile the componentCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md173#### Step 4: Run the componentCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md230#### Step 1: Download quickstart projectCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md244#### Step 2: Enter the Apollo Docker environmentCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md260#### Step 3: Compile the planning source code packageCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md274#### Step 4: Debug planningCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md292#### Step 5: Enter sim control simulation mode for debuggingCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md331#### Step 1: Start Apollo Docker environment and enterCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md358#### Step 2: Download the recordCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md373#### Step 3: Install DreamViewCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md383#### Step 4: Install transform, perception and localizationCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md397#### Step 5: Run the moduleCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md427#### Step 6: Result verificationCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md443#### Step 7: Model ReplacementCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md529### Step 1: Start and enter apollo env containerCOMMENT
LOWdocs/02_Quick Start/apollo_8_0_quick_start.md557### Step 2: Install source codeCOMMENT
LOWdocs/05_Localization/how_to_leverage_rtk_mode.md7### Step 1: Mode SelectionCOMMENT
LOWdocs/05_Localization/how_to_leverage_rtk_mode.md15### Step 2: Module InitializationCOMMENT
LOW⚡docs/05_Localization/how_to_leverage_rtk_mode.md29### Step 3: Enable RTK RecorderCOMMENT
LOW⚡docs/05_Localization/how_to_leverage_rtk_mode.md38### Step 4: Manual Path GenerationCOMMENT
LOW⚡docs/05_Localization/how_to_leverage_rtk_mode.md46### Step 5: Enabling RTK PlayerCOMMENT
LOWmodules/tools/navigator/README.md6### Step 1: In dev docker, extract path data from bagsCOMMENT
Decorative Section Separators23 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUMtools/bootstrap.py23# ==============================================================================COMMENT
MEDIUMthird_party/gpus/check_cuda_libs.py14# ==============================================================================COMMENT
MEDIUMthird_party/gpus/find_cuda_config.py14# ==============================================================================COMMENT
MEDIUMthird_party/gpus/find_cuda_config.py18# ==============================================================================COMMENT
MEDIUMthird_party/gpus/compress_find_rocm_config.py15# ==============================================================================COMMENT
MEDIUMthird_party/gpus/find_rocm_config.py14# ==============================================================================COMMENT
MEDIUMthird_party/gpus/compress_find_cuda_config.py15# ==============================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py194# ========================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py226# ========================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py229# ========================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py296# ========================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py299# ========================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py359# ========================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py362# ========================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py533# ========================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py536# ========================================================================COMMENT
MEDIUM…les/tools/prediction/data_pipelines/cruiseMLP_train.py684# ========================================================================COMMENT
MEDIUM…diction/multiple_gpu_estimator/convert_to_tfrecords.py32# ==============================================================================COMMENT
MEDIUM…es/tools/prediction/multiple_gpu_estimator/mlp_main.py32# ==============================================================================COMMENT
MEDIUM…es/tools/prediction/multiple_gpu_estimator/mlp_data.py32# ==============================================================================COMMENT
MEDIUM…/tools/prediction/multiple_gpu_estimator/model_base.py32# ==============================================================================COMMENT
MEDIUM…s/tools/prediction/multiple_gpu_estimator/mlp_model.py32# ==============================================================================COMMENT
MEDIUM…s/tools/prediction/multiple_gpu_estimator/mlp_utils.py32# ==============================================================================COMMENT
Excessive Try-Catch Wrapping24 hits · 30 pts
SeverityFileLineSnippetContext
LOWcyber/tools/cyber_launch/cyber_launch.py79except Exception as e:CODE
LOWcyber/tools/cyber_launch/cyber_launch.py225 except Exception as err:CODE
LOWcyber/tools/cyber_launch/cyber_launch.py439 except Exception:CODE
LOWcyber/tools/cyber_performance/cyber_performance.py444 except Exception as ex:CODE
MEDIUMtools/bootstrap.py1186 print('Error checking bazel version: ',STRING
LOWdocs/update_md_links.py77 except Exception as e:CODE
LOWscripts/record_bag.py164 except Exception as e:CODE
MEDIUMscripts/command_checker.py81 print('Error: unknown command "{}" for "{}"\n'.format(CODE
MEDIUMscripts/command_checker.py94 print('Error: unknown command "{}"\n'.format(self.command))CODE
LOWmodules/tools/amodel/amodel/model_manage.py281 except Exception as e:CODE
LOWmodules/tools/rosbag/dump_road_test_log.py52 except Exception:CODE
MEDIUMmodules/tools/common/proto_utils.py49 print('Error: Cannot parse %s as binary or text proto' % filename)CODE
LOWmodules/tools/data_cleaner/data_cleaner.py144 except Exception as e:CODE
LOWmodules/tools/data_cleaner/data_cleaner.py203 except Exception as e:CODE
LOWmodules/tools/data_cleaner/data_cleaner.py222 except Exception as e:CODE
MEDIUMmodules/tools/sensor_calibration/extract_static_data.py337 print('Error: environment variable CYBER_PATH was not found, 'CODE
MEDIUM…ols/sensor_calibration/configuration_yaml_generator.py158 print(f'Error: Cannot parse {user_config} as text proto')CODE
MEDIUMmodules/tools/sensor_calibration/extract_data.py111 print(f'Error: Cannot parse {FLAGS.config} as text proto')CODE
MEDIUMmodules/tools/sensor_calibration/extract_data.py596 print(f'Error: Cannot parse {user_config} as text proto')CODE
LOWmodules/conf_gen/confgen.py93 except Exception as e:CODE
LOWmodules/conf_gen/common/utils.py52 except Exception as e:CODE
LOWmodules/conf_gen/diff_gen/file_parser.py84 except Exception as e:CODE
LOWmodules/conf_gen/diff_gen/file_parser.py92 except Exception as e:CODE
LOWmodules/conf_gen/diff_gen/diff_gen.py74 except Exception as e:CODE
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICAL…dules/dreamview/frontend/src/components/Offlineview.js17 this.updateDimension = this.props.store.dimension.update.bind(this.props.store.dimension);CODE
CRITICALmodules/dreamview/frontend/src/components/Dreamview.js22 this.updateDimension = this.props.store.dimension.update.bind(this.props.store.dimension);CODE
Example Usage Blocks10 hits · 15 pts
SeverityFileLineSnippetContext
LOWscripts/switch_vehicle.sh25# Usage:COMMENT
LOWscripts/shfmt.sh19# Usage:COMMENT
LOWscripts/yapf.sh19# Usage:COMMENT
LOWscripts/clang_format.sh19# Usage:COMMENT
LOWscripts/buildifier.sh21# Usage:COMMENT
LOWscripts/apollo_format.sh19# Usage:COMMENT
LOW…ion/data_pipelines/scripts/merge_label_dicts_script.sh19# Usage:COMMENT
LOW…ipelines/scripts/combine_features_and_labels_script.sh19# Usage:COMMENT
LOW…pipelines/scripts/evaluate_prediction_result_script.sh19# Usage:COMMENT
LOW…s/prediction/data_pipelines/scripts/generate_labels.sh19# Usage:COMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHcyber/tools/cyber_launch/cyber_launch.py79except Exception as e:CODE
HIGHmodules/tools/mapshow/libs/subplot_path.py87except:CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtools/bootstrap.py355Get boolean input from user. If var_name is not set in env, ask user to enable query_item or not. If the responSTRING
HIGHtools/bootstrap.py536Loop over user prompts for an ENV param until receiving a valid response. For the env param var_name, read from theSTRING
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHcyber/tools/cyber_performance/cyber_performance.py721 if (data && data.data) {CODE
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/bootstrap.py296 # Check if the path is validCOMMENT
LOWtools/bootstrap.py482 # Check if current bazel version can be detected properly.COMMENT
LOWmodules/tools/rosbag/stat_static_info.py121 # Output result, which might be NoneCOMMENT
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/doxygen_helpers.py101CODE
LOWmodules/tools/vehicle_calibration/preprocess.py113CODE
LOW…s/tools/prediction/data_pipelines/common/trajectory.py38CODE
LOWmodules/tools/sensor_calibration/extract_static_data.py185CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMmodules/tools/sensor_calibration/data_file_object.py33 # Initializing file objectCOMMENT
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWmodules/tools/vehicle_calibration/plot_data.py45 def process_data(self, filename):CODE
LOWmodules/tools/vehicle_calibration/process_data.py47 def process_data(self, filename):CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…s/prediction/data_pipelines/cruise_h5_preprocessing.py160 # TODO: implement those non-splitting categoryCOMMENT