Repository Analysis

princeton-vl/infinigen

Infinite Photorealistic Worlds using Procedural Generation

9.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of princeton-vl/infinigen, a Python project with 7,097 GitHub stars. SynthScan v2.0 examined 369,082 lines of code across 1242 source files, recording 2950 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 9.1 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.1
Adjusted Score
9.1
Raw Score
100%
Time Factor
2026-07-09
Last Push
7.1K
Stars
Python
Language
369.1K
Lines of Code
1.2K
Files
3.0K
Pattern Hits
2026-07-14
Scan Date
0.03
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

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

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 31HIGH 11MEDIUM 68LOW 2840

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 2950 distinct pattern matches across 21 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.

Hyper-Verbose Identifiers783 hits · 806 pts
SeverityFileLineSnippetContext
LOWtests/infinigen2/test_determinism.py65def test_no_nondeterministic_sources():CODE
LOWtests/infinigen2/test_determinism.py87def _scene_geometry_signature() -> list[tuple]:CODE
LOWtests/infinigen2/test_determinism.py145def test_generator_determinism(pathspec, kind):CODE
LOWtests/infinigen2/test_docs_image_layout.py6def test_conf_emits_assets_images_layout() -> None:CODE
LOWtests/infinigen2/test_generators.py181def test_generators_mesh_object(pathspec, rng):CODE
LOWtests/infinigen2/test_generators.py200def test_generators_naming_validate(name: str) -> None:CODE
LOWtests/infinigen2/util/test_external_assets.py13def test_resolve_asset_paths_with_glob(tmp_path: Path):CODE
LOWtests/infinigen2/util/test_external_assets.py25def test_sample_asset_path_is_deterministic():CODE
LOWtests/infinigen2/util/test_instance.py12def test_instance_parent_child_instancing_data(rng: pf.RNG):CODE
LOWtests/infinigen2/util/test_collision_collection.py22def test_collision_add_and_query():CODE
LOWtests/infinigen2/util/test_collision_collection.py45def test_collision_cube_and_sphere():CODE
LOWtests/infinigen2/util/test_collision_collection.py58def test_collision_list_update_changes_queries():CODE
LOWtests/infinigen2/util/test_collision_collection.py80def test_collision_reuses_aliased_mesh_collider():CODE
LOWtests/infinigen2/util/test_collision_collection.py100def test_collision_skips_non_mesh_objects_and_raycast_hits():CODE
LOWtests/infinigen2/util/test_collision_collection.py119def test_any_self_collision_empty_and_single():CODE
LOWtests/infinigen2/util/test_collision_collection.py128def test_any_self_collision_non_overlapping():CODE
LOWtests/infinigen2/util/test_collision_collection.py137def test_any_self_collision_overlapping():CODE
LOWtests/infinigen2/util/test_collision_collection.py146def test_any_self_collision_updates_after_move():CODE
LOWtests/infinigen2/util/test_collision_collection.py160def test_any_self_collision_clears_after_move():CODE
LOWtests/infinigen2/util/test_collision_collection.py177def test_collision_detects_after_object_moves_into_range():CODE
LOWtests/infinigen2/util/test_collision_collection.py194def test_collision_clears_after_object_moves_away():CODE
LOWtests/infinigen2/util/test_collision_collection.py211def test_collision_box_intersection_detects_after_move():CODE
LOWtests/infinigen2/util/test_collision_collection.py225def test_collision_box_intersection_clears_after_move():CODE
LOWtests/infinigen2/util/test_collision_collection.py238def test_collision_moving_one_of_multiple_objects():CODE
LOWtests/infinigen2/util/test_collision_collection.py261def test_collision_object_moves_back_and_forth():CODE
LOWtests/infinigen2/util/test_collision_collection.py282def test_collision_raycast_detects_after_move():CODE
LOWtests/infinigen2/util/test_collision_collection.py299def test_collision_cube_passes_through(tmp_path, save_blend=True):CODE
LOWtests/infinigen2/util/test_collision_collection.py347def test_collision_detects_after_object_rotates():CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py62def simple_test_cube_render_lighting_splits(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py127def test_emission_pass_matches_rgb(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py191def test_cube_render_lighting_splits_extended(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py240def configure_environment_scene():CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py264def test_emission_scene_all_lighting_passes(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py341def test_environment_pass_matches_rgb(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py408def create_transmission_material(color=(1, 1, 1, 1)):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py430def test_lighting_passes_diffuse_material(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py485def test_lighting_passes_glossy_material(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py540def test_lighting_passes_transmission_material(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py595def test_lighting_passes_volume_direct(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py637def test_lighting_passes_diffuse_color_albedo_invariance(CODE
LOWtests/infinigen2/exporters/test_lighting_passes.py737def test_lighting_passes_ambient_occlusion_suzanne_vs_cube(CODE
LOWtests/infinigen2/exporters/test_exporters.py112def test_cube_render_ground_truth_zoomed_in(tmp_path, method, save_blend=True):CODE
LOWtests/infinigen2/exporters/test_exporters.py284def test_cube_render_ground_truth_surface_normals(CODE
LOWtests/infinigen2/exporters/test_exporters.py366def test_cube_render_surface_normals_multiframe(tmp_path, method):CODE
LOWtests/infinigen2/exporters/test_exporters.py453def test_cube_render_optical_flow(tmp_path, method, save_blend=True, plot=False):CODE
LOWtests/infinigen2/exporters/test_exporters.py552def test_cube_render_optical_flow_horizontal(tmp_path, method, save_blend=True):CODE
LOWtests/infinigen2/exporters/test_exporters.py623def test_cube_render_optical_flow_object_moving(CODE
LOWtests/infinigen2/exporters/test_indices.py19def _configure_two_cubes_scene():CODE
LOWtests/infinigen2/exporters/test_indices.py79def test_object_and_material_indices(tmp_path, method, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_trajectory.py19def test_export_imu_tum_and_camera(tmp_path, save_blend=False):CODE
LOWtests/infinigen2/exporters/test_render_error_check.py37def test_count_material_nodes_includes_group_contents():CODE
LOWtests/infinigen2/exporters/test_render_error_check.py42def test_count_material_nodes_under_threshold():CODE
LOWtests/infinigen2/exporters/test_render_error_check.py47def test_count_material_nodes_over_threshold():CODE
LOWtests/infinigen2/exporters/test_render_error_check.py158def test_uv_map_displacement_flagged():CODE
LOWtests/infinigen2/exporters/test_render_error_check.py163def test_texcoord_displacement_safe():CODE
LOWtests/infinigen2/exporters/test_render_error_check.py168def test_gate_raises_on_named_attribute():CODE
LOWtests/infinigen2/exporters/test_render_error_check.py174def test_attribute_node_displacement_flagged():CODE
LOWtests/infinigen2/exporters/test_render_error_check.py181def test_gate_passes_on_safe_coords():CODE
LOWtests/infinigen2/exporters/test_render_error_check.py186def test_uv_map_nested_in_group_displacement_flagged():CODE
LOWtests/infinigen2/exporters/test_render_error_check.py239def test_texcoord_uv_with_valid_layer_no_issue():CODE
723 more matches not shown…
Modern Structural Boilerplate741 hits · 748 pts
SeverityFileLineSnippetContext
LOWtests/infinigen/sim/conftest.py23logger = logging.getLogger(__name__)CODE
LOWtests/infinigen/sim/test_sim_export.py28logger = logging.getLogger(__name__)CODE
LOWtests/infinigen/sim/test_blender_assets.py31logger = logging.getLogger(__name__)CODE
LOWexamples/render_floatingobj_stereo.py36logger = logging.getLogger(__name__)CODE
LOWexamples/render_clay_pan_video.py39logger = logging.getLogger(__name__)CODE
LOWscripts/visualize_renders_as_videos.py24logger = logging.getLogger(__name__)CODE
LOWscripts/transpile_v1_to_v2.py20logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/graph_json.py19logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/generate.py63logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/__init__.py33__all__ = [CODE
LOWsrc/infinigen2/scenes/collision_collection.py18__all__ = [CODE
LOWsrc/infinigen2/scenes/collision_collection.py28logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/placement_utils.py15__all__ = [CODE
LOWsrc/infinigen2/scenes/placement_utils.py47logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/asset_demo.py18__all__ = [CODE
LOWsrc/infinigen2/scenes/asset_demo.py35logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/floating_objects.py33__all__ = [CODE
LOWsrc/infinigen2/scenes/floating_objects.py42logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room_furniture.py29__all__ = [CODE
LOWsrc/infinigen2/scenes/room/room_furniture.py45logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room_surface_features.py35__all__ = [CODE
LOWsrc/infinigen2/scenes/room/room_surface_features.py64logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room_small_objects.py28__all__ = [CODE
LOWsrc/infinigen2/scenes/room/room_small_objects.py34logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room.py29__all__ = [CODE
LOWsrc/infinigen2/scenes/room/room.py34logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room_shape.py19__all__ = [CODE
LOWsrc/infinigen2/util/mesh.py12__all__ = [CODE
LOWsrc/infinigen2/util/curve.py11__all__ = [CODE
LOWsrc/infinigen2/util/external_assets.py19__all__ = [CODE
LOWsrc/infinigen2/util/external_assets.py26logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/util/scene_cleanup.py14logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/util/math.py9__all__ = [CODE
LOWsrc/infinigen2/util/camera_projection.py17logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/util/codestats/__init__.py17__all__ = [CODE
LOWsrc/infinigen2/util/codestats/setup.py38logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/visualize_gt.py23__all__ = [CODE
LOWsrc/infinigen2/exporters/visualize_gt.py37logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/render_error_check.py21__all__ = [CODE
LOWsrc/infinigen2/exporters/realize_mesh.py12__all__ = [CODE
LOWsrc/infinigen2/exporters/realize_mesh.py17logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/render_cycles_clay.py17logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/render_cycles.py46__all__ = [CODE
LOWsrc/infinigen2/exporters/render_cycles.py56logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/render_workbench.py25__all__ = [CODE
LOWsrc/infinigen2/exporters/render_workbench.py30logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/camera_pose.py17__all__ = [CODE
LOWsrc/infinigen2/exporters/imu.py15__all__ = [CODE
LOWsrc/infinigen2/exporters/imu.py21logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/render_eevee.py38__all__ = [CODE
LOWsrc/infinigen2/exporters/render_eevee.py45logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/util/export_utils.py16__all__ = [CODE
LOWsrc/infinigen2/exporters/util/blender_render.py24__all__ = [CODE
LOWsrc/infinigen2/exporters/util/blender_render.py36logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/util/flow_vis.py19__all__ = [CODE
LOWsrc/infinigen2/exporters/util/eevee_aov.py14__all__ = [CODE
LOWsrc/infinigen2/exporters/util/eevee_aov.py19logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/util/format.py12__all__ = [CODE
LOWsrc/infinigen2/objects/desk.py18__all__ = [CODE
LOWsrc/infinigen2/objects/drawers.py17__all__ = [CODE
681 more matches not shown…
Unused Imports649 hits · 608 pts
SeverityFileLineSnippetContext
LOWsrc/infinigen2/__init__.py8CODE
LOWsrc/infinigen2/__init__.py14CODE
LOWsrc/infinigen2/scenes/collision_collection.py6CODE
LOWsrc/infinigen2/scenes/room/__init__.py6CODE
LOWsrc/infinigen2/scenes/room/__init__.py6CODE
LOWsrc/infinigen2/scenes/room/__init__.py10CODE
LOWsrc/infinigen2/util/external_assets.py6CODE
LOWsrc/infinigen2/util/codestats/__init__.py6CODE
LOWsrc/infinigen2/util/codestats/__init__.py6CODE
LOWsrc/infinigen2/util/codestats/__init__.py6CODE
LOWsrc/infinigen2/util/codestats/__init__.py11CODE
LOWsrc/infinigen2/util/codestats/__init__.py11CODE
LOWsrc/infinigen2/util/codestats/__init__.py11CODE
LOWsrc/infinigen2/util/codestats/setup.py21CODE
LOWsrc/infinigen2/util/codestats/compute.py15CODE
LOWsrc/infinigen2/exporters/__init__.py1CODE
LOWsrc/infinigen2/exporters/__init__.py1CODE
LOWsrc/infinigen2/exporters/__init__.py1CODE
LOWsrc/infinigen2/exporters/__init__.py2CODE
LOWsrc/infinigen2/exporters/__init__.py3CODE
LOWsrc/infinigen2/cameras/__init__.py1CODE
LOWsrc/infinigen2/cameras/__init__.py2CODE
LOWsrc/infinigen2/cameras/__init__.py2CODE
LOWsrc/infinigen2/cameras/__init__.py2CODE
LOWsrc/infinigen2/cameras/__init__.py2CODE
LOWsrc/infinigen2/cameras/__init__.py2CODE
LOWsrc/infinigen2/cameras/__init__.py9CODE
LOWsrc/infinigen2/cameras/__init__.py10CODE
LOWsrc/infinigen2/cameras/__init__.py10CODE
LOWsrc/infinigen2/cameras/__init__.py11CODE
LOWsrc/infinigen2/cameras/__init__.py11CODE
LOWsrc/infinigen2/cameras/__init__.py15CODE
LOWsrc/infinigen2/cameras/__init__.py15CODE
LOWsrc/infinigen_examples/generate_indoors.py62CODE
LOWsrc/infinigen_examples/generate_nature.py63CODE
LOWsrc/infinigen_examples/generate_nature.py80CODE
LOWsrc/infinigen/__init__.py6CODE
LOWsrc/infinigen/tools/blendscript_import_infinigen.py23CODE
LOWsrc/infinigen/tools/blendscript_import_infinigen.py34CODE
LOWsrc/infinigen/tools/blendscript_import_infinigen.py35CODE
LOWsrc/infinigen/core/tags.py7CODE
LOWsrc/infinigen/core/constraints/evaluator/__init__.py1CODE
LOWsrc/infinigen/core/constraints/evaluator/__init__.py1CODE
LOWsrc/infinigen/core/constraints/evaluator/__init__.py1CODE
LOWsrc/infinigen/core/constraints/evaluator/__init__.py2CODE
LOWsrc/infinigen/core/constraints/evaluator/__init__.py2CODE
LOWsrc/infinigen/core/constraints/evaluator/__init__.py2CODE
LOWsrc/infinigen/core/constraints/evaluator/__init__.py2CODE
LOW…re/constraints/evaluator/node_impl/trimesh_geometry.py9CODE
LOW…nigen/core/constraints/evaluator/node_impl/__init__.py1CODE
LOW…nigen/core/constraints/evaluator/node_impl/__init__.py2CODE
LOWsrc/infinigen/core/constraints/reasoning/domain.py7CODE
LOW…inigen/core/constraints/reasoning/constraint_domain.py7CODE
LOWsrc/infinigen/core/constraints/reasoning/__init__.py1CODE
LOWsrc/infinigen/core/constraints/reasoning/__init__.py1CODE
LOWsrc/infinigen/core/constraints/reasoning/__init__.py2CODE
LOWsrc/infinigen/core/constraints/reasoning/__init__.py3CODE
LOWsrc/infinigen/core/constraints/reasoning/__init__.py3CODE
LOWsrc/infinigen/core/constraints/reasoning/__init__.py3CODE
LOWsrc/infinigen/core/constraints/reasoning/__init__.py4CODE
589 more matches not shown…
Hallucination Indicators31 hits · 330 pts
SeverityFileLineSnippetContext
CRITICALtests/infinigen2/exporters/test_lighting_passes.py41 bg = bpy.context.scene.world.node_tree.nodes.get("Background")CODE
CRITICALtests/infinigen2/exporters/test_lighting_passes.py245 bg = bpy.context.scene.world.node_tree.nodes.get("Background")CODE
CRITICALsrc/infinigen2/exporters/render_cycles_clay.py70 bpy.context.scene.collection.objects.link(light_obj)CODE
CRITICALsrc/infinigen/tools/export.py304 vertColor = bpy.context.object.data.color_attributes.new(CODE
CRITICALsrc/infinigen/tools/convert_displacement.py63 vertColor = bpy.context.object.data.color_attributes.new(CODE
CRITICALsrc/infinigen/core/util/blender.py332 bpy.context.scene.collection.children.link(col)CODE
CRITICALsrc/infinigen/core/util/blender.py401 bpy.context.scene.collection.objects.link(empty)CODE
CRITICALsrc/infinigen/core/util/blender.py414 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/core/sim/scripts/artist_asset_preview.py217 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/terrain/assets/caves/core.py131 bpy.context.scene.collection.children.link(bpy.data.collections[name])CODE
CRITICALsrc/infinigen/assets/objects/particles/lichen.py106 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/objects/cloud/cloud.py492 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/objects/cloud/cloud.py501 bpy.context.scene.collection.objects.link(self.obj)CODE
CRITICALsrc/infinigen/assets/objects/cloud/cloud.py504 bpy.context.scene.collection.objects.unlink(self.obj)CODE
CRITICALsrc/infinigen/assets/objects/cloud/cloud.py627 bpy.context.scene.collection.children.link(clouds_collection)CODE
CRITICALsrc/infinigen/assets/objects/rocks/pile.py44 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/objects/rocks/pile.py72 bpy.context.scene.collection.objects.link(p_)CODE
CRITICALsrc/infinigen/assets/objects/creatures/util/rigging.py358 bpy.context.scene.collection.objects.link(arma)CODE
CRITICAL…n/assets/objects/creatures/util/animation/run_cycle.py30 bpy.context.scene.collection.objects.link(obj)CODE
CRITICAL…n/assets/objects/creatures/util/animation/run_cycle.py52 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/objects/creatures/parts/hoof.py86 bpy.context.scene.collection.objects.link(ob)CODE
CRITICALsrc/infinigen/assets/utils/object.py88 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/utils/object.py95 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/utils/decorate.py188 obj.data.uv_layers.active.data.foreach_get("uv", arr)CODE
CRITICALsrc/infinigen/assets/utils/decorate.py193 obj.data.uv_layers.active.data.foreach_set("uv", arr.reshape(-1))CODE
CRITICALsrc/infinigen/assets/utils/geometry/nurbs.py136 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/utils/geometry/nurbs.py221 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/utils/geometry/nurbs.py276 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/utils/geometry/curve.py75 bpy.context.scene.collection.objects.link(obj)CODE
CRITICALsrc/infinigen/assets/utils/geometry/metaballs.py33 bpy.context.view_layer.active_layer_collection.collection.objects.link(CODE
CRITICALsrc/infinigen/assets/utils/geometry/metaballs.py113 bpy.context.scene.collection.objects.link(obj)CODE
Deep Nesting238 hits · 238 pts
SeverityFileLineSnippetContext
LOWtests/infinigen2/test_determinism.py65CODE
LOWtests/infinigen/solver/test_greedy_partition.py244CODE
LOWtests/infinigen/solver/test_greedy_stages.py56CODE
LOWtests/infinigen/sim/test_sim_export.py63CODE
LOWscripts/visualize_renders_as_videos.py271CODE
LOWscripts/visualize_renders_as_videos.py373CODE
LOWscripts/view_trace_graph.py87CODE
LOWscripts/view_trace_graph.py107CODE
LOWscripts/view_trace_graph.py142CODE
LOWscripts/wandb_watch_run.py262CODE
LOWscripts/integration_v1/manual_integration_check.py121CODE
LOWscripts/integration_v1/manual_integration_check.py450CODE
LOWscripts/integration_v1/manual_integration_check.py539CODE
LOWscripts/integration_v2/launch_andromeda.py57CODE
LOWscripts/integration_v2/display.py128CODE
LOWscripts/integration_v2/collection.py107CODE
LOWscripts/integration_v2/compare.py32CODE
LOWscripts/integration_v2/compare.py48CODE
LOWscripts/integration_v2/compare.py90CODE
LOWsrc/infinigen2/graph_json.py22CODE
LOWsrc/infinigen2/graph_json.py83CODE
LOWsrc/infinigen2/generate.py651CODE
LOWsrc/infinigen2/scenes/room/room_furniture.py571CODE
LOWsrc/infinigen2/util/hardware_info.py13CODE
LOWsrc/infinigen2/exporters/render_error_check.py96CODE
LOWsrc/infinigen2/exporters/imu.py110CODE
LOWsrc/infinigen2/exporters/imu.py253CODE
LOWsrc/infinigen2/exporters/util/eevee_aov.py39CODE
LOWsrc/infinigen2/exporters/util/eevee_aov.py73CODE
LOWsrc/infinigen2/cameras/rrt.py237CODE
LOWsrc/infinigen_examples/generate_asset_parameters.py70CODE
LOWsrc/infinigen_examples/generate_asset_parameters.py149CODE
LOWsrc/infinigen_examples/generate_asset_parameters.py264CODE
LOWsrc/infinigen_examples/generate_asset_parameters.py307CODE
LOWsrc/infinigen_examples/generate_asset_demo.py96CODE
LOWsrc/infinigen_examples/generate_indoors.py140CODE
LOWsrc/infinigen_examples/generate_material_balls.py74CODE
LOWsrc/infinigen_examples/generate_material_balls.py183CODE
LOWsrc/infinigen_examples/generate_nature.py832CODE
LOWsrc/infinigen_examples/generate_nature.py959CODE
LOWsrc/infinigen_examples/util/generate_indoors_util.py121CODE
LOWsrc/infinigen/tools/export.py511CODE
LOWsrc/infinigen/tools/process_mvs_data.py163CODE
LOWsrc/infinigen/tools/dataset_loader.py157CODE
LOWsrc/infinigen/tools/datarelease_toolkit.py361CODE
LOWsrc/infinigen/tools/results/summarize.py79CODE
LOWsrc/infinigen/tools/terrain/generate_terrain_assets.py21CODE
LOWsrc/infinigen/tools/sim/generate_html.py175CODE
LOWsrc/infinigen/tools/sim/build_html.py14CODE
LOWsrc/infinigen/tools/sim/vis_mujoco.py228CODE
LOWsrc/infinigen/core/execute_tasks.py64CODE
LOWsrc/infinigen/core/execute_tasks.py180CODE
LOWsrc/infinigen/core/tagging.py49CODE
LOWsrc/infinigen/core/surface.py177CODE
LOWsrc/infinigen/core/surface.py235CODE
LOWsrc/infinigen/core/surface.py396CODE
LOW…nfinigen/core/constraints/evaluator/node_impl/rooms.py158CODE
LOW…re/constraints/evaluator/node_impl/trimesh_geometry.py142CODE
LOW…re/constraints/evaluator/node_impl/trimesh_geometry.py198CODE
LOW…re/constraints/evaluator/node_impl/trimesh_geometry.py323CODE
178 more matches not shown…
Over-Commented Block202 hits · 178 pts
SeverityFileLineSnippetContext
LOWtests/infinigen/solver/test_constraint_evaluator.py261 print("nonaccessibility scores", scores)COMMENT
LOWtests/infinigen/solver/test_constraint_evaluator.py281# tagging.tag_canonical_surfaces(s)COMMENT
LOWtests/infinigen/solver/test_greedy_stages.py41 # if any(isinstance(r, cl.AnyRelation) for r, _ in v.relations):COMMENT
LOWtests/infinigen/assets/list_scatters.txt1# infinigen.assets.scatters.coral_reef # too slow for unit testsCOMMENT
LOWtests/infinigen/assets/list_nature_meshes.txt1# infinigen.assets.objects.cactus.KalidiumCactusFactory # slow, fails 120sec timeoutCOMMENT
LOWexamples/stereo_video_sbatch.sh1#!/bin/bashCOMMENT
LOWsrc/infinigen2/exporters/util/flow_vis.py1# MIT LicenseCOMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py421 )COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py441# ):COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py461# w = 0.0COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py481# stretch=stretch,COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py501# stretch: t.SocketOrVal[float | None] = None,COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py521# v_offset = pf.random.uniform(rng, -0.15, 0.15)COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py541# if stretch is None:COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py561# vector=vector,COMMENT
LOWsrc/infinigen/tools/results/visualize_traj.py1# Code from https://github.com/aharley/pips2COMMENT
LOWsrc/infinigen/tools/sim/vis_mujoco.py501if __name__ == "__main__":COMMENT
LOW…/core/constraints/example_solver/geometry/stability.py341 """COMMENT
LOW…/core/constraints/example_solver/geometry/stability.py361# fig, ax = plt.subplots()COMMENT
LOW…n/core/constraints/example_solver/geometry/validity.py41 a_poly = project_to_xy_poly(a_mesh)COMMENT
LOWsrc/infinigen/core/util/paths.py1# Copyright (c) 2022 Stanford Vision and Learning Lab and UT Robot Perception and Learning LabCOMMENT
LOWsrc/infinigen/core/util/camera.py61 K = Matrix(((alpha_u, skew, u_0), (0, alpha_v, v_0), (0, 0, 1)))COMMENT
LOWsrc/infinigen/core/util/camera.py81 R_bcam2cv = Matrix(((1, 0, 0), (0, -1, 0), (0, 0, -1)))COMMENT
LOW…rain/source/cpu/meshing/frontview_spherical_mesher.cpp1// Copyright (C) 2023, Princeton University.COMMENT
LOWsrc/infinigen/terrain/source/cpu/meshing/utils.cpp1// Copyright (C) 2023, Princeton University.COMMENT
LOW…finigen/terrain/source/cpu/meshing/visibility_test.cpp1// Copyright (C) 2023, Princeton University.COMMENT
LOWsrc/infinigen/terrain/source/cpu/elements/header.h1// Copyright (C) 2023, Princeton University.COMMENT
LOWsrc/infinigen/terrain/source/cpu/elements/header.h21#include "../../common/elements/ground.h"COMMENT
LOWsrc/infinigen/terrain/source/cpu/soil_machine/io.h221 layers.back().frequency = stof(val);COMMENT
LOW…c/infinigen/terrain/source/cpu/soil_machine/layermap.h461// vertexpool.indices.clear();COMMENT
LOW…c/infinigen/terrain/source/cpu/soil_machine/layermap.h481// }}COMMENT
LOW…c/infinigen/terrain/source/cpu/soil_machine/layermap.h501// );COMMENT
LOW…c/infinigen/terrain/source/cpu/soil_machine/layermap.h521// top->typeCOMMENT
LOW…c/infinigen/terrain/source/cpu/soil_machine/layermap.h541// top->typeCOMMENT
LOW…c/infinigen/terrain/source/cpu/soil_machine/layermap.h561// */COMMENT
LOW…c/infinigen/terrain/source/cpu/soil_machine/layermap.h581// top = top->prev;COMMENT
LOW…c/infinigen/terrain/source/cpu/soil_machine/layermap.h601// vertexpool.fill(section, p.x*dim.y+p.y,COMMENT
LOW…c/infinigen/terrain/source/cpu/soil_machine/layermap.h621// soils[top->type].color,COMMENT
LOW…errain/source/cpu/soil_machine/include/FastNoiseLite.h1// MIT LicenseCOMMENT
LOW…errain/source/cpu/soil_machine/include/FastNoiseLite.h21// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THECOMMENT
LOW…errain/source/cpu/soil_machine/include/FastNoiseLite.h41// ;,'.......',:codxkOO0OOkxdlc:;,,;;:cldxxkkxxdolc:;;,,''.....'',;;:::;;,,,'''''........,;cldkO0KK0Okdoc::;;::cloodddooCOMMENT
LOW…errain/source/cpu/soil_machine/include/FastNoiseLite.h141 /// Sets seed used for all noise typesCOMMENT
LOW…errain/source/cpu/soil_machine/include/FastNoiseLite.h181COMMENT
LOW…errain/source/cpu/soil_machine/include/FastNoiseLite.h201 }COMMENT
LOW…errain/source/cpu/soil_machine/include/FastNoiseLite.h221 }COMMENT
LOW…errain/source/cpu/soil_machine/include/FastNoiseLite.h241 /// <summary>COMMENT
LOW…errain/source/cpu/soil_machine/include/FastNoiseLite.h281 /// Sets the maximum warp distance from original position when using DomainWarp(...)COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h21// using namespace glm;COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h41 // float color[4];COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h81 Drawing Command Struct (Extended)COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h101// uint group; //Group AssignmentCOMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h121// size_t K = 0; //Number of Vertices per BucketCOMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h141// Vertexpool(int k, int n):Vertexpool(){COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h161// Raw Vertex Memory Pool ManagementCOMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h181// glBindBuffer(GL_ARRAY_BUFFER, vbo);COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h201COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h221// const int base = (free.back()-start);COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h241// (start+k)->~T();COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h261// T* place = get(ind, k);COMMENT
LOW…n/terrain/source/cpu/soil_machine/include/vertexpool.h281// M = 0; //Frontside ApproachCOMMENT
142 more matches not shown…
AI Structural Patterns145 hits · 142 pts
SeverityFileLineSnippetContext
LOWsrc/infinigen2/scenes/room/room_surface_features.py510CODE
LOWsrc/infinigen2/util/camera_projection.py186CODE
LOWsrc/infinigen2/exporters/render_cycles_clay.py79CODE
LOWsrc/infinigen2/exporters/render_cycles.py272CODE
LOWsrc/infinigen2/exporters/render_cycles.py465CODE
LOWsrc/infinigen2/exporters/render_cycles.py540CODE
LOWsrc/infinigen2/exporters/render_workbench.py41CODE
LOWsrc/infinigen2/exporters/imu.py440CODE
LOWsrc/infinigen2/objects/window.py214CODE
LOWsrc/infinigen2/objects/window.py676CODE
LOWsrc/infinigen2/objects/bookcase.py167CODE
LOWsrc/infinigen2/objects/bookcase.py330CODE
LOWsrc/infinigen2/objects/ceiling_light.py144CODE
LOWsrc/infinigen2/objects/vase.py331CODE
LOWsrc/infinigen2/objects/lamp.py400CODE
LOWsrc/infinigen2/objects/cabinet.py850CODE
LOWsrc/infinigen2/objects/triangle_shelf.py712CODE
LOWsrc/infinigen2/objects/sofa.py625CODE
LOWsrc/infinigen2/objects/flower.py537CODE
LOWsrc/infinigen2/cameras/monocular.py109CODE
LOWsrc/infinigen2/cameras/monocular.py176CODE
LOWsrc/infinigen2/cameras/stereo.py92CODE
LOWsrc/infinigen2/cameras/rrt.py429CODE
LOWsrc/infinigen2/cameras/random_walk.py51CODE
LOWsrc/infinigen2/shaders/base_materials/terrazzo.py31CODE
LOWsrc/infinigen2/shaders/base_materials/terrazzo.py248CODE
LOWsrc/infinigen2/shaders/base_materials/terrazzo.py485CODE
LOWsrc/infinigen2/shaders/base_materials/terrazzo.py711CODE
LOWsrc/infinigen2/shaders/base_materials/fabric.py37CODE
LOWsrc/infinigen2/shaders/base_materials/concrete.py109CODE
LOWsrc/infinigen2/shaders/base_materials/concrete.py263CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py34CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py143CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py257CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py580CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py830CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py1099CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py1296CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py1603CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py1814CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py2007CODE
LOWsrc/infinigen2/shaders/base_materials/paint.py24CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py649CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py686CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py1021CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py1055CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py1193CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py1229CODE
LOWsrc/infinigen2/shaders/base_materials/brick_concrete.py21CODE
LOWsrc/infinigen2/shaders/base_materials/granite.py46CODE
LOWsrc/infinigen2/shaders/base_materials/granite.py240CODE
LOWsrc/infinigen2/shaders/base_materials/granite.py395CODE
LOWsrc/infinigen2/shaders/base_materials/granite.py514CODE
LOWsrc/infinigen2/shaders/base_materials/metal_brushed.py26CODE
LOWsrc/infinigen2/shaders/util/coord.py57CODE
LOWsrc/infinigen2/shaders/util/mix.py38CODE
LOWsrc/infinigen2/shaders/util/mix.py18CODE
LOWsrc/infinigen2/shaders/util/mix.py62CODE
LOWsrc/infinigen2/shaders/util/mix.py42CODE
LOWsrc/infinigen2/shaders/util/mix.py120CODE
85 more matches not shown…
Dead Code37 hits · 74 pts
SeverityFileLineSnippetContext
MEDIUMtests/infinigen2/test_generators.py136CODE
MEDIUMtests/infinigen2/test_generators.py137CODE
MEDIUMtests/infinigen2/test_generators.py139CODE
MEDIUMtests/infinigen2/test_generators.py145CODE
MEDIUMscripts/transpile_v1_to_v2.py52CODE
MEDIUM…infinigen/core/constraints/example_solver/state_def.py174CODE
MEDIUM…infinigen/core/constraints/example_solver/state_def.py180CODE
MEDIUM…infinigen/core/constraints/example_solver/state_def.py183CODE
MEDIUM…en/core/constraints/example_solver/propose_discrete.py332CODE
MEDIUM…en/core/constraints/example_solver/propose_discrete.py334CODE
MEDIUM…en/core/constraints/example_solver/propose_discrete.py338CODE
MEDIUM…en/core/constraints/example_solver/propose_discrete.py339CODE
MEDIUM…en/core/constraints/example_solver/propose_discrete.py340CODE
MEDIUM…en/core/constraints/example_solver/propose_discrete.py341CODE
MEDIUM…en/core/constraints/example_solver/propose_discrete.py343CODE
MEDIUM…n/core/constraints/example_solver/propose_continous.py130CODE
MEDIUM…n/core/constraints/example_solver/propose_continous.py131CODE
MEDIUM…n/core/constraints/example_solver/propose_continous.py132CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py575CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py576CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py578CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py585CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py589CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py590CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py592CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py599CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py682CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py683CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py685CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py692CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py696CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py697CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py699CODE
MEDIUM…nigen/assets/objects/creatures/parts/reptile_detail.py706CODE
MEDIUMsrc/infinigen/datagen/monitor_tasks.py133CODE
MEDIUMsrc/infinigen/datagen/monitor_tasks.py134CODE
MEDIUMsrc/infinigen/datagen/monitor_tasks.py135CODE
Excessive Try-Catch Wrapping55 hits · 65 pts
SeverityFileLineSnippetContext
LOWtests/infinigen/sim/test_sim_export.py128 except Exception as e:CODE
LOWdocs/source/conf.py102 except Exception:CODE
LOWdocs/source/conf.py124 except Exception:CODE
LOWdocs/source/conf.py486 except Exception:CODE
LOWdocs/source/conf.py1083 except Exception:CODE
LOWscripts/wandb_watch_run.py316 except Exception as e:CODE
LOWscripts/integration_v1/manual_integration_check.py705 except Exception as e:CODE
LOWscripts/integration_v1/manual_integration_check.py711 except Exception as e:CODE
LOWscripts/integration_v1/manual_integration_check.py720 except Exception as e:CODE
LOWscripts/integration_v1/manual_integration_check.py726 except Exception as e:CODE
LOWscripts/integration_v1/manual_integration_check.py732 except Exception as e:CODE
LOWscripts/integration_v1/manual_integration_check.py737 except Exception as e:CODE
LOWscripts/integration_v2/launch_andromeda.py153 except Exception:CODE
LOWscripts/integration_v2/run_and_index.py72 except Exception:CODE
LOWscripts/integration_v2/run_and_index.py97 except Exception:CODE
LOWscripts/integration_v2/display.py240 except Exception:CODE
LOWscripts/integration_v2/compare.py42 except Exception:CODE
LOWscripts/integration_v2/compare.py59 except Exception:CODE
LOWsrc/infinigen2/generate.py282 except Exception as e:CODE
LOWsrc/infinigen2/exporters/render_cycles.py241 except Exception as e:CODE
LOWsrc/infinigen2/exporters/imu.py383 except Exception as e:CODE
LOWsrc/infinigen_examples/generate_asset_parameters.py98 except Exception as e:CODE
LOWsrc/infinigen_examples/generate_asset_parameters.py357 except Exception as e:CODE
LOWsrc/infinigen_examples/generate_material_balls.py237 except Exception as e:CODE
MEDIUMsrc/infinigen_examples/generate_material_balls.py74def build_scene_surface(factory_name, idx):CODE
LOWsrc/infinigen_examples/generate_individual_assets.py82 except Exception:CODE
LOWsrc/infinigen_examples/generate_individual_assets.py169 except Exception as e:CODE
MEDIUMsrc/infinigen_examples/generate_individual_assets.py79def unified_asset_import(name):CODE
LOWsrc/infinigen/tools/datarelease_toolkit.py446 except Exception as e:CODE
LOWsrc/infinigen/tools/sim/generate_html.py59 except Exception as e:CODE
LOWsrc/infinigen/tools/sim/generate_html.py107 except Exception as e:CODE
LOWsrc/infinigen/tools/sim/generate_html.py201 except Exception:CODE
MEDIUMsrc/infinigen/tools/sim/generate_html.py44def render_mjcf(file):CODE
MEDIUMsrc/infinigen/tools/sim/build_html.py26 print(f"Error: Path not found: {base_path}")CODE
LOWsrc/infinigen/tools/sim/vis_mujoco.py94 except Exception as e:CODE
LOWsrc/infinigen/tools/sim/visualizer.py123 except Exception as e:CODE
MEDIUMsrc/infinigen/tools/sim/visualizer.py124 print(f"Error rendering asset {args.asset_name} with seed {seed}: {e}")CODE
LOWsrc/infinigen/core/init.py220 except Exception as e:CODE
LOWsrc/infinigen/core/init.py328 except Exception as e:CODE
LOW…inigen/core/constraints/example_solver/room/segment.py67 except Exception:CODE
LOWsrc/infinigen/core/util/imu.py357 except Exception as e:CODE
LOWsrc/infinigen/core/rendering/render.py280 except Exception as e:CODE
LOWsrc/infinigen/core/rendering/render.py300 except Exception as e:CODE
LOWsrc/infinigen/core/sim/utils.py267 except Exception:CODE
LOWsrc/infinigen/core/sim/utils.py275 except Exception:CODE
LOWsrc/infinigen/core/sim/utils.py295 except Exception:CODE
LOWsrc/infinigen/core/sim/utils.py339 except Exception:CODE
LOWsrc/infinigen/core/sim/utils.py361 except Exception:CODE
LOWsrc/infinigen/core/placement/path_finding.py171 except Exception:CODE
LOWsrc/infinigen/assets/sim_objects/soap_dispenser.py1602 except Exception:CODE
LOWsrc/infinigen/assets/objects/trees/utils/helper.py22 except Exception: # TODO narrowCODE
LOWsrc/infinigen/assets/utils/shapes.py54 except Exception: # TODO narrow thisCODE
LOWsrc/infinigen/assets/utils/shapes.py59 except Exception: # TODO narrow thisCODE
LOWsrc/infinigen/datagen/manage_jobs.py96 except Exception as e:CODE
LOWsrc/infinigen/datagen/states.py50 except Exception as e:CODE
Self-Referential Comments18 hits · 49 pts
SeverityFileLineSnippetContext
MEDIUMtests/infinigen2/exporters/test_lighting_passes.py28 # Create a pure emission red materialCOMMENT
MEDIUMtests/infinigen/solver/test_constraint_evaluator.py429 # Create a complex object that may result in a multipolygon projectionCOMMENT
MEDIUMsrc/infinigen/tools/perceptual/create_pairs.py34 # Create a new image with the combined width plus the strip width and the max heightCOMMENT
MEDIUMsrc/infinigen/tools/perceptual/create_pairs.py94 # Create a new image with the max width and the combined heightCOMMENT
MEDIUMsrc/infinigen/tools/perceptual/create_pairs.py176 # Creating a unique filename for the merged imageCOMMENT
MEDIUMsrc/infinigen/core/surface.py443 if ng is None: # Create a unique node_group for the first one onlyCODE
MEDIUM…re/constraints/evaluator/node_impl/trimesh_geometry.py459 # Create a grid over the bounding boxCOMMENT
MEDIUM…/core/constraints/example_solver/geometry/stability.py303 # Create a bmesh from the object meshCOMMENT
MEDIUM…inigen/core/constraints/example_solver/geometry/dof.py36 # Create a matrix that restricts movement along the normal directionCOMMENT
MEDIUMsrc/infinigen/core/placement/camera.py263 # Define the radius of the circleCOMMENT
MEDIUMsrc/infinigen/assets/sim_objects/pepper_grinder.py1514 # Create the modifier and then randomize the FloatCurve mapping per instanceCOMMENT
MEDIUM…/infinigen/assets/objects/trees/utils/geometrynodes.py991 # Create a sphereSTRING
MEDIUMsrc/infinigen/assets/objects/small_plants/fern.py928 # Define the Pinna Contour of each VersionCOMMENT
MEDIUMsrc/infinigen/assets/objects/small_plants/fern.py935 # Define the Num Leaf of each VersionCOMMENT
MEDIUMsrc/infinigen/assets/objects/small_plants/fern.py1063 # Define the Pinna Contour of each VersionCOMMENT
MEDIUMsrc/infinigen/assets/objects/small_plants/fern.py1070 # Define the Num Leaf of each VersionCOMMENT
MEDIUM…/infinigen/assets/objects/elements/doors/dev_script.py10# Create a blender file at module_parent_path/worldgen/dev_scene.blendSTRING
MEDIUMsrc/infinigen/assets/objects/creatures/util/creature.py290 # Create a joining part if necessaryCOMMENT
Cross-Language Confusion7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHscripts/view_trace_graph.py659 if (e.target.dataset.cat || ln === 'nodeSize' || ln === 'edgeWidth') applyVisuals();CODE
HIGHscripts/view_trace_graph.py678 html += '<div class="field-value">' + JSON.stringify(val, null, 2) + '</div></div>';CODE
HIGHscripts/view_trace_graph.py721 if (n.data('chosen_idx') !== undefined) {CODE
HIGHscripts/view_trace_graph.py748 if (gc !== undefined) {CODE
HIGHscripts/view_trace_graph.py757 queue.push(src.id());CODE
HIGHscripts/view_trace_graph.py775 if (gc === undefined) return;CODE
HIGHscripts/view_trace_graph.py785 var parentGc = null;CODE
Redundant / Tautological Comments16 hits · 24 pts
SeverityFileLineSnippetContext
LOWsrc/infinigen2/exporters/util/eevee_aov.py53 # Check if AOV already existsCOMMENT
LOWsrc/infinigen2/exporters/util/eevee_aov.py154 # Check if already existsCOMMENT
LOWsrc/infinigen2/exporters/util/eevee_aov.py191 # Check if already existsCOMMENT
LOWsrc/infinigen/tools/sim/vis_mujoco.py463 # Set visibility to highlight this joint's parent/childCOMMENT
LOWsrc/infinigen/core/constraints/evaluator/indoor_util.py189 # Check if all vertices lie on the plane defined by the reference vertex and the global normalCOMMENT
LOWsrc/infinigen/core/constraints/evaluator/indoor_util.py204 # # Check if the objects are planarCOMMENT
LOW…re/constraints/evaluator/node_impl/trimesh_geometry.py376 # Check if point is reachedCOMMENT
LOW…re/constraints/evaluator/node_impl/trimesh_geometry.py381 # Check if any intersection is close to the pointCOMMENT
LOW…gen/core/constraints/example_solver/geometry/planes.py49 # Check if mesh has been modified or planes have not been computed before for this object and face_maskCOMMENT
LOW…gen/core/constraints/example_solver/geometry/planes.py289 # Check if the mesh has been modified since last calculation or if the face mask has changedCOMMENT
LOW…inigen/core/constraints/example_solver/geometry/dof.py165 # Check if rotation axis is the same as the reference normal (with some tolerance)COMMENT
LOW…inigen/core/constraints/example_solver/geometry/dof.py240 # Check if the solution is validCOMMENT
LOW…infinigen/core/constraints/constraint_language/util.py228 # Check if all vertices lie on the plane defined by the reference vertex and the global normalCOMMENT
LOW…infinigen/core/constraints/constraint_language/util.py243 # # Check if the objects are planarCOMMENT
LOWsrc/infinigen/terrain/mesher/_marching_cubes_lewiner.py200 # Check if a mask array is passedCOMMENT
LOWsrc/infinigen/assets/static_assets/base.py72 # Check if these objects form a tree structureCOMMENT
Decorative Section Separators5 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMsrc/infinigen/core/util/camera.py15# ---------------------------------------------------------------COMMENT
MEDIUMsrc/infinigen/core/util/camera.py17# ---------------------------------------------------------------COMMENT
MEDIUMsrc/infinigen/core/util/camera.py120# ----------------------------------------------------------COMMENT
MEDIUMsrc/infinigen/assets/objects/trees/utils/helper.py209# ==============================================================================COMMENT
MEDIUMsrc/infinigen/assets/objects/trees/utils/helper.py211# ==============================================================================COMMENT
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHscripts/integration_v1/manual_integration_check.py0convert a timedelta object td to a string in hh:mm:ss format.STRING
HIGHscripts/integration_v1/compare.py0convert a timedelta object td to a string in hh:mm:ss format.STRING
HIGHsrc/infinigen/tools/indoor_profile.py0convert a timedelta object td to a string in hh:mm:ss format.STRING
Verbosity Indicators5 hits · 11 pts
SeverityFileLineSnippetContext
LOWtests/infinigen/sim/test_sim_export.py114 # Step 1: Verify namesCOMMENT
LOWtests/infinigen/sim/test_sim_export.py121 # Step 2: Verify compilation (this should fail for cases like Mj.minValue)COMMENT
LOWsrc/infinigen/core/sim/scripts/artist_asset_preview.py356 # Step 1: Check if their bounding volumes overlapCOMMENT
LOWsrc/infinigen/core/sim/scripts/artist_asset_preview.py361 # Step 2: Check if at least one vertex of obj1 is inside obj2COMMENT
LOWsrc/infinigen/core/sim/scripts/artist_asset_preview.py367 # Step 3: Check if at least one vertex of obj2 is inside obj1COMMENT
Structural Annotation Overuse5 hits · 11 pts
SeverityFileLineSnippetContext
LOWtests/infinigen/sim/test_sim_export.py114 # Step 1: Verify namesCOMMENT
LOWtests/infinigen/sim/test_sim_export.py121 # Step 2: Verify compilation (this should fail for cases like Mj.minValue)COMMENT
LOWsrc/infinigen/core/sim/scripts/artist_asset_preview.py356 # Step 1: Check if their bounding volumes overlapCOMMENT
LOWsrc/infinigen/core/sim/scripts/artist_asset_preview.py361 # Step 2: Check if at least one vertex of obj1 is inside obj2COMMENT
LOWsrc/infinigen/core/sim/scripts/artist_asset_preview.py367 # Step 3: Check if at least one vertex of obj2 is inside obj1COMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…finigen/terrain/mesher/_marching_cubes_lewiner_luts.py4# therefore to make seamless stiched meshCOMMENT
MEDIUMsrc/infinigen/terrain/mesher/_marching_cubes_lewiner.py4# therefore to make seamless stiched meshCOMMENT
MEDIUM…inigen/assets/objects/creatures/util/animation/idle.py72 # TODO: Restructure to make detecting this more robustCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHdocs/source/ImplementingAssets.md145- `assets/flower.py` uses mostly auto-generated code from transpiling a hand-designed geometry node-graph.CODE
Fake / Example Data4 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/infinigen/assets/objects/cloud/generate.py110 return butil.spawn_empty("placeholder", disp_type="CUBE", s=self.max_scale)CODE
LOWsrc/infinigen/assets/objects/rocks/pile.py55 empty = butil.spawn_empty("placeholder", disp_type="CUBE", s=8)CODE
LOWsrc/infinigen/assets/objects/rocks/pile.py58 empty_ = butil.spawn_empty("placeholder", disp_type="CUBE", s=8)CODE
LOWsrc/infinigen/assets/objects/rocks/glowing_rocks.py71 placeholder = butil.spawn_empty("placeholder", disp_type="SPHERE", s=0.1)CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWsrc/infinigen/tools/perceptual/create_submission.py41 # Example usageCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/infinigen/datagen/manage_jobs.py405def run_task(queue_func, scene_folder, scene_dict, taskname, dryrun=False):CODE