AI Slop Code RIsk Monitor

NVIDIA/warp

A Python framework for GPU-accelerated simulation, robotics, and machine learning.

18.9 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for NVIDIA/warp, a Python project with 7,181 GitHub stars. SynthScan examined 461,209 lines of code across 1045 source files, recording 7234 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 18.9 (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.

18.9
Adjusted Signal
18.9
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
7.2K
Stars
Python
Language
461.2K
Lines of Code
1.0K
Files
7.2K
Pattern Hits
2026-10-12
Scan Date
0.22
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 41.9/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 15.9/100 · LOW

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

Agent Over-Engineering Ratio 47.5/100 · MEDIUM

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

PR Review Velocity Impact 65.6/100 · HIGH

Which changes need focused human review? 7234 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 72HIGH 156MEDIUM 593LOW 6413

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 7234 distinct pattern matches across 23 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.

Hyper-Verbose Identifiers4342 hits · 3797 pts
SeverityFileLineSnippetContext
LOWCONTRIBUTING.md460def test_amazing_code_test_one(test, device):CODE
LOWCONTRIBUTING.md514def test_amazing_code_test_one(test, device):CODE
LOWCONTRIBUTING.md522def test_amazing_code_test_one(test, device):CODE
LOWCONTRIBUTING.md592 def test_amazing_code_no_device(self):CODE
LOWbuild_llvm.py164def build_llvm_clang_from_source_for_arch(args, arch: str, llvm_source: str) -> None:CODE
LOWbuild_llvm.py419def build_llvm_clang_from_source(args) -> None:CODE
LOWbuild_llvm.py438def build_warp_clang_for_arch(args, lib_name: str, arch: str) -> None:CODE
LOWdesign/hardware-coherent-memory-access.md537def _is_array_accessible_from_device(value, device):CODE
LOWdesign/hardware-coherent-memory-access.md541def _classify_array_access_from_device(value, device):CODE
LOWdesign/hardware-coherent-memory-access.md617def _validate_launch_array_access(kernel, arg_name, value, device):CODE
LOWtools/ci/cuda_toolkit.py723def _validate_package_metadata(path: Path, bundle: Bundle) -> None:CODE
LOW⚡tools/ci/test_cuda_toolkit.py274 def test_reject_unknown_release(self) -> None:CODE
LOW⚡tools/ci/test_cuda_toolkit.py282 def test_reject_unsupported_platform(self) -> None:CODE
LOW⚡tools/ci/test_cuda_toolkit.py290 def test_reject_component_order_mismatch(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py199 def test_generate_lock_uses_manifest_keys(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py241 def test_resolve_outputs_assembled_cache(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py301 def test_reject_extra_lock_bundle(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py311 def test_activate_rejects_mismatched_bundle_metadata(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py332 def test_activate_accepts_matching_bundle_metadata(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py367 def test_reject_size_mismatch(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py378 def test_reject_digest_mismatch(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py389 def test_retry_transient_download(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py407 def test_record_bundle_metadata(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py435 def test_assemble_components_in_order(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py482 def test_replace_partial_destination_after_assembly(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py505 def test_preserve_destination_after_failed_assembly(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py528 def test_unpack_does_not_execute_nvcc(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py554 def test_unpack_prior_bundle_digest_schema(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py588 def test_reject_mismatched_package_without_replacement(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py615 def test_activate_linux_toolkit(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py643 def test_activate_windows_toolkit(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py661 def test_reject_missing_include(self) -> None:CODE
LOWtools/ci/test_cuda_toolkit.py677 def test_activate_does_not_execute_nvcc(self) -> None:CODE
LOWtools/ci/publishing/update_git_hash.py48def update_git_hash_in_config(config_file_path: str, git_hash: str, dry_run: bool = False) -> bool:CODE
LOWtools/ci/publishing/kitmaker_release.py153def validate_canonical_wheel_urls(wheel_urls):CODE
LOWtools/ci/publishing/set_nightly_version.py61def write_new_version_to_config(config_file_path: str, new_version: str, dry_run: bool = False) -> bool:CODE
LOW⚡tools/ci/publishing/set_nightly_version.py95def write_new_version_to_version_file(version_file_path: str, new_version: str, dry_run: bool = False) -> bool:CODE
LOWtools/pre-commit-hooks/check_version_consistency.py39def _regenerate_version_header(base_path: Path, version: str) -> bool:STRING
LOWtools/pre-commit-hooks/check_version_consistency.py93def check_version_consistency(base_path: Path, verbose: bool = False) -> bool:CODE
LOWtools/pre-commit-hooks/sync_skills.py130def is_side_specific_metadata(side_name: str, rel: str) -> bool:CODE
LOWasv/benchmarks/spatial_query.py29def sample_mesh_query_no_sign(CODE
LOWasv/benchmarks/spatial_query.py133 def time_mesh_query_closest_point(self, leaf_size, asset, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py138 def time_mesh_query_closest_point_signed(self, leaf_size, asset, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py167 def vertex_triangle_collision_detection_kernel_broad_only_base(CODE
LOWasv/benchmarks/spatial_query.py211 def ray_vs_aabb_query_kernel_base(CODE
LOWasv/benchmarks/spatial_query.py289def replicate_mesh_with_random_perturbation(CODE
LOWasv/benchmarks/spatial_query.py475 def time_bvh_aabb_vs_aabb_query(self, query_radius, leaf_size, device, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py480 def time_mesh_aabb_vs_aabb_query(self, query_radius, leaf_size, device, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py582 def time_bvh_aabb_vs_aabb_query(self, cache, query_radius, leaf_size, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py586 def time_mesh_aabb_vs_aabb_query(self, cache, query_radius, leaf_size, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py740 def time_bvh_ray_vs_aabb_query(self, resolution, leaf_size, device, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py745 def time_mesh_ray_vs_aabb_query(self, resolution, leaf_size, device, bvh_constructor):CODE
LOWasv/benchmarks/deterministic.py42def scatter_add_kernel_deterministic(CODE
LOWasv/benchmarks/deterministic.py63def counter_kernel_deterministic(CODE
LOWasv/benchmarks/native_library_footprint.py15def _get_elf_tls_allocation_size(path):CODE
LOWasv/benchmarks/native_library_footprint.py76 def track_warp_clang_library_size(self):CODE
LOWasv/benchmarks/native_library_footprint.py82 def track_warp_tls_allocation_size(self):CODE
LOWasv/benchmarks/texture.py73def finite_difference_gradient(tex: wp.Texture3D, uvw: wp.vec3f) -> wp.vec3f:CODE
LOWasv/benchmarks/fem/integrate.py103def _supports_padded_bsr_assembly():CODE
LOWasv/benchmarks/fem/integrate.py113def _require_padded_bsr_assembly():CODE
4282 more matches not shown…
Decorative Section Separators471 hits · 1430 pts
SeverityFileLineSnippetContext
MEDIUM.gitlab-ci.yml4# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml6# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml83# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml88# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml228# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml234# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml428# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml435# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml916# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml921# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml1005# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml1011# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml1121# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml1127# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml1253# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml1263# ==============================================================================COMMENT
MEDIUM⚡.gitlab/ci/common.yml4# ==============================================================================COMMENT
MEDIUM⚡.gitlab/ci/common.yml11# ---------------COMMENT
MEDIUM⚡.gitlab/ci/common.yml20# -------------------COMMENT
MEDIUM.gitlab/ci/common.yml42# -----------------COMMENT
MEDIUM⚡.gitlab/ci/common.yml53# ------------COMMENT
MEDIUM⚡.gitlab/ci/common.yml59# ==============================================================================COMMENT
MEDIUM⚡.gitlab/ci/common.yml66# ==============================================================================COMMENT
MEDIUM⚡.gitlab/ci/common.yml68# ==============================================================================COMMENT
MEDIUM.gitlab/ci/common.yml81# ==============================================================================COMMENT
MEDIUM.gitlab/ci/common.yml84# ==============================================================================COMMENT
MEDIUM.gitlab/ci/asv.yml4# ==============================================================================COMMENT
MEDIUM.gitlab/ci/asv.yml23# ==============================================================================COMMENT
MEDIUM.gitlab/ci/clang-build-and-test.yml4# ==============================================================================COMMENT
MEDIUM.gitlab/ci/clang-build-and-test.yml20# ==============================================================================COMMENT
MEDIUM.gitlab/ci/clang-build-and-test.yml33# ==============================================================================COMMENT
MEDIUM.gitlab/ci/clang-build-and-test.yml35# ==============================================================================COMMENT
MEDIUM.gitlab/ci/clang-build-and-test.yml86# ==============================================================================COMMENT
MEDIUM.gitlab/ci/clang-build-and-test.yml91# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml4# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml13# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml26# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml28# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml63# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml68# ==============================================================================COMMENT
MEDIUMtools/ci/deploy_doc.py42# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci/deploy_doc.py64# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci/deploy_doc.py123# ---------------------------------------------------------------------------COMMENT
MEDIUMtools/ci/deploy_doc.py296# ---------------------------------------------------------------------------STRING
MEDIUMdocs/generate_reference.py53# -----------------------------------------------------------------------------COMMENT
MEDIUMdocs/generate_reference.py102# -----------------------------------------------------------------------------COMMENT
MEDIUMdocs/generate_reference.py165# -----------------------------------------------------------------------------COMMENT
MEDIUMwarp/_src/deterministic.py1095# ---------------------------------------------------------------------------COMMENT
MEDIUMwarp/_src/deterministic.py1097# ---------------------------------------------------------------------------COMMENT
MEDIUMwarp/_src/deterministic.py1813# ---------------------------------------------------------------------------COMMENT
MEDIUMwarp/_src/deterministic.py1815# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡warp/_src/builtins.py13144# ---------------------------------COMMENT
MEDIUMwarp/_src/builtins.py81# ---------------------------------COMMENT
MEDIUMwarp/_src/builtins.py613# ---------------------------------COMMENT
MEDIUMwarp/_src/builtins.py2067# ---------------------------------COMMENT
MEDIUMwarp/_src/builtins.py2327# ---------------------------------COMMENT
MEDIUMwarp/_src/builtins.py2963# ---------------------------------COMMENT
MEDIUMwarp/_src/builtins.py3356# ------------------COMMENT
MEDIUMwarp/_src/builtins.py9868# ---------------------------------------------------------COMMENT
MEDIUMwarp/_src/builtins.py9870# ---------------------------------------------------------COMMENT
411 more matches not shown…
Hallucination Indicators72 hits · 830 pts
SeverityFileLineSnippetContext
CRITICALwarp/_src/build.py97 err = warp._src.context.runtime.llvm.wp_compile_cuda(CODE
CRITICALwarp/_src/build.py118 err = warp._src.context.runtime.core.wp_cuda_compile_program(CODE
CRITICALwarp/_src/build.py151 return warp._src.context.runtime.core.wp_cuda_load_module(device.context, input_path.encode("utf-8"))CODE
CRITICALwarp/_src/build.py185 err = warp._src.context.runtime.llvm.wp_compile_cpp(CODE
CRITICALwarp/_src/build.py697 result = warp._src.context.runtime.core.wp_cuda_compile_dot(CODE
CRITICALwarp/_src/build.py809 result = warp._src.context.runtime.core.wp_cuda_compile_solver(CODE
CRITICALwarp/_src/build.py897 result = warp._src.context.runtime.core.wp_cuda_compile_fft(CODE
CRITICALwarp/_src/builtins.py18006 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py18396 and warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py18678 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py18961 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py19176 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py19424 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/paddle.py30 warp_device = warp._src.context.runtime.device_map.get(paddle_device)CODE
CRITICAL⚡warp/_src/types.py664 return warp._src.context.runtime.core.wp_float_to_half_bits(value)CODE
CRITICAL⚡warp/_src/types.py668 return warp._src.context.runtime.core.wp_half_bits_to_float(value)CODE
CRITICAL⚡warp/_src/types.py672 return warp._src.context.runtime.core.wp_float_to_bfloat16_bits(value)CODE
CRITICAL⚡warp/_src/types.py676 return warp._src.context.runtime.core.wp_bfloat16_bits_to_float(value)CODE
CRITICALwarp/_src/types.py4108 warp._src.context.runtime.core.wp_cuda_stream_wait_stream(CODE
CRITICALwarp/_src/types.py4542 warp._src.context.runtime.core.wp_array_fill_device(CODE
CRITICALwarp/_src/types.py4546 warp._src.context.runtime.core.wp_array_fill_host(carr_ptr, ARRAY_TYPE_REGULAR, cvalue_ptr, cvalue_size)CODE
CRITICALwarp/_src/types.py4996 warp._src.context.runtime.core.wp_cuda_ipc_get_mem_handle(self.ptr, ipc_handle_buffer)CODE
CRITICALwarp/_src/types.py5108 warp._src.context.runtime.core.wp_cuda_ipc_close_mem_handle(ptr)CODE
CRITICALwarp/_src/types.py5147 ptr = warp._src.context.runtime.core.wp_cuda_ipc_open_mem_handle(device.context, handle)CODE
CRITICALwarp/_src/types.py5291 warp._src.context.runtime.core.wp_array_fill_device(CODE
CRITICALwarp/_src/types.py5295 warp._src.context.runtime.core.wp_array_fill_host(ctype_ptr, self.type_id, cvalue_ptr, cvalue_size)CODE
CRITICALwarp/_src/types.py6864 validation_result = warp._src.context.runtime.core.wp_volume_validate_host(CODE
CRITICALwarp/_src/types.py7041 warp._src.context.runtime.core.wp_volume_get_buffer_info(CODE
CRITICALwarp/_src/context.py5564 warp._src.context.runtime.core.wp_cuda_ipc_get_event_handle(CODE
CRITICALwarp/_src/context.py10635 device=device, cuda_event=warp._src.context.runtime.core.wp_cuda_ipc_open_event_handle(device.context, handle)CODE
CRITICAL⚡warp/_src/utils.py2206 count = warp._src.context.runtime.core.wp_cuda_timing_get_result_count()CODE
CRITICAL⚡warp/_src/utils.py2210 warp._src.context.runtime.core.wp_cuda_timing_end(result_buffer, count)CODE
CRITICAL⚡warp/_src/utils.py2215 device = warp._src.context.runtime.context_map.get(r.context)CODE
CRITICALwarp/_src/utils.py1732 warp._src.context.runtime.tape.record_scope_begin(self.name)CODE
CRITICALwarp/_src/utils.py1763 warp._src.context.runtime.tape.record_scope_end()CODE
CRITICALwarp/_src/utils.py2189 warp._src.context.runtime.core.wp_cuda_timing_begin(cuda_filter)CODE
CRITICALwarp/_src/texture.py303 result = warp._src.context.runtime.core.wp_texture_descriptor_from_cuda_array(CODE
CRITICALwarp/_src/torch.py29 warp_device = warp._src.context.runtime.device_map.get(torch_device)CODE
CRITICALwarp/_src/jax/ffi.py599 if wp._src.context.runtime.core.wp_cuda_launch_kernel(CODE
CRITICALwarp/_src/jax/ffi.py973 if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream):CODE
CRITICALwarp/_src/jax/ffi.py1006 if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream):CODE
CRITICALwarp/_src/jax/ffi.py1045 if not wp._src.context.runtime.core.wp_cuda_graph_update_memcpy_batch(CODE
CRITICALwarp/_src/jax/ffi.py1059 if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream):CODE
CRITICALwarp/tests/walkthrough_debug.py55assert wp._src.context.runtime.core.wp_is_debug_enabled(), (CODE
CRITICAL⚡warp/tests/test_graph.py681 node = wp._src.context.runtime.core.wp_cuda_graph_insert_alloc_node(device.context, 1)CODE
CRITICAL⚡warp/tests/test_graph.py689 node = wp._src.context.runtime.core.wp_cuda_graph_insert_free_node(device.context, alloc_node)CODE
CRITICAL⚡warp/tests/test_graph.py697 node = wp._src.context.runtime.core.wp_cuda_graph_insert_empty_node(device.context)CODE
CRITICAL⚡warp/tests/test_graph.py747 result = wp._src.context.runtime.core.wp_cuda_graph_alloc_query(a, b)CODE
CRITICAL⚡warp/tests/test_graph.py756 result = wp._src.context.runtime.core.wp_cuda_graph_alloc_query(a, b)CODE
CRITICAL⚡warp/tests/test_graph.py765 result = wp._src.context.runtime.core.wp_cuda_graph_alloc_query(a, b)CODE
CRITICALwarp/tests/test_graph.py723 result = wp._src.context.runtime.core.wp_cuda_graph_node_depends_on(a, b)CODE
CRITICAL⚡warp/tests/cuda/test_async.py415 saved_error_output_enabled = wp._src.context.runtime.core.wp_is_error_output_enabled()CODE
CRITICAL⚡warp/tests/cuda/test_async.py416 wp._src.context.runtime.core.wp_set_error_output_enabled(False)CODE
CRITICAL⚡warp/tests/cuda/test_async.py421 wp._src.context.runtime.core.wp_set_error_output_enabled(saved_error_output_enabled)CODE
CRITICALwarp/tests/interop/test_jax.py1365 for c in wp._src.jax.ffi._FFI_CALLABLE_REGISTRY.values():CODE
CRITICALwarp/tests/tile/test_tile_fft.py12wp.init() # For wp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/tests/tile/test_tile_fft.py116 if wp_device.is_cuda and not wp._src.context.runtime.core.wp_is_mathdx_enabled():CODE
CRITICALwarp/tests/tile/test_tile_fft.py158 if wp_device.is_cuda and not wp._src.context.runtime.core.wp_is_mathdx_enabled():CODE
CRITICAL⚡warp/tests/tile/test_tile_cholesky.py859 not wp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICAL⚡warp/tests/tile/test_tile_cholesky.py861 wp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
12 more matches not shown…
Unused Imports965 hits · 722 pts
SeverityFileLineSnippetContext
LOWbuild_docs.py15CODE
LOWbuild_llvm.py17CODE
LOWbuild_lib.py15CODE
LOWtools/ci/cuda_toolkit.py48CODE
LOWtools/ci/test_cuda_toolkit.py4CODE
LOWtools/ci/publishing/kitmaker_release.py17CODE
LOWtools/ci/publishing/set_nightly_version.py11CODE
LOWtools/ci/publishing/set_nightly_version.py11CODE
LOWtools/pre-commit-hooks/check_generated_files.py20CODE
LOWtools/pre-commit-hooks/check_generated_files.py30CODE
LOWtools/pre-commit-hooks/check_version_consistency.py18CODE
LOWtools/pre-commit-hooks/sync_skills.py18CODE
LOWtools/repoman/repoman.py6CODE
LOWtools/repoman/repoman.py7CODE
LOW…aude/skills/warp-release-audit/scripts/list_commits.py11CODE
LOW…e/skills/warp-release-audit/scripts/diff_public_api.py11CODE
LOW…skills/warp-release-notes/scripts/list_contributors.py21CODE
LOWdocs/generate_reference.py18CODE
LOW…odex/skills/warp-release-audit/scripts/list_commits.py11CODE
LOW…x/skills/warp-release-audit/scripts/diff_public_api.py11CODE
LOW…skills/warp-release-notes/scripts/list_contributors.py21CODE
LOWwarp/__init__.py106CODE
LOWwarp/__init__.py107CODE
LOWwarp/__init__.py108CODE
LOWwarp/__init__.py109CODE
LOWwarp/__init__.py110CODE
LOWwarp/__init__.py115CODE
LOWwarp/__init__.py116CODE
LOWwarp/__init__.py117CODE
LOWwarp/__init__.py118CODE
LOWwarp/__init__.py119CODE
LOWwarp/__init__.py120CODE
LOWwarp/__init__.py121CODE
LOWwarp/__init__.py122CODE
LOWwarp/__init__.py123CODE
LOWwarp/__init__.py124CODE
LOWwarp/__init__.py125CODE
LOWwarp/__init__.py126CODE
LOWwarp/__init__.py127CODE
LOWwarp/__init__.py128CODE
LOWwarp/__init__.py133CODE
LOWwarp/__init__.py134CODE
LOWwarp/__init__.py135CODE
LOWwarp/__init__.py136CODE
LOWwarp/__init__.py137CODE
LOWwarp/__init__.py138CODE
LOWwarp/__init__.py139CODE
LOWwarp/__init__.py140CODE
LOWwarp/__init__.py141CODE
LOWwarp/__init__.py142CODE
LOWwarp/__init__.py143CODE
LOWwarp/__init__.py144CODE
LOWwarp/__init__.py146CODE
LOWwarp/__init__.py147CODE
LOWwarp/__init__.py148CODE
LOWwarp/__init__.py149CODE
LOWwarp/__init__.py150CODE
LOWwarp/__init__.py151CODE
LOWwarp/__init__.py152CODE
LOWwarp/__init__.py153CODE
905 more matches not shown…
Deep Nesting465 hits · 330 pts
SeverityFileLineSnippetContext
LOWbuild_docs.py79CODE
LOWbuild_docs.py162CODE
LOWbuild_docs.py183CODE
LOWsetup.py87CODE
LOWbuild_llvm.py438CODE
LOWbuild_lib.py178CODE
LOWbuild_lib.py254CODE
LOWtools/ci/cuda_toolkit.py523CODE
LOWtools/ci/cuda_toolkit.py573CODE
LOWtools/ci/cuda_toolkit.py871CODE
LOWtools/ci/deploy_doc.py298CODE
LOWtools/ci/publishing/update_git_hash.py48CODE
LOWtools/ci/publishing/kitmaker_release.py112CODE
LOWtools/llvm/package_sdk.py42CODE
LOWtools/llvm/check_sdk.py115CODE
LOWtools/packman/packmanconf.py78CODE
LOWasv/benchmarks/sparse/transpose.py28CODE
LOW…e/skills/warp-release-audit/scripts/diff_public_api.py291CODE
LOW…skills/warp-release-notes/scripts/list_contributors.py225CODE
LOW…skills/warp-release-notes/scripts/list_contributors.py391CODE
LOWdocs/conf.py520CODE
LOWdocs/conf.py569CODE
LOWdocs/generate_reference.py310CODE
LOWdocs/generate_reference.py449CODE
LOW…x/skills/warp-release-audit/scripts/diff_public_api.py291CODE
LOW…skills/warp-release-notes/scripts/list_contributors.py225CODE
LOW…skills/warp-release-notes/scripts/list_contributors.py391CODE
LOWwarp/_src/build_dll.py144CODE
LOWwarp/_src/build_dll.py368CODE
LOWwarp/_src/build_dll.py584CODE
LOWwarp/_src/build.py318CODE
LOWwarp/_src/build.py387CODE
LOWwarp/_src/build.py775CODE
LOWwarp/_src/external_build.py80CODE
LOWwarp/_src/deterministic.py1145CODE
LOWwarp/_src/deterministic.py1175CODE
LOWwarp/_src/deterministic.py1291CODE
LOWwarp/_src/deterministic.py2179CODE
LOWwarp/_src/fabric.py93CODE
LOWwarp/_src/fabric.py179CODE
LOWwarp/_src/builtins.py1159CODE
LOWwarp/_src/builtins.py1274CODE
LOWwarp/_src/builtins.py2071CODE
LOWwarp/_src/builtins.py2331CODE
LOWwarp/_src/builtins.py5621CODE
LOWwarp/_src/builtins.py5835CODE
LOWwarp/_src/builtins.py6279CODE
LOWwarp/_src/builtins.py6474CODE
LOWwarp/_src/builtins.py6510CODE
LOWwarp/_src/builtins.py6683CODE
LOWwarp/_src/builtins.py7553CODE
LOWwarp/_src/builtins.py8368CODE
LOWwarp/_src/builtins.py8977CODE
LOWwarp/_src/builtins.py14820CODE
LOWwarp/_src/builtins.py16046CODE
LOWwarp/_src/builtins.py18354CODE
LOWwarp/_src/builtins.py18646CODE
LOWwarp/_src/builtins.py19131CODE
LOWwarp/_src/builtins.py14821CODE
LOWwarp/_src/paddle.py18CODE
405 more matches not shown…
Over-Commented Block303 hits · 284 pts
SeverityFileLineSnippetContext
LOWbuild_lib.py1# /// scriptCOMMENT
LOW.gitlab/ci/common.yml1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW.gitlab/ci/common.yml21# Collapsible Section Markers:COMMENT
LOW.gitlab/ci/common.yml41# CONTAINER IMAGES:COMMENT
LOW.gitlab/ci/asv.yml1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW.gitlab/ci/clang-build-and-test.yml1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW.gitlab/ci/debug-build-and-test.yml1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/llvm/test_package/test_package.cpp1// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWtools/packman/python.sh1#!/bin/bashCOMMENT
LOWtools/packman/packmanconf.py1# Copyright 2021-2024 NVIDIA CORPORATIONCOMMENT
LOWlicenses/usd-LICENSE.txt21// compliance with the Apache License and the following modification to it:COMMENT
LOWdocs/conf.py261# so this setting is what keeps those constructor arguments in the rendered docs.COMMENT
LOWdocs/conf.py781 # wrapper, but Sphinx's TocTreeCollector still descends into it andCOMMENT
LOW.github/workflows/sphinx.yml41 fetch-depth: 0COMMENT
LOW.github/workflows/build-llvm-sdk.yml441 #COMMENT
LOWwarp/__init__.py21# modules to the public Warp modules their kernels/functions/structs belong to.COMMENT
LOWwarp/_src/deterministic.py1381 "atomic_sub": REDUCE_OP_ADD, # value is negated before scatterCOMMENT
LOWwarp/_src/context.py201 #COMMENT
LOWwarp/_src/context.py1161 # or None when it configured cleanly. Formatted once here because every input is fixedCOMMENT
LOWwarp/_src/context.py2161 key=key,COMMENT
LOWwarp/_src/context.py2761 parent_loader = None if parent is None else parent.__loader__COMMENT
LOWwarp/_src/context.py3161 # Canonicalize the unique codegen roots using the same full content digestCOMMENT
LOWwarp/_src/context.py4361 # Check for unresolved static expressions in the function.COMMENT
LOWwarp/_src/context.py4801 # Skip compilation if the binary and metadata are already cachedCOMMENT
LOWwarp/_src/context.py12581 frame = sys._getframe(stack_level)COMMENT
LOWwarp/_src/context.py14441 # into the byte stream, and the .wrp region model has no host-destination regionsCOMMENT
LOWwarp/_src/codegen.py2021COMMENT
LOWwarp/_src/codegen.py2801 # Type args are the "compile time" argument values we get from codegen.COMMENT
LOWwarp/_src/codegen.py3541 # capture the symbol versions produced by the 'if' branch, then restore theCOMMENT
LOWwarp/_src/codegen.py5881 # advanced-index assignment (t[indices, :] = src) is not supported: aCOMMENT
LOWwarp/_src/codegen.py6761COMMENT
LOWwarp/_src/codegen.py6841 name_node = ast.Name("__warp_func__")COMMENT
LOWwarp/_src/codegen.py7141#define float(x) cast_float(x)COMMENT
LOWwarp/_src/codegen.py7161COMMENT
LOWwarp/_src/codegen.py7181COMMENT
LOWwarp/_src/codegen.py8061COMMENT
LOWwarp/_src/render/render_opengl.py2921 # img = Image.open(file_path)COMMENT
LOWwarp/_src/render/render_opengl.py2941 # pixels[half_w:width, half_h:height] = color1COMMENT
LOWwarp/_src/apic/capture.py41 self.apic_state: ctypes.c_void_p = runtime.core.wp_apic_create_state()COMMENT
LOWwarp/_src/jax/xla_ffi.py121# XLA_FFI_DataType_PRED = 1,COMMENT
LOWwarp/_src/jax/xla_ffi.py281# XLA_FFI_AttrType_DICTIONARY = 2,COMMENT
LOWwarp/_src/jax/xla_ffi.py321 ("major_version", ctypes.c_int),COMMENT
LOWwarp/_src/jax/xla_ffi.py361# XLA_FFI_Error_Code_OK = 0,COMMENT
LOWwarp/_src/jax/xla_ffi.py461# _XLA_FFI_API_STRUCT_FIELD(XLA_FFI_Error_GetMessage);COMMENT
LOWwarp/_src/jax/xla_ffi.py501 # TODO(chaserileyroberts): Make this return the correct value and not a c_void_p.COMMENT
LOWwarp/native/bvh.cpp1// SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/native/cpu_block_runtime.h41// Native/Python launch bridges call this before and after invoking theCOMMENT
LOWwarp/native/crt.cpp1// SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/native/noise.h1061COMMENT
LOWwarp/native/tile_reduce.h441 } else if constexpr (reduce_dim_size <= 256) {COMMENT
LOWwarp/native/range.h1// SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/native/version.h1// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/native/svd.h1// SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/native/builtin.h1// SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/native/builtin.h21#define CUDA_CALLABLE_DEVICE __device__COMMENT
LOWwarp/native/builtin.h41#endifCOMMENT
LOWwarp/native/builtin.h61#define M_2_SQRT_PI_F 1.1283791670955125739f // 2/sqrt(pi)COMMENT
LOWwarp/native/builtin.h741// NaN. Lowers to a single-instruction intrinsic on CUDA (libdevice __nv_fminf).COMMENT
LOWwarp/native/builtin.h2241COMMENT
LOWwarp/native/builtin.h2841 print(diff);COMMENT
243 more matches not shown…
Empty Error Handlers66 hits · 255 pts
SeverityFileLineSnippetContext
HIGHbuild_docs.py168except ProcessLookupError:CODE
HIGHtools/pre-commit-hooks/check_version_consistency.py64except FileNotFoundError:CODE
HIGHtools/pre-commit-hooks/sync_skills.py508except OSError:CODE
HIGHwarp/_src/build.py485except OSError:CODE
HIGHwarp/_src/build.py491except (OSError, FileExistsError):CODE
HIGHwarp/_src/fabric.py306except (TypeError, AttributeError):CODE
HIGHwarp/_src/types.py4009except (TypeError, AttributeError):CODE
HIGHwarp/_src/types.py6044except (TypeError, AttributeError):CODE
HIGHwarp/_src/types.py6298except (TypeError, AttributeError):CODE
HIGHwarp/_src/types.py6471except (TypeError, AttributeError):CODE
HIGHwarp/_src/types.py8163except (TypeError, AttributeError):CODE
HIGHwarp/_src/context.py16235except (TypeError, AttributeError, OSError):CODE
HIGHwarp/_src/context.py702except TypeError:CODE
HIGHwarp/_src/context.py5305except Exception:CODE
HIGHwarp/_src/context.py5593except (TypeError, AttributeError):CODE
HIGHwarp/_src/context.py5673except (TypeError, AttributeError):CODE
HIGHwarp/_src/context.py6410except (TypeError, AttributeError):CODE
HIGHwarp/_src/context.py6421except (TypeError, AttributeError):CODE
HIGHwarp/_src/context.py6429except (TypeError, AttributeError):CODE
HIGHwarp/_src/context.py6446except (TypeError, AttributeError):CODE
HIGHwarp/_src/context.py8770except (AttributeError, OSError, UnicodeDecodeError):CODE
HIGHwarp/_src/context.py8785except (AttributeError, OSError, UnicodeDecodeError):CODE
HIGHwarp/_src/context.py8800except (AttributeError, OSError, UnicodeDecodeError):CODE
HIGHwarp/_src/context.py8815except (AttributeError, OSError):CODE
HIGHwarp/_src/context.py9897except (TypeError, AttributeError):CODE
HIGHwarp/_src/context.py16441except importlib.metadata.PackageNotFoundError:CODE
HIGHwarp/_src/context.py3896except (TypeError, AttributeError):CODE
HIGHwarp/_src/context.py4974except OSError:CODE
HIGHwarp/_src/context.py8539except ValueError:CODE
HIGHwarp/_src/context.py13772except Exception:CODE
HIGHwarp/_src/context.py13969except Exception:CODE
HIGHwarp/_src/context.py15462except Exception:CODE
HIGHwarp/_src/context.py4446except Exception:CODE
HIGHwarp/_src/context.py4956except OSError:CODE
HIGHwarp/_src/context.py4966except OSError:CODE
HIGHwarp/_src/context.py13767except Exception:CODE
HIGHwarp/_src/context.py13964except Exception:CODE
HIGHwarp/_src/context.py15183except ImportError:CODE
HIGHwarp/_src/context.py4466except Exception:CODE
HIGHwarp/_src/context.py10673except AttributeError:CODE
HIGHwarp/_src/context.py10683except AttributeError:CODE
HIGHwarp/_src/context.py10692except AttributeError:CODE
HIGHwarp/_src/generated_files.py55except FileNotFoundError:CODE
HIGHwarp/_src/texture.py480except (TypeError, AttributeError):CODE
HIGHwarp/_src/texture.py1491except (TypeError, AttributeError):CODE
HIGHwarp/_src/codegen.py3945except WarpCodegenError:CODE
HIGHwarp/_src/codegen.py4909except (ValueError, TypeError):CODE
HIGHwarp/_src/codegen.py183except ValueError:CODE
HIGHwarp/_src/codegen.py6185except WarpCodegenError:CODE
HIGHwarp/_src/codegen.py2134except SyntaxError:CODE
HIGHwarp/_src/codegen.py6237except WarpCodegenError:CODE
HIGHwarp/_src/codegen.py6724except Exception:CODE
HIGHwarp/_src/fem/cache.py543except (TypeError, AttributeError):CODE
HIGHwarp/_src/render/render_opengl.py2475except gl.GLException:CODE
HIGHwarp/_src/render/render_opengl.py3882except AttributeError:CODE
HIGHwarp/_src/render/render_opengl.py711except gl.GLException:CODE
HIGHwarp/_src/render/render_opengl.py718except gl.GLException:CODE
HIGHwarp/_src/render/render_opengl.py1479except gl.GLException:CODE
HIGHwarp/_src/render/render_opengl.py1486except gl.GLException:CODE
HIGHwarp/tests/test_examples.py154except OSError:CODE
6 more matches not shown…
Docstring Block Structure41 hits · 205 pts
SeverityFileLineSnippetContext
HIGHtools/ci/publishing/set_nightly_version.py14Return an incremented version based on the input semantic version. Args: version: Input version string STRING
HIGHwarp/_src/build_dll.py369Get LLVM include directory paths based on configuration. Args: args: The argument namespace containing llvmSTRING
HIGHwarp/_src/build.py582Compile (or fetch from the LTO cache) a cuBLASDx GEMM ``C = alpha * A @ B + beta * C``. The operand alignment declaSTRING
HIGHwarp/_src/types.py4435Set all array entries to `value` args: value: The value to set every array entry to. Must be converSTRING
HIGHwarp/_src/types.py5114Create an array from an IPC handle. The ``dtype``, ``shape``, and optional ``strides`` arguments should match tSTRING
HIGHwarp/_src/types.py6066Rebuild the BVH hierarchy **in place** from the current ``lowers``/``uppers`` arrays. This method does not alloSTRING
HIGHwarp/_src/types.py7012Create a new :class:`Volume` aliasing an in-memory grid buffer. In contrast to :meth:`load_from_nvdb` which shoSTRING
HIGHwarp/_src/types.py7683Rebuild this volume's topology in place from ``points``. The volume must have been created with ``rebuildable=TSTRING
HIGHwarp/_src/context.py6310Validate :data:`warp.config.cuda_arch_suffix` and return the suffix string. This is a device-independent validationSTRING
HIGHwarp/_src/context.py6537Return the address of a named parameter region in a loaded graph. The returned address is a host pointer for a STRING
HIGHwarp/_src/context.py9418Get the CUDA memory pool release threshold on the device. Parameters: device: The :class:`~warp._src.contexSTRING
HIGHwarp/_src/context.py9447Get the amount of memory from the device's memory pool that is currently in use by the application. Parameters: STRING
HIGHwarp/_src/context.py9476Get the application's memory usage high-water mark from the device's CUDA memory pool. Parameters: device: STRING
HIGHwarp/_src/context.py10406Return whether ``device`` can directly access ``resource``. In this release, ``resource`` must be a concrete Warp aSTRING
HIGHwarp/_src/context.py10610Create an event from an IPC handle. Args: handle: The interprocess event handle for an existing CUDA event.STRING
HIGHwarp/_src/context.py11498Validate launch dimensions and compute the total thread count. This is the common normalization path for kernel lauSTRING
HIGHwarp/_src/context.py12174Return properties of a compiled CUDA kernel. Args: kernel: A concrete ``@wp.kernel``-decorated kernel or exSTRING
HIGHwarp/_src/context.py12216Suggest a CUDA block size that maximizes occupancy for a kernel. Queries the CUDA driver's occupancy API (``cuOSTRING
HIGHwarp/_src/context.py12563Return the fully qualified module name of the caller. Uses a multi-step fallback chain so that callers running undeSTRING
HIGHwarp/_src/context.py12714Resolve a module from a string, Module, or types.ModuleType. Args: module: The module to resolve. RetuSTRING
HIGHwarp/_src/context.py12783Compile a module (ahead of time) for a given device. Args: module: The module to compile. device: TSTRING
HIGHwarp/_src/utils.py467Perform run-length encoding on an array. This function compresses an array by replacing consecutive identical valueSTRING
HIGHwarp/_src/utils.py621Compute the sum of array elements. This function computes the sum of array elements, optionally along a specified aSTRING
HIGHwarp/_src/utils.py760Compute the inner product of two arrays. This function computes the dot product between two arrays with the same shSTRING
HIGHwarp/_src/math.py391Construct a quaternion from Euler angles and an axis sequence. Args: e: Euler angles in radians. i:STRING
HIGHwarp/_src/fem/space/__init__.py116 Makes a space topology from a geometry and an element-based shape function. Args: geo: The geometry toSTRING
HIGHwarp/_src/fem/space/shape/__init__.py71Equip a reference element with a shape function basis. Args: element: the type of reference element on whicSTRING
HIGHwarp/_src/render/render_opengl.py3265Create or update a triangular mesh for visualization. When ``update_topology`` is ``False`` and ``name`` identiSTRING
HIGHwarp/_src/optim/linear.py237Construct and return a preconditioner for an input matrix. Args: A: The matrix for which to build the precoSTRING
HIGHwarp/_src/optim/linear.py1600Compute an approximate solution to a symmetric, positive-definite linear system using the Conjugate Gradient algoritSTRING
HIGHwarp/_src/optim/linear.py1853Compute an approximate solution to a symmetric, positive-definite linear system using the Conjugate Residual algoritSTRING
HIGHwarp/_src/geometry/sparse_marching_cubes.py1019Extract an isosurface from an explicit set of occupied cells and corner values. This is the sparse marching cubes cSTRING
HIGHwarp/_src/geometry/sparse_marching_cubes.py1159Extract an isosurface from an implicit function using a Lipschitz octree. Rather than sampling a dense grid, this rSTRING
HIGHwarp/_src/geometry/delaunay.py1145Extract the swept volume (motion envelope) of animated rigid meshes. Samples the swept-volume signed-distance fieldSTRING
HIGHwarp/_src/geometry/marching_cubes.py885Extract a triangular mesh from a 3D scalar field. This function generates an isosurface by processing the entirSTRING
HIGHwarp/_src/geometry/iso_surface.py205Extract a mesh from a 3D scalar field in a single stateless call. Args: field: A 3D array representSTRING
HIGHwarp/tests/unittest_utils.py393Run Python source in a child interpreter with test-safe process settings. Use this helper when the child process's STRING
HIGH…amples/fem/example_cantilever_topology_optimization.py193Build normalized CSR rows for the linear density filter. Neighbor weights decrease linearly with cell-center distanSTRING
HIGHwarp/examples/distributed/example_jacobi_mpi.py39Return the device that should be used for the current rank. This function is used to ensure that multiple MPI ranksSTRING
HIGHwarp/examples/distributed/example_jacobi_nccl.py40Return the Warp device this rank should use. Splits the communicator into a node-local group and maps each local raSTRING
HIGHwarp/examples/distributed/example_jacobi_nvshmem.py51Return the Warp device this rank should use. Splits the communicator into a node-local group and maps each local raSTRING
Excessive Try-Catch Wrapping188 hits · 196 pts
SeverityFileLineSnippetContext
LOWbuild_docs.py244 except Exception:CODE
LOWbuild_llvm.py511 except Exception as e:CODE
MEDIUMbuild_lib.py160 print(f"Error: libmathdx path does not exist or is not a directory: {libmathdx_path}")CODE
MEDIUMbuild_lib.py172 print(f"Error: libmathdx installation is missing '{name}' directory: {path}")CODE
MEDIUM⚡build_lib.py417 print("Error: --llvm-path and --build-llvm are mutually exclusive.")CODE
MEDIUM⚡build_lib.py425 print("Error: --no-cuda and --cuda-path are mutually exclusive.")CODE
MEDIUM⚡build_lib.py428 print("Error: --clang-build-toolchain requires CUDA (incompatible with --no-cuda).")CODE
MEDIUM⚡build_lib.py431 print("Error: --use-dynamic-cuda requires CUDA (incompatible with --no-cuda).")CODE
MEDIUMbuild_lib.py494 print("Error: --msvc-path and --sdk-path must be used together")CODE
MEDIUMbuild_lib.py591 print("Error: libmathdx not found. MathDx support is enabled but libmathdx could not be located.")CODE
LOWbuild_lib.py627 except Exception as e:CODE
LOWbuild_lib.py640 except Exception as e:CODE
LOWbuild_lib.py726 except Exception as e:CODE
LOWdesign/hardware-coherent-memory-access.md936 except Exception:CODE
LOWtools/ci/deploy_doc.py454 except Exception as e:STRING
MEDIUMtools/ci/deploy_doc.py455 print(f"Error: {e}", file=sys.stderr)STRING
MEDIUMtools/ci/publishing/update_git_hash.py77 print(f"Error: _git_commit_hash assignment not found or unsupported in {config_file_path}")CODE
MEDIUMtools/ci/publishing/update_git_hash.py83 print(f"Error: _git_commit_hash assignment not found or unsupported in {config_file_path}")CODE
LOWtools/ci/publishing/update_git_hash.py103 except Exception as e:CODE
MEDIUMtools/ci/publishing/update_git_hash.py104 print(f"Error updating git hash in config file: {e}")CODE
MEDIUM⚡tools/ci/publishing/kitmaker_release.py248 print(f"Error: Missing required configuration: {', '.join(missing)}")STRING
MEDIUM⚡tools/ci/publishing/kitmaker_release.py253 print("Error: KITMAKER_API_TOKEN environment variable is not set")STRING
MEDIUM⚡tools/ci/publishing/kitmaker_release.py260 print(f"Error: Too many wheel URLs ({len(args.wheel_urls)}). Maximum is 4.")STRING
MEDIUM⚡tools/ci/publishing/kitmaker_release.py266 print(f"Error: Invalid wheel URL (must be https:// and end with .whl): {wheel_url}")STRING
MEDIUM⚡tools/ci/publishing/kitmaker_release.py273 print(f"Error: {error}")STRING
LOWtools/ci/publishing/kitmaker_release.py313 except Exception as e:STRING
LOW⚡tools/ci/publishing/set_nightly_version.py91 except Exception as e:CODE
MEDIUM⚡tools/ci/publishing/set_nightly_version.py92 print(f"Error updating version in config file: {e}")CODE
LOWtools/ci/publishing/set_nightly_version.py116 except Exception as e:CODE
MEDIUMtools/ci/publishing/set_nightly_version.py117 print(f"Error updating version file: {e}")CODE
LOWtools/ci/publishing/set_nightly_version.py190 except Exception as e:CODE
MEDIUMtools/ci/publishing/set_nightly_version.py191 print(f"Error updating version: {e}")CODE
LOWdocs/conf.py484 except Exception:STRING
LOWdocs/conf.py577 except Exception:CODE
LOWdocs/_ext/warp_function_reference.py112 except Exception:CODE
LOWwarp/_src/build_dll.py273 except Exception as e:CODE
MEDIUMwarp/_src/build_dll.py253def get_cuda_toolkit_version(cuda_home) -> tuple[int, int]:CODE
LOWwarp/_src/external_build.py233 except Exception as e:CODE
LOWwarp/_src/deterministic.py2675 except Exception:CODE
LOWwarp/_src/paddle.py56 except Exception as e:CODE
MEDIUMwarp/_src/types.py138def __eq__(self, x):CODE
MEDIUMwarp/_src/types.py3843def _init_from_ptr(self, ptr, dtype, shape, strides, capacity, device, pinned, dCODE
MEDIUMwarp/_src/types.py3897def _init_new(self, dtype, shape, strides, device, pinned):CODE
LOWwarp/_src/types.py3509 except Exception:CODE
LOWwarp/_src/types.py3655 except Exception as e:CODE
LOWwarp/_src/types.py3689 except Exception as e:CODE
LOWwarp/_src/types.py3715 except Exception as e:CODE
LOWwarp/_src/types.py3734 except Exception as e:CODE
LOWwarp/_src/types.py3765 except Exception as e:CODE
LOWwarp/_src/types.py3795 except Exception as e:CODE
LOWwarp/_src/types.py3820 except Exception:CODE
LOWwarp/_src/types.py3847 except Exception:CODE
LOWwarp/_src/types.py3901 except Exception:CODE
LOWwarp/_src/types.py4500 except Exception as e:CODE
LOWwarp/_src/types.py5139 except Exception:CODE
LOWwarp/_src/types.py5270 except Exception as e:CODE
LOWwarp/_src/types.py8489 except Exception as e:CODE
LOWwarp/_src/logger.py89 except Exception:CODE
MEDIUMwarp/_src/context.py6405def __del__(self):CODE
MEDIUMwarp/_src/context.py15067def ctype_ret_str(t):CODE
128 more matches not shown…
Cross-File Repetition39 hits · 195 pts
SeverityFileLineSnippetContext
HIGHasv/benchmarks/fem/integrate.py0utility base class for building fem matrices to test bsr matrix-vector multiplication.STRING
HIGHasv/benchmarks/sparse/matrix_vector.py0utility base class for building fem matrices to test bsr matrix-vector multiplication.STRING
HIGHasv/benchmarks/sparse/matrix_matrix.py0utility base class for building fem matrices to test bsr matrix-vector multiplication.STRING
HIGH…aude/skills/warp-release-audit/scripts/list_commits.py0return sorted, deduplicated gh issue numbers referenced in subject+body.STRING
HIGH…skills/warp-release-notes/scripts/list_contributors.py0return sorted, deduplicated gh issue numbers referenced in subject+body.STRING
HIGH…odex/skills/warp-release-audit/scripts/list_commits.py0return sorted, deduplicated gh issue numbers referenced in subject+body.STRING
HIGH…skills/warp-release-notes/scripts/list_contributors.py0return sorted, deduplicated gh issue numbers referenced in subject+body.STRING
HIGHwarp/_src/fem/quadrature/quadrature.py0structure containing arguments to be passed to side-related device functions.STRING
HIGHwarp/_src/fem/space/partition.py0structure containing arguments to be passed to side-related device functions.STRING
HIGHwarp/_src/fem/geometry/partition.py0structure containing arguments to be passed to side-related device functions.STRING
HIGHwarp/_src/fem/geometry/quadmesh.py0generate a cellarg struct for the given position vector type.STRING
HIGHwarp/_src/fem/geometry/hexmesh.py0generate a cellarg struct for the given position vector type.STRING
HIGHwarp/_src/fem/geometry/trimesh.py0generate a cellarg struct for the given position vector type.STRING
HIGHwarp/_src/fem/geometry/quadmesh.py0generate a sidearg struct for the given position vector type.STRING
HIGHwarp/_src/fem/geometry/hexmesh.py0generate a sidearg struct for the given position vector type.STRING
HIGHwarp/_src/fem/geometry/trimesh.py0generate a sidearg struct for the given position vector type.STRING
HIGHwarp/_src/fem/geometry/partition.py0fill the arguments to be passed to cell-related device functions.STRING
HIGHwarp/_src/fem/geometry/hexmesh.py0fill the arguments to be passed to cell-related device functions.STRING
HIGHwarp/_src/fem/geometry/trimesh.py0fill the arguments to be passed to cell-related device functions.STRING
HIGHwarp/_src/fem/geometry/tetmesh.py0fill the arguments to be passed to cell-related device functions.STRING
HIGHwarp/_src/fem/geometry/partition.py0fill the arguments to be passed to side-related device functions.STRING
HIGHwarp/_src/fem/geometry/hexmesh.py0fill the arguments to be passed to side-related device functions.STRING
HIGHwarp/_src/fem/geometry/trimesh.py0fill the arguments to be passed to side-related device functions.STRING
HIGHwarp/_src/fem/geometry/tetmesh.py0fill the arguments to be passed to side-related device functions.STRING
HIGHwarp/_src/fem/geometry/hexmesh.py0fill the arguments to be passed to side-index device functions.STRING
HIGHwarp/_src/fem/geometry/trimesh.py0fill the arguments to be passed to side-index device functions.STRING
HIGHwarp/_src/fem/geometry/tetmesh.py0fill the arguments to be passed to side-index device functions.STRING
HIGHwarp/_src/fem/geometry/nanogrid.py0device function for looking up the closest cell to a position.STRING
HIGHwarp/_src/fem/geometry/grid_2d.py0device function for looking up the closest cell to a position.STRING
HIGHwarp/_src/fem/geometry/grid_3d.py0device function for looking up the closest cell to a position.STRING
HIGHwarp/_src/fem/geometry/geometry.py0device function for looking up the closest cell to a position.STRING
HIGHwarp/_src/fem/geometry/grid_2d.py0create a filtered cell lookup function. args: filter_func: optional device predicate to filter candidate cells.STRING
HIGHwarp/_src/fem/geometry/grid_3d.py0create a filtered cell lookup function. args: filter_func: optional device predicate to filter candidate cells.STRING
HIGHwarp/_src/fem/geometry/geometry.py0create a filtered cell lookup function. args: filter_func: optional device predicate to filter candidate cells.STRING
HIGHwarp/tests/test_vec.py0get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to STRING
HIGHwarp/tests/test_vec_scalar_ops.py0get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to STRING
HIGHwarp/tests/test_quat.py0get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to STRING
HIGHwarp/tests/test_arithmetic.py0get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to STRING
HIGHwarp/tests/matrix/utils.py0get or create a cached kernel. args: kernel_cache: dictionary to cache kernels (module-local). func: kernel function to STRING
Self-Referential Comments61 hits · 162 pts
SeverityFileLineSnippetContext
MEDIUM⚡.gitlab/ci/common.yml7# This file defines reusable configuration snippets that are shared across allCOMMENT
MEDIUM.gitlab/ci/common.yml39# Define a PowerShell function to get timestamps for Windows jobsCOMMENT
MEDIUM.gitlab/ci/asv.yml158 # Create a working asv env first (no project build), so subsequentCOMMENT
MEDIUMtools/ci/publishing/set_nightly_version.py76 # Define the regex to match the version assignment, including optional local version identifiersCOMMENT
MEDIUMdocs/generate_reference.py552 # Create a dummy module for the rest of the code to run smoothly.STRING
MEDIUMwarp/_src/context.py2126 # Create a new temporary module that will be renamed based on hash.COMMENT
MEDIUMwarp/_src/context.py2158 # Create the kernel object and register it with the moduleCOMMENT
MEDIUMwarp/_src/utils.py1011 # Create a Warp function from the input functionCOMMENT
MEDIUM⚡warp/_src/texture.py188 # Create a 1D textureSTRING
MEDIUM⚡warp/_src/texture.py191 # Create a 2D textureSTRING
MEDIUM⚡warp/_src/texture.py194 # Create a 3D textureSTRING
MEDIUMwarp/_src/render/render_opengl.py3354 # Create a new instance.COMMENT
MEDIUMwarp/_src/render/render_opengl.py3409 # Create a new instance if necessary.COMMENT
MEDIUMwarp/_src/thirdparty/unittest_parallel.py232 # Create the temporary directory (for coverage files)STRING
MEDIUMwarp/_src/thirdparty/unittest_parallel.py271 # Create the shared index object used in Warp caches (NVIDIA Modification)STRING
MEDIUMwarp/_src/thirdparty/unittest_parallel.py355 # Create a new single-process pool for each test suiteSTRING
MEDIUMwarp/_src/thirdparty/unittest_parallel.py525 # Create the coverage objectSTRING
MEDIUMwarp/tests/test_utils.py97 values = scalar_values_base[::2] # Create a non-contiguous Warp array view.CODE
MEDIUMwarp/tests/test_utils.py133 values = vector_values_base[1::2] # Create a non-contiguous Warp array view.CODE
MEDIUMwarp/tests/aux_test_reference.py3# This file is used to test reloading module references.COMMENT
MEDIUMwarp/tests/test_sparse.py1206 # Create a dense "sparse" matrixCOMMENT
MEDIUMwarp/tests/test_unique_module.py149 # Define an identical kernel without fast_math to prove the optionCOMMENT
MEDIUMwarp/tests/test_struct.py737 # Create an array, then assign it to the struct.COMMENT
MEDIUMwarp/tests/aux_test_reference_reference.py3# This file is used to test reloading module references.COMMENT
MEDIUMwarp/tests/unittest_suites.py10# This module is a lazy suite manifest: importing it should not import andCOMMENT
MEDIUMwarp/tests/test_reload.py173# This file is used to test reloading module references.COMMENT
MEDIUMwarp/tests/test_reload.py186# This file is used to test reloading module references.COMMENT
MEDIUMwarp/tests/test_indexedarray.py168 # Create the indexedarray on CPU, then move the struct to CUDA.COMMENT
MEDIUM⚡warp/tests/cuda/test_streams.py395 # Create a high-priority stream with a priority value that is smaller than -1 (clamping expected)COMMENT
MEDIUM⚡warp/tests/cuda/test_streams.py398 # Create a low-priority stream with a priority value that is greater than 0 (clamping expected)COMMENT
MEDIUM⚡warp/tests/cuda/test_texture.py1319 # Create a simple 2x2 texture with distinct values:COMMENT
MEDIUMwarp/tests/cuda/test_texture.py1382 # Create a simple 2x2 texture with distinct values:COMMENT
MEDIUMwarp/tests/cuda/test_texture.py1469 # Create a 2x2x2 texture with values 0-7COMMENT
MEDIUMwarp/tests/cuda/test_texture.py1515 # Create a 2x2x2 texture with values 0-7COMMENT
MEDIUMwarp/tests/cuda/test_texture.py2504 # Create a texture with a constant valueCOMMENT
MEDIUMwarp/tests/cuda/test_texture.py2540 # Create a texture with a constant valueCOMMENT
MEDIUMwarp/tests/interop/test_dlpack.py481 # Create a numpy array from a JAX array to respect XLA alignment needsCOMMENT
MEDIUMwarp/tests/interop/test_dlpack.py528 # Create a numpy array from a JAX array to respect XLA alignment needsCOMMENT
MEDIUM⚡warp/tests/deterministic/test_deterministic_options.py138 # Create a kernel with a per-module deterministic override.COMMENT
MEDIUMwarp/tests/tile/test_tile_sort.py56 rng = np.random.default_rng(42) # Create a random generator instanceCODE
MEDIUMwarp/tests/geometry/test_bvh.py449 # Create a single AABB spanning x=[0.5, 1.0], extending across y and z axesCOMMENT
MEDIUMwarp/tests/geometry/test_mesh_query_aabb.py380 # Create a simple mesh (two triangles forming a quad)COMMENT
MEDIUMwarp/tests/geometry/test_mesh_query_aabb.py486 # Create a query box that should intersect multiple trianglesCOMMENT
MEDIUMwarp/tests/geometry/test_mesh_query_aabb.py553 # Create a simple mesh (two triangles forming a quad)COMMENT
MEDIUMwarp/examples/core/example_graph_capture.py120 # Create the animationCOMMENT
MEDIUMwarp/examples/core/example_work_queue.py86 # Create a work queue with capacity 1024COMMENT
MEDIUMwarp/examples/core/example_torch.py32# Define the Rosenbrock functionCOMMENT
MEDIUMwarp/examples/core/example_torch.py122 # Create a grid of pointsCOMMENT
MEDIUMwarp/examples/core/example_torch.py150 # Create a scatter plot (initially empty)COMMENT
MEDIUMwarp/examples/core/example_torch.py212 # Create the animationCOMMENT
MEDIUMwarp/examples/core/example_spin_lock.py55 # Create a lock array initialized to 0 (unlocked)COMMENT
MEDIUMwarp/examples/fem/example_navier_stokes.py128 # Define an implicit field for our boundary condition value and integrateCOMMENT
MEDIUMwarp/examples/tile/example_tile_block_cholesky.py346 # Create a symmetric positive definite matrixCOMMENT
MEDIUMwarp/examples/tile/example_tile_block_cholesky.py452 # Create a stream for graph captureCOMMENT
MEDIUMwarp/examples/tile/example_tile_nbody.py110 # Create a figure and a 3D axis for the plotCOMMENT
MEDIUMwarp/examples/tile/example_tile_nbody.py179 # Create the animationCOMMENT
MEDIUM…les/g11_stage_pipeline/src/stage_pipeline/reduction.py10# This module is always launched at BLOCK_DIM, so declare it as the moduleCOMMENT
MEDIUM…les/g11_stage_pipeline/src/stage_pipeline/transport.py10# This module is always launched at BLOCK_DIM, so declare it as the moduleCOMMENT
MEDIUM…iles/g11_stage_pipeline/src/stage_pipeline/geometry.py10# This module is always launched at BLOCK_DIM, so declare it as the moduleCOMMENT
MEDIUM…iles/g11_stage_pipeline/src/stage_pipeline/spectral.py14# This module is always launched at BLOCK_DIM, so declare it as the moduleCOMMENT
1 more matches not shown…
Structural Annotation Overuse29 hits · 47 pts
SeverityFileLineSnippetContext
LOW⚡warp/_src/context.py15155 # Step 1: Parse __init__.py to identify Python API imports and conflictsCOMMENT
LOW⚡warp/_src/context.py15279 # Step 2: Write headerCOMMENT
LOW⚡warp/_src/context.py15402 # Step 3: Emit __init__.py non-import lines (docstring, __version__, __getattr__, etc.)COMMENT
LOW⚡warp/_src/context.py15885 # Step 4: Generate merged stubs for function conflictsCOMMENT
LOW⚡warp/_src/context.py15950 # Step 5: Generate stubs for non-conflicting builtinsCOMMENT
LOWwarp/_src/context.py3229 # NOTE: This method hashes all possible overloads that a function call could resolve to.COMMENT
LOW⚡warp/native/svd.h511 // Step 1: Compute ATACOMMENT
LOW⚡warp/native/svd.h516 // Step 2: EigenanalysisCOMMENT
LOW⚡warp/native/svd.h521 // Step 3: Singular valuesCOMMENT
LOWwarp/native/svd.h540 // Step 4: Eigenvectors (find V)COMMENT
LOW⚡warp/native/svd.h554 // Step 5: Compute UCOMMENT
LOW⚡warp/native/svd.h562 // Step 6: Set SCOMMENT
LOWwarp/tests/test_sgd.py24 # Step 1: momentum buffer should be initialized to gradientCOMMENT
LOWwarp/tests/test_sgd.py36 # Step 2: momentum buffer should accumulateCOMMENT
LOW⚡warp/examples/cpp/01_source_include/README.md82python compile_kernel.py # Step 1: Compile kernels to .cuCODE
LOW⚡warp/examples/cpp/01_source_include/README.md83cmake -B build -DCMAKE_BUILD_TYPE=Release # Step 2: ConfigureCODE
LOW⚡warp/examples/cpp/01_source_include/README.md84cmake --build build --config Release # Step 3: BuildCODE
LOW⚡warp/examples/cpp/01_source_include/README.md85./build/01_source_include # Step 4: Run (Unix) or build\Release\01_source_include.exe (Windows)CODE
LOW⚡warp/examples/cpp/00_cubin_launch/README.md81python compile_kernel.py # Step 1: Compile kernel to CUBINCODE
LOW⚡warp/examples/cpp/00_cubin_launch/README.md82cmake -B build -DCMAKE_BUILD_TYPE=Release # Step 2: ConfigureCODE
LOW⚡warp/examples/cpp/00_cubin_launch/README.md83cmake --build build --config Release # Step 3: BuildCODE
LOW⚡warp/examples/cpp/00_cubin_launch/README.md84./build/00_cubin_launch # Step 4: Run (Unix) or build\Release\00_cubin_launch.exe (Windows)CODE
LOW⚡warp/examples/cpp/03_apic_visualization_cpu/README.md65# Step 1: Capture the graph (requires Python + Warp)COMMENT
LOW⚡warp/examples/cpp/03_apic_visualization_cpu/README.md68# Step 2: Configure and buildCOMMENT
LOW⚡warp/examples/cpp/03_apic_visualization_cpu/README.md72# Step 3: RunCOMMENT
LOW⚡warp/examples/cpp/02_apic_visualization/README.md86python capture_wave.py # Step 1: Capture the graphCODE
LOW⚡warp/examples/cpp/02_apic_visualization/README.md87cmake -B build -DCMAKE_BUILD_TYPE=Release # Step 2: ConfigureCODE
LOW⚡warp/examples/cpp/02_apic_visualization/README.md88cmake --build build --config Release # Step 3: BuildCODE
LOW⚡warp/examples/cpp/02_apic_visualization/README.md89./build/02_apic_visualization # Step 4: Run (Ninja / Unix Makefiles)CODE
AI Slop Vocabulary19 hits · 47 pts
SeverityFileLineSnippetContext
MEDIUMdocs/generate_reference.py329 # to facilitate indexing with bisect.STRING
LOWwarp/_src/types.py4136 # for 'empty' arrays we just return the type information, these are used in kernel function signaturesCOMMENT
MEDIUM⚡warp/_src/context.py15157 # Use warp_home (defined at module level) for robust path resolutionCOMMENT
MEDIUMwarp/_src/context.py16399 """Print a comprehensive snapshot of the Warp build and runtime environment.STRING
LOWwarp/_src/codegen.py865 # Instead, we just create a stub annotation, which is not a fully usable array object.COMMENT
MEDIUMwarp/_src/optim/linear.py1507 # Not strictly necessary, but makes it more robust to user-provided LinearOperatorsCOMMENT
MEDIUMwarp/_src/optim/linear.py1748 # Not strictly necessary, but makes it more robust to user-provided LinearOperatorsCOMMENT
MEDIUMwarp/_src/optim/linear.py2048 # Not strictly necessary, but makes it more robust to user-provided LinearOperatorsCOMMENT
MEDIUMwarp/_src/optim/linear.py2371 # Not strictly necessary, but makes it more robust to user-provided LinearOperatorsCOMMENT
MEDIUMwarp/native/bvh.h497 // Capsule: inflate bounds by radius and use the robust slab test so axis-alignedCOMMENT
MEDIUMwarp/native/clang/clang.cpp1135// robust against virtual address space fragmentation.COMMENT
MEDIUM⚡warp/tests/test_ctypes.py116# construct kernel + test harness for given matrix / vector typesCOMMENT
MEDIUMwarp/tests/test_graph.py518 # Disabled to avoid CI noise while we find a more robust measurement strategy.COMMENT
MEDIUMwarp/tests/fem/test_fem_examples.py72 # (mirroring the core example harness) and remove it after a passing run,COMMENT
MEDIUMwarp/tests/fem/test_fem_examples.py139 # Clean up the output stage on success (mirrors the core example harness).COMMENT
MEDIUMwarp/examples/fem/example_nonconforming_contact.py17# but more robust methods could be considered (e.g. Augmented Lagrangian)COMMENT
LOW⚡warp/examples/fem/example_kelvin_helmholtz.py393 # Binary-search-free conservative bound: just use the averageCOMMENT
MEDIUM…es/g11_stage_pipeline/src/stage_pipeline/statistics.py4"""Statistics stage: robust summaries over a window."""STRING
MEDIUMskills/warp-eval/scripts/validate_report_schema.py293 # cannot stop an agent hand-rolling a harness that skips synchronization orCOMMENT
Cross-Language Confusion9 hits · 45 pts
SeverityFileLineSnippetContext
HIGHwarp/_src/build_dll.py37 output: Decoded output of selected MSVC script ``&& echo MARKER && set``.STRING
HIGHwarp/_src/build_dll.py946 opt_undefined = "-Wl,-undefined,dynamic_lookup"CODE
HIGHwarp/_src/build_dll.py977 # Format: " (undefined) external _SymName (dynamically looked up)"COMMENT
HIGHwarp/_src/build_dll.py996 raise RuntimeError("Unexpected undefined symbols in " + dll_path + ":\n" + "\n".join(undefined))CODE
HIGHwarp/_src/builtins.py3627 The tile's contents are undefined; overwrite every element before any read. ThisCODE
HIGHwarp/_src/optim/linear.py257 block is not (undefined, per :func:`wp.tile_cholesky`).STRING
HIGHwarp/_src/optim/linear.py258 - ``"id"``: Identity (null) preconditionerSTRING
HIGHwarp/tests/test_apic.py1823 # its three relocation kinds (data, grad/null, indices[d]) surviveCOMMENT
HIGHwarp/tests/tile/test_tile_empty.py15# np.empty: contents are undefined, the user must overwrite every elementCOMMENT
AI Structural Patterns58 hits · 44 pts
SeverityFileLineSnippetContext
LOWwarp/_src/build.py64CODE
LOWwarp/_src/build.py154CODE
LOWwarp/_src/builtins.py5731CODE
LOWwarp/_src/builtins.py6025CODE
LOWwarp/_src/builtins.py6152CODE
LOWwarp/_src/tape.py698CODE
LOWwarp/_src/tape.py1220CODE
LOWwarp/_src/tape.py358CODE
LOWwarp/_src/types.py3359CODE
LOWwarp/_src/types.py7316CODE
LOWwarp/_src/types.py7529CODE
LOWwarp/_src/context.py1940CODE
LOWwarp/_src/context.py2425CODE
LOWwarp/_src/context.py11622CODE
LOWwarp/_src/context.py229CODE
LOWwarp/_src/context.py11043CODE
LOWwarp/_src/context.py16038CODE
LOWwarp/_src/autograd.py33CODE
LOWwarp/_src/autograd.py239CODE
LOWwarp/_src/autograd.py708CODE
LOWwarp/_src/autograd.py854CODE
LOWwarp/_src/utils.py1674CODE
LOWwarp/_src/texture.py208CODE
LOWwarp/_src/texture.py1160CODE
LOWwarp/_src/texture.py1240CODE
LOWwarp/_src/texture.py1322CODE
LOWwarp/_src/sparse.py4208CODE
LOWwarp/_src/codegen.py1888CODE
LOWwarp/_src/codegen.py2592CODE
LOWwarp/_src/fem/cache.py582CODE
LOWwarp/_src/fem/integrate.py1905CODE
LOWwarp/_src/fem/integrate.py3242CODE
LOWwarp/_src/fem/geometry/adaptive_nanogrid.py74CODE
LOWwarp/_src/fem/geometry/nanogrid.py1377CODE
LOWwarp/_src/fem/geometry/nanogrid.py564CODE
LOWwarp/_src/render/render_usd.py648CODE
LOWwarp/_src/render/render_opengl.py993CODE
LOWwarp/_src/render/render_opengl.py1529CODE
LOWwarp/_src/render/render_opengl.py3250CODE
LOWwarp/_src/optim/linear.py1585CODE
LOWwarp/_src/optim/linear.py1838CODE
LOWwarp/_src/optim/linear.py2127CODE
LOWwarp/_src/optim/linear.py2468CODE
LOWwarp/_src/optim/linear.py1397CODE
LOWwarp/_src/optim/linear.py1940CODE
LOWwarp/_src/optim/linear.py2218CODE
LOWwarp/_src/jax/ffi.py1333CODE
LOWwarp/_src/jax/ffi.py1746CODE
LOWwarp/tests/unittest_serial.py27CODE
LOWwarp/tests/cuda/test_async.py308CODE
LOWwarp/examples/core/example_work_queue.py18CODE
LOWwarp/examples/fem/example_apic_fluid.py207CODE
LOWwarp/examples/fem/example_kelvin_helmholtz.py421CODE
LOWwarp/examples/fem/utils.py263CODE
LOWwarp/examples/fem/example_stokes.py57CODE
LOWwarp/examples/fem/example_diffusion.py61CODE
LOWwarp/examples/fem/example_darcy_ls_optimization.py188CODE
LOWskills/warp-debug-gradients/evals/files/walker/sim.py126CODE
Redundant / Tautological Comments33 hits · 43 pts
SeverityFileLineSnippetContext
LOWbuild_lib.py233 # Check if the libmathdx target directory exists and is not a symbolic linkCOMMENT
LOWtools/packman/bootstrap/install_package.py137 # Read the file in binary mode and update the hash object with dataCOMMENT
LOWdocs/generate_reference.py366 # Check if there's any public symbol that we missed while parsing the AST.STRING
LOWdocs/generate_reference.py592 # Check if this submodule name exists as a symbol in the parent moduleSTRING
LOWwarp/_src/build_dll.py99 # Print output even on success to show warningsCOMMENT
LOWwarp/_src/build_dll.py158 # Check if Visual Studio environment already configured (conda, Docker, etc.)COMMENT
LOWwarp/_src/build_dll.py340 # Check if the directory existsCOMMENT
LOWwarp/_src/dlpack.py486 # Check if the source lives on a CUDA deviceCOMMENT
LOWwarp/_src/context.py2200 # Check if we've already created a module with this nameCOMMENT
LOWwarp/_src/context.py2768 # Check if the Warp module was created using a different loader object; if so,COMMENT
LOWwarp/_src/context.py10804 # Check if value is a Texture object that needs conversionCOMMENT
LOWwarp/_src/context.py12846 # Check if there are no compilable kernelsCOMMENT
LOWwarp/_src/context.py15336 # Check if this line is a top-level import statement (no leading whitespace).COMMENT
LOWwarp/_src/context.py16066 # Check if all overloads have identical input_types.COMMENT
LOWwarp/_src/codegen.py3941 # Check if there is any user-defined overload for this operatorCOMMENT
LOWwarp/_src/codegen.py4235 # Check if we can resolve the argument as a static expression.COMMENT
LOWwarp/_src/codegen.py4491 # Check if this is a warp.grad() callCOMMENT
LOWwarp/_src/codegen.py4503 # Check if we're calling a GradWrapper (result of warp.grad(func))COMMENT
LOWwarp/_src/codegen.py5423 # Check if the rhs corresponds to an unsupported construct.COMMENT
LOWwarp/_src/fem/integrate.py236 # Check if we're assigning a fieldCOMMENT
LOWwarp/_src/fem/integrate.py1177 # Check if kernel exist in cacheCOMMENT
LOWwarp/_src/fem/integrate.py2714 # Check if kernel exist in cacheCOMMENT
LOWwarp/_src/fem/linalg.py455 # Check if new block is startingCOMMENT
LOWwarp/_src/fem/geometry/hexmesh.py883 # Check if other_v has been seenCOMMENT
LOWwarp/_src/fem/geometry/tetmesh.py609 # Check if other_v has been seenCOMMENT
LOWwarp/_src/render/render_opengl.py3347 # Check if we already have that shape registered and can performCOMMENT
LOWwarp/_src/geometry/marching_cubes.py146 # Check if we generate a vertexCOMMENT
LOWwarp/_src/jax/ffi.py1664 # Check if annotation is a warp array type (annotation is an instance of wp.array)COMMENT
LOWwarp/native/intersect.h1082 # Check if either or both segments degenerate into pointsCOMMENT
LOWwarp/tests/aot/test_module_aot.py640 # Set mtime to a known past timeCOMMENT
LOWwarp/examples/core/example_work_queue.py36 # Check if queue is fullCOMMENT
LOWwarp/examples/core/example_work_queue.py56 # Check if queue is emptyCOMMENT
LOWwarp/examples/benchmarks/benchmark_tile_sort.py143 # Print resultsCOMMENT
Modern Structural Boilerplate43 hits · 36 pts
SeverityFileLineSnippetContext
LOWbuild_docs.py18logger = logging.getLogger(__name__)CODE
LOWtools/ci/deploy_doc.py275def update_stable(gh_pages_dir: Path, stable_version: str) -> None:STRING
LOWdocs/generate_reference.py46logger = logging.getLogger(__name__)CODE
LOWwarp/build_experimental.py13__all__ = ["add_builtin", "add_native_type"]CODE
LOWwarp/_src/external_build.py21__all__ = ["add_builtin", "add_native_type"]CODE
LOWwarp/_src/constants.py8__all__ = [ # noqa: RUF022CODE
LOWwarp/_src/logger.py128def set_logger(logger: Logger | None) -> None:CODE
LOW⚡warp/_src/context.py9564def _set_cached_peer_access_enabled(target_device: Device, peer_device: Device, enable: bool) -> None:CODE
LOW⚡warp/_src/context.py9569def set_peer_access_enabled(target_device: DeviceLike, peer_device: DeviceLike, enable: bool) -> None:CODE
LOW⚡warp/_src/context.py9654def _set_cached_mempool_access_enabled(target_device: Device, peer_device: Device, enable: bool) -> None:CODE
LOW⚡warp/_src/context.py9659def set_mempool_access_enabled(target_device: DeviceLike, peer_device: DeviceLike, enable: bool) -> None:CODE
LOWwarp/_src/context.py5141 def _set_strip_hash(self, value: bool) -> None:CODE
LOWwarp/_src/context.py6055 def set_stream(self, stream: Stream, sync: bool = True) -> None:CODE
LOWwarp/_src/context.py6462 def set_param(self, name: str, arr) -> None:CODE
LOWwarp/_src/context.py8857 def set_default_device(self, ident: DeviceLike) -> None:CODE
LOWwarp/_src/context.py9121def set_device(ident: DeviceLike) -> None:CODE
LOWwarp/_src/context.py9281def set_mempool_enabled(device: DeviceLike, enable: bool) -> None:CODE
LOWwarp/_src/context.py9317def set_cuda_allocator(allocator: Allocator | None) -> None:CODE
LOWwarp/_src/context.py9337def set_device_allocator(device: DeviceLike, allocator: Allocator | None) -> None:CODE
LOWwarp/_src/context.py9374def set_mempool_release_threshold(device: DeviceLike, threshold: int | float) -> None:CODE
LOWwarp/_src/context.py9714def set_stream(stream: Stream, device: DeviceLike = None, sync: bool = False) -> None:CODE
LOWwarp/_src/autograd.py16__all__ = [CODE
LOWwarp/_src/generated_files.py24__all__ = [CODE
LOWwarp/_src/sparse.py33__all__ = [CODE
LOWwarp/_src/math.py13__all__ = [CODE
LOWwarp/_src/codegen.py552 def set_fabricarray_value(inst: StructInstance, value: fabricarray | None) -> None:CODE
LOWwarp/_src/codegen.py568 def set_indexedfabricarray_value(inst: StructInstance, value: indexedfabricarray | None) -> None:CODE
LOWwarp/_src/fem/integrate.py56__all__ = ["integrate", "interpolate"]CODE
LOWwarp/_src/optim/linear.py14__all__ = [CODE
LOWwarp/_src/geometry/delaunay.py44__all__ = [CODE
LOWwarp/examples/fem/utils.py20__all__ = [CODE
LOW…iles/g11_stage_pipeline/src/stage_pipeline/__init__.py13__all__ = ["geometry", "reduction", "spectral", "statistics", "transport"]CODE
LOW…es/g08_tile_projection/src/tile_projection/__init__.py9__all__ = ["rebuild_device_code", "run_session"]CODE
LOW…ls/files/g02_stencil_bank/src/stencil_bank/__init__.py9__all__ = ["StencilBank", "stencil_loss"]CODE
LOW…vals/files/g12_dense_stage/src/dense_stage/__init__.py8__all__ = ["kernels"]CODE
LOW…1_particle_preprocessing/src/particle_prep/__init__.py9__all__ = ["ParticlePipeline", "Plugin"]CODE
LOW…/files/g04_image_pyramid/src/image_pyramid/__init__.py9__all__ = ["ImagePyramid", "adaptive_filter"]CODE
LOW…s/files/g10_shared_solver/src/field_solver/__init__.py12__all__ = ["calibrate", "inspect_field", "kernels"]CODE
LOW…vals/files/g01_pde_stepper/src/pde_stepper/__init__.py8__all__ = ["PDEStepper"]CODE
LOW…/files/g06_gpu_analytics/src/gpu_analytics/__init__.py9__all__ = ["AnalyticsBank", "AnalyticsResult", "diagnose"]CODE
LOW…/files/c04_batch_signals/src/batch_signals/__init__.py9__all__ = ["condition_batch", "rebuild_kernels"]CODE
LOW…es/g09_mixed_precision/src/mixed_precision/__init__.py8__all__ = ["calibrate", "serve"]CODE
LOWskills/warp-eval/scripts/measure.py59__all__ = [CODE
Verbosity Indicators14 hits · 23 pts
SeverityFileLineSnippetContext
LOW⚡warp/_src/context.py15155 # Step 1: Parse __init__.py to identify Python API imports and conflictsCOMMENT
LOW⚡warp/_src/context.py15279 # Step 2: Write headerCOMMENT
LOW⚡warp/_src/context.py15402 # Step 3: Emit __init__.py non-import lines (docstring, __version__, __getattr__, etc.)COMMENT
LOW⚡warp/_src/context.py15885 # Step 4: Generate merged stubs for function conflictsCOMMENT
LOW⚡warp/_src/context.py15950 # Step 5: Generate stubs for non-conflicting builtinsCOMMENT
LOW⚡warp/native/svd.h511 // Step 1: Compute ATACOMMENT
LOW⚡warp/native/svd.h516 // Step 2: EigenanalysisCOMMENT
LOW⚡warp/native/svd.h521 // Step 3: Singular valuesCOMMENT
LOWwarp/native/svd.h540 // Step 4: Eigenvectors (find V)COMMENT
LOW⚡warp/native/svd.h554 // Step 5: Compute UCOMMENT
LOW⚡warp/native/svd.h562 // Step 6: Set SCOMMENT
LOWwarp/native/nanovdb/NanoVDB.h5858// the following code block uses std and therefore needs to be ignored by CUDA and HIPCOMMENT
LOWwarp/tests/test_sgd.py24 # Step 1: momentum buffer should be initialized to gradientCOMMENT
LOWwarp/tests/test_sgd.py36 # Step 2: momentum buffer should accumulateCOMMENT
Slop Phrases4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMwarp/_src/context.py2520 # hard coded types. We do this so you can use hard coded warp types outside kernels:COMMENT
LOW⚡warp/tests/test_array.py965 # scalar members (make sure to test float16)COMMENT
LOW⚡warp/tests/test_array.py973 # vector members (make sure to test vectors of float16)COMMENT
LOW⚡warp/tests/test_array.py978 # matrix members (make sure to test matrices of float16)COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHwarp/examples/core/example_nvdb.py8# a NanoVDB signed-distance field. In this example the NanoVDB fieldCOMMENT
Overly Generic Function Names6 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡warp/tests/test_func_inline.py55 def helper(x: float) -> float:CODE
LOWwarp/tests/test_compile_consts.py233 def test_function(data: wp.array[wp.float32]):CODE
LOWwarp/tests/test_compile_consts.py246 def test_function(data: wp.array[wp.float32]):CODE
LOWwarp/tests/test_compile_consts.py264 def test_function(data: wp.array[wp.float32]):CODE
LOWwarp/tests/test_compile_consts.py293 def test_function(data: wp.array[wp.float32]):CODE
LOW…p-compile-time-optimizer/evals/files/triton_service.py59def handle_request(batch: torch.Tensor) -> torch.Tensor:CODE
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOWwarp/tests/tile/test_tile_cholesky.py74 # TODO: implement and test backward passCOMMENT
LOWwarp/tests/tile/test_tile_cholesky.py174 # TODO: implement and test backward passCOMMENT
LOWwarp/tests/tile/test_tile_solve.py132 # TODO: implement and test backward passCOMMENT
LOWwarp/tests/tile/test_tile_solve.py297 # TODO: implement and test backward passCOMMENT
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMwarp/examples/cpp/CMakeLists.txt6# This file orchestrates testing of all C++ examples using CTest.COMMENT