Repository Analysis

DLR-RM/stable-baselines3

PyTorch version of Stable Baselines, reliable implementations of reinforcement learning algorithms.

11.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of DLR-RM/stable-baselines3, a Python project with 13,640 GitHub stars. SynthScan v2.0 examined 34,692 lines of code across 161 source files, recording 343 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 11.8 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).

11.8
Adjusted Score
11.8
Raw Score
100%
Time Factor
2026-07-25
Last Push
13.6K
Stars
Python
Language
34.7K
Lines of Code
161
Files
343
Pattern Hits
2026-08-02
Scan Date
0.04
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 7MEDIUM 13LOW 323

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 343 distinct pattern matches across 12 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 Identifiers135 hits · 144 pts
SeverityFileLineSnippetContext
LOWtests/test_deterministic.py12def test_deterministic_training_common(algo):CODE
LOWtests/test_monitor.py70def test_monitor_load_results(tmp_path):CODE
LOWtests/test_vec_stacked_obs.py12def test_compute_stacking_box():CODE
LOWtests/test_vec_stacked_obs.py21def test_compute_stacking_multidim_box():CODE
LOWtests/test_vec_stacked_obs.py30def test_compute_stacking_multidim_box_channel_first():CODE
LOWtests/test_vec_stacked_obs.py41def test_compute_stacking_image_channel_first():CODE
LOWtests/test_vec_stacked_obs.py51def test_compute_stacking_image_channel_last():CODE
LOWtests/test_vec_stacked_obs.py61def test_compute_stacking_image_channel_first_stack_last():CODE
LOWtests/test_vec_stacked_obs.py73def test_compute_stacking_image_channel_last_stack_first():CODE
LOWtests/test_vec_stacked_obs.py106def test_reset_update_multidim_box():CODE
LOWtests/test_vec_stacked_obs.py127def test_reset_update_multidim_box_channel_first():CODE
LOWtests/test_vec_stacked_obs.py146def test_reset_update_image_channel_first():CODE
LOWtests/test_vec_stacked_obs.py165def test_reset_update_image_channel_last():CODE
LOWtests/test_vec_stacked_obs.py186def test_reset_update_image_channel_first_stack_last():CODE
LOWtests/test_vec_stacked_obs.py207def test_reset_update_image_channel_last_stack_first():CODE
LOWtests/test_vec_stacked_obs.py271def test_episode_termination_box():CODE
LOWtests/test_vec_stacked_obs.py292def test_episode_termination_dict():CODE
LOWtests/test_utils.py60def test_make_vec_env_func_checker():CODE
LOWtests/test_utils.py126def test_vec_env_wrapper_kwargs():CODE
LOWtests/test_utils.py131def test_vec_env_monitor_kwargs():CODE
LOWtests/test_utils.py150def test_env_auto_monitor_wrap():CODE
LOWtests/test_utils.py291def test_evaluate_policy_monitors(vec_env_class):CODE
LOWtests/test_utils.py389def test_get_parameters_by_name():CODE
LOWtests/test_utils.py459def test_is_vectorized_observation():CODE
LOWtests/test_utils.py535def test_policy_is_vectorized_obs():CODE
LOWtests/test_utils.py604def test_deprecated_schedules():CODE
LOWtests/test_utils.py652 def test_centered_momentum_weight_decay(self):CODE
LOWtests/test_vec_envs.py367def test_subproc_start_method():CODE
LOWtests/test_vec_envs.py412def test_vecenv_wrapper_getattr():CODE
LOWtests/test_vec_envs.py450 def make_transposed_image_env():CODE
LOWtests/test_callbacks.py121def test_eval_callback_vec_env():CODE
LOWtests/test_callbacks.py161def test_callbacks_can_cancel_runs(model_class, model_kwargs, callback_false_value):CODE
LOWtests/test_callbacks.py171def test_eval_success_logging(tmp_path):CODE
LOWtests/test_callbacks.py195def test_eval_callback_logs_are_written_with_the_correct_timestep(tmp_path):CODE
LOWtests/test_callbacks.py252def test_checkpoint_additional_info(tmp_path):CODE
LOWtests/test_callbacks.py278def test_eval_callback_chaining(tmp_path):CODE
LOWtests/test_envs.py90def test_high_dimension_action_space():CODE
LOWtests/test_envs.py177def test_non_default_action_spaces(new_action_space):CODE
LOWtests/test_envs.py226def test_common_failures_reset():CODE
LOWtests/test_envs.py293def test_common_failures_step():CODE
LOWtests/test_n_step_replay.py78def compute_expected_nstep_reward(gamma, n_steps, stop_idx=None):CODE
LOWtests/test_n_step_replay.py96def test_nstep_early_termination(done_at, n_steps, base_idx):CODE
LOWtests/test_n_step_replay.py111def test_nstep_early_truncation(truncated_at, n_steps, base_idx):CODE
LOWtests/test_n_step_replay.py124def test_nstep_no_terminations(n_steps):CODE
LOWtests/test_cnn.py132def test_features_extractor_target_net(model_class, share_features_extractor):CODE
LOWtests/test_sde.py10def test_state_dependent_exploration_grad():CODE
LOWtests/test_sde.py72def test_state_dependent_noise(model_class, use_expln, squash_output):CODE
LOWtests/test_run.py42def test_advantage_normalization(model_class, normalize_advantage):CODE
LOWtests/test_env_checker.py33def test_check_env_dict_action():CODE
LOWtests/test_env_checker.py121def test_check_env_detailed_error(obs_tuple, method):CODE
LOWtests/test_env_checker.py183def test_check_env_single_step_env():CODE
LOWtests/test_env_checker.py212def test_check_env_graph_space():CODE
LOWtests/test_env_checker.py253def test_check_env_sequence_obs(env_class):CODE
LOWtests/test_env_checker.py258def test_check_env_sequence_tuple():CODE
LOWtests/test_predict.py113def test_subclassed_space_env(model_class):CODE
LOWtests/test_predict.py121def test_mixing_gym_vecenv_api():CODE
LOWtests/test_her.py88def test_goal_selection_strategy(goal_selection_strategy):CODE
LOWtests/test_her.py227def test_save_load_replay_buffer(n_envs, tmp_path, recwarn, truncate_last_trajectory):CODE
LOWtests/test_her.py329def test_truncate_last_trajectory(n_envs, recwarn, n_steps, handle_timeout_termination):CODE
LOWtests/test_preprocessing.py7def test_get_obs_shape_discrete():CODE
75 more matches not shown…
Unused Imports66 hits · 66 pts
SeverityFileLineSnippetContext
LOWtests/test_vec_envs.py19CODE
LOWtests/test_logger.py682CODE
LOWtests/test_logger.py702CODE
LOWtests/test_logger.py722CODE
LOWdocs/conf.py21CODE
LOWdocs/conf.py29CODE
LOWstable_baselines3/__init__.py3CODE
LOWstable_baselines3/__init__.py4CODE
LOWstable_baselines3/__init__.py5CODE
LOWstable_baselines3/__init__.py6CODE
LOWstable_baselines3/__init__.py7CODE
LOWstable_baselines3/__init__.py8CODE
LOWstable_baselines3/__init__.py9CODE
LOWstable_baselines3/__init__.py10CODE
LOWstable_baselines3/sac/__init__.py1CODE
LOWstable_baselines3/sac/__init__.py1CODE
LOWstable_baselines3/sac/__init__.py1CODE
LOWstable_baselines3/sac/__init__.py2CODE
LOWstable_baselines3/ddpg/__init__.py1CODE
LOWstable_baselines3/ddpg/__init__.py2CODE
LOWstable_baselines3/ddpg/__init__.py2CODE
LOWstable_baselines3/ddpg/__init__.py2CODE
LOWstable_baselines3/ddpg/policies.py2CODE
LOWstable_baselines3/ddpg/policies.py2CODE
LOWstable_baselines3/ddpg/policies.py2CODE
LOWstable_baselines3/common/type_aliases.py13CODE
LOWstable_baselines3/common/type_aliases.py14CODE
LOWstable_baselines3/common/evaluation.py8CODE
LOWstable_baselines3/common/logger.py16CODE
LOWstable_baselines3/common/callbacks.py28CODE
LOWstable_baselines3/common/envs/__init__.py1CODE
LOWstable_baselines3/common/envs/__init__.py2CODE
LOWstable_baselines3/common/envs/__init__.py2CODE
LOWstable_baselines3/common/envs/__init__.py2CODE
LOWstable_baselines3/common/envs/__init__.py2CODE
LOWstable_baselines3/common/envs/__init__.py2CODE
LOWstable_baselines3/common/envs/__init__.py9CODE
LOWstable_baselines3/common/vec_env/vec_video_recorder.py77CODE
LOWstable_baselines3/common/vec_env/__init__.py4CODE
LOWstable_baselines3/common/vec_env/__init__.py5CODE
LOWstable_baselines3/common/vec_env/__init__.py6CODE
LOWstable_baselines3/common/vec_env/__init__.py7CODE
LOWstable_baselines3/common/vec_env/__init__.py8CODE
LOWstable_baselines3/common/vec_env/__init__.py9CODE
LOWstable_baselines3/common/vec_env/__init__.py10CODE
LOWstable_baselines3/common/vec_env/__init__.py11CODE
LOWstable_baselines3/common/vec_env/__init__.py13CODE
LOWstable_baselines3/common/vec_env/__init__.py14CODE
LOWstable_baselines3/dqn/__init__.py1CODE
LOWstable_baselines3/dqn/__init__.py2CODE
LOWstable_baselines3/dqn/__init__.py2CODE
LOWstable_baselines3/dqn/__init__.py2CODE
LOWstable_baselines3/her/__init__.py1CODE
LOWstable_baselines3/her/__init__.py2CODE
LOWstable_baselines3/ppo/__init__.py1CODE
LOWstable_baselines3/ppo/__init__.py1CODE
LOWstable_baselines3/ppo/__init__.py1CODE
LOWstable_baselines3/ppo/__init__.py2CODE
LOWstable_baselines3/a2c/__init__.py1CODE
LOWstable_baselines3/a2c/__init__.py2CODE
6 more matches not shown…
Modern Structural Boilerplate48 hits · 50 pts
SeverityFileLineSnippetContext
LOWtests/test_vec_extract_dict_obs.py62 def set_attr(self, attr_name, value, indices=None) -> None:CODE
LOWstable_baselines3/__init__.py25__all__ = [CODE
LOWstable_baselines3/sac/__init__.py4__all__ = ["SAC", "CnnPolicy", "MlpPolicy", "MultiInputPolicy"]CODE
LOWstable_baselines3/sac/sac.py162 def _setup_model(self) -> None:CODE
LOWstable_baselines3/sac/policies.py355 def set_training_mode(self, mode: bool) -> None:CODE
LOWstable_baselines3/ddpg/__init__.py4__all__ = ["DDPG", "CnnPolicy", "MlpPolicy", "MultiInputPolicy"]CODE
LOWstable_baselines3/common/monitor.py1__all__ = ["Monitor", "ResultsWriter", "get_monitor_files", "load_results"]CODE
LOWstable_baselines3/common/base_class.py252 def _setup_model(self) -> None:CODE
LOWstable_baselines3/common/base_class.py255 def set_logger(self, logger: Logger) -> None:CODE
LOWstable_baselines3/common/base_class.py274 def _setup_lr_schedule(self) -> None:CODE
LOWstable_baselines3/common/base_class.py278 def _update_current_progress_remaining(self, num_timesteps: int, total_timesteps: int) -> None:CODE
LOWstable_baselines3/common/base_class.py287 def _update_learning_rate(self, optimizers: list[th.optim.Optimizer] | th.optim.Optimizer) -> None:CODE
LOWstable_baselines3/common/base_class.py438 def _update_info_buffer(self, infos: list[dict[str, Any]], dones: np.ndarray | None = None) -> None:CODE
LOWstable_baselines3/common/base_class.py476 def set_env(self, env: GymEnv, force_reset: bool = True) -> None:CODE
LOWstable_baselines3/common/base_class.py559 def set_random_seed(self, seed: int | None = None) -> None:CODE
LOWstable_baselines3/common/logger.py604 def set_level(self, level: int) -> None:CODE
LOWstable_baselines3/common/utils.py28def set_random_seed(seed: int, using_cuda: bool = False) -> None:CODE
LOWstable_baselines3/common/utils.py68def update_learning_rate(optimizer: th.optim.Optimizer, learning_rate: float) -> None:CODE
LOWstable_baselines3/common/running_mean_std.py41 def update_from_moments(self, batch_mean: np.ndarray, batch_var: np.ndarray, batch_count: float) -> None:CODE
LOWstable_baselines3/common/off_policy_algorithm.py174 def _setup_model(self) -> None:CODE
LOWstable_baselines3/common/callbacks.py129 def update_locals(self, locals_: dict[str, Any]) -> None:CODE
LOWstable_baselines3/common/callbacks.py138 def update_child_locals(self, locals_: dict[str, Any]) -> None:CODE
LOWstable_baselines3/common/callbacks.py181 def update_child_locals(self, locals_: dict[str, Any]) -> None:CODE
LOWstable_baselines3/common/callbacks.py235 def update_child_locals(self, locals_: dict[str, Any]) -> None:CODE
LOWstable_baselines3/common/callbacks.py534 def update_child_locals(self, locals_: dict[str, Any]) -> None:CODE
LOWstable_baselines3/common/on_policy_algorithm.py115 def _setup_model(self) -> None:CODE
LOWstable_baselines3/common/policies.py203 def set_training_mode(self, mode: bool) -> None:CODE
LOWstable_baselines3/common/envs/__init__.py11__all__ = [CODE
LOWstable_baselines3/common/vec_env/subproc_vec_env.py190 def set_attr(self, attr_name: str, value: Any, indices: VecEnvIndices = None) -> None:CODE
LOWstable_baselines3/common/vec_env/__init__.py87__all__ = [CODE
LOWstable_baselines3/common/vec_env/vec_normalize.py155 def set_venv(self, venv: VecEnv) -> None:CODE
LOWstable_baselines3/common/vec_env/vec_normalize.py209 def _update_reward(self, reward: np.ndarray) -> None:CODE
LOWstable_baselines3/common/vec_env/base_vec_env.py177 def set_attr(self, attr_name: str, value: Any, indices: VecEnvIndices = None) -> None:CODE
LOWstable_baselines3/common/vec_env/base_vec_env.py311 def set_options(self, options: list[dict] | dict | None = None) -> None:CODE
LOWstable_baselines3/common/vec_env/base_vec_env.py398 def set_options(self, options: list[dict] | dict | None = None) -> None:CODE
LOWstable_baselines3/common/vec_env/base_vec_env.py416 def set_attr(self, attr_name: str, value: Any, indices: VecEnvIndices = None) -> None:CODE
LOWstable_baselines3/common/vec_env/dummy_vec_env.py121 def set_attr(self, attr_name: str, value: Any, indices: VecEnvIndices = None) -> None:CODE
LOWstable_baselines3/dqn/__init__.py4__all__ = ["DQN", "CnnPolicy", "MlpPolicy", "MultiInputPolicy"]CODE
LOWstable_baselines3/dqn/dqn.py146 def _setup_model(self) -> None:CODE
LOWstable_baselines3/dqn/policies.py202 def set_training_mode(self, mode: bool) -> None:CODE
LOWstable_baselines3/her/her_replay_buffer.py124 def set_env(self, env: VecEnv) -> None:CODE
LOWstable_baselines3/her/__init__.py4__all__ = ["GoalSelectionStrategy", "HerReplayBuffer"]CODE
LOWstable_baselines3/ppo/__init__.py4__all__ = ["PPO", "CnnPolicy", "MlpPolicy", "MultiInputPolicy"]CODE
LOWstable_baselines3/ppo/ppo.py173 def _setup_model(self) -> None:CODE
LOWstable_baselines3/a2c/__init__.py4__all__ = ["A2C", "CnnPolicy", "MlpPolicy", "MultiInputPolicy"]CODE
LOWstable_baselines3/td3/td3.py142 def _setup_model(self) -> None:CODE
LOWstable_baselines3/td3/__init__.py4__all__ = ["TD3", "CnnPolicy", "MlpPolicy", "MultiInputPolicy"]CODE
LOWstable_baselines3/td3/policies.py244 def set_training_mode(self, mode: bool) -> None:CODE
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHstable_baselines3/sac/policies.py0put the policy in either training or evaluation mode. this affects certain modules, such as batch normalisation and dropSTRING
HIGHstable_baselines3/common/policies.py0put the policy in either training or evaluation mode. this affects certain modules, such as batch normalisation and dropSTRING
HIGHstable_baselines3/dqn/policies.py0put the policy in either training or evaluation mode. this affects certain modules, such as batch normalisation and dropSTRING
HIGHstable_baselines3/td3/policies.py0put the policy in either training or evaluation mode. this affects certain modules, such as batch normalisation and dropSTRING
HIGHstable_baselines3/common/type_aliases.py0get the policy action from an observation (and optional hidden state). includes sugar-coating to handle different observSTRING
HIGHstable_baselines3/common/base_class.py0get the policy action from an observation (and optional hidden state). includes sugar-coating to handle different observSTRING
HIGHstable_baselines3/common/policies.py0get the policy action from an observation (and optional hidden state). includes sugar-coating to handle different observSTRING
Deep Nesting32 hits · 32 pts
SeverityFileLineSnippetContext
LOWtests/test_vec_envs.py241CODE
LOWtests/test_distributions.py174CODE
LOWtests/test_buffers.py114CODE
LOWtests/test_logger.py97CODE
LOWtests/test_logger.py98CODE
LOWstable_baselines3/common/env_checker.py95CODE
LOWstable_baselines3/common/env_checker.py254CODE
LOWstable_baselines3/common/env_checker.py331CODE
LOWstable_baselines3/common/evaluation.py12CODE
LOWstable_baselines3/common/logger.py450CODE
LOWstable_baselines3/common/logger.py177CODE
LOWstable_baselines3/common/logger.py338CODE
LOWstable_baselines3/common/distributions.py670CODE
LOWstable_baselines3/common/preprocessing.py91CODE
LOWstable_baselines3/common/preprocessing.py142CODE
LOWstable_baselines3/common/preprocessing.py188CODE
LOWstable_baselines3/common/off_policy_algorithm.py449CODE
LOWstable_baselines3/common/off_policy_algorithm.py514CODE
LOWstable_baselines3/common/save_util.py76CODE
LOWstable_baselines3/common/save_util.py131CODE
LOWstable_baselines3/common/save_util.py244CODE
LOWstable_baselines3/common/save_util.py294CODE
LOWstable_baselines3/common/save_util.py376CODE
LOWstable_baselines3/common/on_policy_algorithm.py162CODE
LOWstable_baselines3/common/policies.py684CODE
LOWstable_baselines3/common/envs/multi_input_envs.py122CODE
LOWstable_baselines3/common/sb2_compat/rmsprop_tf_like.py78CODE
LOWstable_baselines3/common/vec_env/subproc_vec_env.py20CODE
LOW…able_baselines3/common/vec_env/stacked_observations.py119CODE
LOWstable_baselines3/common/vec_env/vec_normalize.py35CODE
LOWstable_baselines3/common/vec_env/vec_check_nan.py67CODE
LOWstable_baselines3/ppo/ppo.py184CODE
Self-Referential Comments8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_save_load.py777 # Create a PPO agent and save itCOMMENT
MEDIUMtests/test_save_load.py875 # Create a simple envCOMMENT
MEDIUMstable_baselines3/sac/policies.py294 # Create a separate features extractor for the criticCOMMENT
MEDIUMstable_baselines3/common/env_util.py110 # Create the monitor folder if neededCOMMENT
MEDIUMstable_baselines3/common/save_util.py318 # Create a zip-archive and write our objects there.COMMENT
MEDIUMstable_baselines3/common/vec_env/base_vec_env.py272 # Create a big image by tiling images from subprocessesCOMMENT
MEDIUMstable_baselines3/ppo/policies.py1# This file is here just to define MlpPolicy/CnnPolicyCOMMENT
MEDIUMstable_baselines3/a2c/policies.py1# This file is here just to define MlpPolicy/CnnPolicyCOMMENT
AI Structural Patterns23 hits · 23 pts
SeverityFileLineSnippetContext
LOWtests/test_train_eval_mode.py41CODE
LOWstable_baselines3/sac/sac.py91CODE
LOWstable_baselines3/sac/policies.py214CODE
LOWstable_baselines3/sac/policies.py398CODE
LOWstable_baselines3/sac/policies.py464CODE
LOWstable_baselines3/ddpg/ddpg.py57CODE
LOWstable_baselines3/common/env_util.py40CODE
LOWstable_baselines3/common/env_util.py132CODE
LOWstable_baselines3/common/base_class.py106CODE
LOWstable_baselines3/common/off_policy_algorithm.py81CODE
LOWstable_baselines3/common/callbacks.py370CODE
LOWstable_baselines3/common/on_policy_algorithm.py61CODE
LOWstable_baselines3/common/policies.py448CODE
LOWstable_baselines3/common/policies.py798CODE
LOWstable_baselines3/common/policies.py871CODE
LOWstable_baselines3/common/vec_env/vec_normalize.py35CODE
LOWstable_baselines3/dqn/dqn.py77CODE
LOWstable_baselines3/ppo/ppo.py80CODE
LOWstable_baselines3/a2c/a2c.py66CODE
LOWstable_baselines3/td3/td3.py80CODE
LOWstable_baselines3/td3/policies.py114CODE
LOWstable_baselines3/td3/policies.py283CODE
LOWstable_baselines3/td3/policies.py337CODE
Decorative Section Separators4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMstable_baselines3/common/logger.py474# ================================================================COMMENT
MEDIUMstable_baselines3/common/logger.py476# ================================================================COMMENT
MEDIUMstable_baselines3/common/logger.py603 # ----------------------------------------COMMENT
MEDIUMstable_baselines3/common/logger.py629 # ----------------------------------------COMMENT
Over-Commented Block11 hits · 11 pts
SeverityFileLineSnippetContext
LOWsetup.py161# python setup.py sdistCOMMENT
LOWdocs/conf.py1#COMMENT
LOWdocs/conf.py81 extensions.append("sphinx_copybutton")COMMENT
LOWdocs/conf.py121 app.add_css_file("css/baselines_theme.css")COMMENT
LOWdocs/conf.py141# 'searchbox.html']``.COMMENT
LOWdocs/conf.py161 # Additional stuff for the LaTeX preamble.COMMENT
LOWdocs/conf.py221]COMMENT
LOWdocs/guide/callbacks.md21 """COMMENT
LOWdocs/guide/vec_envs.md121 # Do something, depending on the action and current value of mu the next state is computedCOMMENT
LOWstable_baselines3/common/save_util.py101COMMENT
LOWstable_baselines3/her/her_replay_buffer.py201 )COMMENT
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWtests/test_save_load.py139 # Check if the model loads as expected for every possible choice of device:COMMENT
LOWtests/test_save_load.py267 # Check if exclude worksCOMMENT
LOWtests/test_save_load.py276 # Check if include worksCOMMENT
LOWstable_baselines3/common/base_class.py59 # Set render_mode to `rgb_array` as default, so we can record videoCOMMENT
LOWstable_baselines3/common/base_class.py716 # Check if given env is validCOMMENT
LOWstable_baselines3/common/utils.py18# Check if tensorboard is available for pytorchCOMMENT
LOWstable_baselines3/common/save_util.py119 # Check if serializable. If not, just include theCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_callbacks.py68 # but here in an event-driven mannerCOMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWstable_baselines3/common/base_class.py608 except Exception as e:CODE