AI Slop Code RIsk Monitor

Genesis-Embodied-AI/Genesis

Simulation platform for general-purpose robotics & embodied AI learning.

20.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for Genesis-Embodied-AI/Genesis, a Python project with 30,038 GitHub stars. SynthScan examined 250,815 lines of code across 598 source files, recording 2776 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 20.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.

20.4
Adjusted Signal
20.4
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
30.0K
Stars
Python
Language
250.8K
Lines of Code
598
Files
2.8K
Pattern Hits
2026-10-12
Scan Date
0.33
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 27.8/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 31.9/100 · MEDIUM

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

Agent Over-Engineering Ratio 39.5/100 · MEDIUM

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

PR Review Velocity Impact 63.7/100 · HIGH

Which changes need focused human review? 2776 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 127HIGH 71MEDIUM 406LOW 2172

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2776 distinct pattern matches across 20 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.

Hallucination Indicators127 hits · 1472 pts
SeverityFileLineSnippetContext
CRITICALtests/core/test_quadrants.py116 actual_contacts = scene.rigid_solver.collider.collider_state.n_contacts.to_numpy()CODE
CRITICAL⚡tests/integration/test_integration.py199 links_pos_0 = scene.rigid_solver.dyn_state.links.pos.to_numpy()[:, 0]CODE
CRITICAL⚡tests/integration/test_integration.py200 links_quat_0 = scene.rigid_solver.dyn_state.links.quat.to_numpy()[:, 0]CODE
CRITICAL⚡tests/integration/test_integration.py209 links_pos_f = scene.rigid_solver.dyn_state.links.pos.to_numpy()[:, 0]CODE
CRITICAL⚡tests/integration/test_integration.py210 links_quat_f = scene.rigid_solver.dyn_state.links.quat.to_numpy()[:, 0]CODE
CRITICAL⚡tests/rigid/test_narrowphase.py430 self.scene_analytical._sim.rigid_solver._errno.fill(0)CODE
CRITICAL⚡tests/rigid/test_narrowphase.py437 self.scene_gjk._sim.rigid_solver._errno.fill(0)CODE
CRITICALtests/rigid/test_friction.py30 velocity_zero = gs_sim.rigid_solver.dyn_state.dofs.vel.to_numpy()[:, 0]CODE
CRITICALtests/rigid/test_friction.py38 velocity_high = gs_sim.rigid_solver.dyn_state.dofs.vel.to_numpy()[:, 0]CODE
CRITICALtests/rigid/test_friction.py49 velocity_medium = gs_sim.rigid_solver.dyn_state.dofs.vel.to_numpy()[:, 0]CODE
CRITICALtests/rigid/test_mujoco_parity.py351 ctrl_mode = gs_sim.rigid_solver.dyn_state.dofs.ctrl_mode.to_numpy()[:, 0]CODE
CRITICALtests/rigid/test_mujoco_parity.py358 ctrl_mode = gs_sim.rigid_solver.dyn_state.dofs.ctrl_mode.to_numpy()[:, 0]CODE
CRITICALtests/rigid/test_mujoco_parity.py376 mj_sim.data.qvel[:] = gs_sim.rigid_solver.dyn_state.dofs.vel.to_numpy()[:, 0]CODE
CRITICALtests/rigid/test_mujoco_parity.py384 mj_sim.data.qvel[:] = gs_sim.rigid_solver.dyn_state.dofs.vel.to_numpy()[:, 0]CODE
CRITICALtests/rigid/test_mujoco_parity.py416 gs_sim.rigid_solver.dyn_state.dofs.ctrl_mode.fill(int(gs.CTRL_MODE.FORCE))CODE
CRITICALtests/rigid/test_mujoco_parity.py421 dof_bounds = gs_sim.rigid_solver.dyn_info.dofs.limit.to_numpy()CODE
CRITICAL⚡tests/rigid/test_control.py78 dofs_armature = scene.rigid_solver.dyn_info.dofs.armature.to_numpy()CODE
CRITICAL⚡tests/rigid/test_control.py80 scene.rigid_solver.dyn_info.dofs.armature.from_numpy(dofs_armature)CODE
CRITICAL⚡tests/rigid/test_control.py90 qf_applied = scene.rigid_solver.dyn_state.dofs.qf_applied.to_numpy().TCODE
CRITICALtests/rigid/test_control.py102 scene.rigid_solver.dyn_info.dofs.force_range.from_numpy(tensor_to_array(force_range))CODE
CRITICALtests/rigid/test_control.py282 assert scene.rigid_solver.collider.collider_state.n_contacts.to_numpy()[0] == 2CODE
CRITICALtests/rigid/test_control.py292 if scene.rigid_solver.collider.collider_state.n_contacts.to_numpy()[0] > 2:CODE
CRITICALtests/rigid/test_dynamics.py521 if impact_step < 0 and scene.rigid_solver.collider.collider_state.n_contacts.to_numpy().any():CODE
CRITICALtests/rigid/test_dynamics.py1111 assert (scene.rigid_solver.constraint_solver.constraint_state.n_constraints.to_numpy() > 0).all()CODE
CRITICALtests/rigid/test_dynamics.py1113 Mgrad = scene.rigid_solver.constraint_solver.constraint_state.Mgrad.to_numpy()CODE
CRITICAL⚡tests/rigid/test_collision.py1733 eq_type = scene.rigid_solver.dyn_info.equalities.eq_type.to_numpy()[: scene.rigid_solver.n_equalities, 0]CODE
CRITICAL⚡tests/rigid/test_collision.py1734 eq_obj1id = scene.rigid_solver.dyn_info.equalities.eq_obj1id.to_numpy()[: scene.rigid_solver.n_equalities, 0]CODE
CRITICAL⚡tests/rigid/test_collision.py1735 eq_obj2id = scene.rigid_solver.dyn_info.equalities.eq_obj2id.to_numpy()[: scene.rigid_solver.n_equalities, 0]CODE
CRITICALtests/rigid/test_collision.py1588 n_contacts = scene.rigid_solver.collider.collider_state.n_contacts.to_numpy()CODE
CRITICALtests/rigid/test_collision.py2056 collision_pair_idx = scene.rigid_solver.collider.collider_info.collision_pair_idx.to_numpy()CODE
CRITICALtests/rigid/test_collision_nonconvex.py55 qvel = scene.sim.rigid_solver.dyn_state.dofs.vel.to_numpy()[:, 0]CODE
CRITICALtests/rigid/test_collision_nonconvex.py765 assert gs_sim.rigid_solver.dyn_info.geoms.is_convex.to_numpy().all()CODE
CRITICALtests/rigid/test_asset_loading.py219 assert_allclose(scene.rigid_solver.dyn_state.dofs.vel.to_numpy(), 0.0, tol=1e-3)CODE
CRITICALtests/rigid/test_asset_loading.py987 assert_equal(np.array(quad_vgeom.vmesh.trimesh.visual.material.image.convert("RGB")), texture)CODE
CRITICALtests/rigid/test_asset_loading.py1111 qf_passive = scene.rigid_solver.dyn_state.dofs.qf_passive.to_numpy()CODE
CRITICALtests/rigid/test_asset_loading.py2099 collision_pair_idx = scene.rigid_solver.collider.collider_info.collision_pair_idx.to_numpy()CODE
CRITICAL⚡tests/rigid/test_kinematics.py29 assert_allclose(gs_sim.rigid_solver.dyn_state.links.cd_vel.to_numpy(), 0, tol=tol)CODE
CRITICAL⚡tests/rigid/test_kinematics.py32 cvel_0, cvel_1 = gs_sim.rigid_solver.dyn_state.links.cd_vel.to_numpy()[:, 0]CODE
CRITICAL⚡tests/rigid/test_kinematics.py42 cvel_0, cvel_1 = gs_sim.rigid_solver.dyn_state.links.cd_vel.to_numpy()[:, 0]CODE
CRITICAL⚡tests/rigid/test_kinematics.py68 cvel_0, cvel_1 = gs_sim.rigid_solver.dyn_state.links.cd_vel.to_numpy()[:, 0]CODE
CRITICAL⚡tests/rigid/test_kinematics.py69 omega_0, omega_1 = gs_sim.rigid_solver.dyn_state.links.cd_ang.to_numpy()[:, 0, 2]CODE
CRITICAL⚡tests/rigid/test_kinematics.py77 xpos_0, xpos_1 = gs_sim.rigid_solver.dyn_state.links.pos.to_numpy()[:, 0]CODE
CRITICAL⚡tests/rigid/test_kinematics.py191 theta_dot = gs_sim.rigid_solver.dyn_state.dofs.vel.to_numpy()[:, 0]CODE
CRITICAL⚡tests/rigid/test_kinematics.py197 theta_ddot = gs_sim.rigid_solver.dyn_state.dofs.acc.to_numpy()[:, 0]CODE
CRITICAL⚡tests/rigid/test_kinematics.py206 cacc_spatial_lin_world = gs_sim.rigid_solver.dyn_state.links.cacc_lin.to_numpy()[[0, 2, 4], 0]CODE
CRITICAL⚡tests/rigid/test_kinematics.py207 com = gs_sim.rigid_solver.dyn_state.links.root_COM.to_numpy()[-1, 0]CODE
CRITICAL⚡tests/rigid/test_kinematics.py208 pos = gs_sim.rigid_solver.dyn_state.links.pos.to_numpy()[[0, 2, 4], 0]CODE
CRITICAL⚡tests/rigid/test_kinematics.py313 expected_pos = scene.rigid_solver.dyn_state.joints.xanchor.to_numpy()CODE
CRITICAL⚡tests/rigid/test_kinematics.py318 expected_axis = scene.rigid_solver.dyn_state.joints.xaxis.to_numpy()CODE
CRITICALtests/rigid/test_kinematics.py146 acc_spatial_lin_world = gs_sim.rigid_solver.dyn_state.links.cacc_lin.to_numpy()CODE
CRITICAL⚡tests/utils/mujoco_parity.py742 # Acceleration pre- VS post-implicit damping gs_qacc_post = gs_sim.rigid_solver.dyn_state.dofs.acc.to_numpy()[:, 0]COMMENT
CRITICAL⚡tests/utils/mujoco_parity.py404 gs_inertia_i = gs_sim.rigid_solver.dyn_info.links.inertial_i.to_numpy()[gs_i, [0, 1, 2], [0, 1, 2]]CODE
CRITICAL⚡tests/utils/mujoco_parity.py407 gs_ipos_i = gs_sim.rigid_solver.dyn_info.links.inertial_pos.to_numpy()[gs_i]CODE
CRITICAL⚡tests/utils/mujoco_parity.py410 gs_iquat_i = gs_sim.rigid_solver.dyn_info.links.inertial_quat.to_numpy()[gs_i]CODE
CRITICAL⚡tests/utils/mujoco_parity.py413 gs_pos_i = gs_sim.rigid_solver.dyn_info.links.pos.to_numpy()[gs_i]CODE
CRITICAL⚡tests/utils/mujoco_parity.py416 gs_quat_i = gs_sim.rigid_solver.dyn_info.links.quat.to_numpy()[gs_i]CODE
CRITICAL⚡tests/utils/mujoco_parity.py419 gs_mass_i = gs_sim.rigid_solver.dyn_info.links.inertial_mass.to_numpy()[gs_i]CODE
CRITICAL⚡tests/utils/mujoco_parity.py424 gs_dof_damping = gs_sim.rigid_solver.dyn_info.dofs.damping.to_numpy()CODE
CRITICAL⚡tests/utils/mujoco_parity.py428 gs_dof_armature = gs_sim.rigid_solver.dyn_info.dofs.armature.to_numpy()CODE
CRITICAL⚡tests/utils/mujoco_parity.py433 gs_dof_stiffness = gs_sim.rigid_solver.dyn_info.dofs.stiffness.to_numpy()CODE
67 more matches not shown…
Decorative Section Separators348 hits · 1117 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/utils/mujoco_parity.py766 # ------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/particles/test_sph.py260# =============================================================================COMMENT
MEDIUM⚡tests/particles/test_sph.py262# =============================================================================COMMENT
MEDIUMtests/benchmarks/test_rigid.py204# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/benchmarks/test_rigid.py215# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/benchmarks/test_rigid.py936# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/benchmarks/test_rigid.py938# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/benchmarks/test_rigid.py985# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/benchmarks/test_rigid.py987# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/benchmarks/test_rigid.py1048# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/benchmarks/test_rigid.py1050# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/benchmarks/test_rigid.py1114# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/benchmarks/test_rigid.py1116# ---------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/watertighten.py30# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py32# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py86# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py88# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py144# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py146# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py164# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py166# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py414# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py416# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py977# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/watertighten.py979# ===============================================================================================================COMMENT
MEDIUMgenesis/utils/geom.py14# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/geom.py16# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/geom.py703# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/geom.py705# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/geom.py1823# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/geom.py1825# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/geom.py2394# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/geom.py2396# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/path_planning.py77 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/path_planning.py79 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/path_planning.py1065# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/utils/path_planning.py1067# ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/vis/viewer.py451 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/vis/viewer.py453 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/vis/visualizer.py270 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/vis/visualizer.py272 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/scene.py1537 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/scene.py1539 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/scene.py1855 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/scene.py1857 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/simulator.py317 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/simulator.py319 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/simulator.py341 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/simulator.py343 # ------------------------------------------------------------------------------------COMMENT
MEDIUM⚡genesis/engine/simulator.py430 # ------------------------------------------------------------------------------------COMMENT
MEDIUM⚡genesis/engine/simulator.py432 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/simulator.py487 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/simulator.py489 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/simulator.py519 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/simulator.py521 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/couplers/legacy_coupler.py27 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/couplers/legacy_coupler.py29 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/couplers/sap_coupler.py178 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/couplers/sap_coupler.py180 # ------------------------------------------------------------------------------------COMMENT
MEDIUMgenesis/engine/couplers/sap_coupler.py240 # ------------------------------------------------------------------------------------COMMENT
288 more matches not shown…
Hyper-Verbose Identifiers1013 hits · 927 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py100def is_mem_monitoring_supported():CODE
LOWtests/conftest.py111def pytest_make_parametrize_id(config, val, argname):CODE
LOWtests/conftest.py346def pytest_xdist_auto_num_workers(config):CODE
LOWtests/conftest.py417def pytest_collection_modifyitems(config, items):CODE
LOWtests/conftest.py494def pytest_runtest_makereport(item, call):CODE
LOWtests/conftest.py798def use_deterministic_algorithms(request):CODE
LOWtests/gpu_info.py33 def get_device_index_from_uuid(self, device_uuid: str) -> int:CODE
LOWtests/gpu_info.py74 def get_device_index_from_uuid(self, device_uuid: str) -> int:CODE
LOWtests/gpu_info.py142 def get_device_index_from_uuid(self, device_uuid: str) -> int:CODE
LOWtests/grad/conftest.py38def grad_revolute_frictionloss():CODE
LOWtests/grad/conftest.py128def grad_hinge_pair_joint_eq_linear():CODE
LOWtests/grad/conftest.py141def grad_hinge_pair_joint_eq_quadratic():CODE
LOWtests/grad/conftest.py154def grad_hinge_joint_eq_constant():CODE
LOWtests/grad/test_rigid_optim.py16def test_reference_trajectory_recovery_converges(control_target, grad_cartpole, show_viewer):CODE
LOWtests/grad/test_rigid_optim.py89def test_goal_pose_optimization_converges(show_viewer):CODE
LOWtests/grad/test_rigid_collision.py28def test_contact_per_step_force_grad_matches_fd(shape, grad_capsule, precision, show_viewer):CODE
LOWtests/grad/test_rigid_collision.py163def test_contact_no_tunneling_forward(show_viewer):CODE
LOWtests/grad/test_rigid_collision.py208def test_diff_unsupported_configuration_raises():CODE
LOWtests/grad/test_rigid_collision.py282def test_contact_detection_jacobian_matches_fd():CODE
LOWtests/grad/test_rigid_collision.py405def test_constraint_solver_backward_matches_fd(monkeypatch):CODE
LOWtests/grad/test_rigid_collision.py464 def constraint_solver_resolve():CODE
LOWtests/grad/test_rigid_dynamics.py136def test_fk_multistep_force_grad_matches_fd(model_name, request, precision, show_viewer):CODE
LOWtests/grad/test_rigid_dynamics.py198def test_per_step_pd_target_grad_matches_fd(control_mode, grad_revolute, precision, show_viewer):CODE
LOWtests/grad/test_rigid_constraints.py15def test_joint_limit_grad_matches_fd(grad_slider_limit, precision, show_viewer):CODE
LOWtests/grad/test_rigid_constraints.py102def test_per_step_force_into_limit_grad_matches_fd(model_name, request, precision, show_viewer):CODE
LOWtests/grad/test_rigid_constraints.py153def test_frictionloss_grad_matches_fd(grad_revolute_frictionloss, precision, show_viewer):CODE
LOWtests/grad/test_rigid_constraints.py192def test_equality_grad_matches_fd(model_name, n_rows, request, precision, show_viewer):CODE
LOWtests/grad/test_rigid_constraints.py227def test_all_constraint_groups_grad_matches_fd(grad_all_eq_fric, precision, show_viewer):CODE
LOWtests/grad/test_grad_tape.py15def test_horizon_truncation_matches_independent_scenes(model_name, request, show_viewer):CODE
LOWtests/grad/test_grad_tape.py85def test_sim_vs_solver_state_grad_parity(show_viewer):CODE
LOWtests/sensors/test_camera.py34def test_rasterizer_non_batched(n_envs, show_viewer):CODE
LOWtests/sensors/test_camera.py279def test_rasterizer_attached_batched(show_viewer, png_snapshot, tol):CODE
LOWtests/sensors/test_camera.py439def test_batch_renderer_destroy():CODE
LOWtests/sensors/test_camera.py706def test_destroy_unbuilt_scene_with_camera():CODE
LOWtests/sensors/test_camera.py717def test_destroy_idempotent_with_camera():CODE
LOWtests/sensors/test_temperature.py11def test_grid_sensor_contact_and_reset(show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_temperature.py116def test_grid_simulate_all_link_temps(show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_joint_torque.py38def joint_torque_contact_pendulum():CODE
LOWtests/sensors/test_joint_torque.py137def test_joint_torque_with_contact(joint_torque_contact_pendulum, show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_imu.py204def test_lone_sensor_resolution_and_offset_setter(show_viewer, n_envs):CODE
LOWtests/sensors/test_tactile.py15def test_surface_distance_sensor_box_sphere(show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_tactile.py165def test_kinematic_contact_probe_box_sphere_support(show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_tactile.py374def test_raycast_probe_on_fully_fixed_solver(show_viewer):CODE
LOWtests/sensors/test_tactile.py412def test_contact_probe_hysteresis(show_viewer):CODE
LOWtests/sensors/test_tactile.py510def test_contact_depth_probe_hysteresis_gain_and_dead_resample(show_viewer, tol):CODE
LOWtests/sensors/test_tactile.py641def test_filler_probes_radius_zero(show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_tactile.py766def test_contact_depth_query_sdf_vs_raycast_parity(show_viewer):CODE
LOWtests/sensors/test_tactile.py875def test_filtered_contact_survives_prefilter_cap(show_viewer, monkeypatch, n_envs):CODE
LOWtests/sensors/test_tactile.py930def test_kinematic_taxel_crosstalk(show_viewer):CODE
LOWtests/sensors/test_tactile.py1099def test_gaussian_crosstalk_kernel_helper():CODE
LOWtests/sensors/test_tactile.py1117def test_proximity_taxel_crosstalk(show_viewer):CODE
LOWtests/sensors/test_tactile.py1196def test_proximity_taxel_twist_torque(show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_tactile.py1288def test_proximity_sensor_box_on_box(show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_tactile.py1366def test_elastomer_sensor_sphere_ground_dilate_shear(show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_tactile.py1489def test_elastomer_sensor_grid_box_sphere(show_viewer, tol, n_envs):CODE
LOWtests/sensors/test_tactile.py1711def test_heterogeneous_object(show_viewer, tol):CODE
LOWtests/sensors/test_api.py16def test_lazy_sensor_discovery(show_viewer, tmp_path):CODE
LOWtests/sensors/test_api.py121def test_post_process_requires_intermediate_override():CODE
LOWtests/sensors/test_api.py213 def _apply_physics_imperfections(cls, metadata, slot_0, timeline):CODE
LOWtests/sensors/test_api.py226 def _apply_hardware_imperfections(cls, metadata, working_buf):CODE
953 more matches not shown…
Unused Imports475 hits · 437 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py51CODE
LOWtests/upload_benchmarks_table_to_wandb.py20CODE
LOWtests/upload_benchmarks_table_to_wandb.py21CODE
LOWtests/upload_benchmarks_table_to_wandb.py22CODE
LOWtests/grad/utils.py4CODE
LOWtests/sensors/test_camera.py18CODE
LOWtests/sensors/test_camera.py24CODE
LOWtests/parsers/test_usd.py21CODE
LOWtests/rigid/test_narrowphase.py56CODE
LOWtests/rigid/test_serialization.py16CODE
LOWtests/ipc/test_rigid.py9CODE
LOWtests/ipc/test_rigid.py30CODE
LOWtests/ipc/test_deformable.py9CODE
LOWtests/ipc/test_deformable.py27CODE
LOWtests/ipc/utils.py5CODE
LOWtests/ipc/test_api.py6CODE
LOWtests/ipc/test_api.py19CODE
LOWtests/rendering/conftest.py70CODE
LOWtests/rendering/test_interactive_viewer.py7CODE
LOWexamples/sensors/tactile_sandbox.py24CODE
LOWexamples/sensors/tactile_sandbox.py25CODE
LOWexamples/sensors/camera_as_sensor.py21CODE
LOWexamples/sensors/camera_as_sensor.py30CODE
LOWexamples/sensors/tactile_franka.py21CODE
LOWexamples/sensors/tactile_franka.py22CODE
LOWexamples/manipulation/grasp_env.py18CODE
LOWexamples/viewer_plugin/mesh_point_selector.py16CODE
LOWexamples/viewer_plugin/mesh_point_selector.py18CODE
LOWexamples/drone/fly_route.py10CODE
LOWexamples/drone/quadcopter_controller.py9CODE
LOW.github/workflows/scripts/alarm.py32CODE
LOW.github/workflows/scripts/alarm.py40CODE
LOWgenesis/__init__.py430CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py455CODE
LOWgenesis/__init__.py472CODE
LOWgenesis/__init__.py473CODE
LOWgenesis/__init__.py474CODE
LOWgenesis/__init__.py475CODE
LOWgenesis/__init__.py475CODE
LOWgenesis/__init__.py475CODE
LOWgenesis/__init__.py477CODE
LOWgenesis/__init__.py478CODE
LOWgenesis/__init__.py479CODE
LOWgenesis/__init__.py480CODE
LOWgenesis/__init__.py481CODE
LOWgenesis/__init__.py483CODE
LOWgenesis/__init__.py484CODE
415 more matches not shown…
Deep Nesting460 hits · 377 pts
SeverityFileLineSnippetContext
LOWtests/monitor_test_mem.py63CODE
LOWtests/conftest.py346CODE
LOWtests/conftest.py457CODE
LOWtests/gpu_info.py85CODE
LOWtests/upload_benchmarks_table_to_wandb.py28CODE
LOWtests/grad/test_rigid_collision.py28CODE
LOWtests/grad/test_rigid_collision.py29CODE
LOWtests/grad/utils.py72CODE
LOWtests/core/test_utils.py41CODE
LOWtests/core/test_utils.py89CODE
LOWtests/core/test_utils.py216CODE
LOWtests/core/test_utils.py482CODE
LOWtests/rigid/conftest.py368CODE
LOWtests/rigid/test_narrowphase.py129CODE
LOWtests/rigid/test_narrowphase.py219CODE
LOWtests/rigid/test_narrowphase.py242CODE
LOWtests/rigid/test_narrowphase.py454CODE
LOWtests/rigid/test_narrowphase.py658CODE
LOWtests/rigid/test_narrowphase.py1086CODE
LOWtests/rigid/test_narrowphase.py1182CODE
LOWtests/rigid/test_friction.py720CODE
LOWtests/rigid/test_dynamics.py211CODE
LOWtests/rigid/test_collision.py430CODE
LOWtests/rigid/test_collision.py711CODE
LOWtests/rigid/test_collision.py1251CODE
LOWtests/rigid/test_collision.py1703CODE
LOWtests/rigid/test_api.py26CODE
LOWtests/rigid/test_api.py925CODE
LOWtests/rigid/test_asset_loading.py1534CODE
LOWtests/rigid/test_kinematics.py636CODE
LOWtests/utils/mujoco_parity.py17CODE
LOWtests/utils/mujoco_parity.py62CODE
LOWtests/utils/mujoco_parity.py95CODE
LOWtests/utils/mujoco_parity.py561CODE
LOWtests/utils/collision.py21CODE
LOWtests/utils/assets.py104CODE
LOWtests/benchmarks/test_rigid.py36CODE
LOWtests/benchmarks/test_rigid.py106CODE
LOWtests/ipc/test_rigid.py334CODE
LOWtests/rendering/test_dynamic_meshes.py345CODE
LOWtests/rendering/test_offscreen.py209CODE
LOWtests/rendering/test_offscreen.py446CODE
LOWexamples/sensors/surface_distance_shadowhand.py32CODE
LOWexamples/sensors/tactile_sandbox.py236CODE
LOWexamples/sensors/tactile_franka.py111CODE
LOWexamples/sensors/tactile_franka.py177CODE
LOWexamples/sensors/depth_camera_custom_vverts.py15CODE
LOWexamples/manipulation/grasp_env.py366CODE
LOWexamples/rigid/hibernation.py27CODE
LOWexamples/rigid/friction_breakaway.py61CODE
LOWexamples/rigid/set_phys_attr.py8CODE
LOWexamples/rigid/control_franka.py8CODE
LOWexamples/rigid/merge_entities.py14CODE
LOWexamples/tutorials/draw_debug.py7CODE
LOWexamples/ipc/ipc_momentum.py11CODE
LOWexamples/ipc/ipc_momentum.py86CODE
LOWexamples/speed_benchmark/timers.py18CODE
LOWexamples/collision/contact_manifold.py36CODE
LOW.github/workflows/scripts/alarm.py353CODE
LOWgenesis/repr_base.py16CODE
400 more matches not shown…
Empty Error Handlers60 hits · 300 pts
SeverityFileLineSnippetContext
HIGHtests/monitor_test_mem.py78except (psutil.NoSuchProcess, psutil.AccessDenied, psutil.ZombieProcess):CODE
HIGHtests/conftest.py487except (AttributeError, KeyError):CODE
HIGHtests/parsers/conftest.py25except ImportError:CODE
HIGHtests/utils/assets.py86except AttributeError:CODE
HIGH.github/workflows/scripts/alarm.py151except (ValueError, TypeError, KeyError):CODE
HIGHgenesis/repr_base.py31except AttributeError:CODE
HIGHgenesis/__init__.py420except (AttributeError, NameError):CODE
HIGHgenesis/__init__.py439except OSError as e:CODE
HIGHgenesis/__init__.py446except ImportError:CODE
HIGHgenesis/__init__.py452except ImportError:CODE
HIGHgenesis/datatypes.py120except OSError:CODE
HIGHgenesis/options/morphs.py1017except (ET.ParseError, OSError):CODE
HIGHgenesis/options/morphs.py1168except (ValueError, ET.ParseError, FileNotFoundError, OSError):CODE
HIGHgenesis/ext/_trimesh_patch.py516except BaseException:CODE
HIGHgenesis/ext/_trimesh_patch.py521except BaseException:CODE
HIGHgenesis/ext/_trimesh_patch.py606except BaseException:CODE
HIGHgenesis/ext/pyrender/shader_program.py71except OpenGL.error.GLError:CODE
HIGHgenesis/ext/pyrender/shader_program.py158except OpenGL.error.Error:CODE
HIGHgenesis/ext/pyrender/viewer.py661except Exception:CODE
HIGHgenesis/ext/pyrender/viewer.py695except Exception:CODE
HIGHgenesis/ext/pyrender/viewer.py699except Exception:CODE
HIGHgenesis/ext/pyrender/viewer.py703except Exception:CODE
HIGHgenesis/ext/pyrender/viewer.py707except Exception:CODE
HIGHgenesis/ext/pyrender/viewer.py682except (OpenGL.error.GLError, OpenGL.error.NullFunctionError):CODE
HIGHgenesis/ext/pyrender/viewer.py829except (OpenGL.error.GLError, OpenGL.error.NullFunctionError):CODE
HIGHgenesis/ext/pyrender/viewer.py1220except Exception:CODE
HIGHgenesis/ext/pyrender/viewer.py1224except Exception:CODE
HIGHgenesis/ext/pyrender/viewer.py1373except AttributeError:CODE
HIGHgenesis/ext/pyrender/viewer.py1348except AttributeError:CODE
HIGHgenesis/ext/pyrender/viewer.py1306except Exception:CODE
HIGHgenesis/ext/pyrender/font.py48except OpenGL.error.GLError:CODE
HIGHgenesis/ext/pyrender/primitive.py524except OpenGL.error.Error:CODE
HIGHgenesis/ext/pyrender/texture.py254except OpenGL.error.Error:CODE
HIGHgenesis/ext/pyrender/texture.py348except OpenGL.error.Error:CODE
HIGHgenesis/ext/pyrender/jit_render.py441except (GL.error.GLError, GL.error.NullFunctionError):CODE
HIGHgenesis/ext/pyrender/jit_render.py449except (GL.error.GLError, GL.error.NullFunctionError):CODE
HIGHgenesis/ext/pyrender/jit_render.py434except (GL.error.GLError, GL.error.NullFunctionError):CODE
HIGHgenesis/ext/pyrender/offscreen.py216except Exception:CODE
HIGHgenesis/ext/pyrender/offscreen.py228except Exception:CODE
HIGHgenesis/ext/pyrender/platforms/pyglet_platform.py24except Exception:CODE
HIGHgenesis/ext/pyrender/platforms/pyglet_platform.py75except Exception:CODE
HIGHgenesis/ext/pyrender/platforms/pyglet_platform.py99except Exception:CODE
HIGHgenesis/ext/pyrender/platforms/base.py46except Exception:CODE
HIGHgenesis/ext/pyrender/overlay/plugin.py304except ImportError:CODE
HIGHgenesis/ext/pyrender/overlay/plugin.py286except Exception:CODE
HIGHgenesis/utils/video_encoder.py156except queue.Full:CODE
HIGHgenesis/utils/video_encoder.py238except AttributeError:CODE
HIGHgenesis/utils/video_encoder.py256except queue.Full:CODE
HIGHgenesis/recorders/plotters.py35except ImportError:CODE
HIGHgenesis/recorders/plotters.py43except ImportError:CODE
HIGHgenesis/recorders/base_recorder.py263except queue.Empty:CODE
HIGHgenesis/recorders/base_recorder.py180except AttributeError:CODE
HIGHgenesis/recorders/base_recorder.py255except queue.Full:CODE
HIGHgenesis/vis/viewer.py199except Exception:CODE
HIGHgenesis/vis/rasterizer.py178except (OpenGL.error.GLError, OpenGL.error.NullFunctionError, ImportError):CODE
HIGHgenesis/vis/rasterizer.py187except (OpenGL.error.NullFunctionError, OSError):CODE
HIGHgenesis/vis/rasterizer.py172except (OpenGL.error.NullFunctionError, OSError):CODE
HIGHgenesis/vis/viewer_plugins/plugins/default_controls.py36except ImportError:CODE
HIGHgenesis/engine/scene.py279except ValueError:CODE
HIGHgenesis/engine/sensors/base_sensor.py63except Exception:CODE
Self-Referential Comments25 hits · 73 pts
SeverityFileLineSnippetContext
MEDIUMtests/monitor_test_mem.py9# This module is launched as a standalone script ('python tests/monitor_test_mem.py'), so its own directory isCOMMENT
MEDIUMtests/sensors/test_api.py30 # Create a fake plugin package in a temp directoryCOMMENT
MEDIUMtests/parsers/test_usd.py266 # Create a simple triangle mesh with intentionally mismatched UVsCOMMENT
MEDIUMtests/core/test_utils.py414 # Create a matrix that will have det(U) = -1 by using a reflectionCOMMENT
MEDIUMtests/rigid/test_kinematics.py407 # Define a local offset point in the end-effector frame (e.g., 10cm along Z-axis)COMMENT
MEDIUMtests/rendering/test_interactive_viewer.py221 # Create a sceneCOMMENT
MEDIUMexamples/rigid/single_franka_batch_render.py104 # Create an image exporterCOMMENT
MEDIUMgenesis/__init__.py153 # Define the right dtypes in accordance with selected backend and precisionCOMMENT
MEDIUMgenesis/ext/urdfpy/urdf.py2742 # Create the link graph and base link/end link setsCOMMENT
MEDIUMgenesis/ext/urdfpy/urdf.py3484 # Create an array of times that loops from 0 to 1 and back to 0COMMENT
MEDIUMgenesis/ext/urdfpy/urdf.py3498 # Create the new interpolated trajectoryCOMMENT
MEDIUMgenesis/ext/urdfpy/urdf.py3503 # Create the sceneCOMMENT
MEDIUMgenesis/ext/pyrender/mesh.py211 # Create the primitiveCOMMENT
MEDIUMgenesis/ext/pyrender/platforms/egl.py243 # Create an EGL contextCOMMENT
MEDIUMgenesis/utils/hybrid.py246 # Create the 3D figureCOMMENT
MEDIUMgenesis/utils/mesh.py1000 # Define the vertices of the frustumCOMMENT
MEDIUMgenesis/utils/mesh.py1015 # Define the faces of the frustumCOMMENT
MEDIUMgenesis/utils/mesh.py1030 # Create the frustum meshCOMMENT
MEDIUMgenesis/utils/usd/__init__.py29>>> # Create a USD morph and parse the stage, adding its entities while the stage stays openSTRING
MEDIUMgenesis/engine/couplers/ipc_coupler/coupler.py1037 # This method handles both volumetric FEM (3D) and cloth (2D) post-processingCOMMENT
MEDIUMgenesis/engine/sensors/sensor_manager.py66 # Create the shared context before the sensor, so the instance exists to hand to it. ``NoneType`` marksCOMMENT
MEDIUMgenesis/engine/sensors/camera.py69 # Create a minimal rasterizer context for camera frustum visualization (required by BatchRenderer even thoughCOMMENT
MEDIUMgenesis/engine/solvers/rigid/collider/diff_gjk.py580 # Define the face (possibly) on the boundary of the Minkowski difference in the default configurationCOMMENT
MEDIUMgenesis/engine/entities/rigid_entity/description.py1084 # Define a flag that determines whether the link at hand is associated with a robot.COMMENT
MEDIUMgenesis/engine/entities/rigid_entity/rigid_entity.py111 # Initialize target variables and checkpointCOMMENT
Excessive Try-Catch Wrapping52 hits · 59 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py38 except Exception:CODE
LOWexamples/viewer_plugin/mesh_point_selector.py229 except Exception as e:CODE
LOW.github/workflows/scripts/alarm.py315 except Exception as e:CODE
LOWgenesis/repr_base.py71 except Exception:CODE
LOWgenesis/grad/tensor.py57 except Exception: # obj is a single tensorCODE
LOWgenesis/ext/urdfpy/urdf.py90 except Exception:CODE
LOW⚡genesis/ext/pyrender/viewer.py695 except Exception:CODE
LOW⚡genesis/ext/pyrender/viewer.py699 except Exception:CODE
LOW⚡genesis/ext/pyrender/viewer.py703 except Exception:CODE
LOW⚡genesis/ext/pyrender/viewer.py707 except Exception:CODE
LOWgenesis/ext/pyrender/viewer.py661 except Exception:CODE
LOWgenesis/ext/pyrender/viewer.py1018 except Exception as e:CODE
LOWgenesis/ext/pyrender/viewer.py1220 except Exception:CODE
LOWgenesis/ext/pyrender/viewer.py1224 except Exception:CODE
LOWgenesis/ext/pyrender/viewer.py1306 except Exception:CODE
LOWgenesis/ext/pyrender/viewer.py1357 except Exception as e:CODE
LOWgenesis/ext/pyrender/offscreen.py216 except Exception:CODE
LOWgenesis/ext/pyrender/offscreen.py228 except Exception:CODE
MEDIUMgenesis/ext/pyrender/offscreen.py225def __del__(self):CODE
LOWgenesis/ext/pyrender/platforms/pyglet_platform.py24 except Exception:CODE
LOWgenesis/ext/pyrender/platforms/pyglet_platform.py75 except Exception:CODE
LOWgenesis/ext/pyrender/platforms/pyglet_platform.py99 except Exception:CODE
MEDIUMgenesis/ext/pyrender/platforms/pyglet_platform.py72def make_uncurrent(self):CODE
LOWgenesis/ext/pyrender/platforms/base.py46 except Exception:CODE
MEDIUMgenesis/ext/pyrender/platforms/base.py43def __del__(self):CODE
LOWgenesis/ext/pyrender/overlay/plugin.py280 except Exception:CODE
LOWgenesis/ext/pyrender/overlay/plugin.py286 except Exception:CODE
LOWgenesis/ext/pyrender/overlay/plugin.py308 except Exception as e:CODE
MEDIUMgenesis/ext/pyrender/overlay/plugin.py275def _get_clipboard(_ctx):CODE
MEDIUMgenesis/ext/pyrender/overlay/plugin.py283def _set_clipboard(_ctx, text):CODE
LOWgenesis/utils/misc.py817 except Exception:CODE
LOWgenesis/utils/mesh.py342 except Exception as e:CODE
LOWgenesis/utils/particle.py310 except Exception as e:CODE
MEDIUMgenesis/utils/particle.py289def _splashsurf_worker(positions, radius, args_dict, result_queue):CODE
LOWgenesis/utils/usd/usd_context.py157 except Exception as e:CODE
LOWgenesis/recorders/plotters.py270 except Exception as e:CODE
LOWgenesis/recorders/plotters.py445 except Exception as e:CODE
LOWgenesis/recorders/trajectory.py318 except Exception as error:CODE
LOWgenesis/recorders/base_recorder.py127 except Exception as error:CODE
LOWgenesis/recorders/base_recorder.py243 except Exception:CODE
LOWgenesis/recorders/recorder_manager.py62 except Exception:CODE
LOWgenesis/recorders/recorder_manager.py69 except Exception as error:CODE
LOWgenesis/recorders/recorder_manager.py90 except Exception as recorder_error:CODE
LOWgenesis/recorders/recorder_manager.py128 except Exception as recorder_error:CODE
LOWgenesis/vis/viewer.py199 except Exception:CODE
LOWgenesis/vis/visualizer.py50 except Exception as e:CODE
LOWgenesis/vis/visualizer.py63 except Exception as e:CODE
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py800 except Exception as e:CODE
LOWgenesis/engine/sensors/base_sensor.py63 except Exception:CODE
MEDIUMgenesis/engine/sensors/base_sensor.py60def __del__(self):CODE
LOWgenesis/engine/sensors/sensor_manager.py123 except Exception:CODE
LOWgenesis/engine/entities/rigid_entity/drone_entity.py27 except Exception:CODE
Redundant / Tautological Comments34 hits · 49 pts
SeverityFileLineSnippetContext
LOWtests/rigid/test_terrain.py102 # Check if cache is being reloaded as expectedCOMMENT
LOWtests/rigid/test_kinematics.py739 # Check if the cube is colliding with the robotCOMMENT
LOWtests/utils/assets.py72 # Check if the current commit is contained by main branchCOMMENT
LOWexamples/sensors/depth_camera_custom_vverts.py139 # Set Go2 to a standing poseCOMMENT
LOWgenesis/utils/geom.py1491 # Check if batchedCOMMENT
LOWgenesis/utils/geom.py1705 # Check if batchedCOMMENT
LOWgenesis/utils/raycast_qd.py91 # Check if ray hits the node's bounding boxCOMMENT
LOWgenesis/utils/gltf.py167 # Check if material has a base color textureCOMMENT
LOWgenesis/utils/mjcf.py761 # Assign geoms to linkCOMMENT
LOWgenesis/utils/usd/__init__.py40# Check if USD support is available before importing modules that depend on itCOMMENT
LOWgenesis/vis/rasterizer_context.py338 # Check if the node has a valid nameCOMMENT
LOWgenesis/vis/rasterizer_context.py342 # Check if the name is already in useCOMMENT
LOWgenesis/engine/couplers/ipc_coupler/utils.py61 # Check if there is any non-fixed jointCOMMENT
LOWgenesis/engine/couplers/ipc_coupler/coupler.py25# Check if libuipc is availableCOMMENT
LOWgenesis/engine/couplers/ipc_coupler/coupler.py111 # Check if uipc is availableCOMMENT
LOWgenesis/engine/couplers/ipc_coupler/coupler.py950 # Set delta_theta_tilde to IPC geometryCOMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk_utils.py130 # Check if the point predicted by the affine coordinates is equal to the point itselfCOMMENT
LOWgenesis/engine/solvers/rigid/collider/diff_gjk.py290 # Check if there is any duplicate contact point.COMMENT
LOWgenesis/engine/solvers/rigid/collider/diff_gjk.py463 # Check if the memory space is enough for attaching new facesCOMMENT
LOWgenesis/engine/solvers/rigid/collider/epa.py151 # Check if the memory space is enough for attaching new facesCOMMENT
LOWgenesis/engine/solvers/rigid/collider/epa.py655 # Check if v4 or v5 located inside the triangle.COMMENT
LOWgenesis/engine/solvers/rigid/collider/epa.py1093 # Check if the memory space is enough for attaching new facesCOMMENT
LOWgenesis/engine/solvers/rigid/collider/multi_contact.py160 # Check if any of the edge normals matchCOMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk.py562 # Check if the objects are separated using support vectorCOMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk.py778 # Check if the origin is strictly outside of the Minkowski difference (which means there is no collision)COMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk.py1218 # Check if the new vertex would make a valid simplex.COMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk.py1291 # Check if the new vertex would make a valid simplex.COMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk.py1333 # Check if the origin is strictly outside of the Minkowski difference (which means there is no collision)COMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk.py1404 # Check if the new vertex is not very close to the existing verticesCOMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk.py1530 # Check if the new vertex is validCOMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk.py1566 # Check if the new vertex is validCOMMENT
LOWgenesis/engine/solvers/rigid/collider/gjk.py1755 # Check if the updated simplex would be a degenerate simplex.COMMENT
LOWgenesis/engine/entities/rigid_entity/description.py1073 # Check if there is something weird with the optionsCOMMENT
LOWgenesis/engine/entities/rigid_entity/rigid_entity.py332 # Check if base link was fixed but no longer isCOMMENT
Verbosity Indicators23 hits · 48 pts
SeverityFileLineSnippetContext
LOW⚡tests/sensors/test_tactile.py588 # Step 1: no contact. All zero.COMMENT
LOW⚡tests/sensors/test_tactile.py594 # Step 2: jump to BOX_Z_ON. GT should equal plain measured (both = D). Hyst measured = D*(1+strength).COMMENT
LOW⚡genesis/engine/couplers/sap_coupler.py1155 # Step 2: z = D^{-1} wCOMMENT
LOW⚡genesis/engine/couplers/sap_coupler.py1161 # Step 3: Solve x st. L @ x = zCOMMENT
LOW⚡genesis/engine/couplers/sap_coupler.py1195 # Step 2: z = D^{-1} wCOMMENT
LOW⚡genesis/engine/couplers/sap_coupler.py1200 # Step 3: Solve x st. L @ x = zCOMMENT
LOWgenesis/engine/couplers/sap_coupler.py1142 # Step 1: Solve w st. L^T @ w = yCOMMENT
LOWgenesis/engine/couplers/sap_coupler.py1183 # Step 1: Solve w st. L^T @ w = yCOMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py833 # Step 1: Store Genesis rigid states (common)COMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py836 # Step 2: Pre-advance processing (per entity type)COMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py839 # Step 3: IPC advance + retrieve (common)COMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py843 # Step 4: Retrieve statesCOMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py847 # Step 5: Post-advance processing (per entity type)COMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py852 # Step 6: Update GUI if enabledCOMMENT
LOW⚡genesis/engine/solvers/rigid/abd/manual_bw.py495 # Step 1: solve L^T . u = seed (input from [0], output to [1])COMMENT
LOW⚡genesis/engine/solvers/rigid/abd/manual_bw.py505 # Step 2: v = D^{-1} . u (output to [0], overwriting input)COMMENT
LOW⚡genesis/engine/solvers/rigid/abd/manual_bw.py511 # Step 3: solve L . delta = v (input from [0], output to [1])COMMENT
LOW⚡genesis/engine/solvers/rigid/abd/forward_dynamics.py1147 # Step 2: z = D^{-1} wCOMMENT
LOW⚡genesis/engine/solvers/rigid/abd/forward_dynamics.py1151 # Step 3: Solve x st. L @ x = zCOMMENT
LOWgenesis/engine/solvers/rigid/abd/forward_dynamics.py1136 # Step 1: Solve w st. L^T @ w = y. Reading out[j_d] (j_d > i_d) from the buffer being written is safe: those entriesCOMMENT
LOW⚡genesis/engine/solvers/rigid/constraint/noslip.py19 # Step 1: Solve w s.t. L^T @ w = y (backward substitution)COMMENT
LOW⚡genesis/engine/solvers/rigid/constraint/noslip.py27 # Step 2: z = D^{-1} @ wCOMMENT
LOW⚡genesis/engine/solvers/rigid/constraint/noslip.py31 # Step 3: Solve x s.t. L @ x = z (forward substitution)COMMENT
Structural Annotation Overuse23 hits · 47 pts
SeverityFileLineSnippetContext
LOW⚡tests/sensors/test_tactile.py588 # Step 1: no contact. All zero.COMMENT
LOW⚡tests/sensors/test_tactile.py594 # Step 2: jump to BOX_Z_ON. GT should equal plain measured (both = D). Hyst measured = D*(1+strength).COMMENT
LOW⚡genesis/engine/couplers/sap_coupler.py1155 # Step 2: z = D^{-1} wCOMMENT
LOW⚡genesis/engine/couplers/sap_coupler.py1161 # Step 3: Solve x st. L @ x = zCOMMENT
LOW⚡genesis/engine/couplers/sap_coupler.py1195 # Step 2: z = D^{-1} wCOMMENT
LOW⚡genesis/engine/couplers/sap_coupler.py1200 # Step 3: Solve x st. L @ x = zCOMMENT
LOWgenesis/engine/couplers/sap_coupler.py1142 # Step 1: Solve w st. L^T @ w = yCOMMENT
LOWgenesis/engine/couplers/sap_coupler.py1183 # Step 1: Solve w st. L^T @ w = yCOMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py833 # Step 1: Store Genesis rigid states (common)COMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py836 # Step 2: Pre-advance processing (per entity type)COMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py839 # Step 3: IPC advance + retrieve (common)COMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py843 # Step 4: Retrieve statesCOMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py847 # Step 5: Post-advance processing (per entity type)COMMENT
LOW⚡genesis/engine/couplers/ipc_coupler/coupler.py852 # Step 6: Update GUI if enabledCOMMENT
LOW⚡genesis/engine/solvers/rigid/abd/manual_bw.py495 # Step 1: solve L^T . u = seed (input from [0], output to [1])COMMENT
LOW⚡genesis/engine/solvers/rigid/abd/manual_bw.py505 # Step 2: v = D^{-1} . u (output to [0], overwriting input)COMMENT
LOW⚡genesis/engine/solvers/rigid/abd/manual_bw.py511 # Step 3: solve L . delta = v (input from [0], output to [1])COMMENT
LOW⚡genesis/engine/solvers/rigid/abd/forward_dynamics.py1147 # Step 2: z = D^{-1} wCOMMENT
LOW⚡genesis/engine/solvers/rigid/abd/forward_dynamics.py1151 # Step 3: Solve x st. L @ x = zCOMMENT
LOWgenesis/engine/solvers/rigid/abd/forward_dynamics.py1136 # Step 1: Solve w st. L^T @ w = y. Reading out[j_d] (j_d > i_d) from the buffer being written is safe: those entriesCOMMENT
LOW⚡genesis/engine/solvers/rigid/constraint/noslip.py19 # Step 1: Solve w s.t. L^T @ w = y (backward substitution)COMMENT
LOW⚡genesis/engine/solvers/rigid/constraint/noslip.py27 # Step 2: z = D^{-1} @ wCOMMENT
LOW⚡genesis/engine/solvers/rigid/constraint/noslip.py31 # Step 3: Solve x s.t. L @ x = z (forward substitution)COMMENT
Cross-File Repetition9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHexamples/rigid/friction_breakaway.py0mjcf model of a free ball: a sphere collision geom with a checker-textured ball mesh as its visual, whose colorful patteSTRING
HIGHexamples/rigid/rolling_coast.py0mjcf model of a free ball: a sphere collision geom with a checker-textured ball mesh as its visual, whose colorful patteSTRING
HIGHexamples/rigid/torsional_grasp.py0mjcf model of a free ball: a sphere collision geom with a checker-textured ball mesh as its visual, whose colorful patteSTRING
HIGHgenesis/engine/scene.py0all the active solvers managed by the scene's simulator.STRING
HIGHgenesis/engine/couplers/legacy_coupler.py0all the active solvers managed by the scene's simulator.STRING
HIGHgenesis/engine/couplers/sap_coupler.py0all the active solvers managed by the scene's simulator.STRING
HIGHgenesis/engine/solvers/rigid/rigid_solver.py0apply an external wrench over one simulation step on a set of the entity's links. parameters ---------- force : none | aSTRING
HIGHgenesis/engine/entities/rigid_entity/rigid_link.py0apply an external wrench over one simulation step on a set of the entity's links. parameters ---------- force : none | aSTRING
HIGHgenesis/engine/entities/rigid_entity/rigid_entity.py0apply an external wrench over one simulation step on a set of the entity's links. parameters ---------- force : none | aSTRING
Over-Commented Block43 hits · 42 pts
SeverityFileLineSnippetContext
LOWpyproject.toml41 # Use by `Mesh.remesh`, which is involve in `PBDTetEntity.sample`COMMENT
LOWtests/rigid/test_narrowphase.py681 # Sphere at capsule centre: dist = 0, pen = sum of radii = 0.2, normal is degenerateCOMMENT
LOWtests/rigid/test_friction.py141 # cone (high tangential impedance). Regularized friction alone lets the stack slide slowly under a sustained push.COMMENT
LOWtests/rigid/test_friction.py221 # Force needed to hold the floating boxes static without slippingCOMMENT
LOWtests/rigid/test_friction.py721 N_ENVS = 8COMMENT
LOWtests/rigid/test_friction.py741 PILLAR_HEIGHT = 0.04 * scaleCOMMENT
LOWtests/rigid/test_control.py61 # robot.set_dofs_kv(MOTORS_KD, envs_idx=0)COMMENT
LOWtests/rigid/test_heterogeneous.py21 # each simulation picks, so the dual arms are compared with their references before.COMMENT
LOWtests/rigid/test_collision.py1481 # Only check linear velocity at CoM and angular velocity around z-axis.COMMENT
LOWtests/rigid/test_collision.py1601 [COMMENT
LOWtests/rigid/test_asset_loading.py421COMMENT
LOWtests/utils/collision.py281COMMENT
LOWtests/utils/collision.py321 depth = separationCOMMENT
LOWtests/utils/simulators.py61 model.opt.jacobian = mujoco.mjtJacobian.mjJAC_DENSECOMMENT
LOWtests/benchmarks/test_rigid.py201 return {**options, **kwargs}COMMENT
LOWtests/benchmarks/test_rigid.py941def run_benchmark(step_fn, *, n_envs, meta):COMMENT
LOWtests/rendering/test_imgui_overlay.py21 # deterministic 1/60 fallback instead of the wall clock) and parks the ImGui mouse cursor off-panel atCOMMENT
LOWgenesis/ext/_trimesh_patch.py141 # we need to only take the face line before a newlineCOMMENT
LOWgenesis/ext/_trimesh_patch.py421 # if we have two values per vertex the secondCOMMENT
LOWgenesis/utils/array_class.py361COMMENT
LOWgenesis/utils/array_class.py541 link_id: qd.TensorCOMMENT
LOWgenesis/utils/array_class.py921 # In practice, this variable is re-purposed to store the Cholesky factor L st H = L @ L.T to spare memory resources.COMMENT
LOWgenesis/utils/array_class.py981 # DRAM-bound once the combined per-env working sets exceed the CPU caches and batched stepping scales super-linearlyCOMMENT
LOWgenesis/utils/array_class.py1901 tolerance: qd.TensorCOMMENT
LOWgenesis/utils/array_class.py1921 contact_face_tol: qd.TensorCOMMENT
LOWgenesis/utils/array_class.py2981 # see the nt_H declaration for the packed-storage mechanics and the rigid solver's resolution for the gating.COMMENT
LOWgenesis/utils/array_class.py3001 mass_matrix_fits_shared: bool = FalseCOMMENT
LOWgenesis/utils/array_class.py3021 # When True, the seed kernel assembles the env's one Hessian block and the monolith factors it with the scalarCOMMENT
LOWgenesis/utils/mesh.py501 convexify,COMMENT
LOWgenesis/engine/couplers/legacy_coupler.py841 if signed_dist < self.pbd_solver.particle_size / 2: # skip non-penetration particlesCOMMENT
LOWgenesis/engine/sensors/raycaster.py61 # fixed link; for a visual BVH, all links in the solver are fixed), so that geometry only ever changes through anCOMMENT
LOWgenesis/engine/solvers/rigid/collider/narrowphase.py341 # grads agreeing with that reference (positive dot product) are kept verbatim - this is what allows an ACOMMENT
LOWgenesis/engine/solvers/rigid/collider/narrowphase.py381 # B's material occupies A's center: B passes through A's cavity (a nut around a bolt shaft).COMMENT
LOWgenesis/engine/solvers/rigid/collider/narrowphase.py401 if dyn_info.geoms.is_hollow[i_gb]:COMMENT
LOWgenesis/engine/solvers/rigid/collider/mpr.py501 reached = mpr_portal_reach_tolerance(i_ga, i_gb, i_b, ccd_tol, v, direction, mpr_state, collider_info)COMMENT
LOWgenesis/engine/solvers/rigid/collider/mpr.py821 # geometry, and the probability to accurately estimate the contact point decreases as this ratio increases.COMMENT
LOWgenesis/engine/solvers/rigid/collider/collider.py701 cap_convex = self.collider_config.n_contacts_per_convex_pairCOMMENT
LOWgenesis/engine/solvers/rigid/collider/contact.py1181 n_hib = collider_state.n_contacts_hibernated[i_b]COMMENT
LOWgenesis/engine/solvers/rigid/constraint/backward.py301#COMMENT
LOWgenesis/engine/solvers/rigid/constraint/backward.py921 # deriv enters via (jac_qvel through jac2 = -deriv) and (jac[dof2] = -deriv).COMMENT
LOWgenesis/engine/solvers/rigid/constraint/backward.py941 # vel_motion = cdof_vel - t_pos x cdof_angCOMMENT
LOWgenesis/engine/solvers/rigid/constraint/backward.py1101 # ga2 = trans(dyn_state.links.pos[link2], dyn_state.links.quat[link2]) * eq_data[0:3]COMMENT
LOWgenesis/engine/entities/rigid_entity/description.py1341 is_col = g_info["contype"] or g_info["conaffinity"]COMMENT
AI Slop Vocabulary13 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMtests/rigid/test_collision.py1482 # It is robust to loosing a few contact points while still asserting the failure modes that matter.COMMENT
MEDIUMtests/rigid/test_collision_nonconvex.py546 # a small steady contact jitter in velocity, so the position band is the robust at-rest signal.COMMENT
MEDIUMtests/rigid/test_kinematics.py640 # FIXME: Implement a more robust plan planning algorithmCOMMENT
LOWgenesis/ext/_trimesh_patch.py222 # otherwise just use unmasked verticesCOMMENT
MEDIUMgenesis/ext/pyrender/trackball.py59 """Set the state of the trackball in order to change the effect ofSTRING
LOWgenesis/ext/pyrender/mesh.py310 # NOTE: most assets seems to have incorrect mat.diffuse when texture image exists, So let's justCOMMENT
MEDIUMgenesis/engine/sensors/tactile_shared.py416 # Averaged step vectors across all adjacent pairs along each axis -- robust to local jitter.COMMENT
MEDIUMgenesis/engine/solvers/rigid/abd/forward_dynamics.py291 # i_d_]. The fast-math-robust inversion is required: a raw sqrt drops the j=0 entry of everyCOMMENT
MEDIUMgenesis/engine/solvers/rigid/collider/narrowphase.py375 # would eject A. The pose-robust signature is that A's own center lies in a cavity rather than insideCOMMENT
MEDIUMgenesis/engine/solvers/rigid/collider/narrowphase.py390 # line is the stacking axis and the robust contact normal, so use it directly (b->a) for everyCOMMENT
MEDIUMgenesis/engine/solvers/rigid/collider/narrowphase.py3257 # pair, re-enqueue so the robust pass re-decides, instead of dropping it on a marginal frame.COMMENT
MEDIUMgenesis/engine/solvers/rigid/collider/mpr.py836 # should be fine otherwise. Anyway, this is not a big deal in practice and MPR is robust enough to converge toCOMMENT
MEDIUMgenesis/engine/solvers/rigid/constraint/noslip.py219 # Solve each mass block once, when visiting its first dof (order-robust, unlike previous-block tracking,COMMENT
AI Structural Patterns28 hits · 26 pts
SeverityFileLineSnippetContext
LOWtests/grad/utils.py20CODE
LOWgenesis/__init__.py57CODE
LOWgenesis/ext/_trimesh_patch.py290CODE
LOWgenesis/ext/_trimesh_patch.py756CODE
LOWgenesis/ext/pyrender/material.py78CODE
LOWgenesis/ext/pyrender/material.py360CODE
LOWgenesis/ext/pyrender/material.py569CODE
LOWgenesis/ext/pyrender/viewer.py162CODE
LOWgenesis/ext/pyrender/viewer.py920CODE
LOWgenesis/ext/pyrender/mesh.py126CODE
LOWgenesis/ext/pyrender/primitive.py68CODE
LOWgenesis/ext/pyrender/texture.py44CODE
LOWgenesis/ext/pyrender/node.py48CODE
LOWgenesis/ext/pyrender/offscreen.py65CODE
LOWgenesis/utils/hybrid.py226CODE
LOWgenesis/utils/path_planning.py266CODE
LOWgenesis/utils/path_planning.py512CODE
LOWgenesis/utils/path_planning.py895CODE
LOWgenesis/vis/camera.py72CODE
LOWgenesis/engine/scene.py178CODE
LOWgenesis/engine/scene.py669CODE
LOWgenesis/engine/mesh.py58CODE
LOWgenesis/engine/mesh.py352CODE
LOWgenesis/engine/force_fields.py283CODE
LOWgenesis/engine/entities/rigid_entity/rigid_geom.py281CODE
LOWgenesis/engine/entities/rigid_entity/rigid_entity.py1443CODE
LOWgenesis/engine/entities/rigid_entity/rigid_entity.py1553CODE
LOWgenesis/engine/entities/rigid_entity/rigid_entity.py1995CODE
Modern Structural Boilerplate26 hits · 26 pts
SeverityFileLineSnippetContext
LOW⚡tests/rigid/test_narrowphase.py420 def update_pos_quat_analytical(self, entity_idx: int, pos, euler) -> None:CODE
LOW⚡tests/rigid/test_narrowphase.py424 def update_pos_quat_gjk(self, entity_idx: int, pos, euler) -> None:CODE
LOWgenesis/options/surfaces.py738 def update_texture(self, *, emissive_texture: Texture | None = None, force: bool = False, **kwargs) -> None:CODE
LOWgenesis/options/__init__.py21__all__ = [CODE
LOWgenesis/ext/urdfpy/__init__.py29__all__ = [CODE
LOWgenesis/ext/pyrender/viewer.py1551__all__ = ["Viewer"]CODE
LOWgenesis/ext/pyrender/light.py379__all__ = ["Light", "DirectionalLight", "SpotLight", "PointLight"]CODE
LOWgenesis/ext/pyrender/constants.py170__all__ = ["RenderFlags", "TextAlign", "GLTF"]CODE
LOWgenesis/ext/pyrender/__init__.py16__all__ = [CODE
LOWgenesis/ext/pyrender/camera.py391__all__ = ["Camera", "PerspectiveCamera", "OrthographicCamera", "IntrinsicsCamera"]CODE
LOWgenesis/ext/pyrender/offscreen.py232__all__ = ["OffscreenRenderer"]CODE
LOWgenesis/ext/pyrender/platforms/osmesa.py34__all__ = ["OSMesaPlatform"]CODE
LOWgenesis/ext/pyrender/platforms/egl.py313__all__ = ["EGLPlatform"]CODE
LOWgenesis/ext/pyrender/platforms/cgl.py130__all__ = ["CGLPlatform"]CODE
LOWgenesis/ext/pyrender/platforms/pyglet_platform.py8__all__ = ["PygletPlatform"]CODE
LOWgenesis/ext/pyrender/overlay/__init__.py6__all__ = ["ImGuiOverlayPlugin"]CODE
LOWgenesis/vis/viewer_plugins/base.py54 def update_on_sim_step(self) -> None:CODE
LOWgenesis/vis/viewer_plugins/raycast.py227 def update_on_sim_step(self) -> None:CODE
LOWgenesis/vis/viewer_plugins/plugins/mouse_interaction.py181 def update_on_sim_step(self) -> None:CODE
LOWgenesis/vis/viewer_plugins/plugins/mouse_interaction.py323 def _update_drag_plane(self) -> None:CODE
LOWgenesis/vis/viewer_plugins/plugins/__init__.py4__all__ = [CODE
LOWgenesis/assets/tower/generate_tower.py19logger = logging.getLogger(__name__)CODE
LOWgenesis/engine/couplers/ipc_coupler/__init__.py3__all__ = ["IPCCoupler"]CODE
LOWgenesis/engine/sensors/tactile_shared.py818 def _setup_crosstalk_grid(self, options) -> None:CODE
LOWgenesis/engine/solvers/kinematic_solver.py962 def set_state(self, f, state, envs_idx=None, *, partial: bool = False) -> None:CODE
LOWgenesis/engine/solvers/rigid/rigid_solver.py1796 def set_state(self, f, state, envs_idx=None, *, partial: bool = False) -> None:CODE
Dead Code11 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMgenesis/utils/tools.py114CODE
MEDIUMgenesis/utils/tools.py117CODE
MEDIUMgenesis/utils/tools.py120CODE
MEDIUMgenesis/utils/tools.py121CODE
MEDIUMgenesis/utils/tools.py122CODE
MEDIUMgenesis/utils/tools.py123CODE
MEDIUMgenesis/utils/tools.py125CODE
MEDIUMgenesis/utils/tools.py132CODE
MEDIUMgenesis/utils/tools.py141CODE
MEDIUMgenesis/utils/tools.py145CODE
MEDIUMgenesis/utils/tools.py146CODE
Cross-Language Confusion2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHgenesis/ext/pyrender/mesh.py239 # If the trimesh visual is undefined, return none for bothCOMMENT
HIGHgenesis/engine/solvers/rigid/collider/mpr.py625 # Coincident centers (within the solver's absolute length resolution) leave the ray direction undefined; probeCOMMENT
Slop Phrases3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMexamples/rigid/grasp_bottle.py100 ) # you can use position controlCODE
MEDIUMexamples/deformable/differentiable_push.py118 # you can use a scene_stateCOMMENT
MEDIUMexamples/deformable/differentiable_push.py125 # you can also use an entity's stateCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMgenesis/engine/sensors/tactile_shared.py249 # Cached scaffolding bundle for kernel calls, built once on first use (the BVH is static after scene init).COMMENT