Repository Analysis

google-deepmind/mujoco

Multi-Joint dynamics with Contact. A general purpose physics simulator.

9.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of google-deepmind/mujoco, a C++ project with 14,203 GitHub stars. SynthScan v2.0 examined 333,036 lines of code across 1166 source files, recording 2609 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 9.8 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

9.8
Adjusted Score
9.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
14.2K
Stars
C++
Language
333.0K
Lines of Code
1.2K
Files
2.6K
Pattern Hits
2026-07-14
Scan Date
0.04
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 7HIGH 45MEDIUM 293LOW 2264

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2609 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block1254 hits · 1160 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# Copyright 2021 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Tools/MjHierarchyTool.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Tools/MjVfs.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Tools/AbsoluteValueAttribute.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Tools/MjEngineTool.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Tools/ConvertMj2Rca.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Tools/XmlElementExtensions.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Tools/MjcfGenerationContext.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Tools/MjTransformation.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Importer/MjcfImporter.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Importer/MjXmlModifiers.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/MjGlobalSettings.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/MjScene.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/MjScene.cs121 if (_generationContext != null) {COMMENT
LOWunity/Runtime/Components/MjActuator.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/MjComponent.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/MjGizmos.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/MjInertial.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/MjExclude.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOW…y/Runtime/Components/Sensors/MjBodyQuaternionSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOW…y/Runtime/Components/Sensors/MjSiteQuaternionSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOW…y/Runtime/Components/Sensors/MjActuatorScalarSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Sensors/MjBaseSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Sensors/MjBaseSensor.cs21COMMENT
LOW…y/Runtime/Components/Sensors/MjGeomQuaternionSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Sensors/MjSiteScalarSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Sensors/MjSiteVectorSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Sensors/MjGeomVectorSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Sensors/MjJointScalarSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Sensors/MjBodyVectorSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Sensors/MjUserSensor.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Bodies/MjMocapBody.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Bodies/MjBody.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Bodies/MjBaseBody.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Tendons/MjSpatialTendon.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Tendons/MjFixedTendon.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Tendons/MjBaseTendon.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Joints/MjHingeJoint.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Joints/MjSlideJoint.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Joints/MjBaseJoint.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Joints/MjBallJoint.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Joints/MjFreeJoint.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Joints/MjJointSettings.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjGeom.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjCapsuleShape.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MeshGenerators.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjBoxShape.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjCylinderShape.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjSphereShape.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjHeightFieldShape.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjMeshShape.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjGeomSettings.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/IMjShape.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/IMjShape.cs21// Functionality that needs to be implemented for each shape type.COMMENT
LOWunity/Runtime/Components/Shapes/MjShapeComponent.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjMeshFilter.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjSite.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjPlaneShape.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Shapes/MjEllipsoidShape.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
LOWunity/Runtime/Components/Equality/MjWeld.cs1// Copyright 2019 DeepMind Technologies LimitedCOMMENT
1194 more matches not shown…
Decorative Section Separators259 hits · 796 pts
SeverityFileLineSnippetContext
MEDIUMpython/setup.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/viewer.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/renderer.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/gil_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/renderer_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/specs_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/__init__.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/minimize.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/msh2obj_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/minimize_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/vfs_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/msh2obj.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/rollout.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/rollout_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/bindings_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/viewer_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/render_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/memory_leak_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/gl_context.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/experimental/studio/viewer_protocol.py47# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/viewer_protocol.py49# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/viewer_protocol.py88# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/viewer_protocol.py90# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/viewer_protocol.py240# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/viewer_protocol.py242# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/messages.py25# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/messages.py30# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/messages.py99# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/messages.py101# -----------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/messages.py170# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/experimental/studio/messages.py172# ---------------------------------------------------------------------------COMMENT
MEDIUMpython/mujoco/cgl/cgl.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/cgl/__init__.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/functions.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/enums.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/enums_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/__init__.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/type_parsing_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/ast_nodes_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/structs_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/structs.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/functions_test.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/mjxmacro.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/ast_nodes.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/type_parsing.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/codegen/formatter.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/codegen/generate.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/codegen/generate.py78# ==============================================================================COMMENT
MEDIUMpython/mujoco/introspect/codegen/ast_processor.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/__init__.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/optimize.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/residual.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/plotting.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/io.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/signal_transform.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/__init__.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/trajectory.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/model_modifier.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/parameter.py14# ==============================================================================COMMENT
MEDIUMpython/mujoco/sysid/_src/signal_modifier.py14# ==============================================================================COMMENT
199 more matches not shown…
Hyper-Verbose Identifiers388 hits · 340 pts
SeverityFileLineSnippetContext
LOWtest/benchmark/run_ablation.py138def compiler_cmake_flags_variants():CODE
LOWpython/setup.py63def get_external_lib_patterns():CODE
LOWpython/setup.py117def parse_cmake_args_from_environ(env_var_name=MUJOCO_CMAKE_ARGS):CODE
LOWpython/mujoco/thread_safety_test.py50 def test_concurrent_indexer_access(self):CODE
LOWpython/mujoco/thread_safety_test.py75 def test_concurrent_struct_list_access(self):CODE
LOWpython/mujoco/thread_safety_test.py102 def test_concurrent_callback_set_get(self):CODE
LOWpython/mujoco/thread_safety_test.py128 def test_concurrent_model_data_lifecycle(self):CODE
LOWpython/mujoco/thread_safety_test.py156 def test_callback_setter_from_del(self):CODE
LOWpython/mujoco/thread_safety_test.py182 def test_callback_replacement_from_del(self):CODE
LOWpython/mujoco/renderer_test.py31 def test_renderer_unknown_camera_name(self):CODE
LOWpython/mujoco/renderer_test.py46 def test_renderer_camera_under_range(self):STRING
LOWpython/mujoco/renderer_test.py61 def test_renderer_camera_over_range(self):STRING
LOWpython/mujoco/renderer_test.py76 def test_renderer_renders_scene(self):STRING
LOWpython/mujoco/renderer_test.py101 def test_renderer_output_without_out(self):STRING
LOWpython/mujoco/renderer_test.py133 def test_renderer_output_with_out(self):STRING
LOWpython/mujoco/renderer_test.py163 def test_renderer_del_safe_when_init_fails_early(self):STRING
LOWpython/mujoco/specs_test.py1019 def test_duplicate_name_error(self):CODE
LOWpython/mujoco/specs_test.py2134 def test_make_flex_with_pos_quat(self):CODE
LOWpython/mujoco/specs_test.py1255 def test_compiler_from_element(self):CODE
LOWpython/mujoco/specs_test.py1430 def test_delete_from_attached_spec_error(self):CODE
LOWpython/mujoco/specs_test.py1445 def test_attach_valid_child_lists(self):CODE
LOWpython/mujoco/specs_test.py2056 def test_encode_xml_without_model(self):CODE
LOWpython/mujoco/specs_test.py2069 def test_encode_no_encoder_raises(self):CODE
LOWpython/mujoco/specs_test.py2168 def test_authored_flags_from_xml(self):CODE
LOWpython/mujoco/specs_test.py480 def test_size_kwarg_variable_length(self):STRING
LOWpython/mujoco/specs_test.py585 def test_compile_errors_with_line_info(self):STRING
LOWpython/mujoco/specs_test.py650 def test_uncompiled_spec_can_be_written(self):STRING
LOWpython/mujoco/specs_test.py654 def test_modelname_default_class(self):STRING
LOWpython/mujoco/specs_test.py992 def test_geom_and_mesh_plugin(self):STRING
LOWpython/mujoco/specs_test.py1037 def test_duplicate_name_error_when_adding_specs_with_kwargs(self):STRING
LOWpython/mujoco/specs_test.py1057 def test_delete_unused_plugin(self):STRING
LOWpython/mujoco/specs_test.py1100 def test_access_option_stat_visual(self):STRING
LOWpython/mujoco/specs_test.py1521 def test_incorrect_hfield_size(self):STRING
LOWpython/mujoco/specs_test.py2208 def test_authored_defaults_zero(self):STRING
LOWpython/mujoco/specs_test.py2223 def test_attach_conflict_merge_procedural(self):STRING
LOWpython/mujoco/specs_test.py2250 def test_attach_conflict_error_procedural(self):STRING
LOWpython/mujoco/specs_test.py2273 def test_attach_conflict_merge_xml(self):STRING
LOWpython/mujoco/specs_test.py2311 def test_attach_conflict_error_xml(self):STRING
LOWpython/mujoco/__init__.py243def _load_all_bundled_plugins():CODE
LOWpython/mujoco/msh2obj_test.py57 def test_obj_model_matches_msh_model(self) -> None:STRING
LOWpython/mujoco/minimize_test.py159 def test_jacobian_fd_respects_bounds(self) -> None:CODE
LOWpython/mujoco/minimize_test.py347 def test_x_scale_default_is_no_op(self) -> None:CODE
LOWpython/mujoco/minimize_test.py360 def test_x_scale_reaches_same_minimum(self) -> None:CODE
LOWpython/mujoco/minimize_test.py420 def test_x_scale_jac_convergence(self) -> None:CODE
LOWpython/mujoco/vfs_test.py64 def test_double_close_is_safe(self):STRING
LOWpython/mujoco/vfs_test.py69 def test_operations_after_close_raise(self):STRING
LOWpython/mujoco/vfs_test.py83 def test_add_duplicate_raises(self):STRING
LOWpython/mujoco/vfs_test.py96 def test_delete_missing_raises(self):STRING
LOWpython/mujoco/vfs_test.py108 def test_compile_simple_model(self):STRING
LOWpython/mujoco/vfs_test.py114 def test_compile_model_with_mesh(self):STRING
LOWpython/mujoco/vfs_test.py121 def test_spec_from_string_with_vfs(self):STRING
LOWpython/mujoco/vfs_test.py128 def test_from_xml_string_with_vfs(self):STRING
LOWpython/mujoco/vfs_test.py136 def test_spec_compile_with_vfs(self):STRING
LOWpython/mujoco/vfs_test.py143 def test_spec_recompile_with_vfs(self):STRING
LOWpython/mujoco/vfs_test.py155 def test_long_lived_vfs_without_context(self):STRING
LOWpython/mujoco/vfs_test.py170 def test_vfs_and_assets_raises(self):STRING
LOWpython/mujoco/vfs_test.py178 def test_backward_compat_assets_dict(self):STRING
LOWpython/mujoco/vfs_test.py221 def test_attach_no_asset_dict_needed(self):STRING
LOWpython/mujoco/rollout.py357def _check_number_of_dimensions(ndim, **kwargs):CODE
LOWpython/mujoco/rollout.py365def _check_trailing_dimension(dim, **kwargs):CODE
328 more matches not shown…
Deep Nesting266 hits · 244 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/viewer.py326CODE
LOWpython/mujoco/viewer.py448CODE
LOWpython/mujoco/__init__.py127CODE
LOWpython/mujoco/__init__.py243CODE
LOWpython/mujoco/minimize.py142CODE
LOWpython/mujoco/minimize_test.py99CODE
LOWpython/mujoco/rollout.py382CODE
LOWpython/mujoco/rollout.py396CODE
LOWpython/mujoco/rollout_test.py962CODE
LOWpython/mujoco/experimental/studio/studio_app_events.py31CODE
LOWpython/mujoco/experimental/studio/studio_app_events.py429CODE
LOWpython/mujoco/introspect/structs_test.py47CODE
LOWpython/mujoco/introspect/structs_test.py92CODE
LOWpython/mujoco/introspect/codegen/formatter.py63CODE
LOWpython/mujoco/introspect/codegen/formatter.py129CODE
LOWpython/mujoco/introspect/codegen/ast_processor.py77CODE
LOWpython/mujoco/introspect/codegen/ast_processor.py126CODE
LOWpython/mujoco/introspect/codegen/ast_processor.py186CODE
LOWpython/mujoco/sysid/_src/optimize.py284CODE
LOWpython/mujoco/sysid/_src/residual.py54CODE
LOWpython/mujoco/sysid/_src/plotting.py26CODE
LOWpython/mujoco/sysid/_src/model_modifier.py28CODE
LOWpython/mujoco/sysid/_src/parameter.py397CODE
LOWpython/mujoco/sysid/_src/parameter.py618CODE
LOWpython/mujoco/sysid/_src/parameter.py655CODE
LOWpython/mujoco/sysid/report/builder.py45CODE
LOW…mujoco/sysid/report/sections/parameter_distribution.py110CODE
LOWpython/mujoco/sysid/report/sections/parameters.py64CODE
LOWpython/mujoco/sysid/report/sections/parameters.py105CODE
LOW…hon/mujoco/sysid/report/sections/optimization_trace.py372CODE
LOWpython/mujoco/codegen/generate_cs_bindings.py364CODE
LOWpython/mujoco/codegen/generate_cs_bindings.py496CODE
LOWpython/mujoco/codegen/generate_cs_bindings.py574CODE
LOWpython/mujoco/codegen/generate_cs_bindings.py600CODE
LOWpython/mujoco/codegen/generate_cs_bindings.py638CODE
LOWpython/mujoco/codegen/generate_cs_bindings.py676CODE
LOWpython/mujoco/codegen/generate_spec_bindings.py152CODE
LOWpython/mujoco/codegen/generate_spec_bindings.py201CODE
LOWpython/mujoco/codegen/generate_spec_bindings.py330CODE
LOWpython/mujoco/codegen/generate_spec_bindings.py342CODE
LOWpython/mujoco/codegen/generate_spec_bindings.py355CODE
LOWpython/mujoco/codegen/generate_spec_bindings.py359CODE
LOWpython/mujoco/egl/__init__.py35CODE
LOWpython/mujoco/usd/shapes.py23CODE
LOWpython/mujoco/usd/shapes.py298CODE
LOWpython/mujoco/usd/shapes.py373CODE
LOWwasm/codegen/generators/functions.py117CODE
LOWwasm/codegen/generators/functions.py174CODE
LOWwasm/codegen/generators/functions.py204CODE
LOWwasm/codegen/generators/enums.py21CODE
LOWwasm/codegen/generators/structs.py71CODE
LOWwasm/codegen/generators/structs.py313CODE
LOWwasm/codegen/generators/structs.py361CODE
LOWwasm/codegen/generators/structs.py493CODE
LOWwasm/codegen/generators/structs.py563CODE
LOWwasm/codegen/generators/structs.py761CODE
LOWwasm/codegen/generators/structs.py828CODE
LOWwasm/codegen/generators/common.py47CODE
LOWmjx/mujoco/mjx/_src/constraint.py619CODE
LOWmjx/mujoco/mjx/_src/constraint.py669CODE
206 more matches not shown…
Unused Imports236 hits · 166 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/renderer.py19CODE
LOWpython/mujoco/gil_test.py21CODE
LOWpython/mujoco/specs_test.py23CODE
LOWpython/mujoco/specs_test.py24CODE
LOWpython/mujoco/__init__.py54CODE
LOWpython/mujoco/__init__.py55CODE
LOWpython/mujoco/__init__.py56CODE
LOWpython/mujoco/__init__.py57CODE
LOWpython/mujoco/__init__.py58CODE
LOWpython/mujoco/__init__.py59CODE
LOWpython/mujoco/__init__.py60CODE
LOWpython/mujoco/__init__.py66CODE
LOWpython/mujoco/__init__.py71CODE
LOWpython/mujoco/__init__.py76CODE
LOWpython/mujoco/gl_context.py19CODE
LOWpython/mujoco/cgl/__init__.py17CODE
LOWpython/mujoco/cgl/__init__.py19CODE
LOWpython/mujoco/sysid/__init__.py17CODE
LOWpython/mujoco/sysid/__init__.py18CODE
LOWpython/mujoco/sysid/__init__.py19CODE
LOWpython/mujoco/sysid/__init__.py20CODE
LOWpython/mujoco/sysid/__init__.py21CODE
LOWpython/mujoco/sysid/__init__.py22CODE
LOWpython/mujoco/sysid/__init__.py23CODE
LOWpython/mujoco/sysid/__init__.py24CODE
LOWpython/mujoco/sysid/__init__.py25CODE
LOWpython/mujoco/sysid/__init__.py26CODE
LOWpython/mujoco/sysid/__init__.py27CODE
LOWpython/mujoco/sysid/__init__.py28CODE
LOWpython/mujoco/sysid/__init__.py29CODE
LOWpython/mujoco/sysid/__init__.py30CODE
LOWpython/mujoco/sysid/__init__.py31CODE
LOWpython/mujoco/sysid/__init__.py32CODE
LOWpython/mujoco/sysid/__init__.py33CODE
LOWpython/mujoco/sysid/__init__.py34CODE
LOWpython/mujoco/sysid/__init__.py35CODE
LOWpython/mujoco/sysid/__init__.py36CODE
LOWpython/mujoco/sysid/__init__.py37CODE
LOWpython/mujoco/sysid/__init__.py38CODE
LOWpython/mujoco/sysid/__init__.py39CODE
LOWpython/mujoco/sysid/__init__.py40CODE
LOWpython/mujoco/sysid/__init__.py41CODE
LOWpython/mujoco/sysid/__init__.py42CODE
LOWpython/mujoco/sysid/__init__.py43CODE
LOWpython/mujoco/sysid/__init__.py44CODE
LOWpython/mujoco/sysid/__init__.py45CODE
LOWpython/mujoco/sysid/__init__.py46CODE
LOWpython/mujoco/sysid/__init__.py47CODE
LOWpython/mujoco/sysid/__init__.py48CODE
LOWpython/mujoco/sysid/__init__.py49CODE
LOWpython/mujoco/sysid/__init__.py50CODE
LOWpython/mujoco/sysid/__init__.py51CODE
LOWpython/mujoco/sysid/__init__.py52CODE
LOWpython/mujoco/sysid/__init__.py53CODE
LOWpython/mujoco/sysid/__init__.py54CODE
LOWpython/mujoco/sysid/__init__.py55CODE
LOWpython/mujoco/sysid/__init__.py56CODE
LOWpython/mujoco/sysid/__init__.py57CODE
LOWpython/mujoco/sysid/_src/residual.py18CODE
LOWpython/mujoco/sysid/_src/plotting.py18CODE
176 more matches not shown…
Cross-File Repetition18 hits · 90 pts
SeverityFileLineSnippetContext
HIGHpython/mujoco/introspect/functions.py0provides information about mujoco api structs. do not edit. this file is automatically generated.STRING
HIGHpython/mujoco/introspect/enums.py0provides information about mujoco api structs. do not edit. this file is automatically generated.STRING
HIGHpython/mujoco/introspect/structs.py0provides information about mujoco api structs. do not edit. this file is automatically generated.STRING
HIGHpython/mujoco/introspect/codegen/generate.py0# copyright 2026 deepmind technologies limited # # licensed under the apache license, version 2.0 (the "license"); # youSTRING
HIGHpython/mujoco/codegen/generate_cs_bindings.py0# copyright 2026 deepmind technologies limited # # licensed under the apache license, version 2.0 (the "license"); # youSTRING
HIGHmjx/mujoco/mjx/codegen/file.py0# copyright 2026 deepmind technologies limited # # licensed under the apache license, version 2.0 (the "license"); # youSTRING
HIGHmjx/mujoco/mjx/_src/collision_convex.py0wraps collision functions for use by collision_driver.STRING
HIGHmjx/mujoco/mjx/_src/collision_primitive.py0wraps collision functions for use by collision_driver.STRING
HIGHmjx/mujoco/mjx/_src/collision_sdf.py0wraps collision functions for use by collision_driver.STRING
HIGHmjx/mujoco/mjx/_src/collision_driver_test.py0<mujoco> <worldbody> <body> <joint type="free"/> <geom pos="0 0 0" size="0.2" type="sphere"/> </body> <body > <joint typSTRING
HIGHmjx/mujoco/mjx/codegen/generate_warp_types.py0<mujoco> <worldbody> <body> <joint type="free"/> <geom pos="0 0 0" size="0.2" type="sphere"/> </body> <body > <joint typSTRING
HIGHmjx/mujoco/mjx/warp/collision_driver_test.py0<mujoco> <worldbody> <body> <joint type="free"/> <geom pos="0 0 0" size="0.2" type="sphere"/> </body> <body > <joint typSTRING
HIGHmjx/mujoco/mjx/_src/math.py0returns the closest point on the a-b line segment to a point pt.STRING
HIGH…ird_party/mujoco_warp/_src/collision_primitive_core.py0returns the closest point on the a-b line segment to a point pt.STRING
HIGHmjx/mujoco/mjx/third_party/mujoco_warp/_src/math.py0returns the closest point on the a-b line segment to a point pt.STRING
HIGHmjx/mujoco/mjx/_src/math.py0returns closest point on the line segment and the distance squared.STRING
HIGH…ird_party/mujoco_warp/_src/collision_primitive_core.py0returns closest point on the line segment and the distance squared.STRING
HIGHmjx/mujoco/mjx/third_party/mujoco_warp/_src/math.py0returns closest point on the line segment and the distance squared.STRING
Docstring Block Structure17 hits · 85 pts
SeverityFileLineSnippetContext
HIGHpython/mujoco/rollout.py65Rolls out open-loop trajectories from initial states, get subsequent state and sensor values. Python wrapper for roSTRING
HIGHpython/mujoco/rollout.py276Rolls out open-loop trajectories from initial states, get subsequent states and sensor values. Python wrapper for rolSTRING
HIGHpython/mujoco/rollout.py397Infers dimension `dim` given guess `value` from set of arrays. Args: dim: Dimension to be inferred. value: InSTRING
HIGHpython/mujoco/sysid/_src/timeseries.py692Resample the time series to new timestamps or a specific time interval. This method creates a new TimeSeries objectSTRING
HIGHpython/mujoco/rendering/classic/renderer.py133Renders the scene as a numpy array of pixel values. Args: out: Alternative output array in which to place theSTRING
HIGHwasm/codegen/generators/structs.py764Sorts structs based on their field dependencies using topological sort. Structs with no dependencies on other strucSTRING
HIGHmjx/mujoco/mjx/_src/solver.py375Updates grad and M / grad given latest solver iteration. Corresponds to CGupdateGradient in mujoco/src/engine/engine_STRING
HIGHmjx/mujoco/mjx/_src/io.py545Puts mujoco.MjModel onto a device, resulting in mjx.Model. Args: m: the model to put onto device device: whicSTRING
HIGHmjx/mujoco/mjx/_src/io.py867Allocate and initialize Data. Args: m: the model to use device: which device to use - if unspecified picks thSTRING
HIGHmjx/mujoco/mjx/_src/test_util.py295Creates a random MJCF for testing. Args: seed: seed for rng min_trees: minimum number of kinematic trees to gSTRING
HIGHmjx/mujoco/mjx/_src/scan.py98A vmap that accepts numpy arrays. Numpy arrays are statically vmapped, and the elements are passed to f as static aSTRING
HIGHmjx/mujoco/mjx/_src/scan.py176Scan a function across bodies or actuators. Scan group data according to type and batch shape then calls vmap(f) on iSTRING
HIGHmjx/mujoco/mjx/_src/scan.py345Scan ``f`` across bodies in tree order, carrying results up/down the tree. This function groups bodies according to lSTRING
HIGHmjx/mujoco/mjx/_src/render_util.py39Unpack uint32 ABGR pixel data into float32 RGB. Args: rc: RenderContextPytree. cam_id: Camera index to extracSTRING
HIGHmjx/mujoco/mjx/_src/render_util.py79Extract and normalize depth data for a camera. Args: rc: RenderContextPytree. cam_id: Camera index to extractSTRING
HIGHmjx/mujoco/mjx/_src/render_util.py116Extract segmentation object IDs for a camera. Args: rc: RenderContextPytree. cam_id: Camera index to extract.STRING
HIGHmjx/mujoco/mjx/third_party/mujoco_warp/_src/util_pkg.py48Check if an installed package satisfies a version requirement. Supports operators: >=, <=, >, <, ==, != Version coSTRING
Hallucination Indicators7 hits · 70 pts
SeverityFileLineSnippetContext
CRITICALmjx/mujoco/mjx/third_party/warp/_src/jax/custom_call.py133 wp._src.context.runtime.core.wp_cuda_launch_kernel(CODE
CRITICALmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py468 wp._src.context.runtime.core.wp_cuda_launch_kernel(CODE
CRITICALmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py480 wp._src.context.runtime.core.wp_cpu_launch_kernel(CODE
CRITICALmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py834 if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream):CODE
CRITICALmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py867 if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream):CODE
CRITICALmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py906 if not wp._src.context.runtime.core.wp_cuda_graph_update_memcpy_batch(CODE
CRITICALmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py920 if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream):CODE
Excessive Try-Catch Wrapping44 hits · 64 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/thread_safety_test.py64 except Exception as e: # pylint: disable=broad-exceptCODE
LOWpython/mujoco/thread_safety_test.py90 except Exception as e: # pylint: disable=broad-exceptCODE
LOWpython/mujoco/thread_safety_test.py114 except Exception as e: # pylint: disable=broad-exceptCODE
LOWpython/mujoco/thread_safety_test.py140 except Exception as e: # pylint: disable=broad-exceptCODE
LOWpython/mujoco/thread_safety_test.py171 except Exception: # pylint: disable=broad-exceptCODE
LOWpython/mujoco/thread_safety_test.py194 except Exception: # pylint: disable=broad-exceptCODE
MEDIUMpython/mujoco/thread_safety_test.py57def access_indexers():CODE
MEDIUMpython/mujoco/thread_safety_test.py83def access_contacts():CODE
MEDIUMpython/mujoco/thread_safety_test.py106def toggle_callback():CODE
MEDIUMpython/mujoco/thread_safety_test.py132def create_destroy():CODE
MEDIUMpython/mujoco/thread_safety_test.py191def __del__(self):CODE
LOWpython/mujoco/viewer.py302 except Exception as e: # pylint: disable=broad-exceptCODE
LOWpython/mujoco/experimental/studio/viewer_protocol.py176 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWpython/mujoco/experimental/studio/messages.py233 except Exception: # pylint: disable=broad-exceptCODE
LOWpython/mujoco/experimental/studio/viewer_app.py206 except Exception as ex: # pylint: disable=broad-exceptCODE
MEDIUMpython/mujoco/experimental/studio/viewer_app.py207 print(f'Error loading model from {drop_file!r}: {ex}')CODE
LOWpython/mujoco/experimental/studio/studio_app.py60 except Exception as ex: # pylint: disable=broad-exceptCODE
MEDIUMpython/mujoco/experimental/studio/studio_app.py61 print(f'Error loading model from {model_path!r}: {ex}')CODE
LOWpython/mujoco/experimental/studio/viewer_handle.py64 except Exception: # pylint: disable=broad-exception-caughtCODE
MEDIUMpython/mujoco/experimental/studio/sample/implot.py219 print(f'Error loading model from {argv[1]!r}')CODE
LOWpython/mujoco/experimental/studio/sample/render.py48 except Exception as ex: # pylint: disable=broad-exceptCODE
MEDIUMpython/mujoco/experimental/studio/sample/render.py49 print(f'Error loading model from `{_MODEL.value}`: {ex}')CODE
LOWpython/mujoco/experimental/studio/sample/render.py61 except Exception as ex: # pylint: disable=broad-exceptCODE
MEDIUMpython/mujoco/experimental/studio/sample/render.py62 print(f'Error rendering model: {ex}')CODE
LOWpython/mujoco/experimental/studio/sample/render.py68 except Exception as ex: # pylint: disable=broad-exceptCODE
MEDIUMpython/mujoco/experimental/studio/sample/render.py69 print(f'Error saving image to `{_OUTPUT.value}`: {ex}')CODE
LOWpython/mujoco/experimental/studio/sample/ghost.py165 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWpython/mujoco/cgl/__init__.py70 except Exception: # pylint: disable=broad-exception-caughtCODE
LOWpython/mujoco/codegen/generate_cs_bindings.py426 except Exception: # pylint: disable=broad-exceptCODE
MEDIUMwasm/codegen/tests/coverage_test.py50 print(f'Error reading resource {file_path}: {e}')CODE
MEDIUMwasm/codegen/generators/common.py34 print(f"Error writing to output file: {filepath} - {e}")CODE
MEDIUMmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py359def ffi_callback(self, call_frame, platform="CUDA"):CODE
MEDIUMmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py752def ffi_callback(self, call_frame, platform="CUDA"):CODE
MEDIUMmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py1740def ffi_callback(call_frame, platform="CUDA"):CODE
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py346 except Exception:CODE
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py487 except Exception as e:CODE
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py742 except Exception:CODE
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py1099 except Exception as e:CODE
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py1398 except Exception as e:CODE
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py1776 except Exception as e:CODE
LOWmjx/mujoco/mjx/warp/visualize_render.py131 except Exception:CODE
LOWmjx/mujoco/mjx/warp/testspeed.py279 except Exception as _:CODE
LOWdoc/make_mujoco_stubs.py99 except Exception:CODE
MEDIUMdoc/mjwarp/update_types.py68 print(f'Error: Could not find {filepath}', file=sys.stderr)CODE
Cross-Language Confusion10 hits · 45 pts
SeverityFileLineSnippetContext
HIGHpython/mujoco/codegen/generate_spec_bindings.py256 self.{fullvarname}->reserve(rhs_view.length());CODE
HIGHwasm/codegen/tests/generators_test.py373 return (ptr_ && ptr_->string_field) ? *(ptr_->string_field) : "";STRING
HIGHwasm/codegen/tests/generators_test.py376 if (ptr_ && ptr_->string_field) {STRING
HIGHwasm/codegen/tests/generators_test.py265 if (owned_ && ptr_) {STRING
HIGHwasm/codegen/generators/structs.py203 f'return (ptr_ && ptr_->{f.name}) ? *(ptr_->{f.name}) : "";'CODE
HIGHwasm/codegen/generators/structs.py206 with builder.block(f"if (ptr_ && ptr_->{f.name})"):CODE
HIGHwasm/codegen/generators/structs.py437 if (id < 0 || id >= ptr_->nfield) { \\CODE
HIGHwasm/codegen/generators/structs.py462 if (id < 0 || id >= model->nfield) { \\CODE
HIGHwasm/codegen/generators/structs.py520 with builder.block("if (owned_ && ptr_)"):CODE
HIGHmjx/mujoco/mjx/third_party/mujoco_warp/_src/island.py996 "nvmax overflow: world %d needs %d active DOFs but nvmax = %d (behavior undefined)\n",CODE
Verbosity Indicators20 hits · 40 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/specs_test.py1948 # Step 2: Set dataspec to just mjRAYDATA_DISTCOMMENT
LOWpython/mujoco/specs_test.py1958 # Step 3: Add all raydata fields and check no-hit valuesCOMMENT
LOWpython/mujoco/specs_test.py1928 # Step 1: Create a rangefinder sensor attached to a site, no dataspec set.COMMENT
LOWpython/mujoco/specs_test.py1981 # Step 4: Add a floor plane, now the ray should hitCOMMENT
LOWpython/mujoco/specs_test.py2001 # Step 5: Add a camera-based rangefinder sensorCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3538 # Step 2: SortCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3546 # Step 3: RangeCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3561 # Step 4: Prefix sum for load balancingCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3568 # Step 5: SAP sweep - output pairs only (no narrowphase)COMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3509 # Step 1: Project element AABBs onto directionCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3629 # Step 6: Narrowphase on actual pairs onlyCOMMENT
LOWmjx/mujoco/mjx/third_party/mujoco_warp/_src/island.py287 # Step 1: Find tree edgesCOMMENT
LOWmjx/mujoco/mjx/third_party/mujoco_warp/_src/island.py291 # Step 2: DFS flood fillCOMMENT
LOWdoc/_static/onthispage_mjwarp.js12 // Step 1: Find all attribute definitions and collect their IDs.COMMENT
LOWdoc/_static/onthispage_mjwarp.js29 // Step 2: Find the sidebar container.COMMENT
LOWdoc/_static/onthispage_mjwarp.js36 // Step 3: Get all links within that sidebar.COMMENT
LOWdoc/_static/onthispage_mjwarp.js42 // Step 4: Iterate through the links and hide the ones that match.COMMENT
LOWsrc/experimental/studio/live.js88 // Step 1: fetch the root XML so mju_getXMLDependencies (which reads itCOMMENT
LOWsrc/experimental/studio/live.js96 // Step 2: ask MuJoCo for the transitive dependency list. The call isCOMMENT
LOWsrc/experimental/studio/live.js105 // Step 3: fetch every dependency in parallel, deduped against URLsCOMMENT
Structural Annotation Overuse20 hits · 40 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/specs_test.py1948 # Step 2: Set dataspec to just mjRAYDATA_DISTCOMMENT
LOWpython/mujoco/specs_test.py1958 # Step 3: Add all raydata fields and check no-hit valuesCOMMENT
LOWpython/mujoco/specs_test.py1928 # Step 1: Create a rangefinder sensor attached to a site, no dataspec set.COMMENT
LOWpython/mujoco/specs_test.py1981 # Step 4: Add a floor plane, now the ray should hitCOMMENT
LOWpython/mujoco/specs_test.py2001 # Step 5: Add a camera-based rangefinder sensorCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3538 # Step 2: SortCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3546 # Step 3: RangeCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3561 # Step 4: Prefix sum for load balancingCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3568 # Step 5: SAP sweep - output pairs only (no narrowphase)COMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3509 # Step 1: Project element AABBs onto directionCOMMENT
LOW…oco/mjx/third_party/mujoco_warp/_src/collision_flex.py3629 # Step 6: Narrowphase on actual pairs onlyCOMMENT
LOWmjx/mujoco/mjx/third_party/mujoco_warp/_src/island.py287 # Step 1: Find tree edgesCOMMENT
LOWmjx/mujoco/mjx/third_party/mujoco_warp/_src/island.py291 # Step 2: DFS flood fillCOMMENT
LOWdoc/_static/onthispage_mjwarp.js12 // Step 1: Find all attribute definitions and collect their IDs.COMMENT
LOWdoc/_static/onthispage_mjwarp.js29 // Step 2: Find the sidebar container.COMMENT
LOWdoc/_static/onthispage_mjwarp.js36 // Step 3: Get all links within that sidebar.COMMENT
LOWdoc/_static/onthispage_mjwarp.js42 // Step 4: Iterate through the links and hide the ones that match.COMMENT
LOWsrc/experimental/studio/live.js88 // Step 1: fetch the root XML so mju_getXMLDependencies (which reads itCOMMENT
LOWsrc/experimental/studio/live.js96 // Step 2: ask MuJoCo for the transitive dependency list. The call isCOMMENT
LOWsrc/experimental/studio/live.js105 // Step 3: fetch every dependency in parallel, deduped against URLsCOMMENT
Self-Referential Comments13 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMpython/mujoco/specs_test.py2126 # Create a spec with minimal flexcomp args (defaults).COMMENT
MEDIUMpython/mujoco/specs_test.py2135 # Create a spec with flexcomp that has a pose.COMMENT
MEDIUMpython/mujoco/specs_test.py2039 # Create a simple spec and compile.COMMENT
MEDIUMpython/mujoco/specs_test.py2057 # Create a simple spec and compile so XML can be written.COMMENT
MEDIUMpython/mujoco/specs_test.py2070 # Create a simple spec and compile.COMMENT
MEDIUMpython/mujoco/specs_test.py2083 # Create a spec with a flexcomp grid.COMMENT
MEDIUMpython/mujoco/specs_test.py70 # Create a spec.STRING
MEDIUMpython/mujoco/specs_test.py175 # Create a spec.STRING
MEDIUMpython/mujoco/specs_test.py614 # Create a spec.STRING
MEDIUMpython/mujoco/experimental/studio/native_viewer.py76 # Create the renderer.COMMENT
MEDIUMmjx/mujoco/mjx/_src/io.py830 # Create the raw MuJoCo dataCOMMENT
MEDIUMmjx/mujoco/mjx/_src/types.py39 # This method is called only when lookup by value failsCOMMENT
MEDIUMmjx/mujoco/mjx/third_party/warp/_src/jax/custom_call.py176 # Create the batched primitive.COMMENT
AI Structural Patterns26 hits · 25 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/minimize.py142CODE
LOWpython/mujoco/rollout.py261CODE
LOWpython/mujoco/rollout.py50CODE
LOWpython/mujoco/experimental/studio/native_viewer.py35CODE
LOWpython/mujoco/experimental/studio/viewer_protocol.py111CODE
LOWpython/mujoco/sysid/_src/residual.py389CODE
LOWpython/mujoco/sysid/_src/model_modifier.py474CODE
LOWpython/mujoco/sysid/report/sections/video.py43CODE
LOWpython/mujoco/sysid/report/sections/video.py162CODE
LOWpython/mujoco/usd/exporter.py39CODE
LOWmjx/mujoco/mjx/_src/support.py125CODE
LOWmjx/mujoco/mjx/_src/support.py1027CODE
LOWmjx/mujoco/mjx/_src/support.py1100CODE
LOWmjx/mujoco/mjx/_src/io.py804CODE
LOWmjx/mujoco/mjx/_src/io.py856CODE
LOWmjx/mujoco/mjx/_src/io.py1203CODE
LOWmjx/mujoco/mjx/_src/test_util.py279CODE
LOWmjx/mujoco/mjx/third_party/mujoco_warp/_src/io.py1488CODE
LOWmjx/mujoco/mjx/third_party/mujoco_warp/_src/io.py1693CODE
LOWmjx/mujoco/mjx/third_party/mujoco_warp/_src/io.py3696CODE
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/custom_call.py380CODE
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py1215CODE
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py1589CODE
LOWmjx/mujoco/mjx/warp/render_test.py130CODE
LOWmjx/mujoco/mjx/warp/render_test.py231CODE
LOWmjx/mujoco/mjx/warp/ffi.py99CODE
Redundant / Tautological Comments14 hits · 22 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/viewer.py195 # Check if image is already the correct shapeCOMMENT
LOWpython/mujoco/specs_test.py1009 # Assign plugin to geomCOMMENT
LOWpython/mujoco/specs_test.py1014 # Assign plugin to meshCOMMENT
LOWpython/mujoco/sysid/_src/optimize.py224 # Check if there are any parameters to optimize.COMMENT
LOWpython/mujoco/sysid/_src/plotting.py74 # Check if we should capture this frame based on framerateCOMMENT
LOWpython/mujoco/sysid/report/builder.py58 # Check if this is a GroupSection (has 'sections' attribute)COMMENT
LOWpython/mujoco/sysid/report/sections/parameters.py111 # Check if on boundaryCOMMENT
LOW…ird_party/mujoco_warp/_src/collision_primitive_core.py948 # Check if contact normal is validCOMMENT
LOWmjx/mujoco/mjx/third_party/mujoco_warp/_src/bvh.py489 # Check if current cell is planarCOMMENT
LOWmjx/mujoco/mjx/third_party/mujoco_warp/_src/bvh.py529 # Check if it lies on the SAME plane as start cellCOMMENT
LOW…jx/third_party/mujoco_warp/_src/collision_primitive.py265 # Check if the index is unique (appears exactly once)COMMENT
LOW…mujoco/mjx/third_party/mujoco_warp/_src/render_util.py90 # Check if we have intrinsics (sensorsize[1] != 0)COMMENT
LOWmjx/mujoco/mjx/third_party/warp/_src/jax/ffi.py1509 # Check if annotation is a warp array type (annotation is an instance of wp.array)COMMENT
LOW.github/workflows/build_steps.sh423# Set options to print the commands being run, and cause the script to exit withCOMMENT
AI Slop Vocabulary6 hits · 15 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/rollout.py109 # just call rollout and returnCOMMENT
LOWwasm/codegen/tests/generators_test.py615 # for integer just return the numberCOMMENT
MEDIUM…/mujoco/mjx/third_party/mujoco_warp/_src/derivative.py1191 # TODO(team): directly utilize M for these settingsCOMMENT
MEDIUMsrc/experimental/studio/live.js125 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMsrc/render/classic/render_context.c1651 // enable seamless cube maps if supportedCOMMENT
MEDIUMsrc/engine/engine_util_spatial.c284 // robust method to extract the rotational part of deformations." InCOMMENT
Modern Structural Boilerplate6 hits · 6 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/experimental/studio/sample/implot.py74def _setup_time_axis(plot_size: imgui.Vec2) -> None:CODE
LOWpython/mujoco/experimental/studio/sample/implot.py82def _setup_xpos_axis(centroid: list[np.ndarray], plot_size: imgui.Vec2) -> None:CODE
LOWpython/mujoco/experimental/studio/sample/implot.py98def _setup_angle_axis(plot_size: imgui.Vec2) -> None:CODE
LOWpython/mujoco/sysid/_src/signal_transform.py108 def set_sensor_weights(self, weights: Mapping[str, float]) -> None:CODE
LOWpython/mujoco/sysid/_src/parameter.py107 def update_from_vector(self, vector: np.ndarray) -> None:CODE
LOWpython/mujoco/sysid/_src/parameter.py298 def update_from_vector(self, vector: np.ndarray) -> None:CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWmjx/mujoco/mjx/_src/support.py308 # TODO: consider using MjModel.names_map insteadCOMMENT
LOWmjx/mujoco/mjx/_src/collision_sdf.py216 # TODO: implement analytical version.COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/engine/engine_support.c802 // don't forget to call mj_set0 after changing massesCOMMENT
Fake / Example Data2 hits · 1 pts
SeverityFileLineSnippetContext
LOWpython/mujoco/introspect/type_parsing.py100 'lorem ipsum(dolor sit (consectetur adipiscing) amet)sed do eiusmod',STRING
LOWpython/mujoco/introspect/type_parsing.py102 ['consectetur adipiscing', 'dolor sit amet', 'lorem ipsumsed do eiusmod'].STRING