A collection of environments for autonomous driving and tactical decision-making tasks
This report summarizes scanner evidence for Farama-Foundation/HighwayEnv, a Python project with 3,323 GitHub stars. SynthScan examined 24,591 lines of code across 144 source files, recording 281 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 17.4 (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? 151 finding(s).
Are imports declared and package/API names verified? 78 finding(s).
Are wrappers, guards, and repeated structures necessary? 155 finding(s).
Which changes need focused human review? 281 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 281 distinct pattern matches across 13 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 |
|---|---|---|---|---|
| LOW | tests/test_utils.py | 19 | def test_rotated_rectangles_intersect(): | CODE |
| LOW | tests/test_utils.py | 38 | def test_confidence_ellipsoid(linear_regression_data): | CODE |
| LOW⚡ | tests/test_utils.py | 58 | def test_is_valid_observation(linear_regression_data): | CODE |
| LOW⚡ | tests/test_utils.py | 67 | def test_is_consistent_dataset_single_point(): | CODE |
| LOW⚡ | tests/test_utils.py | 72 | def test_is_consistent_dataset_multiple_points(linear_regression_data): | CODE |
| LOW⚡ | tests/test_utils.py | 82 | def test_near_split_size_bins(): | CODE |
| LOW⚡ | tests/test_utils.py | 87 | def test_distance_to_circle_hit(): | CODE |
| LOW⚡ | tests/test_utils.py | 94 | def test_distance_to_circle_inside(): | CODE |
| LOW⚡ | tests/test_utils.py | 100 | def test_distance_to_circle_miss(): | CODE |
| LOW⚡ | tests/test_utils.py | 106 | def test_distance_to_rect_intersection(): | CODE |
| LOW | tests/test_utils.py | 117 | def test_distance_to_rect_no_intersection(): | CODE |
| LOW | tests/test_utils.py | 133 | def test_update_config_allows_complete_nested_override(): | CODE |
| LOW | tests/test_utils.py | 156 | def test_update_config_check_missing_keys_message(): | CODE |
| LOW | tests/test_utils.py | 181 | def test_update_config_check_nested_path_message(): | CODE |
| LOW⚡ | tests/test_utils.py | 201 | def test_update_config_check_non_mapping_message(): | CODE |
| LOW⚡ | tests/test_utils.py | 210 | def test_update_config_propagates_check_error(): | CODE |
| LOW⚡ | tests/test_utils.py | 216 | def test_update_config_check_multiagent_nested_configs(): | CODE |
| LOW | tests/test_utils.py | 270 | def test_update_config_check_multiagent_nested_features_range_message(): | CODE |
| LOW | tests/vehicle/test_behavior.py | 12 | def test_stop_before_obstacle(vehicle_type): | CODE |
| LOW | tests/road/test_road.py | 43 | def test_network_to_from_config(net): | CODE |
| LOW⚡ | tests/road/test_neighbour_vehicles.py | 31 | def _enable_connected_lane_search(road: Road) -> None: | CODE |
| LOW⚡ | tests/road/test_neighbour_vehicles.py | 162 | def test_front_and_rear_on_same_segment(self, straight_connected_road): | CODE |
| LOW⚡ | tests/road/test_neighbour_vehicles.py | 198 | def test_connected_segments_ignored_by_default(self, straight_connected_road): | CODE |
| LOW⚡ | tests/road/test_neighbour_vehicles.py | 216 | def test_front_on_next_segment(self, straight_connected_road): | CODE |
| LOW | tests/road/test_neighbour_vehicles.py | 228 | def test_rear_on_previous_segment(self, straight_connected_road): | CODE |
| LOW | tests/road/test_neighbour_vehicles.py | 240 | def test_front_on_curve_segment(self, straight_curve_road): | CODE |
| LOW | tests/road/test_neighbour_vehicles.py | 252 | def test_closer_same_segment_preferred_over_next_segment( | CODE |
| LOW | tests/road/test_neighbour_vehicles.py | 270 | def test_both_connected_front_and_rear(self, three_segment_road): | CODE |
| LOW | tests/road/test_neighbour_vehicles.py | 282 | def test_multi_lane_same_lane_id(self, multi_lane_road): | CODE |
| LOW | tests/road/test_neighbour_vehicles.py | 348 | def test_vehicle_far_on_next_segment_detected(self, straight_connected_road): | CODE |
| LOW | tests/road/test_neighbour_vehicles.py | 358 | def test_lane_index_none_returns_none(self, straight_connected_road): | CODE |
| LOW | tests/road/test_spline.py | 59 | def test_single_element_array(self, simple_data): | CODE |
| LOW⚡ | tests/road/test_spline.py | 89 | def test_epsilon_outside_left(self, simple_data): | CODE |
| LOW⚡ | tests/road/test_spline.py | 96 | def test_epsilon_inside_right(self, simple_data): | CODE |
| LOW⚡ | tests/road/test_spline.py | 103 | def test_epsilon_outside_right(self, simple_data): | CODE |
| LOW⚡ | tests/road/test_spline.py | 114 | def test_large_extrapolation_left(self, simple_data): | CODE |
| LOW⚡ | tests/road/test_spline.py | 121 | def test_large_extrapolation_right(self, simple_data): | CODE |
| LOW⚡ | tests/road/test_spline.py | 128 | def test_two_point_interpolation(self, two_point_data): | CODE |
| LOW⚡ | tests/road/test_spline.py | 135 | def test_two_point_extrapolation(self, two_point_data): | CODE |
| LOW | tests/road/test_spline.py | 159 | def test_mixed_extrapolation_array(self, simple_data): | CODE |
| LOW | tests/road/test_spline.py | 184 | def test_roundtrip_cartesian_frenet(self, spline): | CODE |
| LOW | tests/road/test_partitioned_road.py | 14 | def test_partitioned_road_network(): | CODE |
| LOW | tests/road/test_partitioned_road.py | 64 | def create_partitioned_network(lanes) -> PartitionedRoadNetwork: | CODE |
| LOW⚡ | tests/graphics/test_gym_render_mode.py | 22 | def test_none_derives_offscreen(self): | CODE |
| LOW⚡ | tests/graphics/test_gym_render_mode.py | 28 | def test_rgb_array_derives_offscreen(self): | CODE |
| LOW⚡ | tests/graphics/test_gym_render_mode.py | 35 | def test_human_derives_onscreen(self): | CODE |
| LOW⚡ | tests/graphics/test_gym_render_mode.py | 41 | def test_explicit_override_respected(self): | CODE |
| LOW | tests/graphics/test_gym_render_mode.py | 57 | def test_rgb_array_returns_ndarray(self): | CODE |
| LOW | tests/graphics/test_gym_render_mode.py | 78 | def test_rgb_array_with_window_still_returns_ndarray(self): | CODE |
| LOW | tests/graphics/test_gym_render_mode.py | 88 | def test_human_with_offscreen_returns_none(self): | CODE |
| LOW | tests/graphics/test_gym_render_mode.py | 99 | def test_offscreen_env_var_emits_warning(self): | CODE |
| LOW | tests/graphics/test_render.py | 53 | def test_render_lidar_observation(cells): | CODE |
| LOW | tests/envs/test_gym.py | 124 | def test_connected_lane_neighbour_versions(old_env_spec, new_env_spec): | CODE |
| LOW | tests/envs/test_gym.py | 155 | def test_env_vectorization__info_dtype_is_float(env_spec): | CODE |
| LOW | tests/envs/test_finite_mdp.py | 13 | def test_clip_position_clips_to_grid_bounds(): | CODE |
| LOW | tests/envs/test_finite_mdp.py | 20 | def test_transition_model_via_fromfunction(): | CODE |
| LOW | tests/envs/test_finite_mdp.py | 34 | def test_compute_ttc_grid_on_highway_env(): | CODE |
| LOW | tests/envs/test_finite_mdp.py | 49 | def test_compute_ttc_grid_predicts_collision(): | CODE |
| LOW | tests/envs/test_observations.py | 55 | def test_kinematics_vehicles_count_one(): | CODE |
| LOW⚡ | scripts/sb3_highway_ppo_transformer.py | 303 | def display_vehicles_attention( | CODE |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/conf.py | 21 | CODE | |
| LOW | docs/scripts/move_404.py | 1 | CODE | |
| LOW | scripts/sb3_highway_dqn_cnn.py | 5 | CODE | |
| LOW | scripts/sb3_highway_ppo.py | 6 | CODE | |
| LOW | scripts/sb3_highway_dqn.py | 5 | CODE | |
| LOW | scripts/sb3_highway_ppo_transformer.py | 17 | CODE | |
| LOW | scripts/sb3_racetrack_oval_ppo.py | 9 | CODE | |
| LOW | scripts/sb3_racetracks_ppo.py | 7 | CODE | |
| LOW | highway_env/interval.py | 1 | CODE | |
| LOW | highway_env/utils.py | 1 | CODE | |
| LOW | highway_env/vehicle/graphics.py | 1 | CODE | |
| LOW | highway_env/vehicle/kinematics.py | 1 | CODE | |
| LOW | highway_env/vehicle/behavior.py | 1 | CODE | |
| LOW | highway_env/vehicle/objects.py | 1 | CODE | |
| LOW | highway_env/vehicle/dynamics.py | 1 | CODE | |
| LOW | highway_env/vehicle/uncertainty/estimation.py | 1 | CODE | |
| LOW | highway_env/vehicle/uncertainty/prediction.py | 1 | CODE | |
| LOW | highway_env/road/graphics.py | 1 | CODE | |
| LOW | highway_env/road/spline.py | 1 | CODE | |
| LOW | highway_env/road/regulation.py | 1 | CODE | |
| LOW | highway_env/road/road.py | 1 | CODE | |
| LOW | highway_env/road/lane.py | 1 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 1 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 2 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 2 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 2 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 7 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 7 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 7 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 7 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 7 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 7 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 7 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 7 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 7 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 18 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 19 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 19 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 19 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 19 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 19 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 19 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 27 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 27 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 27 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 27 | CODE | |
| LOW | highway_env/road/generation/engine/__init__.py | 27 | CODE | |
| LOW | highway_env/envs/u_turn_env.py | 1 | CODE | |
| LOW | highway_env/envs/racetrack_env.py | 1 | CODE | |
| LOW | highway_env/envs/merge_env.py | 1 | CODE | |
| LOW | highway_env/envs/lane_keeping_env.py | 1 | CODE | |
| LOW | highway_env/envs/intersection_env.py | 1 | CODE | |
| LOW | highway_env/envs/__init__.py | 1 | CODE | |
| LOW | highway_env/envs/__init__.py | 2 | CODE | |
| LOW | highway_env/envs/__init__.py | 2 | CODE | |
| LOW | highway_env/envs/__init__.py | 3 | CODE | |
| LOW | highway_env/envs/__init__.py | 3 | CODE | |
| LOW | highway_env/envs/__init__.py | 3 | CODE | |
| LOW | highway_env/envs/__init__.py | 8 | CODE | |
| LOW | highway_env/envs/__init__.py | 9 | CODE | |
| 18 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/road/test_neighbour_vehicles.py | 35 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/road/test_neighbour_vehicles.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/road/test_neighbour_vehicles.py | 154 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/road/test_neighbour_vehicles.py | 156 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/road/test_neighbour_vehicles.py | 208 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/road/test_neighbour_vehicles.py | 210 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/road/test_neighbour_vehicles.py | 298 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/road/test_neighbour_vehicles.py | 300 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/sb3_highway_ppo.py | 9 | # ================================== | COMMENT |
| MEDIUM | scripts/sb3_highway_ppo.py | 11 | # ================================== | COMMENT |
| MEDIUM | scripts/sb3_highway_ppo_transformer.py | 21 | # ================================== | COMMENT |
| MEDIUM | scripts/sb3_highway_ppo_transformer.py | 23 | # ================================== | COMMENT |
| MEDIUM | scripts/sb3_highway_ppo_transformer.py | 270 | # ================================== | COMMENT |
| MEDIUM | scripts/sb3_highway_ppo_transformer.py | 272 | # ================================== | COMMENT |
| MEDIUM⚡ | scripts/sb3_highway_ppo_transformer.py | 298 | # ================================== | COMMENT |
| MEDIUM⚡ | scripts/sb3_highway_ppo_transformer.py | 300 | # ================================== | COMMENT |
| MEDIUM | scripts/sb3_highway_ppo_transformer.py | 368 | # ================================== | COMMENT |
| MEDIUM | scripts/sb3_highway_ppo_transformer.py | 370 | # ================================== | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | highway_env/vehicle/kinematics.py | 0 | create a new vehicle from an existing one. the vehicle dynamics and target dynamics are copied, other properties are def | STRING |
| HIGH | highway_env/vehicle/controller.py | 0 | create a new vehicle from an existing one. the vehicle dynamics and target dynamics are copied, other properties are def | STRING |
| HIGH | highway_env/vehicle/behavior.py | 0 | create a new vehicle from an existing one. the vehicle dynamics and target dynamics are copied, other properties are def | STRING |
| HIGH | highway_env/envs/racetrack_env.py | 0 | populate a road with several vehicles on the highway and on the merging lane, as well as an ego-vehicle. :return: the eg | STRING |
| HIGH | highway_env/envs/merge_env.py | 0 | populate a road with several vehicles on the highway and on the merging lane, as well as an ego-vehicle. :return: the eg | STRING |
| HIGH | highway_env/envs/roundabout_env.py | 0 | populate a road with several vehicles on the highway and on the merging lane, as well as an ego-vehicle. :return: the eg | STRING |
| HIGH | highway_env/envs/intersection_env.py | 0 | the episode is truncated if the time limit is reached. | STRING |
| HIGH | highway_env/envs/highway_env.py | 0 | the episode is truncated if the time limit is reached. | STRING |
| HIGH | highway_env/envs/exit_env.py | 0 | the episode is truncated if the time limit is reached. | STRING |
| HIGH | highway_env/envs/highway_env.py | 0 | create some new random vehicles of a given type, and add them on the road. | STRING |
| HIGH | highway_env/envs/parking_env.py | 0 | create some new random vehicles of a given type, and add them on the road. | STRING |
| HIGH | highway_env/envs/exit_env.py | 0 | create some new random vehicles of a given type, and add them on the road. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generation_visualizer.py | 164 | CODE | |
| LOW | scripts/validate/compare_neighbour_detection.py | 161 | CODE | |
| LOW | scripts/validate/compare_neighbour_detection.py | 427 | CODE | |
| LOW | scripts/validate/compare_neighbour_detection.py | 499 | CODE | |
| LOW | highway_env/interval.py | 271 | CODE | |
| LOW | highway_env/utils.py | 440 | CODE | |
| LOW | highway_env/vehicle/graphics.py | 234 | CODE | |
| LOW | highway_env/vehicle/controller.py | 89 | CODE | |
| LOW | highway_env/vehicle/behavior.py | 219 | CODE | |
| LOW | highway_env/vehicle/objects.py | 95 | CODE | |
| LOW | highway_env/vehicle/uncertainty/estimation.py | 79 | CODE | |
| LOW | highway_env/vehicle/uncertainty/prediction.py | 365 | CODE | |
| LOW | highway_env/road/graphics.py | 127 | CODE | |
| LOW | highway_env/road/graphics.py | 313 | CODE | |
| LOW | highway_env/road/regulation.py | 42 | CODE | |
| LOW | highway_env/road/road.py | 169 | CODE | |
| LOW | highway_env/road/road.py | 493 | CODE | |
| LOW | highway_env/road/generation/engine/optimize.py | 13 | CODE | |
| LOW | highway_env/road/generation/engine/optimize.py | 244 | CODE | |
| LOW | highway_env/road/generation/engine/optimize.py | 287 | CODE | |
| LOW | highway_env/road/generation/engine/boundaries.py | 6 | CODE | |
| LOW | highway_env/road/generation/engine/agents.py | 10 | CODE | |
| LOW | highway_env/road/generation/engine/agents.py | 213 | CODE | |
| LOW | highway_env/road/generation/engine/rectify.py | 69 | CODE | |
| LOW | highway_env/road/generation/engine/rectify.py | 173 | CODE | |
| LOW | highway_env/road/generation/engine/rectify.py | 253 | CODE | |
| LOW | highway_env/road/generation/engine/validation.py | 86 | CODE | |
| LOW | highway_env/road/generation/engine/validation.py | 336 | CODE | |
| LOW | highway_env/road/generation/engine/validation.py | 465 | CODE | |
| LOW | highway_env/road/generation/engine/validation.py | 247 | CODE | |
| LOW | highway_env/envs/random_road_env.py | 133 | CODE | |
| LOW | highway_env/envs/random_road_env.py | 264 | CODE | |
| LOW | highway_env/envs/racetrack_env.py | 374 | CODE | |
| LOW | highway_env/envs/racetrack_env.py | 1340 | CODE | |
| LOW | highway_env/envs/roundabout_env.py | 421 | CODE | |
| LOW | highway_env/envs/roundabout_env.py | 664 | CODE | |
| LOW | highway_env/envs/common/graphics.py | 275 | CODE | |
| LOW | highway_env/envs/common/observation.py | 363 | CODE | |
| LOW | highway_env/envs/common/observation.py | 464 | CODE | |
| LOW | highway_env/envs/common/observation.py | 496 | CODE | |
| LOW | highway_env/envs/common/observation.py | 921 | CODE | |
| LOW | highway_env/envs/common/finite_mdp.py | 104 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | highway_env/interval.py | 251 | except LinAlgError: | CODE |
| HIGH | highway_env/__init__.py | 15 | except Exception: # nosec | CODE |
| HIGH | highway_env/road/generation/engine/gen_utils.py | 259 | except ImportError: | CODE |
| HIGH | highway_env/envs/u_turn_env.py | 199 | except AttributeError: | CODE |
| HIGH | highway_env/envs/intersection_env.py | 312 | except AttributeError: | CODE |
| HIGH | highway_env/envs/roundabout_env.py | 346 | except AttributeError: | CODE |
| HIGH | highway_env/envs/roundabout_env.py | 682 | except AttributeError: | CODE |
| HIGH | highway_env/envs/common/abstract.py | 217 | except NotImplementedError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | highway_env/interval.py | 237 | def update_coordinates_frame(self, a0: np.ndarray) -> None: | CODE |
| LOW | highway_env/interval.py | 264 | def set_control(self, control: np.ndarray, state: np.ndarray = None) -> None: | CODE |
| LOW | highway_env/utils.py | 440 | def update_config_check(config: dict[str, Any], delta: Mapping[str, Any]) -> None: | CODE |
| LOW | highway_env/vehicle/controller.py | 221 | def set_route_at_intersection(self, _to: int) -> None: | CODE |
| LOW | highway_env/vehicle/uncertainty/estimation.py | 79 | def update_possible_routes(self) -> None: | CODE |
| LOW | highway_env/road/road.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | highway_env/road/generation/engine/__init__.py | 36 | __all__ = [ | CODE |
| LOW | highway_env/envs/__init__.py | 22 | __all__ = [ | CODE |
| LOW | highway_env/envs/common/graphics.py | 73 | def set_agent_display(self, agent_display: Callable) -> None: | CODE |
| LOW | highway_env/envs/common/graphics.py | 99 | def set_agent_action_sequence(self, actions: list[Action]) -> None: | CODE |
| LOW | highway_env/envs/common/observation.py | 1103 | def update_next_node(self) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/sb3_highway_dqn.py | 11 | # Create the environment | COMMENT |
| MEDIUM | scripts/sb3_highway_dqn.py | 15 | # Create the model | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/sb3_highway_ppo_transformer.py | 347 | if hasattr(obs_type, "agents_observation_types"): # Handle multi-agent observation | CODE |
| MEDIUM | highway_env/utils.py | 457 | # Handle multi-agent environments where keys are not defined in outer dict | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | highway_env/vehicle/behavior.py | 374 | CODE | |
| LOW | highway_env/vehicle/uncertainty/estimation.py | 41 | CODE | |
| LOW | highway_env/vehicle/uncertainty/prediction.py | 42 | CODE | |
| LOW | highway_env/envs/common/observation.py | 168 | CODE | |
| LOW | highway_env/envs/common/observation.py | 295 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/envs/test_multiprocessing.py | 30 | except Exception as exc: | CODE |
| LOW | highway_env/__init__.py | 15 | except Exception: # nosec | CODE |
| LOW | highway_env/envs/random_road_env.py | 239 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | highway_env/road/generation/engine/validation.py | 381 | # remains robust in repairing the missing edges. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/conf.py | 1 | # Configuration file for the Sphinx documentation builder. | COMMENT |