Multi-Joint dynamics with Contact. A general purpose physics simulator.
This report summarizes scanner evidence for google-deepmind/mujoco, a C++ project with 15,589 GitHub stars. SynthScan examined 394,033 lines of code across 1308 source files, recording 2991 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 9.4 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2333 finding(s).
Are imports declared and package/API names verified? 269 finding(s).
Are wrappers, guards, and repeated structures necessary? 892 finding(s).
Which changes need focused human review? 2991 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 2991 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # Copyright 2021 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Tools/MjHierarchyTool.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Tools/MjVfs.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Tools/AbsoluteValueAttribute.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Tools/MjEngineTool.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Tools/ConvertMj2Rca.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Tools/XmlElementExtensions.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Tools/MjcfGenerationContext.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Tools/MjTransformation.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Importer/MjcfImporter.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Importer/MjXmlModifiers.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/MjGlobalSettings.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/MjScene.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/MjScene.cs | 121 | if (_generationContext != null) { | COMMENT |
| LOW | unity/Runtime/Components/MjActuator.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/MjComponent.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/MjGizmos.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/MjInertial.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/MjExclude.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | …y/Runtime/Components/Sensors/MjBodyQuaternionSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | …y/Runtime/Components/Sensors/MjSiteQuaternionSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | …y/Runtime/Components/Sensors/MjActuatorScalarSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Sensors/MjBaseSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Sensors/MjBaseSensor.cs | 21 | COMMENT | |
| LOW | …y/Runtime/Components/Sensors/MjGeomQuaternionSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Sensors/MjSiteScalarSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Sensors/MjSiteVectorSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Sensors/MjGeomVectorSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Sensors/MjJointScalarSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Sensors/MjBodyVectorSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Sensors/MjUserSensor.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Bodies/MjMocapBody.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Bodies/MjBody.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Bodies/MjBaseBody.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Tendons/MjSpatialTendon.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Tendons/MjFixedTendon.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Tendons/MjBaseTendon.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Joints/MjHingeJoint.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Joints/MjSlideJoint.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Joints/MjBaseJoint.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Joints/MjBallJoint.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Joints/MjFreeJoint.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Joints/MjJointSettings.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjGeom.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjCapsuleShape.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MeshGenerators.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjBoxShape.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjCylinderShape.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjSphereShape.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjHeightFieldShape.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjMeshShape.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjGeomSettings.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/IMjShape.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/IMjShape.cs | 21 | // Functionality that needs to be implemented for each shape type. | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjShapeComponent.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjMeshFilter.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjSite.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjPlaneShape.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Shapes/MjEllipsoidShape.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| LOW | unity/Runtime/Components/Equality/MjWeld.cs | 1 | // Copyright 2019 DeepMind Technologies Limited | COMMENT |
| 1357 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/doc/mjcf_schema_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | test/doc/doc_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/setup.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/viewer.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/renderer.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/gil_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/renderer_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/specs_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/minimize.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/msh2obj_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/minimize_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/vfs_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/msh2obj.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/rollout.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/rollout_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/mjrf.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/bindings_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/viewer_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/render_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/memory_leak_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/gl_context.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/viewer_protocol.py | 41 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/viewer_protocol.py | 43 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/viewer_protocol.py | 58 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/viewer_protocol.py | 60 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/viewer_protocol.py | 234 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/viewer_protocol.py | 236 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/web_viewer.py | 267 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/web_viewer.py | 269 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/web_viewer.py | 309 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/web_viewer.py | 311 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/web_viewer.py | 324 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/web_viewer.py | 326 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/messages.py | 25 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/messages.py | 30 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/messages.py | 99 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/messages.py | 101 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/messages.py | 313 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/experimental/studio/messages.py | 315 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/mujoco/cgl/cgl.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/cgl/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/functions.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/enums.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/enums_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/type_parsing_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/ast_nodes_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/structs_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/structs.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/functions_test.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/mjxmacro.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/ast_nodes.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/type_parsing.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/codegen/formatter.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/codegen/generate.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/codegen/generate.py | 78 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/introspect/codegen/ast_processor.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/sysid/__init__.py | 14 | # ============================================================================== | COMMENT |
| MEDIUM | python/mujoco/sysid/_src/optimize.py | 14 | # ============================================================================== | COMMENT |
| 227 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/benchmark/run_ablation.py | 138 | def compiler_cmake_flags_variants(): | CODE |
| LOW⚡ | test/doc/mjcf_schema_test.py | 224 | def test_vector_default_on_scalar(self): | STRING |
| LOW⚡ | test/doc/mjcf_schema_test.py | 228 | def test_enum_default_not_a_keyword(self): | STRING |
| LOW⚡ | test/doc/mjcf_schema_test.py | 237 | def test_required_with_default(self): | STRING |
| LOW⚡ | test/doc/mjcf_schema_test.py | 241 | def test_variant_with_required(self): | STRING |
| LOW⚡ | test/doc/mjcf_schema_test.py | 251 | def test_duplicate_enum_keyword(self): | STRING |
| LOW⚡ | test/doc/mjcf_schema_test.py | 399 | def test_chars_unbounded_rejected(self): | STRING |
| LOW⚡ | test/doc/mjcf_schema_test.py | 403 | def test_chars_with_default_rejected(self): | STRING |
| LOW⚡ | test/doc/mjcf_schema_test.py | 412 | def test_string_lexing_range_vs_float(self): | STRING |
| LOW⚡ | test/doc/mjcf_schema_test.py | 420 | def test_min_max_integer_facet(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 106 | def test_groups_and_expansion(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 115 | def test_attr_types_and_arity(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 170 | def test_error_has_line_number(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 182 | def test_duplicate_attr_via_use(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 195 | def test_ref_resolved_by_id_elsewhere(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 290 | def test_constraint_unknown_attr(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 308 | def test_min_max_positive_facets(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 320 | def test_min_on_string_rejected(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 335 | def test_const_in_group_rejected(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 354 | def test_element_unknown_facet(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 358 | def test_element_dangling_alias(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 373 | def test_bool_vector_rejected(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 384 | def test_file_vector_rejected(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 432 | def test_min_greater_than_max(self): | STRING |
| LOW | test/doc/mjcf_schema_test.py | 500 | def test_dim_needs_element_facet(self): | STRING |
| LOW | test/doc/doc_test.py | 237 | def test_schema_enum_coverage(self): | CODE |
| LOW | test/doc/doc_test.py | 336 | def test_all_functions_included(self): | CODE |
| LOW | test/doc/doc_test.py | 390 | def test_mjdata_xmacro_fields(self): | CODE |
| LOW | test/doc/doc_test.py | 434 | def test_element_constraints_diamond_inheritance(self): | CODE |
| LOW | python/setup.py | 63 | def get_external_lib_patterns(): | CODE |
| LOW | python/setup.py | 117 | def parse_cmake_args_from_environ(env_var_name=MUJOCO_CMAKE_ARGS): | CODE |
| LOW | python/mujoco/thread_safety_test.py | 50 | def test_concurrent_indexer_access(self): | CODE |
| LOW | python/mujoco/thread_safety_test.py | 75 | def test_concurrent_struct_list_access(self): | CODE |
| LOW | python/mujoco/thread_safety_test.py | 102 | def test_concurrent_callback_set_get(self): | CODE |
| LOW | python/mujoco/thread_safety_test.py | 128 | def test_concurrent_model_data_lifecycle(self): | CODE |
| LOW | python/mujoco/thread_safety_test.py | 156 | def test_callback_setter_from_del(self): | CODE |
| LOW | python/mujoco/thread_safety_test.py | 182 | def test_callback_replacement_from_del(self): | CODE |
| LOW | python/mujoco/renderer_test.py | 31 | def test_renderer_info_binding(self): | CODE |
| LOW | python/mujoco/renderer_test.py | 38 | def test_renderer_unknown_camera_name(self): | CODE |
| LOW | python/mujoco/renderer_test.py | 53 | def test_renderer_camera_under_range(self): | STRING |
| LOW | python/mujoco/renderer_test.py | 68 | def test_renderer_camera_over_range(self): | STRING |
| LOW | python/mujoco/renderer_test.py | 83 | def test_renderer_renders_scene(self): | STRING |
| LOW | python/mujoco/renderer_test.py | 108 | def test_renderer_output_without_out(self): | STRING |
| LOW | python/mujoco/renderer_test.py | 140 | def test_renderer_output_with_out(self): | STRING |
| LOW | python/mujoco/renderer_test.py | 170 | def test_renderer_depth_rendering_camera_projection(self): | STRING |
| LOW | python/mujoco/renderer_test.py | 226 | def test_renderer_del_safe_when_init_fails_early(self): | STRING |
| LOW⚡ | python/mujoco/specs_test.py | 1092 | def test_duplicate_name_error(self): | CODE |
| LOW⚡ | python/mujoco/specs_test.py | 2377 | def test_make_flex_with_pos_quat(self): | CODE |
| LOW | python/mujoco/specs_test.py | 1065 | def test_geom_and_mesh_plugin(self): | CODE |
| LOW | python/mujoco/specs_test.py | 2299 | def test_encode_xml_without_model(self): | CODE |
| LOW | python/mujoco/specs_test.py | 2312 | def test_encode_no_encoder_raises(self): | CODE |
| LOW | python/mujoco/specs_test.py | 2411 | def test_authored_flags_from_xml(self): | CODE |
| LOW | python/mujoco/specs_test.py | 479 | def test_size_kwarg_variable_length(self): | STRING |
| LOW | python/mujoco/specs_test.py | 584 | def test_compile_errors_with_line_info(self): | STRING |
| LOW | python/mujoco/specs_test.py | 649 | def test_uncompiled_spec_can_be_written(self): | STRING |
| LOW | python/mujoco/specs_test.py | 653 | def test_modelname_default_class(self): | STRING |
| LOW | python/mujoco/specs_test.py | 1051 | def test_mesh_volumetric_fields(self): | STRING |
| LOW | python/mujoco/specs_test.py | 1110 | def test_duplicate_name_error_when_adding_specs_with_kwargs(self): | STRING |
| LOW | python/mujoco/specs_test.py | 1130 | def test_delete_unused_plugin(self): | STRING |
| LOW | python/mujoco/specs_test.py | 1173 | def test_access_option_stat_visual(self): | STRING |
| 416 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mujoco/viewer.py | 326 | CODE | |
| LOW | python/mujoco/viewer.py | 448 | CODE | |
| LOW | python/mujoco/__init__.py | 128 | CODE | |
| LOW | python/mujoco/__init__.py | 244 | CODE | |
| LOW | python/mujoco/minimize.py | 142 | CODE | |
| LOW | python/mujoco/minimize_test.py | 110 | CODE | |
| LOW | python/mujoco/rollout.py | 382 | CODE | |
| LOW | python/mujoco/rollout.py | 396 | CODE | |
| LOW | python/mujoco/rollout_test.py | 962 | CODE | |
| LOW | python/mujoco/experimental/studio/viewer_app_events.py | 33 | CODE | |
| LOW | python/mujoco/experimental/studio/viewer_app_events.py | 275 | CODE | |
| LOW | python/mujoco/experimental/studio/viewer_app_events.py | 504 | CODE | |
| LOW | python/mujoco/experimental/studio/web/web_server.py | 367 | CODE | |
| LOW | python/mujoco/experimental/studio/web/web_server.py | 435 | CODE | |
| LOW | python/mujoco/experimental/studio/web/web_server.py | 529 | CODE | |
| LOW | python/mujoco/experimental/studio/web/web_server.py | 586 | CODE | |
| LOW | …ujoco/experimental/studio/sample/filament_multiview.py | 36 | CODE | |
| LOW | python/mujoco/introspect/structs_test.py | 47 | CODE | |
| LOW | python/mujoco/introspect/structs_test.py | 92 | CODE | |
| LOW | python/mujoco/introspect/codegen/formatter.py | 63 | CODE | |
| LOW | python/mujoco/introspect/codegen/formatter.py | 129 | CODE | |
| LOW | python/mujoco/introspect/codegen/ast_processor.py | 77 | CODE | |
| LOW | python/mujoco/introspect/codegen/ast_processor.py | 126 | CODE | |
| LOW | python/mujoco/introspect/codegen/ast_processor.py | 186 | CODE | |
| LOW | python/mujoco/sysid/_src/optimize.py | 284 | CODE | |
| LOW | python/mujoco/sysid/_src/residual.py | 54 | CODE | |
| LOW | python/mujoco/sysid/_src/plotting.py | 26 | CODE | |
| LOW | python/mujoco/sysid/_src/model_modifier.py | 28 | CODE | |
| LOW | python/mujoco/sysid/_src/parameter.py | 397 | CODE | |
| LOW | python/mujoco/sysid/_src/parameter.py | 618 | CODE | |
| LOW | python/mujoco/sysid/_src/parameter.py | 655 | CODE | |
| LOW | python/mujoco/sysid/report/builder.py | 45 | CODE | |
| LOW | …mujoco/sysid/report/sections/parameter_distribution.py | 110 | CODE | |
| LOW | python/mujoco/sysid/report/sections/parameters.py | 64 | CODE | |
| LOW | python/mujoco/sysid/report/sections/parameters.py | 105 | CODE | |
| LOW | …hon/mujoco/sysid/report/sections/optimization_trace.py | 372 | CODE | |
| LOW | python/mujoco/codegen/generate_cs_bindings.py | 364 | CODE | |
| LOW | python/mujoco/codegen/generate_cs_bindings.py | 496 | CODE | |
| LOW | python/mujoco/codegen/generate_cs_bindings.py | 574 | CODE | |
| LOW | python/mujoco/codegen/generate_cs_bindings.py | 600 | CODE | |
| LOW | python/mujoco/codegen/generate_cs_bindings.py | 638 | CODE | |
| LOW | python/mujoco/codegen/generate_cs_bindings.py | 676 | CODE | |
| LOW | python/mujoco/codegen/generate_spec_bindings.py | 152 | CODE | |
| LOW | python/mujoco/codegen/generate_spec_bindings.py | 201 | CODE | |
| LOW | python/mujoco/codegen/generate_spec_bindings.py | 330 | CODE | |
| LOW | python/mujoco/codegen/generate_spec_bindings.py | 342 | CODE | |
| LOW | python/mujoco/codegen/generate_spec_bindings.py | 355 | CODE | |
| LOW | python/mujoco/codegen/generate_spec_bindings.py | 359 | CODE | |
| LOW | python/mujoco/egl/__init__.py | 35 | CODE | |
| LOW | python/mujoco/usd/shapes.py | 23 | CODE | |
| LOW | python/mujoco/usd/shapes.py | 298 | CODE | |
| LOW | python/mujoco/usd/shapes.py | 373 | CODE | |
| LOW | wasm/codegen/generators/functions.py | 117 | CODE | |
| LOW | wasm/codegen/generators/functions.py | 174 | CODE | |
| LOW | wasm/codegen/generators/functions.py | 204 | CODE | |
| LOW | wasm/codegen/generators/enums.py | 21 | CODE | |
| LOW | wasm/codegen/generators/structs.py | 71 | CODE | |
| LOW | wasm/codegen/generators/structs.py | 333 | CODE | |
| LOW | wasm/codegen/generators/structs.py | 381 | CODE | |
| LOW | wasm/codegen/generators/structs.py | 513 | CODE | |
| 273 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mujoco/renderer.py | 19 | CODE | |
| LOW | python/mujoco/gil_test.py | 21 | CODE | |
| LOW | python/mujoco/specs_test.py | 23 | CODE | |
| LOW | python/mujoco/__init__.py | 54 | CODE | |
| LOW | python/mujoco/__init__.py | 55 | CODE | |
| LOW | python/mujoco/__init__.py | 56 | CODE | |
| LOW | python/mujoco/__init__.py | 57 | CODE | |
| LOW | python/mujoco/__init__.py | 58 | CODE | |
| LOW | python/mujoco/__init__.py | 59 | CODE | |
| LOW | python/mujoco/__init__.py | 60 | CODE | |
| LOW | python/mujoco/__init__.py | 66 | CODE | |
| LOW | python/mujoco/__init__.py | 71 | CODE | |
| LOW | python/mujoco/__init__.py | 76 | CODE | |
| LOW | python/mujoco/mjrf.py | 17 | CODE | |
| LOW | python/mujoco/gl_context.py | 19 | CODE | |
| LOW | python/mujoco/experimental/studio/viewer_protocol.py | 19 | CODE | |
| LOW | python/mujoco/experimental/studio/launch_thread.py | 23 | CODE | |
| LOW | python/mujoco/cgl/__init__.py | 17 | CODE | |
| LOW | python/mujoco/cgl/__init__.py | 19 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 20 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 21 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 22 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 23 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 24 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 25 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 26 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 27 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 28 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 29 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 30 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 31 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 32 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 33 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 34 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 35 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 36 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 37 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 38 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 39 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 40 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 41 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 42 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 43 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 44 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 45 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 46 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 47 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 48 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 49 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 50 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 51 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 52 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 53 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 54 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 55 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 56 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 57 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 58 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 59 | CODE | |
| LOW | python/mujoco/sysid/__init__.py | 60 | CODE | |
| 192 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/setup.py | 49 | except FileNotFoundError: | CODE |
| HIGH | python/mujoco/thread_safety_test.py | 171 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | python/mujoco/thread_safety_test.py | 194 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | python/mujoco/renderer.py | 20 | except ImportError: | CODE |
| HIGH | python/mujoco/__init__.py | 67 | except ImportError: | CODE |
| HIGH | python/mujoco/__init__.py | 72 | except ImportError: | CODE |
| HIGH | python/mujoco/__init__.py | 77 | except ImportError: | CODE |
| HIGH | python/mujoco/memory_leak_test.py | 63 | except (ImportError, ValueError): | CODE |
| HIGH | python/mujoco/gl_context.py | 20 | except ImportError: | CODE |
| HIGH | python/mujoco/experimental/studio/viewer_protocol.py | 155 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| HIGH | python/mujoco/experimental/studio/messages.py | 376 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | python/mujoco/experimental/studio/viewer_handle.py | 131 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 360 | except asyncio.CancelledError: | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 736 | except (ConnectionClosed, ConnectionError, asyncio.IncompleteReadError): | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 838 | except (ConnectionClosed, ConnectionError): | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 986 | except (ConnectionClosed, ConnectionError): | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 485 | except (ConnectionClosed, ConnectionError): | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 1032 | except RuntimeError: | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 1087 | except asyncio.TimeoutError: | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 805 | except asyncio.TimeoutError: | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 607 | except (ConnectionClosed, ConnectionError): | CODE |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 581 | except (ConnectionClosed, ConnectionError): | CODE |
| HIGH | python/mujoco/cgl/__init__.py | 70 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| HIGH | python/mujoco/introspect/codegen/ast_processor.py | 293 | except ValueError: | CODE |
| HIGH | python/mujoco/sysid/__init__.py | 61 | except ModuleNotFoundError: | CODE |
| HIGH | python/mujoco/codegen/generate_cs_bindings.py | 413 | except ValueError: | CODE |
| HIGH | python/mujoco/codegen/generate_cs_bindings.py | 419 | except ValueError: | CODE |
| HIGH | python/mujoco/codegen/generate_cs_bindings.py | 426 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | python/mujoco/egl/__init__.py | 57 | except error.GLError: | CODE |
| HIGH | python/mujoco/egl/egl_ext.py | 23 | except OSError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/mujoco/rollout.py | 65 | Rolls out open-loop trajectories from initial states, get subsequent state and sensor values. Python wrapper for ro | STRING |
| HIGH | python/mujoco/rollout.py | 276 | Rolls out open-loop trajectories from initial states, get subsequent states and sensor values. Python wrapper for rol | STRING |
| HIGH | python/mujoco/rollout.py | 397 | Infers dimension `dim` given guess `value` from set of arrays. Args: dim: Dimension to be inferred. value: In | STRING |
| HIGH | python/mujoco/experimental/studio/web/web_server.py | 246 | Binds (but does not listen on) the public HTTP listening socket. The socket is bound in the viewer thread up front so | STRING |
| HIGH | python/mujoco/sysid/_src/timeseries.py | 692 | Resample the time series to new timestamps or a specific time interval. This method creates a new TimeSeries object | STRING |
| HIGH | python/mujoco/rendering/classic/renderer.py | 133 | Renders the scene as a numpy array of pixel values. Args: out: Alternative output array in which to place the | STRING |
| HIGH | wasm/codegen/generators/structs.py | 784 | Sorts structs based on their field dependencies using topological sort. Structs with no dependencies on other struc | STRING |
| HIGH | mjx/mujoco/mjx/_src/solver.py | 375 | Updates grad and M / grad given latest solver iteration. Corresponds to CGupdateGradient in mujoco/src/engine/engine_ | STRING |
| HIGH | mjx/mujoco/mjx/_src/io.py | 580 | Puts mujoco.MjModel onto a device, resulting in mjx.Model. Args: m: the model to put onto device device: whic | STRING |
| HIGH | mjx/mujoco/mjx/_src/io.py | 909 | Allocate and initialize Data. Args: m: the model to use device: which device to use - if unspecified picks th | STRING |
| HIGH | mjx/mujoco/mjx/_src/test_util.py | 295 | Creates a random MJCF for testing. Args: seed: seed for rng min_trees: minimum number of kinematic trees to g | STRING |
| HIGH | mjx/mujoco/mjx/_src/scan.py | 98 | A vmap that accepts numpy arrays. Numpy arrays are statically vmapped, and the elements are passed to f as static a | STRING |
| HIGH | mjx/mujoco/mjx/_src/scan.py | 176 | Scan a function across bodies or actuators. Scan group data according to type and batch shape then calls vmap(f) on i | STRING |
| HIGH | mjx/mujoco/mjx/_src/scan.py | 345 | Scan ``f`` across bodies in tree order, carrying results up/down the tree. This function groups bodies according to l | STRING |
| HIGH | mjx/mujoco/mjx/_src/render_util.py | 39 | Unpack uint32 ABGR pixel data into float32 RGB. Args: rc: RenderContextPytree. cam_id: Camera index to extrac | STRING |
| HIGH | mjx/mujoco/mjx/_src/render_util.py | 79 | Extract and normalize depth data for a camera. Args: rc: RenderContextPytree. cam_id: Camera index to extract | STRING |
| HIGH | mjx/mujoco/mjx/_src/render_util.py | 116 | Extract segmentation object IDs for a camera. Args: rc: RenderContextPytree. cam_id: Camera index to extract. | STRING |
| HIGH | mjx/mujoco/mjx/third_party/mujoco_warp/_src/util_pkg.py | 48 | Check if an installed package satisfies a version requirement. Supports operators: >=, <=, >, <, ==, != Version co | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mujoco/thread_safety_test.py | 64 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | python/mujoco/thread_safety_test.py | 90 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | python/mujoco/thread_safety_test.py | 114 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | python/mujoco/thread_safety_test.py | 140 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | python/mujoco/thread_safety_test.py | 171 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/mujoco/thread_safety_test.py | 194 | except Exception: # pylint: disable=broad-except | CODE |
| MEDIUM | python/mujoco/thread_safety_test.py | 57 | def access_indexers(): | CODE |
| MEDIUM | python/mujoco/thread_safety_test.py | 83 | def access_contacts(): | CODE |
| MEDIUM | python/mujoco/thread_safety_test.py | 106 | def toggle_callback(): | CODE |
| MEDIUM | python/mujoco/thread_safety_test.py | 132 | def create_destroy(): | CODE |
| MEDIUM | python/mujoco/thread_safety_test.py | 191 | def __del__(self): | CODE |
| LOW | python/mujoco/viewer.py | 302 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | python/mujoco/experimental/studio/viewer_protocol.py | 155 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | python/mujoco/experimental/studio/viewer_protocol.py | 282 | except Exception as ex: | CODE |
| LOW | python/mujoco/experimental/studio/messages.py | 376 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | python/mujoco/experimental/studio/viewer_app.py | 146 | except Exception as ex: # pylint: disable=broad-except | CODE |
| MEDIUM | python/mujoco/experimental/studio/viewer_app.py | 147 | print(f'Error reloading model from {self.model_path!r}: {ex}') | CODE |
| LOW | python/mujoco/experimental/studio/viewer_app.py | 305 | except Exception as ex: # pylint: disable=broad-except | CODE |
| MEDIUM | python/mujoco/experimental/studio/viewer_app.py | 306 | print(f'Error loading model from {drop_file!r}: {ex}') | CODE |
| LOW | python/mujoco/experimental/studio/viewer_handle.py | 131 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | python/mujoco/experimental/studio/web/web_server.py | 362 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| MEDIUM | python/mujoco/experimental/studio/sample/implot.py | 233 | print(f'Error loading model from {model_path!r}') | CODE |
| LOW | python/mujoco/experimental/studio/sample/render.py | 49 | except Exception as ex: # pylint: disable=broad-except | CODE |
| MEDIUM | python/mujoco/experimental/studio/sample/render.py | 50 | print(f'Error loading model from `{model_path}`: {ex}') | CODE |
| LOW⚡ | python/mujoco/experimental/studio/sample/render.py | 62 | except Exception as ex: # pylint: disable=broad-except | CODE |
| MEDIUM⚡ | python/mujoco/experimental/studio/sample/render.py | 63 | print(f'Error rendering model: {ex}') | CODE |
| LOW⚡ | python/mujoco/experimental/studio/sample/render.py | 69 | except Exception as ex: # pylint: disable=broad-except | CODE |
| MEDIUM⚡ | python/mujoco/experimental/studio/sample/render.py | 70 | print(f'Error saving image to `{_OUTPUT.value}`: {ex}') | CODE |
| LOW | python/mujoco/experimental/studio/sample/ghost.py | 172 | except Exception as ex: # pylint: disable=broad-except | CODE |
| LOW | python/mujoco/cgl/__init__.py | 70 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | python/mujoco/codegen/generate_cs_bindings.py | 426 | except Exception: # pylint: disable=broad-except | CODE |
| MEDIUM | wasm/codegen/tests/coverage_test.py | 50 | print(f'Error reading resource {file_path}: {e}') | CODE |
| MEDIUM | wasm/codegen/generators/common.py | 34 | print(f"Error writing to output file: {filepath} - {e}") | CODE |
| MEDIUM | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 443 | def ffi_callback(self, call_frame, platform): | CODE |
| MEDIUM | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 875 | def ffi_callback(self, call_frame, platform): | CODE |
| MEDIUM | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1923 | def ffi_callback(call_frame, platform): | CODE |
| LOW | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 614 | except Exception as e: | CODE |
| LOW | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1217 | except Exception as e: | CODE |
| LOW | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1552 | except Exception as e: | CODE |
| LOW | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1959 | except Exception as e: | CODE |
| LOW | mjx/mujoco/mjx/warp/visualize_render.py | 131 | except Exception: | CODE |
| LOW | mjx/mujoco/mjx/warp/testspeed.py | 279 | except Exception as _: | CODE |
| LOW | .github/actions/notify-chat/notify_chat.py | 80 | except Exception: | CODE |
| LOW | .github/actions/notify-chat/notify_chat.py | 188 | except Exception as e: | CODE |
| LOW | .github/actions/notify-chat/notify_chat.py | 197 | except Exception as e: | CODE |
| LOW | .github/actions/notify-chat/notify_chat.py | 227 | except Exception as e: | CODE |
| LOW | doc/make_mujoco_stubs.py | 99 | except Exception: | CODE |
| MEDIUM | doc/mjwarp/update_types.py | 68 | print(f'Error: Could not find {filepath}', file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/mujoco/experimental/studio/viewer_protocol.py | 0 | dispatches a message to registered sim-side handlers in priority order. | STRING |
| HIGH | python/mujoco/experimental/studio/plugin_registry.py | 0 | dispatches a message to registered sim-side handlers in priority order. | STRING |
| HIGH | python/mujoco/experimental/studio/viewer_handle.py | 0 | dispatches a message to registered sim-side handlers in priority order. | STRING |
| HIGH | python/mujoco/introspect/functions.py | 0 | provides information about mujoco api structs. do not edit. this file is automatically generated. | STRING |
| HIGH | python/mujoco/introspect/enums.py | 0 | provides information about mujoco api structs. do not edit. this file is automatically generated. | STRING |
| HIGH | python/mujoco/introspect/structs.py | 0 | provides information about mujoco api structs. do not edit. this file is automatically generated. | STRING |
| HIGH | python/mujoco/introspect/codegen/generate.py | 0 | // copyright 2022 deepmind technologies limited // // licensed under the apache license, version 2.0 (the "license"); // | STRING |
| HIGH | python/mujoco/codegen/generate_cs_bindings.py | 0 | // copyright 2022 deepmind technologies limited // // licensed under the apache license, version 2.0 (the "license"); // | STRING |
| HIGH | mjx/mujoco/mjx/codegen/file.py | 0 | // copyright 2022 deepmind technologies limited // // licensed under the apache license, version 2.0 (the "license"); // | STRING |
| HIGH | doc/generate/generate_api_header.py | 0 | // copyright 2022 deepmind technologies limited // // licensed under the apache license, version 2.0 (the "license"); // | STRING |
| HIGH | mjx/mujoco/mjx/_src/collision_convex.py | 0 | wraps collision functions for use by collision_driver. | STRING |
| HIGH | mjx/mujoco/mjx/_src/collision_primitive.py | 0 | wraps collision functions for use by collision_driver. | STRING |
| HIGH | mjx/mujoco/mjx/_src/collision_sdf.py | 0 | wraps collision functions for use by collision_driver. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 599 | if wp._src.context.runtime.core.wp_cuda_launch_kernel( | CODE |
| CRITICAL | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 973 | if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream): | CODE |
| CRITICAL | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1006 | if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream): | CODE |
| CRITICAL | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1045 | if not wp._src.context.runtime.core.wp_cuda_graph_update_memcpy_batch( | CODE |
| CRITICAL | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1059 | if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/mujoco/codegen/generate_spec_bindings.py | 256 | self.{fullvarname}->reserve(rhs_view.length()); | CODE |
| HIGH⚡ | wasm/codegen/tests/generators_test.py | 373 | return (ptr_ && ptr_->string_field) ? *(ptr_->string_field) : ""; | STRING |
| HIGH⚡ | wasm/codegen/tests/generators_test.py | 376 | if (ptr_ && ptr_->string_field) { | STRING |
| HIGH | wasm/codegen/tests/generators_test.py | 265 | if (owned_ && ptr_) { | STRING |
| HIGH | wasm/codegen/generators/structs.py | 210 | f'return (ptr_ && ptr_->{f.name}) ? *(ptr_->{f.name}) : "";' | CODE |
| HIGH | wasm/codegen/generators/structs.py | 213 | with builder.block(f"if (ptr_ && ptr_->{f.name})"): | CODE |
| HIGH | wasm/codegen/generators/structs.py | 457 | if (id < 0 || id >= ptr_->nfield) { \\ | CODE |
| HIGH | wasm/codegen/generators/structs.py | 482 | if (id < 0 || id >= model->nfield) { \\ | CODE |
| HIGH | wasm/codegen/generators/structs.py | 540 | with builder.block("if (owned_ && ptr_)"): | CODE |
| HIGH | mjx/mujoco/mjx/third_party/mujoco_warp/_src/island.py | 914 | "nvmax overflow: world %d needs %d active DOFs but nvmax = %d (behavior undefined)\n" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | python/mujoco/specs_test.py | 2369 | # Create a spec with minimal flexcomp args (defaults). | COMMENT |
| MEDIUM⚡ | python/mujoco/specs_test.py | 2378 | # Create a spec with flexcomp that has a pose. | COMMENT |
| MEDIUM | python/mujoco/specs_test.py | 2282 | # Create a simple spec and compile. | COMMENT |
| MEDIUM | python/mujoco/specs_test.py | 2300 | # Create a simple spec and compile so XML can be written. | COMMENT |
| MEDIUM | python/mujoco/specs_test.py | 2313 | # Create a simple spec and compile. | COMMENT |
| MEDIUM | python/mujoco/specs_test.py | 2326 | # Create a spec with a flexcomp grid. | COMMENT |
| MEDIUM | python/mujoco/specs_test.py | 69 | # Create a spec. | STRING |
| MEDIUM | python/mujoco/specs_test.py | 174 | # Create a spec. | STRING |
| MEDIUM | python/mujoco/specs_test.py | 613 | # Create a spec. | STRING |
| MEDIUM | python/mujoco/experimental/studio/native_viewer.py | 77 | # Create the renderer. | COMMENT |
| MEDIUM | mjx/mujoco/mjx/_src/io.py | 872 | # Create the raw MuJoCo data | COMMENT |
| MEDIUM | mjx/mujoco/mjx/_src/types.py | 39 | # This method is called only when lookup by value fails | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mujoco/minimize.py | 142 | CODE | |
| LOW | python/mujoco/rollout.py | 261 | CODE | |
| LOW | python/mujoco/rollout.py | 50 | CODE | |
| LOW | python/mujoco/experimental/studio/native_viewer.py | 36 | CODE | |
| LOW | python/mujoco/experimental/studio/viewer_protocol.py | 81 | CODE | |
| LOW | python/mujoco/experimental/studio/web_viewer.py | 169 | CODE | |
| LOW | python/mujoco/sysid/_src/residual.py | 389 | CODE | |
| LOW | python/mujoco/sysid/_src/model_modifier.py | 474 | CODE | |
| LOW | python/mujoco/sysid/report/sections/video.py | 43 | CODE | |
| LOW | python/mujoco/sysid/report/sections/video.py | 162 | CODE | |
| LOW | python/mujoco/usd/exporter.py | 38 | CODE | |
| LOW | mjx/mujoco/mjx/_src/support.py | 125 | CODE | |
| LOW | mjx/mujoco/mjx/_src/support.py | 1029 | CODE | |
| LOW | mjx/mujoco/mjx/_src/support.py | 1102 | CODE | |
| LOW | mjx/mujoco/mjx/_src/io.py | 846 | CODE | |
| LOW | mjx/mujoco/mjx/_src/io.py | 898 | CODE | |
| LOW | mjx/mujoco/mjx/_src/io.py | 1254 | CODE | |
| LOW | mjx/mujoco/mjx/_src/io.py | 1257 | CODE | |
| LOW | mjx/mujoco/mjx/_src/test_util.py | 279 | CODE | |
| LOW | mjx/mujoco/mjx/third_party/mujoco_warp/_src/io.py | 1856 | CODE | |
| LOW | mjx/mujoco/mjx/third_party/mujoco_warp/_src/io.py | 2076 | CODE | |
| LOW | …mujoco/mjx/third_party/mujoco_warp/_src/render_util.py | 312 | CODE | |
| LOW | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1333 | CODE | |
| LOW | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1746 | CODE | |
| LOW | mjx/mujoco/mjx/warp/render_test.py | 132 | CODE | |
| LOW | mjx/mujoco/mjx/warp/render_test.py | 237 | CODE | |
| LOW | mjx/mujoco/mjx/warp/ffi.py | 108 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mujoco/viewer.py | 195 | # Check if image is already the correct shape | COMMENT |
| LOW⚡ | python/mujoco/specs_test.py | 1082 | # Assign plugin to geom | COMMENT |
| LOW⚡ | python/mujoco/specs_test.py | 1087 | # Assign plugin to mesh | COMMENT |
| LOW | python/mujoco/sysid/_src/optimize.py | 224 | # Check if there are any parameters to optimize. | COMMENT |
| LOW | python/mujoco/sysid/_src/plotting.py | 74 | # Check if we should capture this frame based on framerate | COMMENT |
| LOW | python/mujoco/sysid/report/builder.py | 58 | # Check if this is a GroupSection (has 'sections' attribute) | COMMENT |
| LOW | python/mujoco/sysid/report/sections/parameters.py | 111 | # Check if on boundary | COMMENT |
| LOW | …ird_party/mujoco_warp/_src/collision_primitive_core.py | 895 | # Check if contact normal is valid | COMMENT |
| LOW | mjx/mujoco/mjx/third_party/mujoco_warp/_src/bvh.py | 493 | # Check if current cell is planar | COMMENT |
| LOW | mjx/mujoco/mjx/third_party/mujoco_warp/_src/bvh.py | 533 | # Check if it lies on the SAME plane as start cell | COMMENT |
| LOW | …jx/third_party/mujoco_warp/_src/collision_primitive.py | 265 | # Check if the index is unique (appears exactly once) | COMMENT |
| LOW | …mujoco/mjx/third_party/mujoco_warp/_src/render_util.py | 118 | # Check if we have intrinsics (sensorsize[1] != 0) | COMMENT |
| LOW | mjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py | 1664 | # Check if annotation is a warp array type (annotation is an instance of wp.array) | COMMENT |
| LOW | .github/workflows/build_steps.sh | 894 | # Set options to print the commands being run, and cause the script to exit with | COMMENT |
| LOW | doc/generate/generate_linenumbers.py | 53 | # Check if it has any function defined in references.h | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | python/mujoco/specs_test.py | 2191 | # Step 2: Set dataspec to just mjRAYDATA_DIST | COMMENT |
| LOW⚡ | python/mujoco/specs_test.py | 2201 | # Step 3: Add all raydata fields and check no-hit values | COMMENT |
| LOW | python/mujoco/specs_test.py | 2171 | # Step 1: Create a rangefinder sensor attached to a site, no dataspec set. | COMMENT |
| LOW | python/mujoco/specs_test.py | 2224 | # Step 4: Add a floor plane, now the ray should hit | COMMENT |
| LOW | python/mujoco/specs_test.py | 2244 | # Step 5: Add a camera-based rangefinder sensor | COMMENT |
| LOW | doc/_static/onthispage_mjwarp.js | 12 | // Step 1: Find all attribute definitions and collect their IDs. | COMMENT |
| LOW⚡ | doc/_static/onthispage_mjwarp.js | 29 | // Step 2: Find the sidebar container. | COMMENT |
| LOW⚡ | doc/_static/onthispage_mjwarp.js | 36 | // Step 3: Get all links within that sidebar. | COMMENT |
| LOW⚡ | doc/_static/onthispage_mjwarp.js | 42 | // Step 4: Iterate through the links and hide the ones that match. | COMMENT |
| LOW⚡ | src/experimental/studio/live.js | 120 | // Step 1: fetch the root XML so mju_getXMLDependencies (which reads it | COMMENT |
| LOW⚡ | src/experimental/studio/live.js | 128 | // Step 2: ask MuJoCo for the transitive dependency list. | COMMENT |
| LOW | src/experimental/studio/live.js | 142 | // Step 3: fetch every dependency in parallel, deduped against URLs | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | python/mujoco/specs_test.py | 2191 | # Step 2: Set dataspec to just mjRAYDATA_DIST | COMMENT |
| LOW⚡ | python/mujoco/specs_test.py | 2201 | # Step 3: Add all raydata fields and check no-hit values | COMMENT |
| LOW | python/mujoco/specs_test.py | 2171 | # Step 1: Create a rangefinder sensor attached to a site, no dataspec set. | COMMENT |
| LOW | python/mujoco/specs_test.py | 2224 | # Step 4: Add a floor plane, now the ray should hit | COMMENT |
| LOW | python/mujoco/specs_test.py | 2244 | # Step 5: Add a camera-based rangefinder sensor | COMMENT |
| LOW | doc/_static/onthispage_mjwarp.js | 12 | // Step 1: Find all attribute definitions and collect their IDs. | COMMENT |
| LOW⚡ | doc/_static/onthispage_mjwarp.js | 29 | // Step 2: Find the sidebar container. | COMMENT |
| LOW⚡ | doc/_static/onthispage_mjwarp.js | 36 | // Step 3: Get all links within that sidebar. | COMMENT |
| LOW⚡ | doc/_static/onthispage_mjwarp.js | 42 | // Step 4: Iterate through the links and hide the ones that match. | COMMENT |
| LOW⚡ | src/experimental/studio/live.js | 120 | // Step 1: fetch the root XML so mju_getXMLDependencies (which reads it | COMMENT |
| LOW⚡ | src/experimental/studio/live.js | 128 | // Step 2: ask MuJoCo for the transitive dependency list. | COMMENT |
| LOW | src/experimental/studio/live.js | 142 | // Step 3: fetch every dependency in parallel, deduped against URLs | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mujoco/rollout.py | 109 | # just call rollout and return | COMMENT |
| MEDIUM | …ental/netimgui/Code/Client/Private/NetImgui_Client.cpp | 829 | //generating ClientTextureID. Needs something more robust. | COMMENT |
| LOW | wasm/codegen/tests/generators_test.py | 663 | # for integer just return the number | COMMENT |
| MEDIUM | …/mujoco/mjx/third_party/mujoco_warp/_src/derivative.py | 1265 | # TODO(team): directly utilize M for these settings | COMMENT |
| MEDIUM | src/experimental/studio/live.js | 168 | // application robust, you may want to override this behavior before shipping! | COMMENT |
| MEDIUM | src/render/classic/render_context.c | 1744 | // enable seamless cube maps if supported | COMMENT |
| MEDIUM | src/engine/engine_util_spatial.c | 287 | // "A robust method to extract the rotational part of deformations." | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mujoco/experimental/studio/viewer_protocol.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/mujoco/experimental/studio/web_viewer.py | 295 | def _update_model(self) -> None: | CODE |
| LOW | python/mujoco/experimental/studio/viewer_handle.py | 177 | def set_model(self, model: mujoco.MjModel, path: str = '') -> None: | CODE |
| LOW | python/mujoco/experimental/studio/web/web_server.py | 1151 | def update_state(self, payload: bytes) -> None: | CODE |
| LOW | python/mujoco/experimental/studio/web/web_server.py | 1157 | def update_model(self, mjb_data: bytes) -> None: | CODE |
| LOW | python/mujoco/experimental/studio/sample/implot.py | 77 | def _setup_time_axis(plot_size: imgui.Vec2) -> None: | CODE |
| LOW | python/mujoco/experimental/studio/sample/implot.py | 85 | def _setup_xpos_axis(centroid: list[np.ndarray], plot_size: imgui.Vec2) -> None: | CODE |
| LOW | python/mujoco/experimental/studio/sample/implot.py | 101 | def _setup_angle_axis(plot_size: imgui.Vec2) -> None: | CODE |
| LOW | python/mujoco/sysid/_src/signal_transform.py | 108 | def set_sensor_weights(self, weights: Mapping[str, float]) -> None: | CODE |
| LOW | python/mujoco/sysid/_src/parameter.py | 107 | def update_from_vector(self, vector: np.ndarray) -> None: | CODE |
| LOW | python/mujoco/sysid/_src/parameter.py | 298 | def update_from_vector(self, vector: np.ndarray) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …netimgui/Code/Client/Private/NetImgui_NetworkPosix.cpp | 30 | // NOTE: Removed static_assert(0) as requested changes are implemented below | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | mjx/mujoco/mjx/_src/support.py | 310 | # TODO: consider using MjModel.names_map instead | COMMENT |
| LOW | mjx/mujoco/mjx/_src/collision_sdf.py | 216 | # TODO: implement analytical version. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/engine/engine_support.c | 860 | // don't forget to call mj_set0 after changing masses | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/mujoco/introspect/type_parsing.py | 100 | 'lorem ipsum(dolor sit (consectetur adipiscing) amet)sed do eiusmod', | STRING |
| LOW | python/mujoco/introspect/type_parsing.py | 102 | ['consectetur adipiscing', 'dolor sit amet', 'lorem ipsumsed do eiusmod']. | STRING |