Repository Analysis

princeton-vl/infinigen

Infinite Photorealistic Worlds using Procedural Generation

9.5 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,233 GitHub stars. SynthScan v2.0 examined 381,397 lines of code across 1300 source files, recording 3223 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 9.5 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.5
Adjusted Score
9.5
Raw Score
100%
Time Factor
2026-08-27
Last Push
7.2K
Stars
Python
Language
381.4K
Lines of Code
1.3K
Files
3.2K
Pattern Hits
2026-08-29
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

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

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 3223 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 Identifiers968 hits · 992 pts
SeverityFileLineSnippetContext
LOWtests/infinigen2/test_determinism.py80def test_no_nondeterministic_sources():CODE
LOWtests/infinigen2/test_determinism.py99def _scene_geometry_signature() -> list[tuple]:CODE
LOWtests/infinigen2/test_determinism.py157def test_generator_determinism(pathspec, kind):CODE
LOWtests/infinigen2/test_integration_launcher.py10def test_launcher_marks_each_render_slot(monkeypatch, tmp_path):CODE
LOWtests/infinigen2/test_integration_pixel.py38def test_pixel_diff_skips_videos(tmp_path):CODE
LOWtests/infinigen2/test_integration_pixel.py47def test_pixel_diff_flags_changed_still(tmp_path):CODE
LOWtests/infinigen2/test_integration_pixel.py54def test_camera_render_uses_cli_script_under_coverage(tmp_path, monkeypatch):CODE
LOWtests/infinigen2/test_docs_image_layout.py43def test_docs_images_point_at_directories_launch_sh_renders() -> None:CODE
LOWtests/infinigen2/test_docs_image_layout.py58def test_preset_images_point_at_directory_launch_sh_renders() -> None:CODE
LOWtests/infinigen2/test_docs_image_layout.py65def test_still_and_trajectory_media_names() -> None:CODE
LOWtests/infinigen2/test_docs_image_layout.py73def test_published_urls_are_versioned_webp() -> None:CODE
LOWtests/infinigen2/test_rigidbody_point_tracks.py59def test_point_tracks_reappear_after_occlusion():CODE
LOWtests/infinigen2/test_rigidbody_point_tracks.py70def test_user_seed_points_replace_the_grid():CODE
LOWtests/infinigen2/test_rigidbody_point_tracks.py80def test_scale_animation_rejected_as_nonrigid():CODE
LOWtests/infinigen2/test_rigidbody_point_tracks.py88def test_deforming_vertices_rejected_as_nonrigid():CODE
LOWtests/infinigen2/test_rigidbody_point_tracks.py96def test_save_point_tracks_from_exports(tmp_path):CODE
LOWtests/infinigen2/test_rigidbody_point_tracks.py123def test_save_point_tracks_requires_the_gt_exports(tmp_path):CODE
LOWtests/infinigen2/test_rigidbody_point_tracks.py137def test_point_track_tails_are_opt_in(tmp_path):CODE
LOWtests/infinigen2/test_rigidbody_point_tracks.py154def test_point_track_tails_default_to_two_frames():CODE
LOWtests/infinigen2/test_rigidbody_point_tracks.py158def test_dynamic_objects_get_double_seed_density():CODE
LOWtests/infinigen2/test_integration_perf.py69def test_perf_gate_flags_subdiv_tris_regression(tmp_path):CODE
LOWtests/infinigen2/test_integration_perf.py80def test_perf_gate_flags_base_tris_regression_alone(tmp_path):CODE
LOWtests/infinigen2/test_integration_perf.py88def test_perf_gate_no_regression_when_within_threshold(tmp_path):CODE
LOWtests/infinigen2/test_integration_perf.py96def test_perf_gate_ignores_single_noisy_sample(tmp_path):CODE
LOWtests/infinigen2/test_integration_perf.py105def test_display_marks_after_worse_and_better(tmp_path):CODE
LOWtests/infinigen2/test_integration_perf.py129def test_legacy_tris_events_still_gate_and_display(tmp_path):CODE
LOWtests/infinigen2/test_generators.py184def test_generators_mesh_object(pathspec, rng):CODE
LOWtests/infinigen2/test_generators.py203def test_generators_naming_validate(name: str) -> None:CODE
LOWtests/infinigen2/test_flying_indoor_cvdpack_config.py10def test_per_camera_types_pack_to_distinct_paths() -> None:CODE
LOWtests/infinigen2/test_flying_indoor_cvdpack_config.py17def test_metadata_packs_at_scene_root_like_released_datasets() -> None:CODE
LOWtests/infinigen2/test_polycount.py61def test_estimate_matches_evaluated_mesh(CODE
LOWtests/infinigen2/test_polycount.py80def test_stacked_subsurf_levels_sum() -> None:CODE
LOWtests/infinigen2/test_polycount.py90def test_render_levels_not_viewport_levels() -> None:CODE
LOWtests/infinigen2/test_polycount.py100def test_non_mesh_objects_ignored() -> None:CODE
LOWtests/infinigen2/test_flying_indoor_seed.py13def test_stereo_seed_accepts_decimal_and_hex() -> None:CODE
LOWtests/infinigen2/test_integration_sections.py83def test_normals_form_a_row_mirroring_every_seed(tmp_path):CODE
LOWtests/infinigen2/test_integration_sections.py109def test_normals_section_carries_no_metrics(tmp_path):CODE
LOWtests/infinigen2/test_integration_sections.py162def test_special_variants_keep_their_normals_under_exports(tmp_path):CODE
LOWtests/infinigen2/test_integration_sections.py179def test_default_cycles_normals_land_in_normals_row(tmp_path):CODE
LOWtests/infinigen2/test_integration_sections.py189def test_section_controls_cover_present_sections_only(tmp_path):CODE
LOWtests/infinigen2/test_integration_sections.py201def test_section_controls_include_not_rendered_rows(tmp_path):CODE
LOWtests/infinigen2/test_integration_sections.py245def test_trajectory_video_does_not_crash_mse(tmp_path):CODE
LOWtests/infinigen2/test_integration_sections.py257def test_pairwise_mse_skips_video():CODE
LOWtests/infinigen2/test_integration_sections.py292def test_row_sort_defaults_to_mse():CODE
LOWtests/infinigen2/test_integration_sections.py305def test_type_row_sort_orders_by_type_then_new():CODE
LOWtests/infinigen2/test_integration_sections.py348def test_viewer_type_sort_is_opt_in(tmp_path):CODE
LOWtests/infinigen2/test_integration_sections.py364def test_freeze_forwards_type_sort(tmp_path):CODE
LOWtests/infinigen2/test_integration_validate_run.py13def test_validation_accepts_successful_render_with_coverage():CODE
LOWtests/infinigen2/test_integration_validate_run.py26def test_validation_rejects_missing_output_and_coverage():CODE
LOWtests/infinigen2/test_integration_validate_run.py41def test_validation_rejects_rendered_generator_without_coverage():CODE
LOWtests/infinigen2/test_integration_validate_run.py56def test_validation_requires_a_gating_report(tmp_path):CODE
LOWtests/infinigen2/test_integration_run_paths.py13def test_develop_paths_use_the_production_archive(tmp_path):CODE
LOWtests/infinigen2/test_integration_run_paths.py25def test_staging_push_uses_an_isolated_archive_and_baseline(tmp_path):CODE
LOWtests/infinigen2/test_integration_run_paths.py34def test_validation_dispatch_is_isolated_without_a_staging_ref(tmp_path):CODE
LOWtests/infinigen2/test_integration_run_paths.py41def test_pr_uses_its_target_branch_baseline_when_present(tmp_path):CODE
LOWtests/infinigen2/test_integration_gate.py33def test_prune_keeps_recent_and_drops_old(tmp_path):CODE
LOWtests/infinigen2/test_integration_gate.py44def test_prune_never_drops_a_baseline_target(tmp_path):CODE
LOWtests/infinigen2/test_integration_gate.py56def test_prune_dry_run_leaves_everything(tmp_path):CODE
LOWtests/infinigen2/test_integration_gate.py89def test_gate_covers_every_category(tmp_path, monkeypatch):CODE
LOWtests/infinigen2/test_integration_gate.py122def test_category_config_has_one_entry_per_shard_and_limit():CODE
908 more matches not shown…
Modern Structural Boilerplate774 hits · 780 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_clay_pan_video.py39logger = logging.getLogger(__name__)CODE
LOWexamples/flying_indoor/render.py47logger = 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.py66logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/__init__.py33__all__ = [CODE
LOWsrc/infinigen2/context.py16__all__ = [CODE
LOWsrc/infinigen2/context.py124def set_error_modes(modes: dict[str, ErrorMode]) -> None:CODE
LOWsrc/infinigen2/scenes/demo_util.py14__all__ = [CODE
LOWsrc/infinigen2/scenes/demo_material.py24__all__ = [CODE
LOWsrc/infinigen2/scenes/demo_material.py35logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/demo_curve.py20__all__ = [CODE
LOWsrc/infinigen2/scenes/demo_curve.py25logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/floating_objects.py36__all__ = [CODE
LOWsrc/infinigen2/scenes/floating_objects.py50logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/demo_object.py21__all__ = [CODE
LOWsrc/infinigen2/scenes/demo_object.py25logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room_furniture.py33__all__ = [CODE
LOWsrc/infinigen2/scenes/room/room_furniture.py57logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room_surface_features.py37__all__ = [CODE
LOWsrc/infinigen2/scenes/room/room_surface_features.py68logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room_small_objects.py30__all__ = [CODE
LOWsrc/infinigen2/scenes/room/room_small_objects.py36logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room.py41__all__ = [CODE
LOWsrc/infinigen2/scenes/room/room.py47logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/room/room_shape.py19__all__ = [CODE
LOWsrc/infinigen2/scenes/placement/distribute.py14__all__ = [CODE
LOWsrc/infinigen2/scenes/placement/culling.py15__all__ = [CODE
LOWsrc/infinigen2/scenes/placement/culling.py21logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/placement/snap.py9__all__ = [CODE
LOWsrc/infinigen2/scenes/placement/collision.py18__all__ = [CODE
LOWsrc/infinigen2/scenes/placement/collision.py28logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/scenes/placement/retry.py10__all__ = [CODE
LOWsrc/infinigen2/util/polycount.py8__all__ = ["estimated_eval_tricount"]CODE
LOWsrc/infinigen2/util/mesh.py13__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.py12__all__ = [CODE
LOWsrc/infinigen2/util/scene_cleanup.py17logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/util/math.py9__all__ = [CODE
LOWsrc/infinigen2/util/camera_projection.py15logger = 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.py16__all__ = [CODE
LOWsrc/infinigen2/exporters/visualize_gt.py20logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/visualize_gt_boxes.py21__all__ = [CODE
LOWsrc/infinigen2/exporters/visualize_gt_boxes.py29logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/visualize_gt_passes.py23__all__ = [CODE
LOWsrc/infinigen2/exporters/visualize_gt_passes.py38logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/object_data.py16__all__ = [CODE
LOWsrc/infinigen2/exporters/object_data.py21logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/__init__.py12__all__ = [CODE
LOWsrc/infinigen2/exporters/realize_mesh.py12__all__ = [CODE
LOWsrc/infinigen2/exporters/realize_mesh.py17logger = logging.getLogger(__name__)CODE
LOWsrc/infinigen2/exporters/rigidbody_point_tracks.py34__all__ = [CODE
LOWsrc/infinigen2/exporters/render_cycles_clay.py17logger = logging.getLogger(__name__)CODE
714 more matches not shown…
Unused Imports689 hits · 640 pts
SeverityFileLineSnippetContext
LOWsrc/infinigen2/__init__.py8CODE
LOWsrc/infinigen2/__init__.py14CODE
LOWsrc/infinigen2/scenes/room/__init__.py6CODE
LOWsrc/infinigen2/scenes/room/__init__.py6CODE
LOWsrc/infinigen2/scenes/room/__init__.py10CODE
LOWsrc/infinigen2/scenes/placement/collision.py6CODE
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__.py1CODE
LOWsrc/infinigen2/exporters/__init__.py1CODE
LOWsrc/infinigen2/exporters/__init__.py1CODE
LOWsrc/infinigen2/exporters/__init__.py9CODE
LOWsrc/infinigen2/exporters/__init__.py10CODE
LOWsrc/infinigen2/exporters/__init__.py10CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py6CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py6CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py6CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py11CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py11CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py15CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py15CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py19CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py19CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py19CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py24CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py24CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py24CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py29CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py29CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py29CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py34CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py34CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py34CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py39CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py39CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py39CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py44CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py44CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py44CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py49CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py52CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py52CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py52CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py52CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py58CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py58CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py58CODE
LOWsrc/infinigen2/exporters/render_error_check/__init__.py58CODE
LOWsrc/infinigen2/cameras/__init__.py1CODE
LOWsrc/infinigen2/cameras/__init__.py2CODE
629 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 Nesting233 hits · 232 pts
SeverityFileLineSnippetContext
LOWtests/infinigen/solver/test_greedy_partition.py244CODE
LOWtests/infinigen/solver/test_greedy_stages.py56CODE
LOWtests/infinigen/sim/test_sim_export.py63CODE
LOWscripts/view_trace_graph.py87CODE
LOWscripts/view_trace_graph.py107CODE
LOWscripts/view_trace_graph.py142CODE
LOWscripts/wandb_watch_run.py439CODE
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.py236CODE
LOWscripts/integration_v2/display.py137CODE
LOWscripts/integration_v2/display.py469CODE
LOWscripts/integration_v2/compare.py46CODE
LOWscripts/integration_v2/compare.py65CODE
LOWscripts/integration_v2/compare.py145CODE
LOWsrc/infinigen2/graph_json.py22CODE
LOWsrc/infinigen2/graph_json.py83CODE
LOWsrc/infinigen2/generate.py721CODE
LOWsrc/infinigen2/util/hardware_info.py13CODE
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
LOW…re/constraints/evaluator/node_impl/trimesh_geometry.py409CODE
LOW…re/constraints/evaluator/node_impl/trimesh_geometry.py583CODE
LOW…re/constraints/evaluator/node_impl/trimesh_geometry.py745CODE
LOWsrc/infinigen/core/constraints/reasoning/domain.py161CODE
LOW…en/core/constraints/example_solver/propose_discrete.py258CODE
173 more matches not shown…
Over-Commented Block206 hits · 182 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/flying_indoor/sbatch.sh1#!/bin/bashCOMMENT
LOWscripts/integration_v2/prune_archive.py1#!/usr/bin/env python3COMMENT
LOWsrc/infinigen2/scenes/placement/__init__.py1# Copyright (C) 2026, Princeton University.COMMENT
LOWsrc/infinigen2/exporters/util/flow_vis.py1# MIT LicenseCOMMENT
LOWsrc/infinigen2/objects/handles.py1# Copyright (C) 2026, Princeton University.COMMENT
LOW…c/infinigen2/shaders/base_materials/gravel_concrete.py921COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py421COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py441# if base_height is None:COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py461# if detail is None:COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py481# rotation=rotation,COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py501# rotation: t.SocketOrVal[pf.Vector | None] = None,COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py521# base_color = pf.nodes.color.hue_saturation(COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py541# stretch = pf.random.uniform(rng, 0.7, 1.3)COMMENT
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py561# base_color=base_color,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
146 more matches not shown…
AI Structural Patterns157 hits · 154 pts
SeverityFileLineSnippetContext
LOWsrc/infinigen2/scenes/room/room_surface_features.py539CODE
LOWsrc/infinigen2/util/camera_projection.py197CODE
LOWsrc/infinigen2/exporters/render_cycles_clay.py79CODE
LOWsrc/infinigen2/exporters/render_cycles.py294CODE
LOWsrc/infinigen2/exporters/render_cycles.py517CODE
LOWsrc/infinigen2/exporters/render_cycles.py598CODE
LOWsrc/infinigen2/exporters/render_workbench.py44CODE
LOWsrc/infinigen2/exporters/imu.py440CODE
LOWsrc/infinigen2/exporters/render_eevee.py100CODE
LOWsrc/infinigen2/objects/handles.py178CODE
LOWsrc/infinigen2/objects/window.py220CODE
LOWsrc/infinigen2/objects/window.py692CODE
LOWsrc/infinigen2/objects/bookcase.py167CODE
LOWsrc/infinigen2/objects/bookcase.py330CODE
LOWsrc/infinigen2/objects/ceiling_light.py145CODE
LOWsrc/infinigen2/objects/chair.py128CODE
LOWsrc/infinigen2/objects/chair.py213CODE
LOWsrc/infinigen2/objects/chair.py853CODE
LOWsrc/infinigen2/objects/chair.py962CODE
LOWsrc/infinigen2/objects/chair.py1101CODE
LOWsrc/infinigen2/objects/chair.py1176CODE
LOWsrc/infinigen2/objects/vase.py331CODE
LOWsrc/infinigen2/objects/lamp.py422CODE
LOWsrc/infinigen2/objects/storage.py362CODE
LOWsrc/infinigen2/objects/triangle_shelf.py712CODE
LOWsrc/infinigen2/objects/sofa.py627CODE
LOWsrc/infinigen2/objects/flower.py537CODE
LOWsrc/infinigen2/cameras/monocular.py111CODE
LOWsrc/infinigen2/cameras/monocular.py176CODE
LOWsrc/infinigen2/cameras/rrt.py429CODE
LOWsrc/infinigen2/cameras/random_walk.py57CODE
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.py262CODE
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.py579CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py828CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py1096CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py1292CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py1598CODE
LOWsrc/infinigen2/shaders/base_materials/stone_smooth.py1808CODE
LOWsrc/infinigen2/shaders/base_materials/paint.py24CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py676CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py713CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py1048CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py1082CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py1220CODE
LOWsrc/infinigen2/shaders/base_materials/plastic.py1256CODE
LOWsrc/infinigen2/shaders/base_materials/leather.py50CODE
LOWsrc/infinigen2/shaders/base_materials/leather.py169CODE
LOWsrc/infinigen2/shaders/base_materials/leather.py320CODE
LOWsrc/infinigen2/shaders/base_materials/leather.py366CODE
LOWsrc/infinigen2/shaders/base_materials/leather.py454CODE
LOWsrc/infinigen2/shaders/base_materials/brick_concrete.py21CODE
97 more matches not shown…
Dead Code37 hits · 74 pts
SeverityFileLineSnippetContext
MEDIUMtests/infinigen2/test_generators.py139CODE
MEDIUMtests/infinigen2/test_generators.py140CODE
MEDIUMtests/infinigen2/test_generators.py142CODE
MEDIUMtests/infinigen2/test_generators.py148CODE
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 Wrapping59 hits · 69 pts
SeverityFileLineSnippetContext
LOWtests/infinigen/sim/test_sim_export.py128 except Exception as e:CODE
LOWdocs/source/conf.py107 except Exception:CODE
LOWdocs/source/conf.py129 except Exception:CODE
LOWdocs/source/conf.py562 except Exception:CODE
LOWdocs/source/conf.py1209 except Exception:CODE
LOWscripts/wandb_watch_run.py520 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.py331 except Exception:CODE
LOWscripts/integration_v2/run_and_index.py91 except Exception:CODE
LOWscripts/integration_v2/run_and_index.py111 except Exception:CODE
LOWscripts/integration_v2/compose_pr_comment.py135 except Exception:CODE
LOWscripts/integration_v2/display.py616 except Exception:CODE
LOWscripts/integration_v2/reduce_coverage.py35 except Exception:CODE
LOWscripts/integration_v2/compare.py56 except Exception:CODE
LOWscripts/integration_v2/compare.py75 except Exception:CODE
LOWscripts/integration_v2/compare.py221 except Exception as e:CODE
LOWsrc/infinigen2/generate.py307 except Exception as e:CODE
LOWsrc/infinigen2/generate.py669 except Exception as e:CODE
LOWsrc/infinigen2/exporters/render_cycles.py252 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