AI Slop Code Risk Monitor

petercorke/robotics-toolbox-python

SlopCodeMonitor badge for petercorke/robotics-toolbox-python Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Robotics Toolbox for Python

12.6 Moderate pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for petercorke/robotics-toolbox-python, a C++ project with 3,556 GitHub stars. SynthScan examined 239,464 lines of code across 709 source files, recording 2319 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 12.6 (Moderate 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.

12.6
Adjusted Signal
12.6
Raw Pattern Score
100%
Time Factor
2026-10-25
Last Push
3.6K
Stars
C++
Language
239.5K
Lines of Code
709
Files
2.3K
Pattern Hits
2026-10-31
Scan Date
0.12
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 31.1/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 8.7/100 · LOW

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

Agent Over-Engineering Ratio 30.3/100 · MEDIUM

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

PR Review Velocity Impact 47.7/100 · MEDIUM

Which changes need focused human review? 2319 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 0HIGH 82MEDIUM 188LOW 2049

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

Hyper-Verbose Identifiers799 hits · 899 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_planner_unknown_keywords.py29 def test_plot_warns_and_ignores(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py38 def test_plot_names_every_keyword(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py48 def test_known_keywords_do_not_warn(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py55 def test_constructor_warns_and_ignores(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py61 def test_plot_bg_warns_and_ignores(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py67 def test_warning_points_at_the_caller(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py118 def test_labelvalues_warning_points_at_the_caller(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py124 def test_plot_bg_labelvalues_is_deprecated(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py132 def test_default_has_no_labels(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py136 def test_every_free_cell_is_labelled_with_its_distance(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py146 def test_obstacles_are_not_labelled(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py152 def test_euclidean_values_have_one_decimal(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py158 def test_default_labels_are_red(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py163 def test_default_labels_have_a_white_outline(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py172 def test_label_style_can_remove_the_outline(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py182 def test_without_a_distance_field(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py225 def test_explicit_argument_does_not_override_bgargs(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py233 def test_distance_is_metric_with_a_warning(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py239 def test_warning_points_at_the_caller(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py245 def test_metric_does_not_warn(self):CODE
LOW⚡tests/test_planner_unknown_keywords.py251 def test_default_is_unchanged(self):CODE
LOWtests/test_planner_unknown_keywords.py101 def test_labels_is_the_argument(self):CODE
LOWtests/test_planner_unknown_keywords.py107 def test_labelvalues_is_deprecated(self):CODE
LOWtests/test_planner_unknown_keywords.py199 def test_colorbar_style_reaches_the_colorbar(self):CODE
LOWtests/test_quintic_conditioning.py23def test_quintic_func_matches_polynomial(CODE
LOWtests/test_quintic_conditioning.py46def test_quintic_func_physical_endpoint_velocities(duration: float) -> None:CODE
LOWtests/test_quintic_conditioning.py69def test_quintic_func_long_duration_regression() -> None:CODE
LOWtests/test_quintic_conditioning.py76def test_quintic_func_methods_agree() -> None:CODE
LOW⚡tests/test_quintic_conditioning.py91def test_quintic_func_bad_duration(duration: float, method: str) -> None:CODE
LOW⚡tests/test_quintic_conditioning.py96def test_quintic_func_bad_arguments() -> None:CODE
LOW⚡tests/test_quintic_conditioning.py104def test_quintic_func_sample_shapes(samples: object) -> None:CODE
LOW⚡tests/test_quintic_conditioning.py110def test_quintic_integer_samples(steps: int) -> None:CODE
LOWtests/test_quintic_conditioning.py128def test_quintic_sampled_time_origin(duration: float, origin: float) -> None:CODE
LOWtests/test_quintic_conditioning.py146def test_quintic_multi_axis_matches_jtraj(duration: float) -> None:CODE
LOWtests/test_quintic_conditioning.py159def test_quintic_needs_two_samples() -> None:CODE
LOWtests/test_quintic_conditioning.py166def test_bdsim_quintic_block_long_duration() -> None:CODE
LOWtests/test_default_backend.py17def test_class_default_reaches_every_robot(restore_class_default) -> None:CODE
LOW⚡tests/test_default_backend.py28def test_instance_value_wins_over_the_class_default(restore_class_default) -> None:CODE
LOW⚡tests/test_default_backend.py36def test_default_backend_remains_a_property(restore_class_default) -> None:CODE
LOW⚡tests/test_default_backend.py42def test_class_default_can_be_cleared(restore_class_default) -> None:CODE
LOWtests/test_gravload_x.py12def test_prismatic_gravity_wrench_has_analytic_magnitude() -> None:CODE
LOWtests/test_gravload_x.py20def test_gravity_override_matches_joint_load_and_preserves_state(model: str) -> None:CODE
LOWtests/test_gravload_x.py36def test_gravity_trajectory_returns_six_components_per_pose(model: str) -> None:CODE
LOWtests/test_gravload_x.py59def test_precomputed_inverse_applies_to_gravity_trajectory() -> None:CODE
LOWtests/test_dynamics_defaults.py25def test_payload_without_a_position_is_at_the_origin():CODE
LOWtests/test_dynamics_defaults.py36def test_payload_zero_mass_is_a_no_op():CODE
LOWtests/test_dynamics_defaults.py43def test_fdyn_without_optional_arguments():CODE
LOWtests/test_planner_course_endpoints.py19def test_reeds_shepp_keeps_zero_x_terminal_pose(curvature, stepsize, relative_goal):CODE
LOW⚡tests/test_planner_course_endpoints.py31def test_reeds_shepp_terminal_pose_is_frame_invariant(start):CODE
LOW⚡tests/test_planner_course_endpoints.py40def test_dubins_keeps_stationary_path_pose(start):CODE
LOW⚡tests/test_planner_course_endpoints.py50def test_nonzero_terminal_coordinate_controls(planner, goal):CODE
LOWtests/test_mobile_posegraph.py45 def test_pose_is_the_vertex_coordinate(self):CODE
LOW⚡tests/test_mobile_posegraph.py96 def test_unfinished_grid_conversions_are_gone(self):CODE
LOW⚡tests/test_mobile_posegraph.py102 def test_vertex_counter_is_not_global_state(self):CODE
LOW⚡tests/test_mobile_posegraph.py105 def test_indices_belong_to_the_graph(self):CODE
LOW⚡tests/test_mobile_posegraph.py113 def test_lidar_record_before_any_vertex(self):CODE
LOWtests/test_mobile_posegraph.py142 def test_verbose_lidar_summary(self):CODE
LOWtests/test_mobile_posegraph.py162 def test_landmarks_are_not_supported(self):CODE
LOWtests/test_mobile_posegraph.py221 def test_text_option_is_forwarded(self):CODE
LOWtests/test_mobile_posegraph.py263 def test_styles_merge_over_defaults(self):CODE
739 more matches not shown…
Over-Commented Block613 hits · 548 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt21# tests/test_fknm_fallback.py), so this is a real, working configuration,COMMENT
LOWtests/test_ELink.py221 # l0 = rtb.Link()COMMENT
LOWtests/test_mobile_planner.py121 self.assertTrue(hasattr(status, "length"))COMMENT
LOWtests/test_mobile_planner.py141 # self.assertTrue(all(path[0,:] == [20,10]))COMMENT
LOWtests/test_mobile_planner.py161 # dx = DXform(map)COMMENT
LOWtests/test_Robot.py861 sol = getattr(panda, method)(Tep, tool=tool, **kwargs)COMMENT
LOWtests/test_DHRobot.py401 nt.assert_array_equal(panda.islimit(), ans)COMMENT
LOWtests/test_DHRobot.py641 # [-0.5366, 0.8439, 0, 0, 0, 0],COMMENT
LOWtests/test_DHRobot.py781 # def test_gravjac(self):COMMENT
LOWtests/test_DHRobot.py801 # res4 = r1.gravjac(q)COMMENT
LOWtests/test_DHRobot.py821 # q = [1, 1, 1]COMMENT
LOWtests/test_DHRobot.py841 # nt.assert_array_almost_equal(q2, res2, decimal=4)COMMENT
LOWtests/test_DHRobot.py861 # r0 = rp.DHRobot([l0, l1, l2, l3, l4, l5])COMMENT
LOWtests/test_DHRobot.py881COMMENT
LOWtests/test_DHRobot.py901 # q1, _ = r0.ikine6s(T1, left=False, elbow_up=False, wrist_flip=True)COMMENT
LOWtests/test_DHRobot.py921 # T1 = r0.fkine(q)COMMENT
LOWtests/test_DHRobot.py941 # r0 = rp.models.DH.Puma560()COMMENT
LOWtests/test_DHRobot.py961 # l5 = rp.RevoluteDH()COMMENT
LOWtests/test_DHRobot.py1181 # puma = rp.models.DH.Puma560()COMMENT
LOWtests/test_DHRobot.py1201 # self.assertAlmostEqual(np.linalg.norm(T - puma.fkine(sol.q)), 0, places=5)COMMENT
LOWtests/test_DHRobot.py1221 # self.assertTrue(sol0[0].success)COMMENT
LOWtests/test_DHRobot.py1421 taui0 = puma.itorque(q, qdd)COMMENT
LOWtests/test_DHRobot.py1501 a4 = 0.0COMMENT
LOWtests/test_ERobot.py221 # Unlike test_invdyn (whose second link rotates with joint2), l2'sCOMMENT
LOWtests/test_VPython.py1# #!/usr/bin/env python3COMMENT
LOWtests/test_VPython.py21# from roboticstoolbox.backends.VPython.graphicalrobot import GraphicalRobot, \COMMENT
LOWtests/test_VPython.py41# # 0.707107 0.707107 0 1COMMENT
LOWtests/test_VPython.py61# # self.assertEqual(get_pose_x_vec(self.se3), vector(1, 0, 0))COMMENT
LOWtests/test_VPython.py81# # entity = box(COMMENT
LOWtests/test_VPython.py101# # ['deg', 0, 0],COMMENT
LOWtests/test_VPython.py121# # def test_graphics_canvas_init(self):COMMENT
LOWtests/test_VPython.py141# # # Check all objects in scene are visible (default scene will just haveCOMMENT
LOWtests/test_VPython.py161# # r.append_link('r', SE3(), 1.0, [0, 0], 0)COMMENT
LOWtests/test_VPython.py181# # [0, -1, 0, 3],COMMENT
LOWtests/test_VPython.py201# # [0, 0, 0, 1]COMMENT
LOWtests/test_VPython.py221# # self.assertEqual(obj.get_joint_type(), typ)COMMENT
LOWtests/test_VPython.py241# # joint = RotationalJoint(COMMENT
LOWtests/test_VPython.py261# # self.assertRaises(COMMENT
LOWtests/test_VPython.py281# # def test_gripper_joint_init(self):COMMENT
LOWtests/test_VPython.py301COMMENT
LOWtests/test_VPython.py321# # self.robot_scene.scene.title = "Test Set Joint Orientation"COMMENT
LOWtests/test_VPython.py341# # self.robot_se3, self.robot_structure, self.robot_scene, [0, 0], 0)COMMENT
LOWtests/test_VPython.py361# # num_obj_initial = len(self.robot_scene.scene.objects)COMMENT
LOWtests/test_VPython.py381# # self.robot_scene.grid_visibility(False)COMMENT
LOWtests/test_VPython.py401# # num_obj_on = len(self.robot_scene.scene.objects)COMMENT
LOWtests/test_VPython.py421# # self.assertEqual(gph_obj.color, vector(0.5, 0, 1))COMMENT
LOWtests/test_VPython.py441# # self.robot_se3, self.robot_structure, self.robot_scene, [0, 0], 0)COMMENT
LOWtests/test_VPython.py461COMMENT
LOWtests/test_VPython.py481# # def test_joint_get_pose(self):COMMENT
LOWtests/test_VPython.py501# # self.robot_se3, self.robot_structure, self.robot_scene, [0, 0], 0)COMMENT
LOWtests/test_VPython.py521# # r = RotationalJoint(COMMENT
LOWtests/test_VPython.py541# # self.robot_se3, self.robot_structure, self.robot_scene, [0, 0], 0)COMMENT
LOWtests/test_VPython.py561# # joint2 = RotationalJoint(COMMENT
LOWtests/test_VPython.py581# # self.assertRaises(RuntimeError, robot2.append_made_link, joint2)COMMENT
LOWtests/test_VPython.py601# # self.robot_structure, [0, 0], 0)COMMENT
LOWtests/test_VPython.py621# # # Count num objectsCOMMENT
LOWtests/test_VPython.py641# # # Attempt to detach from emptyCOMMENT
LOWtests/test_VPython.py661# # # Take 1 for each linkCOMMENT
LOWtests/test_VPython.py681# # # Count num obj visibleCOMMENT
LOWtests/test_VPython.py701COMMENT
553 more matches not shown…
Decorative Section Separators133 hits · 393 pts
SeverityFileLineSnippetContext
MEDIUM⚡CMakeLists.txt32 # -----------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt35 # -----------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt45 # -----------------------------------------------------------------------COMMENT
MEDIUM⚡CMakeLists.txt49 # -----------------------------------------------------------------------COMMENT
MEDIUMtests/test_smoke.py16# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_smoke.py18# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_fknm_fallback.py923# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_fknm_fallback.py930# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py68# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py70# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py94# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py96# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py174# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py176# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py268# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py270# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py300# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py302# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py332# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py334# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py369# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py371# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py395# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py411# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py462# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py464# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py521# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py523# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py569# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py571# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py618# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py626# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py669# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py673# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py746# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py767# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py871# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py879# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py1094# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py1105# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py1179# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_fknm_fallback.py1181# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_collision.py54# ── environment guards ────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_collision.py189# ── Mixed shape pairs ─────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_collision.py217# ── iscollided ────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_collision.py243# ── deprecation warnings ──────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_collision.py265# ── pose / world-frame transforms ─────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_collision.py294# ── collision=False guard ─────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_collision.py311# ── return type / structure ───────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_collision.py423# ── _init_coal collision=False direct call ────────────────────────────────────COMMENT
MEDIUMtests/test_collision.py32# ── helpers ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_collision.py85# ── Sphere – Sphere ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_collision.py138# ── Cuboid – Cuboid ───────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_collision.py168# ── Cylinder ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_collision.py333# ── original test_closest chain (ported from spatialgeometry test suite) ──────COMMENT
MEDIUMtests/test_collision.py373# ── to_dict ───────────────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/benchmark_rne.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/benchmark_rne.py56# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/benchmark_rne.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/benchmark_rne.py74# ---------------------------------------------------------------------------COMMENT
73 more matches not shown…
Unused Imports398 hits · 370 pts
SeverityFileLineSnippetContext
LOWtests/test_mobile_planner.py10CODE
LOWtests/test_analytic_ik.py14CODE
LOWtests/test_blocks.py12CODE
LOWtests/test_ETS2.py14CODE
LOWtests/test_ETS.py14CODE
LOWtests/test_mobile.py14CODE
LOWtests/test_mobile.py15CODE
LOWtests/test_mobile.py16CODE
LOWtests/test_mobile.py17CODE
LOWtests/test_demo.py56CODE
LOWtests/test_BaseRobot.py656CODE
LOWtests/test_BaseRobot.py680CODE
LOWdocs/lite/browser_check/check_lite_in_browser.py33CODE
LOWdocs/notebooks/_rtb_nb_bootstrap.py57CODE
LOWdocs/notebooks/_rtb_nb_bootstrap.py62CODE
LOWdocs/notebooks/pre_commit.py16CODE
LOWdocs/notebooks/sync_bootstrap.py15CODE
LOWdocs/notebooks/clear_outputs.py15CODE
LOWdocs/notebooks/dynamics.py9CODE
LOWexamples/vehicle1.py3CODE
LOWexamples/icra2021.py11CODE
LOWexamples/icra2021.py12CODE
LOWexamples/icra2021.py13CODE
LOWexamples/icra2021.py19CODE
LOWexamples/puma_jtraj.py2CODE
LOWsrc/roboticstoolbox/__init__.py1CODE
LOWsrc/roboticstoolbox/__init__.py3CODE
LOWsrc/roboticstoolbox/__init__.py5CODE
LOWsrc/roboticstoolbox/__init__.py6CODE
LOWsrc/roboticstoolbox/__init__.py7CODE
LOWsrc/roboticstoolbox/blocks/mobile.py1CODE
LOWsrc/roboticstoolbox/blocks/uav.py1CODE
LOWsrc/roboticstoolbox/blocks/__init__.py1CODE
LOWsrc/roboticstoolbox/blocks/__init__.py2CODE
LOWsrc/roboticstoolbox/blocks/__init__.py3CODE
LOWsrc/roboticstoolbox/blocks/__init__.py4CODE
LOWsrc/roboticstoolbox/blocks/spatial.py1CODE
LOWsrc/roboticstoolbox/blocks/arm.py1CODE
LOWsrc/roboticstoolbox/demo/tripleangledemo.py7CODE
LOWsrc/roboticstoolbox/demo/twistdemo.py7CODE
LOWsrc/roboticstoolbox/demo/eigdemo.py15CODE
LOWsrc/roboticstoolbox/tools/jsingu.py1CODE
LOWsrc/roboticstoolbox/tools/params.py1CODE
LOWsrc/roboticstoolbox/tools/plot.py1CODE
LOWsrc/roboticstoolbox/tools/p_servo.py1CODE
LOWsrc/roboticstoolbox/tools/null.py6CODE
LOWsrc/roboticstoolbox/tools/__init__.py1CODE
LOWsrc/roboticstoolbox/tools/__init__.py2CODE
LOWsrc/roboticstoolbox/tools/__init__.py2CODE
LOWsrc/roboticstoolbox/tools/__init__.py2CODE
LOWsrc/roboticstoolbox/tools/__init__.py3CODE
LOWsrc/roboticstoolbox/tools/__init__.py4CODE
LOWsrc/roboticstoolbox/tools/__init__.py5CODE
LOWsrc/roboticstoolbox/tools/__init__.py5CODE
LOWsrc/roboticstoolbox/tools/__init__.py5CODE
LOWsrc/roboticstoolbox/tools/__init__.py5CODE
LOWsrc/roboticstoolbox/tools/__init__.py5CODE
LOWsrc/roboticstoolbox/tools/__init__.py5CODE
LOWsrc/roboticstoolbox/tools/__init__.py5CODE
LOWsrc/roboticstoolbox/tools/__init__.py5CODE
338 more matches not shown…
Empty Error Handlers35 hits · 175 pts
SeverityFileLineSnippetContext
HIGHtests/test_Robot.py680except PermissionError:CODE
HIGHtests/test_Robot.py698except PermissionError:CODE
HIGHtests/test_Robot.py707except PermissionError:CODE
HIGHtests/test_Robot.py716except PermissionError:CODE
HIGHtests/test_PyPlot.py98except EOFError:CODE
HIGHtests/test_IK.py427except BaseException:CODE
HIGHtests/test_render_mode.py75except Exception:CODE
HIGHtests/test_render_mode.py100except Exception:CODE
HIGHtests/test_swift_plot_options.py168except Exception:CODE
HIGHdocs/lite/browser_check/check_lite_in_browser.py172except PlaywrightError:CODE
HIGHdocs/lite/browser_check/check_lite_in_browser.py270except PlaywrightError:CODE
HIGHexamples/_cpu_info.py56except Exception:CODE
HIGHexamples/_cpu_info.py27except Exception:CODE
HIGHexamples/_cpu_info.py36except Exception:CODE
HIGHsrc/roboticstoolbox/__init__.py110except:CODE
HIGHsrc/roboticstoolbox/backends/PyPlot/PyPlot2.py44except ImportError: # pragma nocoverCODE
HIGHsrc/roboticstoolbox/backends/PyPlot/PyPlot2.py52except ImportError: # pragma nocoverCODE
HIGHsrc/roboticstoolbox/backends/PyPlot/PyPlot.py50except ImportError: # pragma nocoverCODE
HIGHsrc/roboticstoolbox/backends/PyPlot/PyPlot.py58except ImportError: # pragma nocoverCODE
HIGHsrc/roboticstoolbox/backends/PyPlot/PyPlot.py570except ImportError: # pragma nocoverCODE
HIGHsrc/roboticstoolbox/models/URDF/URDFRobot.py238except (ImportError, AttributeError): # pragma nocoverCODE
HIGHsrc/roboticstoolbox/models/URDF/URDFRobot.py458except AttributeError:CODE
HIGHsrc/roboticstoolbox/models/URDF/URDFRobot.py464except AttributeError:CODE
HIGHsrc/roboticstoolbox/robot/BaseRobot.py302except AttributeError:CODE
HIGHsrc/roboticstoolbox/robot/BaseRobot.py1839except TypeError: # pragma nocoverCODE
HIGHsrc/roboticstoolbox/robot/DHRobot.py225except AttributeError:CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py457except sp.polys.polyerrors.PolynomialError:CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py708except sp.polys.polyerrors.PolynomialError:CODE
HIGHsrc/roboticstoolbox/robot/RobotPlottingMPL.py186except Exception:CODE
HIGHsrc/roboticstoolbox/mobile/Vehicle.py76except Exception:CODE
HIGHsrc/roboticstoolbox/mobile/Vehicle.py84except Exception:CODE
HIGHsrc/roboticstoolbox/mobile/Vehicle.py100except Exception:CODE
HIGHsrc/roboticstoolbox/mobile/DstarPlanner.py104except IndexError:CODE
HIGHsrc/roboticstoolbox/ets/fknm.py135except (TypeError, ValueError):CODE
HIGHsrc/roboticstoolbox/ets/fknm.py384except TypeError:CODE
Cross-File Repetition31 hits · 155 pts
SeverityFileLineSnippetContext
HIGHtests/test_ELink.py0created on fri may 1 14:04:04 2020 @author: jesse havilandSTRING
HIGHtests/test_Link.py0created on fri may 1 14:04:04 2020 @author: jesse havilandSTRING
HIGHtests/test_ERobot.py0created on fri may 1 14:04:04 2020 @author: jesse havilandSTRING
HIGHtests/test_ET.py0created on fri may 1 14:04:04 2020 @author: jesse havilandSTRING
HIGHtests/test_ETS2.py0created on fri may 1 14:04:04 2020 @author: jesse havilandSTRING
HIGHtests/test_ETS.py0created on fri may 1 14:04:04 2020 @author: jesse havilandSTRING
HIGHtests/test_BaseRobot.py0created on fri may 1 14:04:04 2020 @author: jesse havilandSTRING
HIGHsrc/roboticstoolbox/models/URDF/wx200.py0class that imports a rx200 urdf model ``rx200()`` is a class which imports an interbotix rx200 robot definition from a uSTRING
HIGHsrc/roboticstoolbox/models/URDF/px150.py0class that imports a rx200 urdf model ``rx200()`` is a class which imports an interbotix rx200 robot definition from a uSTRING
HIGHsrc/roboticstoolbox/models/URDF/wx250s.py0class that imports a rx200 urdf model ``rx200()`` is a class which imports an interbotix rx200 robot definition from a uSTRING
HIGHsrc/roboticstoolbox/models/URDF/rx150.py0class that imports a rx200 urdf model ``rx200()`` is a class which imports an interbotix rx200 robot definition from a uSTRING
HIGHsrc/roboticstoolbox/models/URDF/px100.py0class that imports a rx200 urdf model ``rx200()`` is a class which imports an interbotix rx200 robot definition from a uSTRING
HIGHsrc/roboticstoolbox/models/URDF/wx250.py0class that imports a rx200 urdf model ``rx200()`` is a class which imports an interbotix rx200 robot definition from a uSTRING
HIGHsrc/roboticstoolbox/models/URDF/vx300.py0class that imports a rx200 urdf model ``rx200()`` is a class which imports an interbotix rx200 robot definition from a uSTRING
HIGHsrc/roboticstoolbox/models/URDF/vx300s.py0class that imports a rx200 urdf model ``rx200()`` is a class which imports an interbotix rx200 robot definition from a uSTRING
HIGHsrc/roboticstoolbox/models/URDF/rx200.py0class that imports a rx200 urdf model ``rx200()`` is a class which imports an interbotix rx200 robot definition from a uSTRING
HIGHsrc/roboticstoolbox/models/URDF/UR3.py0class that imports a ur5 urdf model ``ur3()`` is a class which imports a universal robotics ur5 robot definition from a STRING
HIGHsrc/roboticstoolbox/models/URDF/UR10.py0class that imports a ur5 urdf model ``ur3()`` is a class which imports a universal robotics ur5 robot definition from a STRING
HIGHsrc/roboticstoolbox/models/URDF/UR5.py0class that imports a ur5 urdf model ``ur3()`` is a class which imports a universal robotics ur5 robot definition from a STRING
HIGHsrc/roboticstoolbox/mobile/PlannerBase.py0get private random number generator :return: numpy random number generator :rtype: :class:`numpy.random.generator` has mSTRING
HIGHsrc/roboticstoolbox/mobile/sensors.py0get private random number generator :return: numpy random number generator :rtype: :class:`numpy.random.generator` has mSTRING
HIGHsrc/roboticstoolbox/mobile/Vehicle.py0get private random number generator :return: numpy random number generator :rtype: :class:`numpy.random.generator` has mSTRING
HIGHsrc/roboticstoolbox/mobile/ParticleFilter.py0get verbosity state :return: verbosity :rtype: boolSTRING
HIGHsrc/roboticstoolbox/mobile/sensors.py0get verbosity state :return: verbosity :rtype: boolSTRING
HIGHsrc/roboticstoolbox/mobile/EKF.py0get verbosity state :return: verbosity :rtype: boolSTRING
HIGHsrc/roboticstoolbox/mobile/ParticleFilter.py0size of robot workspace :return: workspace bounds [xmin, xmax, ymin, ymax] :rtype: ndarray(4) returns the bounds of the STRING
HIGHsrc/roboticstoolbox/mobile/Vehicle.py0size of robot workspace :return: workspace bounds [xmin, xmax, ymin, ymax] :rtype: ndarray(4) returns the bounds of the STRING
HIGHsrc/roboticstoolbox/mobile/EKF.py0size of robot workspace :return: workspace bounds [xmin, xmax, ymin, ymax] :rtype: ndarray(4) returns the bounds of the STRING
HIGHsrc/roboticstoolbox/mobile/Animations.py0python ekf planner @author: peter corke, original matlab code and python version @author: kristian gibson, initial matlaSTRING
HIGHsrc/roboticstoolbox/mobile/Vehicle.py0python ekf planner @author: peter corke, original matlab code and python version @author: kristian gibson, initial matlaSTRING
HIGHsrc/roboticstoolbox/mobile/EKF.py0python ekf planner @author: peter corke, original matlab code and python version @author: kristian gibson, initial matlaSTRING
Self-Referential Comments44 hits · 128 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/test_VPython.py306# # # Create a sceneCOMMENT
MEDIUM⚡tests/test_VPython.py309# # # Create a jointCOMMENT
MEDIUM⚡tests/test_VPython.py320# # # Create a sceneCOMMENT
MEDIUM⚡tests/test_VPython.py323# # # Create a jointCOMMENT
MEDIUM⚡tests/test_VPython.py485# # # Create a jointCOMMENT
MEDIUM⚡tests/test_VPython.py499# # # Create a jointCOMMENT
MEDIUMtests/test_VPython.py73# # # Create a sceneCOMMENT
MEDIUMtests/test_VPython.py76# # # Create a basic entityCOMMENT
MEDIUMtests/test_VPython.py122# # # Create a canvas with all options being used (different to defaults)COMMENT
MEDIUMtests/test_VPython.py138# # # Create a scene, with grid=True (default)COMMENT
MEDIUMtests/test_VPython.py153# # # Create a scene (no grid visible)COMMENT
MEDIUMtests/test_VPython.py159# # # Create a 3-link robotCOMMENT
MEDIUMtests/test_VPython.py171# # # Create a scene, no gridCOMMENT
MEDIUMtests/test_VPython.py209# # # Create a sceneCOMMENT
MEDIUMtests/test_VPython.py336# # # Create a sceneCOMMENT
MEDIUMtests/test_VPython.py339# # # Create a jointCOMMENT
MEDIUMtests/test_VPython.py356# # # Create a jointCOMMENT
MEDIUMtests/test_VPython.py383# # # Create a jointCOMMENT
MEDIUMtests/test_VPython.py459# # # Create a jointCOMMENT
MEDIUMtests/test_VPython.py539# # # Create a jointCOMMENT
MEDIUMtests/test_VPython.py573# # # Create a new sceneCOMMENT
MEDIUMtests/test_VPython.py576# # # Create a new robot in new sceneCOMMENT
MEDIUMtests/test_VPython.py731# # # Create a two link robotCOMMENT
MEDIUMtests/test_VPython.py775# # # Create a two link robotCOMMENT
MEDIUMtests/test_VPython.py895# # # Create a sceneCOMMENT
MEDIUMtests/test_VPython.py906# # # Create a scene, with grid=True (default)COMMENT
MEDIUMexamples/mmc.py22# Create a Panda robot objectCOMMENT
MEDIUMexamples/park.py23# Create a Panda robot objectCOMMENT
MEDIUMexamples/puma_swift.py13# Create a puma in the default zero poseCOMMENT
MEDIUMexamples/swift_recording.py24# Create a Panda robot objectCOMMENT
MEDIUMexamples/baur.py23# Create a Panda robot objectCOMMENT
MEDIUMexamples/neo.py17# Create a Panda robot objectCOMMENT
MEDIUMsrc/roboticstoolbox/backends/PyPlot/PyPlot2.py138 # Create a 2D axesCOMMENT
MEDIUMsrc/roboticstoolbox/backends/PyPlot/PyPlot.py217 # Create a 3D axesCOMMENT
MEDIUMsrc/roboticstoolbox/backends/Dynamixel/dynamixel_io.py27 # Initialize PortHandler instanceCOMMENT
MEDIUMsrc/roboticstoolbox/backends/Dynamixel/dynamixel_io.py48 # Initialize PacketHandler instanceCOMMENT
MEDIUMsrc/roboticstoolbox/mobile/Vehicle.py515 # This function is overridden by the child classSTRING
MEDIUMsrc/roboticstoolbox/mobile/ReedsSheppPlanner.py19# The following code is modified from Python RoboticsCOMMENT
MEDIUMsrc/roboticstoolbox/mobile/DstarPlanner.py30# The following code is modified from Python RoboticsCOMMENT
MEDIUMsrc/roboticstoolbox/mobile/PoseGraph.py68 # The following method was inspired by, and modeled on, the MATLAB/Octave fileCOMMENT
MEDIUMsrc/roboticstoolbox/mobile/PoseGraph.py606 # The following methods were inspired by, and modeled on, the MATLAB/Octave fileSTRING
MEDIUMsrc/roboticstoolbox/mobile/QuinticPolyPlanner.py18# The following code is modified from Python RoboticsCOMMENT
MEDIUMsrc/roboticstoolbox/mobile/DubinsPlanner.py3# The following code is modified from Python RoboticsCOMMENT
MEDIUMsrc/roboticstoolbox/mobile/RRTPlanner.py3# The following code is based on code from Python RoboticsCOMMENT
Deep Nesting134 hits · 120 pts
SeverityFileLineSnippetContext
LOWtests/test_plot_env.py136CODE
LOWtests/test_PyPlot.py72CODE
LOWtests/test_blocks.py364CODE
LOWtests/test_ets_swap_quarter.py36CODE
LOWtests/test_ets_swap_quarter.py57CODE
LOWtests/test_ets_replace.py33CODE
LOWtests/test_symbolic_ik_rr.py471CODE
LOWtests/test_graph_planners.py381CODE
LOWtests/test_trajectory.py20CODE
LOWtests/test_trajectory.py73CODE
LOWtests/test_models.py182CODE
LOWtests/test_symbolic_ik.py311CODE
LOWdocs/lite/browser_check/check_lite_in_browser.py139CODE
LOWdocs/lite/browser_check/check_lite_in_browser.py229CODE
LOWdocs/source/exts/format_example.py29CODE
LOWdocs/notebooks/_rtb_nb_bootstrap.py16CODE
LOWexamples/_cpu_info.py11CODE
LOWexamples/benchmark_roadmap.py38CODE
LOWsrc/roboticstoolbox/blocks/mobile.py374CODE
LOWsrc/roboticstoolbox/blocks/uav.py155CODE
LOWsrc/roboticstoolbox/tools/jsingu.py21CODE
LOWsrc/roboticstoolbox/tools/trajectory.py740CODE
LOWsrc/roboticstoolbox/tools/DHFactor.py29CODE
LOWsrc/roboticstoolbox/tools/DHFactor.py138CODE
LOWsrc/roboticstoolbox/tools/DHFactor.py152CODE
LOWsrc/roboticstoolbox/tools/DHFactor.py291CODE
LOWsrc/roboticstoolbox/tools/DHFactor.py315CODE
LOWsrc/roboticstoolbox/tools/trchain.py68CODE
LOWsrc/roboticstoolbox/tools/urdf/urdf.py178CODE
LOWsrc/roboticstoolbox/backends/PyPlot/RobotPlot.py126CODE
LOWsrc/roboticstoolbox/backends/PyPlot/PyPlot2.py326CODE
LOWsrc/roboticstoolbox/backends/PyPlot/PyPlot.py280CODE
LOWsrc/roboticstoolbox/backends/Dynamixel/dynamixel_io.py168CODE
LOWsrc/roboticstoolbox/backends/Dynamixel/dynamixel_io.py181CODE
LOWsrc/roboticstoolbox/backends/Dynamixel/dynamixel_io.py346CODE
LOW…ds/Dynamixel/dynamixel_sdk/protocol2_packet_handler.py55CODE
LOW…ds/Dynamixel/dynamixel_sdk/protocol2_packet_handler.py77CODE
LOW…ds/Dynamixel/dynamixel_sdk/protocol2_packet_handler.py481CODE
LOW…ds/Dynamixel/dynamixel_sdk/protocol2_packet_handler.py635CODE
LOW…ds/Dynamixel/dynamixel_sdk/protocol1_packet_handler.py50CODE
LOW…ds/Dynamixel/dynamixel_sdk/protocol1_packet_handler.py130CODE
LOWsrc/roboticstoolbox/models/catalog.py18CODE
LOWsrc/roboticstoolbox/models/catalog.py101CODE
LOWsrc/roboticstoolbox/models/DH/Ball.py75CODE
LOWsrc/roboticstoolbox/models/URDF/URDFRobot.py355CODE
LOWsrc/roboticstoolbox/robot/Link.py776CODE
LOWsrc/roboticstoolbox/robot/Link.py1332CODE
LOWsrc/roboticstoolbox/robot/IK.py729CODE
LOWsrc/roboticstoolbox/robot/IK.py474CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py90CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py228CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py985CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py1232CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py1309CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py1358CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py1412CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py1483CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py1831CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py1915CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py1990CODE
74 more matches not shown…
Cross-Language Confusion14 hits · 68 pts
SeverityFileLineSnippetContext
HIGHdocs/lite/browser_check/check_lite_in_browser.py24 pip install playwright && playwright install chromiumSTRING
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py1390 self.push(plan.verify)CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py1536 while (n > 0 && fabs(coeffs[n]) <= 1e-12 * scale) --n;CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py1558 if (j != i && z[i] != z[j]) s += 1.0 / (z[i] - z[j]);CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py1585 if (!duplicate && count < IKINE_MAX_ANGLES) angles[count++] = q;CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py1611 while (n > 0 && std::fabs(coeffs[n]) <= 1e-12 * scale) --n;CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py1634 if (j != i && z[i] != z[j]) s += 1.0 / (z[i] - z[j]);CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py1658 for (double other : angles) duplicate = duplicate || std::fabs(q - other) <= 1e-9;CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik.py2138 self.put(f" solutions.push([{self.qs()}]);")CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik_rr.py423 if (gamma == 0.0 || fabs(gamma) <= 1e-15 * sqrt(alpha * beta)) continue;CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik_rr.py448 while (j >= 0 && norms[order[j]] < norms[o]) { order[j + 1] = order[j]; --j; }CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik_rr.py471 if (c == 0.0 || r == 0.0) continue;CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik_rr.py593 if (iterations == 10 || iterations == 20) { /* break a cycle */CODE
HIGHsrc/roboticstoolbox/robot/symbolic_ik_rr.py817 if (!(isfinite(x) && fabs(x) < 1e8 && fabs(wi[e]) < 1e-6 * (1.0 + fabs(x)))) continue;CODE
Modern Structural Boilerplate38 hits · 41 pts
SeverityFileLineSnippetContext
LOWsrc/roboticstoolbox/__init__.py10__all__ = [CODE
LOWsrc/roboticstoolbox/demo/tripleangledemo.py56def update_gimbals(theta: Any, ring: Any) -> None:CODE
LOW⚡src/roboticstoolbox/demo/tripleangledemo.py106 def set_one(x: Any) -> None:CODE
LOW⚡src/roboticstoolbox/demo/tripleangledemo.py109 def set_two(x: Any) -> None:CODE
LOW⚡src/roboticstoolbox/demo/tripleangledemo.py112 def set_three(x: Any) -> None:CODE
LOWsrc/roboticstoolbox/demo/tripleangledemo.py157 def update_all_sliders() -> None:CODE
LOWsrc/roboticstoolbox/demo/twistdemo.py49 def update_twist_param(value: Any, key: Any) -> None:CODE
LOWsrc/roboticstoolbox/demo/twistdemo.py56 def update_twist() -> None:CODE
LOW⚡src/roboticstoolbox/demo/twistdemo.py81 def update_plane(*args: Any) -> None:CODE
LOW⚡src/roboticstoolbox/demo/twistdemo.py86 def update_screw_axis(axis: Any, point: Any) -> None:CODE
LOW⚡src/roboticstoolbox/demo/twistdemo.py89 def update_all_sliders() -> None:CODE
LOWsrc/roboticstoolbox/tools/plot.py68def set_plane_view(ax: Any, plane: str) -> None:CODE
LOWsrc/roboticstoolbox/tools/__init__.py28__all__ = [CODE
LOWsrc/roboticstoolbox/tools/trchain.py235__all__ = ["TrChainToken", "trchain", "trchain2"]CODE
LOWsrc/roboticstoolbox/tools/urdf/__init__.py25__all__ = [CODE
LOWsrc/roboticstoolbox/backends/ROS/__init__.py3__all__ = ["ROS"]CODE
LOWsrc/roboticstoolbox/backends/PyPlot/__init__.py4__all__ = ["PyPlot", "PyPlot2"]CODE
LOWsrc/roboticstoolbox/backends/PyPlot/PyPlot2.py347 def _update_robots(self) -> None:CODE
LOWsrc/roboticstoolbox/backends/PyPlot/PyPlot.py628 def _set_axes_equal(self) -> None:CODE
LOWsrc/roboticstoolbox/backends/swift/__init__.py70 def update_pose_labels(qv: Any) -> None:CODE
LOWsrc/roboticstoolbox/backends/swift/__init__.py160__all__ = [CODE
LOWsrc/roboticstoolbox/models/__init__.py7__all__ = ["catalog", "list", "ETS", "DH"]CODE
LOWsrc/roboticstoolbox/models/DH/__init__.py27__all__ = [CODE
LOWsrc/roboticstoolbox/models/URDF/__init__.py26__all__ = [CODE
LOWsrc/roboticstoolbox/models/ETS/__init__.py12__all__ = [CODE
LOWsrc/roboticstoolbox/robot/Link.py689 def _update_hasdynamics(self) -> None:CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py893 def set_default_backend(cls, be: Any) -> None:CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py1967 def _update_link_tf(self, q: ArrayLike | None = None) -> None:STRING
LOWsrc/roboticstoolbox/robot/__init__.py21__all__ = [CODE
LOWsrc/roboticstoolbox/robot/DHRobot.py256 def _set_link_fk(self, q: Any) -> None:CODE
LOWsrc/roboticstoolbox/robot/Gripper.py226 def _update_link_tf(self, q: ArrayLike | None = None) -> None:CODE
LOWsrc/roboticstoolbox/robot/PoERobot.py286 def _update_ets(self) -> None:CODE
LOWsrc/roboticstoolbox/mobile/__init__.py40__all__ = [CODE
LOW⚡src/roboticstoolbox/ets/ET.py439__all__ = ["ET", "Rx", "Ry", "Rz", "tx", "ty", "tz", "SE3"]CODE
LOWsrc/roboticstoolbox/ets/__init__.py6__all__ = [CODE
LOW⚡src/roboticstoolbox/ets/ET2.py180__all__ = ["ET2", "R", "tx", "ty", "SE2"]CODE
LOW…-data/rtbdata/armer_xarm/armer_xarm/models/__init__.py9__all__ = ["xArm_6"]CODE
LOW…-data/rtbdata/armer_xarm/armer_xarm/robots/__init__.py10__all__ = ["xArmROSRobot"]CODE
AI Structural Patterns41 hits · 40 pts
SeverityFileLineSnippetContext
LOWsrc/roboticstoolbox/blocks/mobile.py374CODE
LOWsrc/roboticstoolbox/tools/plot.py111CODE
LOWsrc/roboticstoolbox/tools/urdf/urdf.py1497CODE
LOWsrc/roboticstoolbox/backends/PyPlot/RobotPlot.py19CODE
LOWsrc/roboticstoolbox/backends/PyPlot/PyPlot.py407CODE
LOWsrc/roboticstoolbox/robot/Link.py161CODE
LOWsrc/roboticstoolbox/robot/DHLink.py122CODE
LOWsrc/roboticstoolbox/robot/IK.py323CODE
LOWsrc/roboticstoolbox/robot/IK.py953CODE
LOWsrc/roboticstoolbox/robot/IK.py1119CODE
LOWsrc/roboticstoolbox/robot/IK.py1353CODE
LOWsrc/roboticstoolbox/robot/IK.py1533CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py90CODE
LOWsrc/roboticstoolbox/robot/BaseRobot.py2040CODE
LOWsrc/roboticstoolbox/robot/RobotPlottingMPL.py238CODE
LOWsrc/roboticstoolbox/robot/RobotPlottingMPL.py302CODE
LOWsrc/roboticstoolbox/robot/RobotKinematics.py561CODE
LOWsrc/roboticstoolbox/robot/RobotKinematics.py727CODE
LOWsrc/roboticstoolbox/robot/RobotKinematics.py855CODE
LOWsrc/roboticstoolbox/robot/RobotKinematics.py998CODE
LOWsrc/roboticstoolbox/robot/RobotKinematics.py1198CODE
LOWsrc/roboticstoolbox/robot/RobotKinematics.py1343CODE
LOWsrc/roboticstoolbox/robot/RobotKinematics.py1503CODE
LOWsrc/roboticstoolbox/robot/Robot.py101CODE
LOWsrc/roboticstoolbox/robot/Robot.py1755CODE
LOWsrc/roboticstoolbox/mobile/PlannerBase.py203CODE
LOWsrc/roboticstoolbox/mobile/PlannerBase.py639CODE
LOWsrc/roboticstoolbox/mobile/PlannerBase.py1054CODE
LOWsrc/roboticstoolbox/mobile/OccGrid.py330CODE
LOWsrc/roboticstoolbox/mobile/Vehicle.py147CODE
LOWsrc/roboticstoolbox/mobile/EKF.py47CODE
LOWsrc/roboticstoolbox/mobile/QuinticPolyPlanner.py279CODE
LOWsrc/roboticstoolbox/ets/_ET.py157CODE
LOWsrc/roboticstoolbox/ets/ETS2.py506CODE
LOWsrc/roboticstoolbox/ets/ETS.py1182CODE
LOWsrc/roboticstoolbox/ets/ETS.py1338CODE
LOWsrc/roboticstoolbox/ets/ETS.py1449CODE
LOWsrc/roboticstoolbox/ets/ETS.py1575CODE
LOWsrc/roboticstoolbox/ets/ETS.py1750CODE
LOWsrc/roboticstoolbox/ets/ETS.py1868CODE
LOWsrc/roboticstoolbox/ets/ETS.py2001CODE
Excessive Try-Catch Wrapping21 hits · 25 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_render_mode.py75 except Exception:CODE
LOW⚡tests/test_render_mode.py100 except Exception:CODE
LOW⚡tests/test_swift_plot_options.py168 except Exception:CODE
LOWtests/test_models.py193 except Exception as e:CODE
LOWexamples/_cpu_info.py27 except Exception:CODE
LOWexamples/_cpu_info.py36 except Exception:CODE
LOWexamples/_cpu_info.py56 except Exception:CODE
LOWsrc/roboticstoolbox/tools/DHFactor.py82 except Exception:CODE
LOWsrc/roboticstoolbox/backends/Dynamixel/dyndata.py18 except Exception:CODE
LOWsrc/roboticstoolbox/backends/Dynamixel/dyndata.py32 except Exception:CODE
MEDIUMsrc/roboticstoolbox/backends/Dynamixel/dyndata.py11def table1_element(tables, name):CODE
MEDIUMsrc/roboticstoolbox/backends/Dynamixel/dyndata.py23def table2_element(tables, name, col=2):CODE
LOWsrc/roboticstoolbox/models/catalog.py128 except Exception:CODE
LOWsrc/roboticstoolbox/models/catalog.py133 except Exception: # pragma nocoverCODE
LOWsrc/roboticstoolbox/models/URDF/URDFRobot.py212 except Exception: # pragma nocoverCODE
LOWsrc/roboticstoolbox/robot/Link.py108 except Exception:CODE
LOW⚡src/roboticstoolbox/robot/RobotPlottingMPL.py186 except Exception:CODE
LOWsrc/roboticstoolbox/mobile/Vehicle.py56 except Exception:CODE
LOWsrc/roboticstoolbox/mobile/Vehicle.py76 except Exception:CODE
LOWsrc/roboticstoolbox/mobile/Vehicle.py84 except Exception:CODE
LOWsrc/roboticstoolbox/mobile/Vehicle.py100 except Exception:CODE
AI Slop Vocabulary8 hits · 22 pts
SeverityFileLineSnippetContext
LOWsrc/roboticstoolbox/robot/Robot.py2272 # Should just set it to NoneCOMMENT
MEDIUM…ets/cpp-extensions/Eigen/src/Core/ConditionEstimator.h128 // added to make the algorithm more robust in certain corner cases whereCOMMENT
MEDIUM…ts/cpp-extensions/Eigen/src/Core/arch/SSE/PacketMath.h123// to leverage AVX instructions.COMMENT
MEDIUM…x/ets/cpp-extensions/Eigen/src/Core/arch/SSE/Complex.h26// to leverage AVX instructions.COMMENT
MEDIUM…x/ets/cpp-extensions/Eigen/src/Core/arch/SSE/Complex.h194// to leverage AVX instructions.COMMENT
MEDIUM…ts/cpp-extensions/Eigen/src/Core/arch/AVX/PacketMath.h56// to leverage AVX512 instructions.COMMENT
MEDIUM…ts/cpp-extensions/Eigen/src/Core/arch/AVX/PacketMath.h638// NOTE: leverage _mm256_i32gather_ps and _mm256_i32gather_pd if AVX2 instructions are availableCOMMENT
MEDIUM…lbox/ets/cpp-extensions/Eigen/src/Geometry/AngleAxis.h200 // let's use the robust Quaternion implementation:COMMENT
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ts/cpp-extensions/Eigen/src/Core/arch/SSE/PacketMath.h547 // In this implementation, we take advantage of the fact that pmin/pmax for SSECOMMENT
HIGH…ts/cpp-extensions/Eigen/src/Core/arch/SSE/PacketMath.h556 // In this implementation, we take advantage of the fact that pmin/pmax for SSECOMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…ets/cpp-extensions/Eigen/src/Core/util/SymbolicIndex.h19 * Here is a simple example:COMMENT
MEDIUM…extensions/Eigen/src/Core/arch/AltiVec/MatrixProduct.h114 * As mentioned earlier MatrixProduct breaks complex numbers into a real vector and a complex vector so packing hasCOMMENT
Redundant / Tautological Comments6 hits · 6 pts
SeverityFileLineSnippetContext
LOWsrc/roboticstoolbox/backends/PyPlot/PyPlot.py838 # Check if running in Pyodide/JupyterLiteCOMMENT
LOWsrc/roboticstoolbox/robot/IK.py506 # Check if we have violated joint limitsSTRING
LOWsrc/roboticstoolbox/robot/BaseRobot.py1461 # Check if end corresponds to gripperSTRING
LOWsrc/roboticstoolbox/ets/_ET.py260 # Check if symbolicSTRING
LOWsrc/roboticstoolbox/ets/ETS2.py87 # Check if jindices are setCOMMENT
LOWsrc/roboticstoolbox/ets/ETS.py104 # Check if jindices are setCOMMENT