AI Slop Code RIsk Monitor

microsoft/TRELLIS.2

Native and Compact Structured Latents for 3D Generation

21.6 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for microsoft/TRELLIS.2, a Python project with 11,833 GitHub stars. SynthScan examined 25,286 lines of code across 165 source files, recording 391 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 21.6 (Elevated pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

21.6
Adjusted Signal
21.6
Raw Pattern Score
100%
Time Factor
2026-07-10
Last Push
11.8K
Stars
Python
Language
25.3K
Lines of Code
165
Files
391
Pattern Hits
2026-10-12
Scan Date
0.15
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 28.3/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 37.7/100 · MEDIUM

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

Agent Over-Engineering Ratio 32.8/100 · MEDIUM

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

PR Review Velocity Impact 66.9/100 · HIGH

Which changes need focused human review? 391 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 4HIGH 20MEDIUM 16LOW 351

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

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

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Unused Imports199 hits · 199 pts
SeverityFileLineSnippetContext
LOWapp.py9CODE
LOWapp_texturing.py7CODE
LOWo-voxel/o_voxel/serialize.py1CODE
LOWo-voxel/o_voxel/postprocess.py1CODE
LOWo-voxel/o_voxel/__init__.py1CODE
LOWo-voxel/o_voxel/__init__.py1CODE
LOWo-voxel/o_voxel/__init__.py1CODE
LOWo-voxel/o_voxel/__init__.py1CODE
LOWo-voxel/o_voxel/__init__.py1CODE
LOWo-voxel/o_voxel/io/npz.py1CODE
LOWo-voxel/o_voxel/io/ply.py1CODE
LOWo-voxel/o_voxel/io/ply.py2CODE
LOWo-voxel/o_voxel/io/__init__.py3CODE
LOWo-voxel/o_voxel/io/__init__.py4CODE
LOWo-voxel/o_voxel/io/__init__.py5CODE
LOWo-voxel/o_voxel/io/vxz.py1CODE
LOWo-voxel/o_voxel/convert/__init__.py1CODE
LOWo-voxel/o_voxel/convert/__init__.py2CODE
LOWo-voxel/o_voxel/convert/flexible_dual_grid.py1CODE
LOWo-voxel/o_voxel/convert/volumetic_attr.py1CODE
LOWo-voxel/examples/utils.py3CODE
LOWtrellis2/__init__.py1CODE
LOWtrellis2/__init__.py2CODE
LOWtrellis2/__init__.py3CODE
LOWtrellis2/__init__.py4CODE
LOWtrellis2/__init__.py5CODE
LOWtrellis2/__init__.py6CODE
LOWtrellis2/representations/__init__.py30CODE
LOWtrellis2/representations/__init__.py30CODE
LOWtrellis2/representations/__init__.py30CODE
LOWtrellis2/representations/__init__.py31CODE
LOWtrellis2/representations/mesh/__init__.py1CODE
LOWtrellis2/representations/mesh/__init__.py1CODE
LOWtrellis2/representations/mesh/__init__.py1CODE
LOWtrellis2/representations/mesh/__init__.py1CODE
LOWtrellis2/representations/mesh/__init__.py1CODE
LOWtrellis2/representations/mesh/__init__.py1CODE
LOWtrellis2/representations/mesh/__init__.py1CODE
LOWtrellis2/representations/mesh/__init__.py1CODE
LOWtrellis2/representations/mesh/base.py1CODE
LOWtrellis2/representations/voxel/__init__.py1CODE
LOWtrellis2/renderers/__init__.py30CODE
LOWtrellis2/renderers/__init__.py31CODE
LOWtrellis2/renderers/__init__.py32CODE
LOWtrellis2/renderers/__init__.py32CODE
LOWtrellis2/renderers/mesh_renderer.py1CODE
LOWtrellis2/renderers/pbr_mesh_renderer.py1CODE
LOWtrellis2/datasets/structured_latent_svpbr.py4CODE
LOWtrellis2/datasets/__init__.py39CODE
LOWtrellis2/datasets/__init__.py40CODE
LOWtrellis2/datasets/__init__.py42CODE
LOWtrellis2/datasets/__init__.py42CODE
LOWtrellis2/datasets/__init__.py43CODE
LOWtrellis2/datasets/__init__.py43CODE
LOWtrellis2/datasets/__init__.py44CODE
LOWtrellis2/datasets/__init__.py44CODE
LOWtrellis2/datasets/__init__.py45CODE
LOWtrellis2/datasets/__init__.py45CODE
LOWtrellis2/datasets/sparse_structure_latent.py3CODE
LOWtrellis2/datasets/structured_latent_shape.py3CODE
139 more matches not shown…
Cross-File Repetition15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHo-voxel/o_voxel/rasterize.py0opencv intrinsics to opengl perspective matrix args: intrinsics (torch.tensor): [3, 3] opencv intrinsics matrix near (flSTRING
HIGHtrellis2/renderers/mesh_renderer.py0opencv intrinsics to opengl perspective matrix args: intrinsics (torch.tensor): [3, 3] opencv intrinsics matrix near (flSTRING
HIGHtrellis2/renderers/pbr_mesh_renderer.py0opencv intrinsics to opengl perspective matrix args: intrinsics (torch.tensor): [3, 3] opencv intrinsics matrix near (flSTRING
HIGHdata_toolkit/blender_script/render_cond.py0loads a model with a supported file extension into the scene. args: object_path (str): path to the model file. raises: vSTRING
HIGHdata_toolkit/blender_script/dump_pbr.py0loads a model with a supported file extension into the scene. args: object_path (str): path to the model file. raises: vSTRING
HIGHdata_toolkit/blender_script/dump_mesh.py0loads a model with a supported file extension into the scene. args: object_path (str): path to the model file. raises: vSTRING
HIGHdata_toolkit/blender_script/render_cond.py0deletes all invisible objects in the scene. returns: noneSTRING
HIGHdata_toolkit/blender_script/dump_pbr.py0deletes all invisible objects in the scene. returns: noneSTRING
HIGHdata_toolkit/blender_script/dump_mesh.py0deletes all invisible objects in the scene. returns: noneSTRING
HIGHdata_toolkit/blender_script/render_cond.py0returns the bounding box of the scene. taken from shap-e rendering script (https://github.com/openai/shap-e/blob/main/shSTRING
HIGHdata_toolkit/blender_script/dump_pbr.py0returns the bounding box of the scene. taken from shap-e rendering script (https://github.com/openai/shap-e/blob/main/shSTRING
HIGHdata_toolkit/blender_script/dump_mesh.py0returns the bounding box of the scene. taken from shap-e rendering script (https://github.com/openai/shap-e/blob/main/shSTRING
HIGHdata_toolkit/blender_script/render_cond.py0normalizes the scene by scaling and translating it to fit in a unit cube centered at the origin. mostly taken from the pSTRING
HIGHdata_toolkit/blender_script/dump_pbr.py0normalizes the scene by scaling and translating it to fit in a unit cube centered at the origin. mostly taken from the pSTRING
HIGHdata_toolkit/blender_script/dump_mesh.py0normalizes the scene by scaling and translating it to fit in a unit cube centered at the origin. mostly taken from the pSTRING
Excessive Try-Catch Wrapping28 hits · 40 pts
SeverityFileLineSnippetContext
LOWtrain.py155 except Exception as e:CODE
MEDIUMtrain.py156 print(f'Error: {e}')CODE
LOWtrellis2/datasets/components.py73 except Exception as e:CODE
MEDIUMtrellis2/datasets/components.py74 print(f'Error loading {instance}: {e}')CODE
MEDIUMtrellis2/datasets/components.py69def __getitem__(self, index) -> Dict[str, Any]:CODE
LOWtrellis2/pipelines/base.py45 except Exception as e:CODE
LOWtrellis2/modules/sparse/basic.py426 except Exception as e:CODE
LOWdata_toolkit/voxelize_pbr.py29 except Exception as e:CODE
MEDIUMdata_toolkit/voxelize_pbr.py30 print(f'Error reading {sha256}.vxz: {e}')CODE
LOWdata_toolkit/voxelize_pbr.py81 except Exception as e:CODE
MEDIUMdata_toolkit/voxelize_pbr.py82 print(f'Error voxelizing {sha256}: {e}')CODE
LOWdata_toolkit/build_metadata.py26 except Exception as e:CODE
LOWdata_toolkit/encode_shape_latent.py137 except Exception as e:CODE
LOWdata_toolkit/encode_shape_latent.py176 except Exception as e:CODE
MEDIUMdata_toolkit/encode_shape_latent.py121def loader(sha256):CODE
LOWdata_toolkit/dual_grid.py28 except Exception as e:CODE
MEDIUMdata_toolkit/dual_grid.py29 print(f'Error reading {sha256}.vxz: {e}')CODE
LOWdata_toolkit/dual_grid.py83 except Exception as e:CODE
MEDIUMdata_toolkit/dual_grid.py84 print(f'Error processing {sha256}: {e}')CODE
LOWdata_toolkit/encode_pbr_latent.py134 except Exception as e:CODE
LOWdata_toolkit/encode_pbr_latent.py173 except Exception as e:CODE
MEDIUMdata_toolkit/encode_pbr_latent.py121def loader(sha256):CODE
LOWdata_toolkit/asset_stats.py121 except Exception as e:CODE
MEDIUMdata_toolkit/asset_stats.py122 print(f'Error processing {sha256}: {e}')CODE
MEDIUMdata_toolkit/asset_stats.py63def worker(metadatum):CODE
LOWdata_toolkit/encode_ss_latent.py123 except Exception as e:CODE
LOWdata_toolkit/encode_ss_latent.py155 except Exception as e:CODE
MEDIUMdata_toolkit/encode_ss_latent.py115def loader(sha256):CODE
Deep Nesting40 hits · 40 pts
SeverityFileLineSnippetContext
LOWo-voxel/o_voxel/serialize.py7CODE
LOWo-voxel/o_voxel/serialize.py39CODE
LOWo-voxel/o_voxel/io/vxz.py223CODE
LOWtrellis2/renderers/mesh_renderer.py60CODE
LOWtrellis2/renderers/pbr_mesh_renderer.py10CODE
LOWtrellis2/renderers/pbr_mesh_renderer.py212CODE
LOWtrellis2/datasets/sparse_voxel_pbr.py273CODE
LOWtrellis2/datasets/structured_latent_svpbr.py94CODE
LOWtrellis2/datasets/structured_latent_svpbr.py258CODE
LOWtrellis2/datasets/structured_latent.py162CODE
LOWtrellis2/datasets/flexi_dual_grid.py147CODE
LOWtrellis2/pipelines/trellis2_image_to_3d.py489CODE
LOWtrellis2/utils/general_utils.py166CODE
LOWtrellis2/utils/general_utils.py198CODE
LOWtrellis2/utils/mesh_utils.py9CODE
LOWtrellis2/utils/mesh_utils.py120CODE
LOWtrellis2/models/structured_latent_flow.py101CODE
LOWtrellis2/models/sparse_structure_flow.py156CODE
LOWtrellis2/models/sc_vaes/sparse_unet_vae.py12CODE
LOWtrellis2/models/sc_vaes/sparse_unet_vae.py478CODE
LOWtrellis2/trainers/basic.py423CODE
LOWtrellis2/trainers/basic.py486CODE
LOWtrellis2/trainers/basic.py522CODE
LOWtrellis2/trainers/basic.py670CODE
LOWtrellis2/trainers/basic.py815CODE
LOWtrellis2/modules/attention/full_attn.py63CODE
LOWtrellis2/modules/attention/modules.py66CODE
LOWtrellis2/modules/sparse/basic.py238CODE
LOWtrellis2/modules/sparse/basic.py732CODE
LOWtrellis2/modules/sparse/attention/full_attn.py83CODE
LOWtrellis2/modules/sparse/attention/modules.py99CODE
LOWdata_toolkit/voxelize_pbr.py15CODE
LOWdata_toolkit/dump_pbr.py28CODE
LOWdata_toolkit/utils.py51CODE
LOWdata_toolkit/utils.py261CODE
LOWdata_toolkit/utils.py293CODE
LOWdata_toolkit/dump_mesh.py27CODE
LOWdata_toolkit/dual_grid.py14CODE
LOWdata_toolkit/asset_stats.py63CODE
LOWdata_toolkit/blender_script/dump_pbr.py301CODE
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALdata_toolkit/blender_script/render_cond.py93 bpy.context.scene.collection.objects.link(cam_empty)CODE
CRITICALdata_toolkit/blender_script/render_cond.py330 bpy.context.scene.collection.objects.link(scene)CODE
CRITICALdata_toolkit/blender_script/dump_pbr.py156 bpy.context.scene.collection.objects.link(scene)CODE
CRITICALdata_toolkit/blender_script/dump_mesh.py155 bpy.context.scene.collection.objects.link(scene)CODE
Hyper-Verbose Identifiers31 hits · 34 pts
SeverityFileLineSnippetContext
LOWo-voxel/o_voxel/convert/flexible_dual_grid.py29def mesh_to_flexible_dual_grid(CODE
LOWo-voxel/o_voxel/convert/flexible_dual_grid.py142def flexible_dual_grid_to_mesh(CODE
LOWo-voxel/o_voxel/convert/volumetic_attr.py42def textured_mesh_to_volumetric_attr(CODE
LOWo-voxel/o_voxel/convert/volumetic_attr.py305def blender_dump_to_volumetric_attr(CODE
LOWtrellis2/renderers/pbr_mesh_renderer.py93def screen_space_ambient_occlusion(CODE
LOWtrellis2/pipelines/trellis2_image_to_3d.py277 def sample_shape_slat_cascade(CODE
LOWtrellis2/utils/random_utils.py22def sphere_hammersley_sequence(n, num_samples, offset=(0, 0), remap=False):CODE
LOWtrellis2/utils/elastic_utils.py173 def register_memory_controller(self, memory_controller: MemoryController):CODE
LOWtrellis2/utils/elastic_utils.py216 def register_memory_controller(self, memory_controller: MemoryController):CODE
LOWtrellis2/utils/data_utils.py27def load_balanced_group_indices(CODE
LOWtrellis2/utils/render_utils.py12def yaw_pitch_r_fov_to_extrinsics_intrinsics(yaws, pitchs, rs, fovs):CODE
LOWtrellis2/trainers/basic.py291 def _master_params_to_state_dicts(self, master_params):CODE
LOWtrellis2/trainers/basic.py305 def _state_dicts_to_master_params(self, master_params, state_dicts):CODE
LOW⚡trellis2/trainers/utils.py40def model_params_to_master_params(model_params, master_params):CODE
LOW⚡trellis2/trainers/utils.py49def master_params_to_model_params(model_params, master_params):CODE
LOW⚡trellis2/trainers/utils.py59def model_grads_to_master_grads(model_params, master_params):CODE
LOWtrellis2/modules/attention/full_attn.py28def scaled_dot_product_attention(qkv: torch.Tensor) -> torch.Tensor:CODE
LOWtrellis2/modules/attention/full_attn.py38def scaled_dot_product_attention(q: torch.Tensor, kv: torch.Tensor) -> torch.Tensor:CODE
LOWtrellis2/modules/attention/full_attn.py49def scaled_dot_product_attention(q: torch.Tensor, k: torch.Tensor, v: torch.Tensor) -> torch.Tensor:CODE
LOWtrellis2/modules/attention/full_attn.py63def scaled_dot_product_attention(*args, **kwargs):CODE
LOW⚡trellis2/modules/sparse/attention/full_attn.py13def sparse_scaled_dot_product_attention(qkv: VarLenTensor) -> VarLenTensor:CODE
LOW⚡trellis2/modules/sparse/attention/full_attn.py23def sparse_scaled_dot_product_attention(q: VarLenTensor, kv: Union[VarLenTensor, torch.Tensor]) -> VarLenTensor:CODE
LOWtrellis2/modules/sparse/attention/full_attn.py34def sparse_scaled_dot_product_attention(q: torch.Tensor, kv: VarLenTensor) -> torch.Tensor:CODE
LOWtrellis2/modules/sparse/attention/full_attn.py45def sparse_scaled_dot_product_attention(q: VarLenTensor, k: VarLenTensor, v: VarLenTensor) -> VarLenTensor:CODE
LOWtrellis2/modules/sparse/attention/full_attn.py60def sparse_scaled_dot_product_attention(q: VarLenTensor, k: torch.Tensor, v: torch.Tensor) -> VarLenTensor:CODE
LOWtrellis2/modules/sparse/attention/full_attn.py72def sparse_scaled_dot_product_attention(q: torch.Tensor, k: VarLenTensor, v: VarLenTensor) -> torch.Tensor:CODE
LOWtrellis2/modules/sparse/attention/full_attn.py83def sparse_scaled_dot_product_attention(*args, **kwargs):CODE
LOWtrellis2/modules/sparse/attention/windowed_attn.py67def sparse_windowed_scaled_dot_product_self_attention(CODE
LOWtrellis2/modules/sparse/attention/windowed_attn.py126def sparse_windowed_scaled_dot_product_cross_attention(CODE
LOWdata_toolkit/utils.py37def sphere_hammersley_sequence(n, num_samples, offset=(0, 0)):CODE
LOWdata_toolkit/blender_script/dump_pbr.py292def try_extract_image_with_factor(link, expected_channel='RGB'):CODE
AI Structural Patterns28 hits · 28 pts
SeverityFileLineSnippetContext
LOWo-voxel/o_voxel/rasterize.py110CODE
LOWo-voxel/o_voxel/postprocess.py14CODE
LOWo-voxel/o_voxel/convert/flexible_dual_grid.py139CODE
LOWtrellis2/representations/mesh/base.py121CODE
LOWtrellis2/datasets/structured_latent_svpbr.py152CODE
LOWtrellis2/pipelines/trellis2_image_to_3d.py42CODE
LOWtrellis2/pipelines/trellis2_image_to_3d.py162CODE
LOWtrellis2/pipelines/trellis2_image_to_3d.py489CODE
LOWtrellis2/pipelines/trellis2_texturing.py39CODE
LOWtrellis2/pipelines/trellis2_texturing.py157CODE
LOWtrellis2/models/structured_latent_flow.py16CODE
LOWtrellis2/models/sparse_structure_flow.py57CODE
LOWtrellis2/trainers/basic.py60CODE
LOWtrellis2/trainers/vae/shape_vae.py60CODE
LOWtrellis2/modules/attention/full_attn.py24CODE
LOWtrellis2/modules/attention/modules.py20CODE
LOWtrellis2/modules/transformer/modulated.py13CODE
LOWtrellis2/modules/transformer/modulated.py84CODE
LOWtrellis2/modules/transformer/blocks.py33CODE
LOWtrellis2/modules/transformer/blocks.py66CODE
LOWtrellis2/modules/transformer/blocks.py121CODE
LOWtrellis2/modules/sparse/attention/modules.py28CODE
LOWtrellis2/modules/sparse/transformer/modulated.py14CODE
LOWtrellis2/modules/sparse/transformer/modulated.py85CODE
LOWtrellis2/modules/sparse/transformer/blocks.py28CODE
LOWtrellis2/modules/sparse/transformer/blocks.py83CODE
LOWtrellis2/modules/sparse/conv/conv_flex_gemm.py60CODE
LOWtrellis2/modules/sparse/conv/conv_spconv.py73CODE
Structural Annotation Overuse12 hits · 22 pts
SeverityFileLineSnippetContext
LOW⚡o-voxel/o_voxel/postprocess.py135 # Step 1: Aggressive simplification (3x target)COMMENT
LOW⚡o-voxel/o_voxel/postprocess.py140 # Step 2: Clean up topology (duplicates, non-manifolds, isolated parts)COMMENT
LOW⚡o-voxel/o_voxel/postprocess.py148 # Step 3: Final simplification to target countCOMMENT
LOW⚡o-voxel/o_voxel/postprocess.py153 # Step 4: Final Cleanup loopCOMMENT
LOW⚡o-voxel/o_voxel/postprocess.py161 # Step 5: Unify face orientationsCOMMENT
LOWdata_toolkit/README.md5### Step 1: Install DependenciesCOMMENT
LOWdata_toolkit/README.md13### Step 2: Initialize MetadataCOMMENT
LOWdata_toolkit/README.md32### Step 3: Download DataCOMMENT
LOWdata_toolkit/README.md60### Step 4: Process Mesh and PBR TexturesCOMMENT
LOWdata_toolkit/README.md88### Step 5: Convert to O-VoxelsCOMMENT
LOWdata_toolkit/README.md112### Step 6: Encode LatentsCOMMENT
LOWdata_toolkit/README.md152### Step 7: Render Image ConditionsCOMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHdata_toolkit/blender_script/render_cond.py184Loads a model with a supported file extension into the scene. Args: object_path (str): Path to the model fiSTRING
HIGHdata_toolkit/blender_script/dump_pbr.py52Loads a model with a supported file extension into the scene. Args: object_path (str): Path to the model fiSTRING
HIGHdata_toolkit/blender_script/dump_mesh.py51Loads a model with a supported file extension into the scene. Args: object_path (str): Path to the model fiSTRING
Modern Structural Boilerplate14 hits · 14 pts
SeverityFileLineSnippetContext
LOWo-voxel/o_voxel/io/npz.py6__all__ = [CODE
LOWo-voxel/o_voxel/io/ply.py8__all__ = [CODE
LOWo-voxel/o_voxel/io/vxz.py15__all__ = [CODE
LOWo-voxel/o_voxel/convert/flexible_dual_grid.py6__all__ = [CODE
LOWo-voxel/o_voxel/convert/volumetic_attr.py12__all__ = [CODE
LOWtrellis2/models/sc_vaes/fdg_vae.py80 def set_resolution(self, resolution: int) -> None:CODE
LOWtrellis2/modules/attention/full_attn.py7__all__ = [CODE
LOWtrellis2/modules/sparse/linear.py5__all__ = [CODE
LOWtrellis2/modules/sparse/norm.py7__all__ = [CODE
LOWtrellis2/modules/sparse/basic.py7__all__ = [CODE
LOWtrellis2/modules/sparse/nonlinearity.py5__all__ = [CODE
LOW⚡trellis2/modules/sparse/attention/full_attn.py7__all__ = [CODE
LOWtrellis2/modules/sparse/attention/windowed_attn.py8__all__ = [CODE
LOWtrellis2/modules/sparse/spatial/basic.py6__all__ = [CODE
Verbosity Indicators5 hits · 11 pts
SeverityFileLineSnippetContext
LOW⚡o-voxel/o_voxel/postprocess.py135 # Step 1: Aggressive simplification (3x target)COMMENT
LOW⚡o-voxel/o_voxel/postprocess.py140 # Step 2: Clean up topology (duplicates, non-manifolds, isolated parts)COMMENT
LOW⚡o-voxel/o_voxel/postprocess.py148 # Step 3: Final simplification to target countCOMMENT
LOW⚡o-voxel/o_voxel/postprocess.py153 # Step 4: Final Cleanup loopCOMMENT
LOW⚡o-voxel/o_voxel/postprocess.py161 # Step 5: Unify face orientationsCOMMENT
Empty Error Handlers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtrellis2/modules/sparse/basic.py206except:CODE
HIGHtrellis2/modules/sparse/basic.py722except:CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtrellis2/utils/general_utils.py184 # Create a white background imageCOMMENT
MEDIUMdata_toolkit/utils.py279 # Create a white background imageCOMMENT
MEDIUMdata_toolkit/blender_script/render_cond.py385 # Create a list of viewsCOMMENT
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOWo-voxel/src/rasterize/config.h1#pragma onceCOMMENT
LOWo-voxel/src/rasterize/auxiliary.h281#define DEBUG_PRINT(...) printf(__VA_ARGS__)COMMENT
LOW.github/workflows/codeql.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/codeql.yml61COMMENT
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/codeql.yml56 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdata_toolkit/utils.py9 # Read the file from the pathCOMMENT
LOWdata_toolkit/utils.py197 # Open the file for writingCOMMENT