A platform for reproducible world model research and evaluation
This report summarizes scanner evidence for galilai-group/stable-worldmodel, a Python project with 2,248 GitHub stars. SynthScan examined 75,406 lines of code across 286 source files, recording 1634 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 30.9 (High 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? 1105 finding(s).
Are imports declared and package/API names verified? 188 finding(s).
Are wrappers, guards, and repeated structures necessary? 1348 finding(s).
Which changes need focused human review? 1634 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 1634 distinct pattern matches across 16 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 | 107 | def test_flatten_dict_empty_dict(): | CODE |
| LOW⚡ | tests/test_utils.py | 111 | def test_flatten_dict_single_level(): | CODE |
| LOW⚡ | tests/test_utils.py | 115 | def test_flatten_dict_nested_dict(): | CODE |
| LOW⚡ | tests/test_utils.py | 119 | def test_flatten_dict_information_loss(): | CODE |
| LOW⚡ | tests/test_utils.py | 123 | def test_flatten_dict_multiple_nested_levels(): | CODE |
| LOW⚡ | tests/test_utils.py | 127 | def test_flatten_dict_other_separators(): | CODE |
| LOW⚡ | tests/test_utils.py | 131 | def test_flatten_dict_parent_key(): | CODE |
| LOW⚡ | tests/test_utils.py | 135 | def test_flatten_dict_mixed_types(): | CODE |
| LOW⚡ | tests/test_utils.py | 142 | def test_flatten_dict_same_flatten(): | CODE |
| LOW⚡ | tests/test_utils.py | 153 | def test_get_in_existing_key_depth_one(): | CODE |
| LOW⚡ | tests/test_utils.py | 162 | def test_get_in_missing_key_depth_one(): | CODE |
| LOW⚡ | tests/test_utils.py | 171 | def test_get_in_existing_key_depth_two(): | CODE |
| LOW⚡ | tests/test_utils.py | 175 | def test_get_in_missing_key_depth_two(): | CODE |
| LOW⚡ | tests/test_utils.py | 180 | def test_get_in_missing_intermediate_key_depth_two(): | CODE |
| LOW⚡ | tests/test_utils.py | 185 | def test_get_in_empty_key_depth_two(): | CODE |
| LOW⚡ | tests/test_utils.py | 225 | def test_record_video_single_episode(tmp_path): | CODE |
| LOW⚡ | tests/test_utils.py | 235 | def test_record_video_multiple_episodes(tmp_path): | CODE |
| LOW⚡ | tests/test_utils.py | 245 | def test_record_video_max_steps(tmp_path): | CODE |
| LOW | tests/test_utils.py | 20 | def test_raises_when_script_not_exists(monkeypatch): | CODE |
| LOW | tests/test_utils.py | 39 | def test_pretraining_exits_on_failure(monkeypatch): | CODE |
| LOW | tests/test_utils.py | 50 | def test_pretraining_parses_single_arg(monkeypatch): | CODE |
| LOW | tests/test_utils.py | 67 | def test_pretraining_parses_multiple_args(monkeypatch): | CODE |
| LOW | tests/test_utils.py | 88 | def test_pretraining_with_empty_args(monkeypatch): | CODE |
| LOW | tests/test_utils.py | 256 | def test_record_video_multiple_views(tmp_path): | CODE |
| LOW | tests/test_utils.py | 271 | def test_record_video_invalid_view_raises(tmp_path): | CODE |
| LOW | tests/check_world.py | 180 | def test_ep_idx_in_recorded_dataset(temp_path): | CODE |
| LOW⚡ | tests/test_buffer.py | 118 | def test_n_negative_returns_none(self): | CODE |
| LOW⚡ | tests/test_buffer.py | 127 | def test_warmup_pads_with_oldest(self): | CODE |
| LOW⚡ | tests/test_buffer.py | 137 | def test_one_env_empty_returns_none(self): | CODE |
| LOW | tests/test_buffer.py | 41 | def test_invalid_action_block(self): | CODE |
| LOW | tests/test_buffer.py | 63 | def test_multiple_appends_increase_length(self): | CODE |
| LOW | tests/test_buffer.py | 85 | def test_scalar_value_passes_through(self): | CODE |
| LOW | tests/test_buffer.py | 200 | def test_desynced_envs_do_not_couple(self): | CODE |
| LOW | tests/test_buffer.py | 213 | def test_env_ids_selects_and_orders_rows(self): | CODE |
| LOW | tests/test_buffer.py | 225 | def test_env_ids_ignores_other_envs_emptiness(self): | CODE |
| LOW | tests/test_buffer.py | 244 | def test_scalar_per_env_shape(self): | CODE |
| LOW | tests/test_buffer.py | 272 | def test_mixed_keys_preserve_types(self): | CODE |
| LOW | tests/test_buffer.py | 299 | def test_blocked_leaving_frame_alignment(self): | CODE |
| LOW | tests/test_buffer.py | 322 | def test_blocked_warmup_zero_pads(self): | CODE |
| LOW | tests/test_buffer.py | 339 | def test_blocked_with_action_block_one(self): | CODE |
| LOW | tests/test_buffer.py | 351 | def test_blocked_omitted_at_n_one(self): | CODE |
| LOW | tests/test_buffer.py | 390 | def test_grows_at_block_cadence(self): | CODE |
| LOW | tests/test_buffer.py | 399 | def test_matches_unpadded_get(self): | CODE |
| LOW | tests/test_buffer.py | 414 | def test_env_ids_selects_and_orders(self): | CODE |
| LOW | tests/test_buffer.py | 441 | def test_reset_empty_list_is_noop(self): | CODE |
| LOW | tests/test_buffer.py | 468 | def test_min_after_partial_reset(self): | CODE |
| LOW | tests/test_buffer.py | 511 | def test_fallback_for_scalars(self): | CODE |
| LOW | tests/test_world.py | 139 | def test_auto_sets_needs_flush(self): | CODE |
| LOW | tests/test_world.py | 169 | def test_auto_infos_updated_after_reset(self): | CODE |
| LOW | tests/test_world.py | 201 | def test_wait_stops_dead_envs(self): | CODE |
| LOW | tests/test_world.py | 212 | def test_wait_dead_envs_get_nan(self): | CODE |
| LOW | tests/test_world.py | 229 | def test_wait_skips_stepping_dead_envs(self): | CODE |
| LOW | tests/test_world.py | 258 | def test_on_step_called_every_step(self): | CODE |
| LOW | tests/test_world.py | 275 | def test_on_done_receives_correct_ep_idx(self): | CODE |
| LOW | tests/test_world.py | 290 | def test_on_done_stops_at_episode_limit(self): | CODE |
| LOW | tests/test_world.py | 312 | def test_no_episodes_or_max_steps_raises(self): | CODE |
| LOW | tests/test_world.py | 328 | def test_max_steps_stops_even_without_termination(self): | CODE |
| LOW | tests/test_world.py | 338 | def test_both_episodes_and_max_steps(self): | CODE |
| LOW | tests/test_world.py | 358 | def test_flush_clears_buffer_on_auto_reset(self): | CODE |
| LOW | tests/test_world.py | 375 | def test_flush_only_for_done_envs(self): | CODE |
| 928 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/wm/test_utils.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 59 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 142 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 144 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 159 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 161 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 186 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 188 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 226 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 228 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 289 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/wm/test_utils.py | 291 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/wm/test_utils.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/wm/test_utils.py | 23 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/planning/test_evaluator.py | 106 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/planning/test_evaluator.py | 108 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/planning/test_evaluator.py | 175 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/planning/test_evaluator.py | 177 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/planning/test_evaluator.py | 209 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/planning/test_evaluator.py | 211 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/planning/solver/test_lagrangian.py | 14 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/planning/solver/test_lagrangian.py | 16 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/planning/solver/test_lagrangian.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/planning/solver/test_lagrangian.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/data/test_data_utils.py | 25 | # ─── get_cache_dir ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/data/test_data_utils.py | 62 | # ─── ensure_dir_exists ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/data/test_data_utils.py | 77 | # ─── _resolve_dataset ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/data/test_data_utils.py | 121 | # ─── _resolve_dataset_hf ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_data_utils.py | 212 | # ─── _hf_find_dataset_entry ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_data_utils.py | 310 | # ─── _download ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_data_utils.py | 343 | # ─── load_dataset ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/data/test_format.py | 63 | # ─── Registry ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/data/test_format.py | 202 | # ─── HDF5 writer ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_format.py | 36 | # ─── Fixtures ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_format.py | 143 | # ─── Detection ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_format.py | 373 | # ─── Folder writer ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_format.py | 504 | # ─── Video writer ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_format.py | 615 | # ─── Convert ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_format.py | 702 | # ─── load_dataset autodetect ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_format.py | 746 | # ─── World.collect with non-default format ──────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/data/test_normalization.py | 17 | # ─── IdentityScaler ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/data/test_normalization.py | 34 | # ─── ZScoreScaler ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/data/test_normalization.py | 86 | # ─── PercentileScaler ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | tests/data/test_normalization.py | 151 | # ─── Picklability (DataLoader spawn-safe) ───────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_normalization.py | 131 | # ─── get_scaler ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/data/test_normalization.py | 169 | # ─── column_normalizer ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | stable_worldmodel/wm/tdmpc2/module.py | 5 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | stable_worldmodel/wm/tdmpc2/module.py | 7 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | stable_worldmodel/wm/tdmpc2/module.py | 70 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | stable_worldmodel/wm/tdmpc2/module.py | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | stable_worldmodel/envs/ogbench/maze_env.py | 274 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | stable_worldmodel/envs/ogbench/maze_env.py | 276 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | stable_worldmodel/envs/ogbench/maze_env.py | 484 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | stable_worldmodel/envs/ogbench/maze_env.py | 486 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | docs/api/solver.md | 234 | # ── 1. Define a world model with cost and optional constraints ────────────── | COMMENT |
| MEDIUM | docs/api/solver.md | 254 | # ── 2. Build and configure the solver ────────────────────────────────────── | COMMENT |
| MEDIUM | docs/api/solver.md | 276 | # ── 3. Solve ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | docs/api/solver.md | 286 | # ── 4. Receding-horizon planning (warm start) ─────────────────────────────── | COMMENT |
| MEDIUM | docs/api/solver.md | 332 | # ── 1. World model: cost defined over one-hot candidates ──────────────────── | COMMENT |
| MEDIUM | docs/api/solver.md | 346 | # ── 2. Build and configure the solver ────────────────────────────────────── | COMMENT |
| 87 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/wm/test_lewm.py | 0 | a pre-populated goal_emb is reused; encode is not called again. | STRING |
| HIGH | tests/wm/test_pldm.py | 0 | a pre-populated goal_emb is reused; encode is not called again. | STRING |
| HIGH | tests/planning/test_evaluator.py | 0 | a pre-populated goal_emb is reused; encode is not called again. | STRING |
| HIGH | …able_worldmodel/planning/solver/predictive_sampling.py | 0 | configure the solver with environment specifications. | STRING |
| HIGH | stable_worldmodel/planning/solver/icem.py | 0 | configure the solver with environment specifications. | STRING |
| HIGH | stable_worldmodel/planning/solver/cem.py | 0 | configure the solver with environment specifications. | STRING |
| HIGH | stable_worldmodel/planning/solver/mppi.py | 0 | configure the solver with environment specifications. | STRING |
| HIGH | stable_worldmodel/planning/solver/lagrangian.py | 0 | configure the solver with environment specifications. | STRING |
| HIGH | stable_worldmodel/planning/solver/pgd.py | 0 | configure the solver with environment specifications. | STRING |
| HIGH | stable_worldmodel/planning/solver/gd.py | 0 | configure the solver with environment specifications. | STRING |
| HIGH | stable_worldmodel/planning/solver/categorical_cem.py | 0 | configure the solver with environment specifications. | STRING |
| HIGH | …able_worldmodel/planning/solver/predictive_sampling.py | 0 | flattened action dimension including action_block grouping. | STRING |
| HIGH | stable_worldmodel/planning/solver/solver.py | 0 | flattened action dimension including action_block grouping. | STRING |
| HIGH | stable_worldmodel/planning/solver/icem.py | 0 | flattened action dimension including action_block grouping. | STRING |
| HIGH | stable_worldmodel/planning/solver/cem.py | 0 | flattened action dimension including action_block grouping. | STRING |
| HIGH | stable_worldmodel/planning/solver/mppi.py | 0 | flattened action dimension including action_block grouping. | STRING |
| HIGH | stable_worldmodel/planning/solver/lagrangian.py | 0 | flattened action dimension including action_block grouping. | STRING |
| HIGH | stable_worldmodel/planning/solver/pgd.py | 0 | flattened action dimension including action_block grouping. | STRING |
| HIGH | stable_worldmodel/planning/solver/gd.py | 0 | flattened action dimension including action_block grouping. | STRING |
| HIGH | stable_worldmodel/planning/solver/icem.py | 0 | initialize the action distribution parameters (mean and variance). | STRING |
| HIGH | stable_worldmodel/planning/solver/cem.py | 0 | initialize the action distribution parameters (mean and variance). | STRING |
| HIGH | stable_worldmodel/planning/solver/mppi.py | 0 | initialize the action distribution parameters (mean and variance). | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/quadruped.py | 0 | apply gravity variation directly on the compiled physics model. | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/humanoid.py | 0 | apply gravity variation directly on the compiled physics model. | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/ball_in_cup.py | 0 | apply gravity variation directly on the compiled physics model. | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/walker.py | 0 | apply gravity variation directly on the compiled physics model. | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/cheetah.py | 0 | apply gravity variation directly on the compiled physics model. | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/cartpole.py | 0 | apply gravity variation directly on the compiled physics model. | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/hopper.py | 0 | apply gravity variation directly on the compiled physics model. | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/acrobot.py | 0 | apply gravity variation directly on the compiled physics model. | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/pendulum.py | 0 | apply gravity variation directly on the compiled physics model. | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/quadruped.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/humanoid.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/ball_in_cup.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/manipulator.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/reacher.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/walker.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/cheetah.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/cartpole.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/hopper.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/acrobot.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/pendulum.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/dmcontrol/finger.py | 0 | apply visual variations to the mujoco model based on variation space. modifies the mjcf model xml to apply sampled varia | STRING |
| HIGH | stable_worldmodel/envs/two_room/expert_policy.py | 0 | set the random seed for action sampling. args: seed: the seed value. | STRING |
| HIGH | stable_worldmodel/envs/pusht/expert_policy.py | 0 | set the random seed for action sampling. args: seed: the seed value. | STRING |
| HIGH | stable_worldmodel/envs/ogbench/expert_policy.py | 0 | set the random seed for action sampling. args: seed: the seed value. | STRING |
| HIGH | scripts/visualization/visualize_env.py | 0 | setup dataset with image transforms and normalization. | STRING |
| HIGH | scripts/visualization/visualize_value_function.py | 0 | setup dataset with image transforms and normalization. | STRING |
| HIGH | scripts/train/gciql.py | 0 | setup dataset with image transforms and normalization. | STRING |
| HIGH | scripts/train/gcivl.py | 0 | setup dataset with image transforms and normalization. | STRING |
| HIGH | scripts/train/gcbc.py | 0 | setup dataset with image transforms and normalization. | STRING |
| HIGH | scripts/train/hilp.py | 0 | setup dataset with image transforms and normalization. | STRING |
| HIGH | scripts/visualization/visualize_env.py | 0 | factory function to create encoder based on backbone type. | STRING |
| HIGH | scripts/visualization/visualize_dataset.py | 0 | factory function to create encoder based on backbone type. | STRING |
| HIGH | scripts/visualization/visualize_trajectories.py | 0 | factory function to create encoder based on backbone type. | STRING |
| HIGH | scripts/visualization/visualize_env.py | 0 | load and setup world model. for visualization, we only need the model to implement the `encode` method. | STRING |
| HIGH | scripts/visualization/visualize_dataset.py | 0 | load and setup world model. for visualization, we only need the model to implement the `encode` method. | STRING |
| HIGH | scripts/visualization/visualize_trajectories.py | 0 | load and setup world model. for visualization, we only need the model to implement the `encode` method. | STRING |
| HIGH | scripts/train/genie.py | 0 | callback to save model checkpoint after each epoch using save_pretrained. | STRING |
| HIGH | scripts/train/gciql.py | 0 | callback to save model checkpoint after each epoch using save_pretrained. | STRING |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/data/test_lance_video.py | 7 | CODE | |
| LOW | tests/data/test_convert_video_formats.py | 27 | CODE | |
| LOW | tests/data/test_lance_wide_column_read_hang.py | 71 | CODE | |
| LOW | tests/data/test_cli_datasets.py | 13 | CODE | |
| LOW | tests/data/test_replay_buffer.py | 4 | CODE | |
| LOW | tests/data/test_episode_data.py | 4 | CODE | |
| LOW | tests/data/test_merge.py | 3 | CODE | |
| LOW | tests/data/test_lance.py | 4 | CODE | |
| LOW | tests/data/_guards.py | 8 | CODE | |
| LOW | tests/data/_guards.py | 26 | CODE | |
| LOW | tests/data/test_lerobot_adapter.py | 3 | CODE | |
| LOW | tests/data/test_cli_preview.py | 10 | CODE | |
| LOW | tests/data/test_format.py | 3 | CODE | |
| LOW | stable_worldmodel/__init__.py | 15 | CODE | |
| LOW | stable_worldmodel/__init__.py | 35 | CODE | |
| LOW | stable_worldmodel/__init__.py | 35 | CODE | |
| LOW | stable_worldmodel/__init__.py | 35 | CODE | |
| LOW | stable_worldmodel/__init__.py | 35 | CODE | |
| LOW | stable_worldmodel/__init__.py | 35 | CODE | |
| LOW | stable_worldmodel/__init__.py | 35 | CODE | |
| LOW | stable_worldmodel/__init__.py | 35 | CODE | |
| LOW | stable_worldmodel/__init__.py | 35 | CODE | |
| LOW | stable_worldmodel/__init__.py | 45 | CODE | |
| LOW | stable_worldmodel/__init__.py | 46 | CODE | |
| LOW | stable_worldmodel/__init__.py | 47 | CODE | |
| LOW | stable_worldmodel/cli.py | 642 | CODE | |
| LOW | stable_worldmodel/plot/video_utils.py | 1 | CODE | |
| LOW | stable_worldmodel/plot/__init__.py | 1 | CODE | |
| LOW | stable_worldmodel/plot/__init__.py | 1 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 16 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 16 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 16 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 16 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 16 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 16 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 16 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 16 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wrapper/__init__.py | 51 | CODE | |
| LOW | stable_worldmodel/wm/__init__.py | 1 | CODE | |
| LOW | stable_worldmodel/wm/__init__.py | 2 | CODE | |
| LOW | stable_worldmodel/wm/__init__.py | 5 | CODE | |
| LOW | stable_worldmodel/wm/__init__.py | 6 | CODE | |
| LOW | stable_worldmodel/wm/__init__.py | 7 | CODE | |
| LOW | stable_worldmodel/wm/pldm/__init__.py | 1 | CODE | |
| LOW | stable_worldmodel/wm/tdmpc2/__init__.py | 1 | CODE | |
| 127 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | stable_worldmodel/policy.py | 109 | def set_env(self, env: Any) -> None: | CODE |
| LOW | stable_worldmodel/policy.py | 210 | def set_env(self, env: Any) -> None: | CODE |
| LOW | stable_worldmodel/policy.py | 222 | def _set_seed(self, seed: int) -> None: | CODE |
| LOW | stable_worldmodel/policy.py | 378 | def set_env(self, env: Any) -> None: | CODE |
| LOW | stable_worldmodel/__init__.py | 49 | __all__ = [ | CODE |
| LOW | stable_worldmodel/spaces.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/spaces.py | 165 | def set_init_value(self, value: int) -> None: | CODE |
| LOW | stable_worldmodel/spaces.py | 180 | def set_value(self, value: int) -> None: | CODE |
| LOW | stable_worldmodel/spaces.py | 298 | def set_init_value(self, value: Any) -> None: | CODE |
| LOW | stable_worldmodel/spaces.py | 313 | def set_value(self, value: Any) -> None: | CODE |
| LOW | stable_worldmodel/spaces.py | 435 | def set_init_value(self, value: Any) -> None: | CODE |
| LOW | stable_worldmodel/spaces.py | 450 | def set_value(self, value: Any) -> None: | CODE |
| LOW | stable_worldmodel/spaces.py | 761 | def set_init_value(self, variations_values: dict) -> None: | CODE |
| LOW | stable_worldmodel/spaces.py | 782 | def set_value(self, variations_values: dict) -> None: | CODE |
| LOW | stable_worldmodel/utils.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/utils.py | 151 | __all__ = [ | CODE |
| LOW | stable_worldmodel/plot/__init__.py | 4 | __all__ = ['save_video', 'save_panel_videos'] | CODE |
| LOW | stable_worldmodel/wrapper/__init__.py | 91 | __all__ = [ | CODE |
| LOW | stable_worldmodel/wm/loss.py | 127 | __all__ = [ | CODE |
| LOW | stable_worldmodel/wm/utils.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/wm/utils.py | 187 | __all__ = ['load_pretrained', 'save_pretrained'] | CODE |
| LOW | stable_worldmodel/wm/probes.py | 38 | __all__ = [ | CODE |
| LOW | stable_worldmodel/wm/pldm/pldm.py | 133 | __all__ = ['PLDM'] | CODE |
| LOW | stable_worldmodel/wm/tdmpc2/tdmpc2.py | 471 | __all__ = [ | CODE |
| LOW | stable_worldmodel/wm/genie/genie.py | 248 | __all__ = ['Genie'] | CODE |
| LOW | stable_worldmodel/wm/gcrl/__init__.py | 9 | __all__ = [ | CODE |
| LOW | stable_worldmodel/wm/gcrl/gcrl.py | 212 | __all__ = ['GCRL'] | CODE |
| LOW | stable_worldmodel/wm/lewm/lewm.py | 125 | __all__ = ['LeWM'] | CODE |
| LOW | stable_worldmodel/planning/__init__.py | 44 | __all__ = [ | CODE |
| LOW | …able_worldmodel/planning/solver/predictive_sampling.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/planning/solver/icem.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/planning/solver/cem.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/planning/solver/mppi.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/planning/solver/__init__.py | 11 | __all__ = [ | CODE |
| LOW | stable_worldmodel/planning/solver/lagrangian.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/planning/solver/gd.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/planning/solver/callbacks/__init__.py | 20 | __all__ = [ | CODE |
| LOW | stable_worldmodel/world/world.py | 168 | def set_policy(self, policy: Policy) -> None: | CODE |
| LOW | stable_worldmodel/world/__init__.py | 4 | __all__ = ['World', 'EnvPool'] | CODE |
| LOW | stable_worldmodel/envs/gymnasium_robotics/fetch.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/envs/gymnasium_robotics/__init__.py | 9 | __all__ = ['FetchWrapper'] | CODE |
| LOW | stable_worldmodel/envs/dmcontrol/__init__.py | 3 | __all__ = ['ExpertPolicy'] | CODE |
| LOW | stable_worldmodel/envs/piecewise/expert_policy.py | 26 | def set_seed(self, seed: int | None) -> None: | CODE |
| LOW | stable_worldmodel/envs/two_room/expert_policy.py | 30 | def set_seed(self, seed: int | None) -> None: | CODE |
| LOW | stable_worldmodel/envs/two_room/__init__.py | 4 | __all__ = ['ExpertPolicy', 'TwoRoomEnv'] | CODE |
| LOW | stable_worldmodel/envs/pusht/expert_policy.py | 27 | def set_seed(self, seed: int | None) -> None: | CODE |
| LOW | stable_worldmodel/envs/pusht/__init__.py | 6 | __all__ = ['PushT', 'PushTDiscrete', 'WeakPolicy'] | CODE |
| LOW | stable_worldmodel/envs/ogbench/expert_policy.py | 53 | def set_seed(self, seed: int | None) -> None: | CODE |
| LOW | stable_worldmodel/envs/ogbench/__init__.py | 7 | __all__ = ['CubeEnv', 'MazeEnv', 'SceneEnv', 'ExpertPolicy'] | CODE |
| LOW | stable_worldmodel/envs/rocket_landing/__init__.py | 5 | __all__ = [ | CODE |
| LOW | stable_worldmodel/data/__init__.py | 60 | __all__ = [ | CODE |
| LOW | stable_worldmodel/data/format.py | 182 | __all__ = [ | CODE |
| LOW | stable_worldmodel/data/dataset.py | 664 | __all__ = [ | CODE |
| LOW | stable_worldmodel/data/utils.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | stable_worldmodel/data/utils.py | 508 | __all__ = [ | CODE |
| LOW | stable_worldmodel/data/buffer.py | 500 | __all__ = ['ReplayBuffer', 'classic_filter'] | CODE |
| LOW | stable_worldmodel/data/normalization.py | 21 | __all__ = [ | CODE |
| LOW | stable_worldmodel/data/formats/lerobot.py | 379 | __all__ = ['LeRobot', 'LeRobotAdapter'] | CODE |
| LOW | stable_worldmodel/data/formats/lance.py | 642 | def _update_fetch_columns(self) -> None: | CODE |
| LOW | stable_worldmodel/data/formats/lance.py | 1401 | __all__ = ['Lance', 'LanceDataset', 'LanceWriter'] | CODE |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | stable_worldmodel/policy.py | 95 | Get action from the policy given the observation. Args: obs: The current observation from the envir | STRING |
| HIGH | stable_worldmodel/policy.py | 118 | Pre-process and transform observations. Applies preprocessing (via `self.process`) and transformations (via `se | STRING |
| HIGH | stable_worldmodel/policy.py | 291 | Get action via a forward pass through the neural network model. Args: info_dict: Current state info | STRING |
| HIGH | stable_worldmodel/spaces.py | 132 | Sample a random value using rejection sampling for constraints. Args: mask: Optional mask for sampl | STRING |
| HIGH | stable_worldmodel/spaces.py | 265 | Sample random values using rejection sampling for constraints. Args: mask: Optional mask for sampli | STRING |
| HIGH | stable_worldmodel/spaces.py | 402 | Sample a random value using rejection sampling for constraints. Args: mask: Optional mask for sampl | STRING |
| HIGH | stable_worldmodel/spaces.py | 693 | Sample a random element from the Dict space. Args: mask: Optional mask for sampling. ma | STRING |
| HIGH | stable_worldmodel/wrapper/default.py | 95 | Perform step and validate image shape. Args: action: Action to perform. Returns: | STRING |
| HIGH | stable_worldmodel/wrapper/default.py | 114 | Reset and validate image shape. Args: *args: Positional arguments for reset. **kwargs: | STRING |
| HIGH | stable_worldmodel/wrapper/default.py | 152 | Reset and validate goal presence. Args: *args: Positional arguments for reset. **kwargs | STRING |
| HIGH | stable_worldmodel/wrapper/default.py | 172 | Perform step and validate goal presence. Args: action: Action to perform. Returns: | STRING |
| HIGH | stable_worldmodel/wrapper/default.py | 349 | Rename mapped keys in info. Args: info: The info dictionary to modify. Returns: | STRING |
| HIGH | stable_worldmodel/envs/ogbench/cube_env.py | 777 | Reset the environment to an initial state. Resets the environment and optionally samples from the variation spa | STRING |
| HIGH | stable_worldmodel/envs/ogbench/cube_env.py | 1218 | Set a new random target for data collection mode. Randomly selects one of the "top" cubes (not stacked under an | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/data/test_integration_real.py | 198 | CODE | |
| LOW | stable_worldmodel/policy.py | 117 | CODE | |
| LOW | stable_worldmodel/policy.py | 411 | CODE | |
| LOW | stable_worldmodel/spaces.py | 581 | CODE | |
| LOW | stable_worldmodel/spaces.py | 653 | CODE | |
| LOW | stable_worldmodel/cli.py | 351 | CODE | |
| LOW | stable_worldmodel/buffer.py | 155 | CODE | |
| LOW | stable_worldmodel/wm/genie/module.py | 16 | CODE | |
| LOW | …able_worldmodel/planning/solver/predictive_sampling.py | 114 | CODE | |
| LOW | stable_worldmodel/planning/solver/icem.py | 152 | CODE | |
| LOW | stable_worldmodel/planning/solver/cem.py | 123 | CODE | |
| LOW | stable_worldmodel/planning/solver/mppi.py | 123 | CODE | |
| LOW | stable_worldmodel/planning/solver/lagrangian.py | 204 | CODE | |
| LOW | stable_worldmodel/planning/solver/pgd.py | 151 | CODE | |
| LOW | stable_worldmodel/planning/solver/gd.py | 165 | CODE | |
| LOW | stable_worldmodel/planning/solver/categorical_cem.py | 150 | CODE | |
| LOW | stable_worldmodel/world/world.py | 694 | CODE | |
| LOW | stable_worldmodel/world/world.py | 257 | CODE | |
| LOW | stable_worldmodel/world/world.py | 399 | CODE | |
| LOW | stable_worldmodel/world/world.py | 321 | CODE | |
| LOW | stable_worldmodel/world/env_pool.py | 162 | CODE | |
| LOW | stable_worldmodel/world/env_pool.py | 185 | CODE | |
| LOW | stable_worldmodel/envs/robocasa.py | 382 | CODE | |
| LOW | stable_worldmodel/envs/robocasa.py | 792 | CODE | |
| LOW | stable_worldmodel/envs/gymnasium_robotics/fetch.py | 253 | CODE | |
| LOW | stable_worldmodel/envs/gymnasium_robotics/fetch.py | 330 | CODE | |
| LOW | stable_worldmodel/envs/dmcontrol/custom_tasks/walker.py | 142 | CODE | |
| LOW | …able_worldmodel/envs/dmcontrol/custom_tasks/cheetah.py | 151 | CODE | |
| LOW | stable_worldmodel/envs/dmcontrol/custom_tasks/hopper.py | 51 | CODE | |
| LOW | stable_worldmodel/envs/piecewise/piecewise_env.py | 384 | CODE | |
| LOW | stable_worldmodel/envs/two_room/env.py | 477 | CODE | |
| LOW | stable_worldmodel/envs/two_room/expert_policy.py | 42 | CODE | |
| LOW | stable_worldmodel/envs/pusht/env.py | 906 | CODE | |
| LOW | stable_worldmodel/envs/ogbench/cube_env.py | 95 | CODE | |
| LOW | stable_worldmodel/envs/ogbench/cube_env.py | 323 | CODE | |
| LOW | stable_worldmodel/envs/ogbench/cube_env.py | 844 | CODE | |
| LOW | stable_worldmodel/envs/ogbench/cube_env.py | 951 | CODE | |
| LOW | stable_worldmodel/envs/ogbench/expert_policy.py | 81 | CODE | |
| LOW | stable_worldmodel/envs/ogbench/expert_policy.py | 196 | CODE | |
| LOW | stable_worldmodel/envs/ogbench/scene_env.py | 484 | CODE | |
| LOW | stable_worldmodel/envs/ogbench/scene_env.py | 755 | CODE | |
| LOW | …worldmodel/envs/rocket_landing/pyflyt_rocketlanding.py | 270 | CODE | |
| LOW | stable_worldmodel/data/utils.py | 51 | CODE | |
| LOW | stable_worldmodel/data/formats/lance.py | 133 | CODE | |
| LOW | stable_worldmodel/data/formats/lance.py | 1141 | CODE | |
| LOW | stable_worldmodel/data/formats/folder.py | 205 | CODE | |
| LOW | stable_worldmodel/data/formats/video.py | 159 | CODE | |
| LOW | scripts/visualization/visualize_env.py | 59 | CODE | |
| LOW | scripts/visualization/visualize_env.py | 183 | CODE | |
| LOW | scripts/visualization/visualize_env.py | 358 | CODE | |
| LOW | scripts/visualization/utils.py | 172 | CODE | |
| LOW | scripts/visualization/visualize_trajectories.py | 613 | CODE | |
| LOW | scripts/visualization/visualize_value_function.py | 111 | CODE | |
| LOW | scripts/visualization/visualize_value_function.py | 188 | CODE | |
| LOW | scripts/expert/tdmpc2_online.py | 321 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | stable_worldmodel/envs/simple_point_maze.py | 390 | except Exception: | CODE |
| HIGH | stable_worldmodel/envs/__init__.py | 216 | except ImportError: | CODE |
| HIGH | …worldmodel/envs/rocket_landing/pyflyt_rocketlanding.py | 396 | except Exception: | CODE |
| HIGH | stable_worldmodel/data/__init__.py | 38 | except ImportError: | CODE |
| HIGH | stable_worldmodel/data/__init__.py | 43 | except ImportError: | CODE |
| HIGH | stable_worldmodel/data/__init__.py | 48 | except ImportError: | CODE |
| HIGH | stable_worldmodel/data/__init__.py | 56 | except ImportError: | CODE |
| HIGH | stable_worldmodel/data/formats/lance.py | 295 | except RuntimeError: | CODE |
| HIGH | stable_worldmodel/data/formats/lance.py | 743 | except (RuntimeError, TypeError): | CODE |
| HIGH | scripts/benchmark/compare_h5_lance.py | 245 | except RuntimeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_wrappers.py | 1228 | # Create a simple transform mock | COMMENT |
| MEDIUM | tests/test_wrappers.py | 1348 | # Create a simple transform mock | COMMENT |
| MEDIUM | tests/test_spaces.py | 1913 | # Create a vanilla gymnasium space without init_value | COMMENT |
| MEDIUM | stable_worldmodel/envs/image_positioning.py | 350 | # Create a Pygame Surface from the PIL image data | COMMENT |
| MEDIUM | stable_worldmodel/envs/image_positioning.py | 388 | # Create a CartPole environment with "rgb_array" render mode to get image data | COMMENT |
| MEDIUM | stable_worldmodel/envs/ogbench/cube_env.py | 17 | # Create a double cube environment with pixel observations | STRING |
| MEDIUM | stable_worldmodel/envs/rocket_landing/expert_policy.py | 548 | # Create the GNC controller with provided or default parameters | COMMENT |
| MEDIUM | scripts/visualization/visualize_env.py | 586 | # Define a list of markers to distinguish variations | COMMENT |
| MEDIUM | scripts/visualization/utils.py | 240 | # Create the meshgrid and reshape to (N, 2) | COMMENT |
| MEDIUM | scripts/visualization/visualize_dataset.py | 362 | # Create a label entry for every point in this batch | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | stable_worldmodel/envs/simple_point_maze.py | 241 | # Check if goal reached | COMMENT |
| LOW | stable_worldmodel/envs/image_positioning.py | 249 | # Check if agent reached the target | COMMENT |
| LOW⚡ | stable_worldmodel/envs/two_room/env.py | 513 | # Check if agent is trying to enter the wall zone | COMMENT |
| LOW⚡ | stable_worldmodel/envs/two_room/env.py | 517 | # Check if in a door | COMMENT |
| LOW⚡ | stable_worldmodel/envs/two_room/env.py | 524 | # Check if in a door | COMMENT |
| LOW⚡ | stable_worldmodel/envs/two_room/env.py | 543 | # Check if agent is trying to enter the wall zone | COMMENT |
| LOW⚡ | stable_worldmodel/envs/two_room/env.py | 547 | # Check if in a door | COMMENT |
| LOW⚡ | stable_worldmodel/envs/two_room/env.py | 554 | # Check if in a door | COMMENT |
| LOW | stable_worldmodel/envs/two_room/env.py | 586 | # Check if agent x is in wall zone | COMMENT |
| LOW | stable_worldmodel/envs/two_room/env.py | 590 | # Check if agent y is in wall zone | COMMENT |
| LOW | stable_worldmodel/envs/two_room/env.py | 696 | # Check if min_steps constraint is satisfied | COMMENT |
| LOW | stable_worldmodel/envs/ogbench/cube_env.py | 1377 | # Check if the cubes are in the target positions. | COMMENT |
| LOW | stable_worldmodel/envs/ogbench/scene_env.py | 1007 | # Check if the object is out of bounds. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/data/_guards.py | 27 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | tests/data/_guards.py | 43 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | tests/data/test_lerobot_adapter.py | 33 | except Exception as exc: # pragma: no cover - network/disk dependent | CODE |
| LOW | stable_worldmodel/cli.py | 125 | except Exception: | CODE |
| LOW | stable_worldmodel/cli.py | 288 | except Exception: | CODE |
| LOW | stable_worldmodel/cli.py | 296 | except Exception: | CODE |
| LOW | stable_worldmodel/cli.py | 321 | except Exception: | CODE |
| LOW | stable_worldmodel/cli.py | 404 | except Exception: | CODE |
| LOW | stable_worldmodel/cli.py | 772 | except Exception as e: | CODE |
| LOW | stable_worldmodel/envs/simple_point_maze.py | 390 | except Exception: | CODE |
| MEDIUM | stable_worldmodel/envs/simple_point_maze.py | 384 | def close(self): | CODE |
| LOW | stable_worldmodel/envs/robocasa.py | 885 | except Exception as e: | CODE |
| LOW | stable_worldmodel/envs/gymnasium_robotics/fetch.py | 293 | except Exception as e: | CODE |
| LOW | stable_worldmodel/envs/dmcontrol/dmcontrol.py | 14 | except Exception: | CODE |
| LOW | stable_worldmodel/envs/rocket_landing/expert_policy.py | 169 | except Exception as e: | CODE |
| LOW | …worldmodel/envs/rocket_landing/pyflyt_rocketlanding.py | 396 | except Exception: | CODE |
| LOW | stable_worldmodel/data/formats/lance.py | 283 | except Exception as exc: | CODE |
| LOW | stable_worldmodel/data/formats/lance.py | 291 | except Exception as exc: | CODE |
| LOW | scripts/benchmark/compare_h5_lance.py | 209 | except Exception as e: | CODE |
| LOW⚡ | scripts/visualization/visualize_trajectories.py | 593 | except Exception as exc: # noqa: BLE001 | CODE |
| LOW | scripts/expert/sac_online.py | 391 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | stable_worldmodel/wm/genie/genie.py | 15 | CODE | |
| LOW | stable_worldmodel/wm/genie/module.py | 175 | CODE | |
| LOW | stable_worldmodel/wm/genie/module.py | 225 | CODE | |
| LOW | stable_worldmodel/wm/gcrl/module.py | 485 | CODE | |
| LOW | stable_worldmodel/planning/solver/icem.py | 43 | CODE | |
| LOW | stable_worldmodel/planning/solver/cem.py | 33 | CODE | |
| LOW | stable_worldmodel/planning/solver/mppi.py | 33 | CODE | |
| LOW | stable_worldmodel/planning/solver/lagrangian.py | 58 | CODE | |
| LOW | stable_worldmodel/planning/solver/gd.py | 41 | CODE | |
| LOW | stable_worldmodel/planning/solver/categorical_cem.py | 32 | CODE | |
| LOW | stable_worldmodel/world/world.py | 114 | CODE | |
| LOW | stable_worldmodel/world/world.py | 188 | CODE | |
| LOW | stable_worldmodel/envs/pusht/env.py | 29 | CODE | |
| LOW | stable_worldmodel/envs/pusht/env_discrete.py | 22 | CODE | |
| LOW | …worldmodel/envs/rocket_landing/pyflyt_rocketlanding.py | 35 | CODE | |
| LOW | stable_worldmodel/data/formats/lerobot.py | 73 | CODE | |
| LOW | stable_worldmodel/data/formats/lance.py | 320 | CODE | |
| LOW | stable_worldmodel/data/formats/folder.py | 31 | CODE | |
| LOW | stable_worldmodel/data/formats/hdf5.py | 35 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | stable_worldmodel/envs/robocasa.py | 755 | in self.env.sim.model._camera_name2id.keys() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/data/test_datasets.py | 1479 | # Should just return base dataset item | COMMENT |
| MEDIUM | stable_worldmodel/wrapper/default.py | 593 | """Combines multiple wrappers for comprehensive environment preprocessing.""" | STRING |
| MEDIUM | scripts/plan/eval_wm.py | 33 | """Name of the episode-index column, robust across dataset formats. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | stable_worldmodel/data/formats/lance.py | 201 | # or start runtimes, threads holding locks, or CUDA at import time. In | COMMENT |
| LOW | scripts/benchmark/configs/benchmark.yaml | 41 | format: hdf5 | COMMENT |
| LOW | scripts/benchmark/configs/benchmark.yaml | 61 | # source: s3 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | stable_worldmodel/envs/two_room/env.py | 341 | CODE |