Repository Analysis

NVIDIA/warp

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

18.8 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of NVIDIA/warp, a Python project with 6,865 GitHub stars. SynthScan v2.0 examined 382,885 lines of code across 760 source files, recording 5761 pattern matches distributed across 22 syntactic categories. The overall adjusted score of 18.8 places this repository in the Moderate AI signal band.

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

18.8
Adjusted Score
18.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
6.9K
Stars
Python
Language
382.9K
Lines of Code
760
Files
5.8K
Pattern Hits
2026-07-14
Scan Date
0.20
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 70HIGH 83MEDIUM 535LOW 5073

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers3245 hits · 2929 pts
SeverityFileLineSnippetContext
LOWbuild_llvm.py148def build_llvm_clang_from_source_for_arch(args, arch: str, llvm_source: str) -> None:CODE
LOWbuild_llvm.py403def build_llvm_clang_from_source(args) -> None:CODE
LOWbuild_llvm.py422def build_warp_clang_for_arch(args, lib_name: str, arch: str) -> None:CODE
LOWdesign/hardware-coherent-memory-access.md541def _is_array_accessible_from_device(value, device):CODE
LOWdesign/hardware-coherent-memory-access.md545def _classify_array_access_from_device(value, device):CODE
LOWdesign/hardware-coherent-memory-access.md621def _validate_launch_array_access(kernel, arg_name, value, device):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/set_nightly_version.py61def write_new_version_to_config(config_file_path: str, new_version: str, dry_run: bool = False) -> bool:CODE
LOWtools/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) -> None:STRING
LOWtools/pre-commit-hooks/check_version_consistency.py89def 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.py41def sample_mesh_query_no_sign(CODE
LOWasv/benchmarks/spatial_query.py144 def time_mesh_query_closest_point(self, leaf_size, asset, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py149 def time_mesh_query_closest_point_signed(self, leaf_size, asset, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py178 def vertex_triangle_collision_detection_kernel_broad_only_base(CODE
LOWasv/benchmarks/spatial_query.py222 def ray_vs_aabb_query_kernel_base(CODE
LOWasv/benchmarks/spatial_query.py300def replicate_mesh_with_random_perturbation(CODE
LOWasv/benchmarks/spatial_query.py485 def time_bvh_aabb_vs_aabb_query(self, query_radius, leaf_size, device, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py490 def time_mesh_aabb_vs_aabb_query(self, query_radius, leaf_size, device, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py644 def time_bvh_ray_vs_aabb_query(self, resolution, leaf_size, device, bvh_constructor):CODE
LOWasv/benchmarks/spatial_query.py649 def time_mesh_ray_vs_aabb_query(self, resolution, leaf_size, device, bvh_constructor):CODE
LOWasv/benchmarks/deterministic.py40def scatter_add_kernel_deterministic(CODE
LOWasv/benchmarks/deterministic.py61def counter_kernel_deterministic(CODE
LOWasv/benchmarks/fem/integrate.py113def _supports_padded_bsr_assembly():CODE
LOWasv/benchmarks/fem/integrate.py123def _require_padded_bsr_assembly():CODE
LOWasv/benchmarks/fem/integrate.py136def _make_corotated_hessian_integrator(space: fem.FunctionSpace, assembly: str):CODE
LOWasv/benchmarks/fem/integrate.py191 def integrate_compressed_hessian():CODE
LOWasv/benchmarks/fem/integrate.py253 def capture_set_from_triplets(dest, rows, columns, values=None, **kwargs):CODE
LOWasv/benchmarks/fem/integrate.py315 def make_sparse_assembly_func(self, space: fem.FunctionSpace, fn: str, assembly: str):CODE
LOWasv/benchmarks/api/python_builtins.py32 def time_call_builtin_transform_identity_fn(self):CODE
LOWasv/benchmarks/api/python_builtins.py35 def time_call_builtin_synthetic_workload(self):CODE
LOWasv/benchmarks/sparse/row_capacity.py12def _require_row_capacity_support():CODE
LOWasv/benchmarks/sparse/row_capacity.py22def _make_row_capacity_matrix(CODE
LOWasv/benchmarks/sparse/row_capacity.py67def _make_duplicate_candidate_matrix(nrow: int, ncol: int, capacity_per_row: int, device):CODE
LOW…aude/skills/release-notes/scripts/list_contributors.py109def get_author_commit_counts_up_to(repo: Path, ref: str) -> dict[str, int]:CODE
LOW…aude/skills/release-notes/scripts/list_contributors.py181def get_changelog_added_gh_refs_for_range(CODE
LOW…aude/skills/release-notes/scripts/list_contributors.py225def resolve_gh_login_from_email(email: str) -> str | None:CODE
LOW…aude/skills/release-notes/scripts/list_contributors.py267def gh_lookup_login_for_commit(sha: str, repo_slug: str = "NVIDIA/warp") -> str | None:CODE
LOW…e/skills/release-audit/scripts/test_diff_public_api.py140 def test_reports_signature_breaks_and_stub_removals(self) -> None:CODE
LOW.claude/skills/release-audit/scripts/diff_public_api.py236def entries_from_source_module(CODE
LOW.claude/skills/release-audit/scripts/diff_public_api.py351def signature_breaking_reasons(base: ApiEntry, head: ApiEntry) -> list[str]:CODE
LOWdocs/conf.py308def _get_builtin_overloads_info(symbol: str) -> list[dict[str, object]]:CODE
LOWdocs/conf.py476def filter_builtin_docstrings(app, what, name, obj, options, lines):STRING
LOWdocs/conf.py536def build_constant_docs_cache():CODE
LOWdocs/conf.py578def populate_reexported_docstrings(app, what, name, obj, options, lines):CODE
LOWdocs/conf.py600def rewrite_internal_module_paths(app, doctree, docname):CODE
LOWdocs/conf.py706def resolve_public_builtin_aliases(app, env, node, contnode):CODE
LOWdocs/conf.py736def drop_autosummary_toctrees(app, doctree):CODE
LOWdocs/generate_reference.py292def get_builtin_symbols_per_category(STRING
LOW…odex/skills/release-notes/scripts/list_contributors.py109def get_author_commit_counts_up_to(repo: Path, ref: str) -> dict[str, int]:CODE
LOW…odex/skills/release-notes/scripts/list_contributors.py181def get_changelog_added_gh_refs_for_range(CODE
LOW…odex/skills/release-notes/scripts/list_contributors.py225def resolve_gh_login_from_email(email: str) -> str | None:CODE
LOW…odex/skills/release-notes/scripts/list_contributors.py267def gh_lookup_login_for_commit(sha: str, repo_slug: str = "NVIDIA/warp") -> str | None:CODE
LOW…x/skills/release-audit/scripts/test_diff_public_api.py140 def test_reports_signature_breaks_and_stub_removals(self) -> None:CODE
LOW.codex/skills/release-audit/scripts/diff_public_api.py236def entries_from_source_module(CODE
LOW.codex/skills/release-audit/scripts/diff_public_api.py351def signature_breaking_reasons(base: ApiEntry, head: ApiEntry) -> list[str]:CODE
LOWwarp/config.py29def _is_internal_warp_config_access() -> bool:CODE
LOWwarp/config.py41def _warn_deprecated_config_access(name: str) -> None:CODE
LOWwarp/config.py85def _install_config_module_hooks() -> None:CODE
3185 more matches not shown…
Decorative Section Separators427 hits · 1312 pts
SeverityFileLineSnippetContext
MEDIUM.gitlab-ci.yml4# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml6# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml64# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml69# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml192# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml198# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml359# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml366# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml777# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml783# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml900# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml906# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml992# ==============================================================================COMMENT
MEDIUM.gitlab-ci.yml998# ==============================================================================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/cuda-13-build.yml4# ==============================================================================COMMENT
MEDIUM.gitlab/ci/cuda-13-build.yml14# ==============================================================================COMMENT
MEDIUM.gitlab/ci/cuda-13-build.yml32# ==============================================================================COMMENT
MEDIUM.gitlab/ci/cuda-13-build.yml34# ==============================================================================COMMENT
MEDIUM.gitlab/ci/cuda-13-build.yml56# ==============================================================================COMMENT
MEDIUM.gitlab/ci/cuda-13-build.yml61# ==============================================================================COMMENT
MEDIUM.gitlab/ci/cuda-13-build.yml102# ==============================================================================COMMENT
MEDIUM.gitlab/ci/cuda-13-build.yml104# ==============================================================================COMMENT
MEDIUM.gitlab/ci/cuda-13-build.yml139# ==============================================================================COMMENT
MEDIUM.gitlab/ci/cuda-13-build.yml144# ==============================================================================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.yml84# ==============================================================================COMMENT
MEDIUM.gitlab/ci/clang-build-and-test.yml89# ==============================================================================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.yml28# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml30# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml65# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml70# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml125# ==============================================================================COMMENT
MEDIUM.gitlab/ci/debug-build-and-test.yml128# ==============================================================================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.py52# -----------------------------------------------------------------------------COMMENT
MEDIUMdocs/generate_reference.py96# -----------------------------------------------------------------------------COMMENT
MEDIUMdocs/generate_reference.py159# -----------------------------------------------------------------------------COMMENT
MEDIUMwarp/_src/deterministic.py900# ---------------------------------------------------------------------------COMMENT
MEDIUMwarp/_src/deterministic.py902# ---------------------------------------------------------------------------COMMENT
MEDIUMwarp/_src/deterministic.py1618# ---------------------------------------------------------------------------COMMENT
367 more matches not shown…
Hallucination Indicators70 hits · 805 pts
SeverityFileLineSnippetContext
CRITICALwarp/_src/build.py59 err = warp._src.context.runtime.llvm.wp_compile_cuda(src, cu_path_bytes, inc_path, output_path, False)CODE
CRITICALwarp/_src/build.py78 err = warp._src.context.runtime.core.wp_cuda_compile_program(CODE
CRITICALwarp/_src/build.py111 return warp._src.context.runtime.core.wp_cuda_load_module(device.context, input_path.encode("utf-8"))CODE
CRITICALwarp/_src/build.py140 err = warp._src.context.runtime.llvm.wp_compile_cpp(CODE
CRITICALwarp/_src/build.py481 result = warp._src.context.runtime.core.wp_cuda_compile_dot(CODE
CRITICALwarp/_src/build.py562 result = warp._src.context.runtime.core.wp_cuda_compile_solver(CODE
CRITICALwarp/_src/build.py649 result = warp._src.context.runtime.core.wp_cuda_compile_fft(CODE
CRITICALwarp/_src/builtins.py14641 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py15132 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py15414 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py15629 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py15829 or not warp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/_src/builtins.py14871 and warp._src.context.runtime.core.wp_is_mathdx_enabled()STRING
CRITICALwarp/_src/paddle.py32 warp_device = warp._src.context.runtime.device_map.get(paddle_device)CODE
CRITICALwarp/_src/types.py622 return warp._src.context.runtime.core.wp_float_to_half_bits(value)CODE
CRITICALwarp/_src/types.py626 return warp._src.context.runtime.core.wp_half_bits_to_float(value)CODE
CRITICALwarp/_src/types.py630 return warp._src.context.runtime.core.wp_float_to_bfloat16_bits(value)CODE
CRITICALwarp/_src/types.py634 return warp._src.context.runtime.core.wp_bfloat16_bits_to_float(value)CODE
CRITICALwarp/_src/types.py3884 warp._src.context.runtime.core.wp_cuda_stream_wait_stream(CODE
CRITICALwarp/_src/types.py4287 warp._src.context.runtime.core.wp_array_fill_device(CODE
CRITICALwarp/_src/types.py4291 warp._src.context.runtime.core.wp_array_fill_host(carr_ptr, ARRAY_TYPE_REGULAR, cvalue_ptr, cvalue_size)CODE
CRITICALwarp/_src/types.py4709 warp._src.context.runtime.core.wp_cuda_ipc_get_mem_handle(self.ptr, ipc_handle_buffer)CODE
CRITICALwarp/_src/types.py4821 warp._src.context.runtime.core.wp_cuda_ipc_close_mem_handle(ptr)CODE
CRITICALwarp/_src/types.py4860 ptr = warp._src.context.runtime.core.wp_cuda_ipc_open_mem_handle(device.context, handle)CODE
CRITICALwarp/_src/types.py5004 warp._src.context.runtime.core.wp_array_fill_device(CODE
CRITICALwarp/_src/types.py5008 warp._src.context.runtime.core.wp_array_fill_host(ctype_ptr, self.type_id, cvalue_ptr, cvalue_size)CODE
CRITICALwarp/_src/types.py6689 warp._src.context.runtime.core.wp_volume_get_buffer_info(CODE
CRITICALwarp/_src/context.py4424 warp._src.context.runtime.core.wp_cuda_ipc_get_event_handle(CODE
CRITICALwarp/_src/context.py9428 device=device, cuda_event=warp._src.context.runtime.core.wp_cuda_ipc_open_event_handle(device.context, handle)CODE
CRITICALwarp/_src/utils.py1994 count = warp._src.context.runtime.core.wp_cuda_timing_get_result_count()CODE
CRITICALwarp/_src/utils.py1998 warp._src.context.runtime.core.wp_cuda_timing_end(ctypes.byref(result_buffer), count)CODE
CRITICALwarp/_src/utils.py2003 device = warp._src.context.runtime.context_map.get(r.context)CODE
CRITICALwarp/_src/utils.py1508 warp._src.context.runtime.tape.record_scope_begin(self.name)CODE
CRITICALwarp/_src/utils.py1539 warp._src.context.runtime.tape.record_scope_end()CODE
CRITICALwarp/_src/utils.py1977 warp._src.context.runtime.core.wp_cuda_timing_begin(cuda_filter)CODE
CRITICALwarp/_src/texture.py293 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/custom_call.py135 if wp._src.context.runtime.core.wp_cuda_launch_kernel(CODE
CRITICALwarp/_src/jax/ffi.py461 if wp._src.context.runtime.core.wp_cuda_launch_kernel(CODE
CRITICALwarp/_src/jax/ffi.py787 if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream):CODE
CRITICALwarp/_src/jax/ffi.py820 if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream):CODE
CRITICALwarp/_src/jax/ffi.py859 if not wp._src.context.runtime.core.wp_cuda_graph_update_memcpy_batch(CODE
CRITICALwarp/_src/jax/ffi.py873 if not wp._src.context.runtime.core.wp_cuda_graph_launch(graph_exec, cuda_stream):CODE
CRITICALwarp/tests/walkthrough_debug.py59assert wp._src.context.runtime.core.wp_is_debug_enabled(), (CODE
CRITICALwarp/tests/test_graph.py629 node = wp._src.context.runtime.core.wp_cuda_graph_insert_alloc_node(device.context, 1)CODE
CRITICALwarp/tests/test_graph.py637 node = wp._src.context.runtime.core.wp_cuda_graph_insert_free_node(device.context, alloc_node)CODE
CRITICALwarp/tests/test_graph.py645 node = wp._src.context.runtime.core.wp_cuda_graph_insert_empty_node(device.context)CODE
CRITICALwarp/tests/test_graph.py695 result = wp._src.context.runtime.core.wp_cuda_graph_alloc_query(a, b)CODE
CRITICALwarp/tests/test_graph.py704 result = wp._src.context.runtime.core.wp_cuda_graph_alloc_query(a, b)CODE
CRITICALwarp/tests/test_graph.py713 result = wp._src.context.runtime.core.wp_cuda_graph_alloc_query(a, b)CODE
CRITICALwarp/tests/test_graph.py671 result = wp._src.context.runtime.core.wp_cuda_graph_node_depends_on(a, b)CODE
CRITICALwarp/tests/cuda/test_async.py415 saved_error_output_enabled = wp._src.context.runtime.core.wp_is_error_output_enabled()CODE
CRITICALwarp/tests/cuda/test_async.py416 wp._src.context.runtime.core.wp_set_error_output_enabled(False)CODE
CRITICALwarp/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.py1036 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
CRITICALwarp/tests/tile/test_tile_cholesky.py846 not wp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
CRITICALwarp/tests/tile/test_tile_cholesky.py848 wp._src.context.runtime.core.wp_is_mathdx_enabled()CODE
10 more matches not shown…
Unused Imports869 hits · 639 pts
SeverityFileLineSnippetContext
LOWbuild_docs.py9CODE
LOWbuild_llvm.py17CODE
LOWbuild_lib.py15CODE
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.py3CODE
LOWtools/repoman/repoman.py4CODE
LOW…aude/skills/release-notes/scripts/list_contributors.py21CODE
LOW…e/skills/release-audit/scripts/test_diff_public_api.py6CODE
LOW.claude/skills/release-audit/scripts/list_commits.py11CODE
LOW.claude/skills/release-audit/scripts/diff_public_api.py11CODE
LOWdocs/generate_reference.py18CODE
LOW…odex/skills/release-notes/scripts/list_contributors.py21CODE
LOW…x/skills/release-audit/scripts/test_diff_public_api.py6CODE
LOW.codex/skills/release-audit/scripts/list_commits.py11CODE
LOW.codex/skills/release-audit/scripts/diff_public_api.py11CODE
LOWwarp/__init__.py104CODE
LOWwarp/__init__.py105CODE
LOWwarp/__init__.py106CODE
LOWwarp/__init__.py107CODE
LOWwarp/__init__.py108CODE
LOWwarp/__init__.py113CODE
LOWwarp/__init__.py114CODE
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__.py124CODE
LOWwarp/__init__.py125CODE
LOWwarp/__init__.py131CODE
LOWwarp/__init__.py132CODE
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__.py144CODE
LOWwarp/__init__.py145CODE
LOWwarp/__init__.py146CODE
LOWwarp/__init__.py147CODE
LOWwarp/__init__.py148CODE
LOWwarp/__init__.py149CODE
LOWwarp/__init__.py150CODE
LOWwarp/__init__.py151CODE
LOWwarp/__init__.py152CODE
LOWwarp/__init__.py153CODE
809 more matches not shown…
Over-Commented Block293 hits · 278 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/cuda-13-build.yml1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.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/packman/python.sh1#!/bin/bashCOMMENT
LOWtools/packman/packmanconf.py1# Copyright 2021-2024 NVIDIA CORPORATIONCOMMENT
LOWasv/benchmarks/spatial_query.py1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/benchmarks_utils.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/atomics.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/memory_access.py1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/bvh_build.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/fem/integrate.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/tile/gemm.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/tile/array_sum.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/tile/compile_fft.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/tile/compile_gemm.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/tile/tile_nbody.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/tile/compile_cholesky.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/codegen/mat22_augassign.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/codegen/mat44_assignment.py1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/codegen/array2d_augassign.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/examples/mesh_intersect.py1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/examples/cloth.py1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/api/launch.py1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/api/python_builtins.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/api/array.py1# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/api/struct.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/sparse/matrix_vector.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWasv/benchmarks/sparse/matrix_matrix.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWlicenses/usd-LICENSE.txt21// compliance with the Apache License and the following modification to it:COMMENT
LOWdocs/conf.py81# Suppress warnings for types that Sphinx cannot resolve due to structuralCOMMENT
LOW.github/workflows/sphinx.yml41 fetch-depth: 0COMMENT
LOWwarp/__init__.py21# modules to the public Warp modules their kernels/functions/structs belong to.COMMENT
LOWwarp/_src/deterministic.py1181 "atomic_max": REDUCE_OP_MAX,COMMENT
LOWwarp/_src/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/_src/context.py181 # globally unique identifiers.COMMENT
LOWwarp/_src/context.py1721COMMENT
LOWwarp/_src/context.py3721 # Skip compilation if the binary and metadata are already cachedCOMMENT
LOWwarp/_src/codegen.py1701 adj.resolved_static_expressions: dict[str, Any] = {}COMMENT
LOWwarp/_src/codegen.py1721 # helper metadata behind a small integration object so the core codegenCOMMENT
LOWwarp/_src/codegen.py2421 # For example, when calling `wp.vec3f(...)` from within a kernel,COMMENT
LOWwarp/_src/codegen.py5541 # Ignoring failing static expressions should generally not be an issue because onlyCOMMENT
LOWwarp/_src/codegen.py5741COMMENT
LOWwarp/_src/codegen.py5761COMMENT
LOWwarp/_src/codegen.py5781COMMENT
LOWwarp/_src/codegen.py6501 # annotation (e.g. wp.tile[float, M, N]) defaults toCOMMENT
LOWwarp/_src/fem/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/_src/render/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/_src/render/render_opengl.py2901 # glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR)COMMENT
LOWwarp/_src/optim/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/_src/apic/__init__.py1# SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOWwarp/_src/apic/capture.py41 # Region tracking: id(base_array) -> (region_id, base_ptr, capacity, base_array).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
233 more matches not shown…
Deep Nesting369 hits · 267 pts
SeverityFileLineSnippetContext
LOWbuild_docs.py57CODE
LOWsetup.py90CODE
LOWbuild_lib.py151CODE
LOWbuild_lib.py227CODE
LOWtools/ci/deploy_doc.py298CODE
LOWtools/ci/publishing/kitmaker_release.py92CODE
LOWtools/packman/packmanconf.py78CODE
LOW…aude/skills/release-notes/scripts/list_contributors.py341CODE
LOW.claude/skills/release-audit/scripts/diff_public_api.py277CODE
LOWdocs/conf.py487CODE
LOWdocs/conf.py536CODE
LOWdocs/generate_reference.py304CODE
LOWdocs/generate_reference.py443CODE
LOW…odex/skills/release-notes/scripts/list_contributors.py341CODE
LOW.codex/skills/release-audit/scripts/diff_public_api.py277CODE
LOWwarp/_src/build_dll.py120CODE
LOWwarp/_src/build_dll.py323CODE
LOWwarp/_src/build_dll.py532CODE
LOWwarp/_src/build.py160CODE
LOWwarp/_src/build.py251CODE
LOWwarp/_src/build.py320CODE
LOWwarp/_src/build.py528CODE
LOWwarp/_src/deterministic.py948CODE
LOWwarp/_src/deterministic.py977CODE
LOWwarp/_src/deterministic.py1089CODE
LOWwarp/_src/deterministic.py1980CODE
LOWwarp/_src/fabric.py140CODE
LOWwarp/_src/builtins.py1052CODE
LOWwarp/_src/builtins.py1167CODE
LOWwarp/_src/builtins.py1617CODE
LOWwarp/_src/builtins.py1877CODE
LOWwarp/_src/builtins.py4469CODE
LOWwarp/_src/builtins.py4505CODE
LOWwarp/_src/builtins.py4658CODE
LOWwarp/_src/builtins.py5394CODE
LOWwarp/_src/builtins.py6716CODE
LOWwarp/_src/builtins.py11535CODE
LOWwarp/_src/builtins.py12714CODE
LOWwarp/_src/builtins.py15100CODE
LOWwarp/_src/builtins.py11536CODE
LOWwarp/_src/paddle.py20CODE
LOWwarp/_src/paddle.py207CODE
LOWwarp/_src/dlpack.py119CODE
LOWwarp/_src/dlpack.py150CODE
LOWwarp/_src/dlpack.py311CODE
LOWwarp/_src/dlpack.py351CODE
LOWwarp/_src/dlpack.py460CODE
LOWwarp/_src/tape.py651CODE
LOWwarp/_src/tape.py70CODE
LOWwarp/_src/tape.py229CODE
LOWwarp/_src/tape.py288CODE
LOWwarp/_src/tape.py720CODE
LOWwarp/_src/tape.py748CODE
LOWwarp/_src/tape.py1006CODE
LOWwarp/_src/tape.py841CODE
LOWwarp/_src/types.py719CODE
LOWwarp/_src/types.py794CODE
LOWwarp/_src/types.py822CODE
LOWwarp/_src/types.py851CODE
LOWwarp/_src/types.py1085CODE
309 more matches not shown…
Cross-File Repetition46 hits · 230 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/release-notes/scripts/list_contributors.py0return sorted, deduplicated gh issue numbers referenced in subject+body.STRING
HIGH.claude/skills/release-audit/scripts/list_commits.py0return sorted, deduplicated gh issue numbers referenced in subject+body.STRING
HIGH…odex/skills/release-notes/scripts/list_contributors.py0return sorted, deduplicated gh issue numbers referenced in subject+body.STRING
HIGH.codex/skills/release-audit/scripts/list_commits.py0return sorted, deduplicated gh issue numbers referenced in subject+body.STRING
HIGH…ude/skills/release-audit/references/report-template.md0release cached but unused blocks back to the driver.STRING
HIGH.claude/skills/release-audit/references/render-rules.md0release cached but unused blocks back to the driver.STRING
HIGH…dex/skills/release-audit/references/report-template.md0release cached but unused blocks back to the driver.STRING
HIGH.codex/skills/release-audit/references/render-rules.md0release cached but unused blocks back to the driver.STRING
HIGH…ude/skills/release-audit/references/report-template.md0flags controlling how a texture resource is bound and accessed.STRING
HIGH.claude/skills/release-audit/references/render-rules.md0flags controlling how a texture resource is bound and accessed.STRING
HIGH…dex/skills/release-audit/references/report-template.md0flags controlling how a texture resource is bound and accessed.STRING
HIGH.codex/skills/release-audit/references/render-rules.md0flags controlling how a texture resource is bound and accessed.STRING
HIGH…ude/skills/release-audit/references/report-template.md0texture may be bound for generic read/write in kernels.STRING
HIGH.claude/skills/release-audit/references/render-rules.md0texture may be bound for generic read/write in kernels.STRING
HIGH…dex/skills/release-audit/references/report-template.md0texture may be bound for generic read/write in kernels.STRING
HIGH.codex/skills/release-audit/references/render-rules.md0texture may be bound for generic read/write in kernels.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
Excessive Try-Catch Wrapping157 hits · 162 pts
SeverityFileLineSnippetContext
LOWbuild_llvm.py482 except Exception as e:CODE
MEDIUMbuild_lib.py133 print(f"Error: libmathdx path does not exist or is not a directory: {libmathdx_path}")CODE
MEDIUMbuild_lib.py145 print(f"Error: libmathdx installation is missing '{name}' directory: {path}")CODE
MEDIUMbuild_lib.py390 print("Error: --llvm-path and --build-llvm are mutually exclusive.")CODE
MEDIUMbuild_lib.py398 print("Error: --no-cuda and --cuda-path are mutually exclusive.")CODE
MEDIUMbuild_lib.py401 print("Error: --clang-build-toolchain requires CUDA (incompatible with --no-cuda).")CODE
MEDIUMbuild_lib.py404 print("Error: --use-dynamic-cuda requires CUDA (incompatible with --no-cuda).")CODE
MEDIUMbuild_lib.py466 print("Error: --msvc-path and --sdk-path must be used together")CODE
MEDIUMbuild_lib.py549 print("Error: libmathdx not found. MathDx support is enabled but libmathdx could not be located.")CODE
LOWbuild_lib.py585 except Exception as e:CODE
LOWbuild_lib.py598 except Exception as e:CODE
LOWbuild_lib.py684 except Exception as e:CODE
LOWdesign/hardware-coherent-memory-access.md942 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.py73 print(f"Error: _git_commit_hash pattern not found in {config_file_path}")CODE
LOWtools/ci/publishing/update_git_hash.py85 except Exception as e:CODE
MEDIUMtools/ci/publishing/update_git_hash.py86 print(f"Error updating git hash in config file: {e}")CODE
MEDIUMtools/ci/publishing/kitmaker_release.py185 print(f"Error: Missing required configuration: {', '.join(missing)}")STRING
MEDIUMtools/ci/publishing/kitmaker_release.py190 print("Error: KITMAKER_API_TOKEN environment variable is not set")STRING
MEDIUMtools/ci/publishing/kitmaker_release.py197 print(f"Error: Too many wheel URLs ({len(args.wheel_urls)}). Maximum is 4.")STRING
MEDIUMtools/ci/publishing/kitmaker_release.py203 print(f"Error: Invalid wheel URL (must be https:// and end with .whl): {wheel_url}")STRING
LOWtools/ci/publishing/kitmaker_release.py241 except Exception as e:STRING
LOWtools/ci/publishing/set_nightly_version.py91 except Exception as e:CODE
MEDIUMtools/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.py324 except Exception:CODE
LOWdocs/conf.py450 except Exception:STRING
LOWdocs/conf.py544 except Exception:CODE
LOWwarp/_src/build_dll.py228 except Exception as e:CODE
MEDIUMwarp/_src/build_dll.py208def get_cuda_toolkit_version(cuda_home) -> tuple[int, int]:CODE
LOWwarp/_src/deterministic.py2432 except Exception:CODE
LOWwarp/_src/paddle.py58 except Exception as e:CODE
MEDIUMwarp/_src/types.py132def __eq__(self, x):CODE
MEDIUMwarp/_src/types.py3625def _init_from_ptr(self, ptr, dtype, shape, strides, capacity, device, pinned, dCODE
MEDIUMwarp/_src/types.py3679def _init_new(self, dtype, shape, strides, device, pinned):CODE
LOWwarp/_src/types.py3323 except Exception:CODE
LOWwarp/_src/types.py3469 except Exception as e:CODE
LOWwarp/_src/types.py3497 except Exception as e:CODE
LOWwarp/_src/types.py3516 except Exception as e:CODE
LOWwarp/_src/types.py3547 except Exception as e:CODE
LOWwarp/_src/types.py3577 except Exception as e:CODE
LOWwarp/_src/types.py3602 except Exception:CODE
LOWwarp/_src/types.py3629 except Exception:CODE
LOWwarp/_src/types.py3683 except Exception:CODE
LOWwarp/_src/types.py4245 except Exception as e:CODE
LOWwarp/_src/types.py4852 except Exception:CODE
LOWwarp/_src/types.py4983 except Exception as e:CODE
LOWwarp/_src/types.py8093 except Exception as e:CODE
LOWwarp/_src/logger.py89 except Exception:CODE
MEDIUMwarp/_src/context.py585def get_builtin(self, *args, **kwargs) -> BuiltinCallDesc:CODE
MEDIUMwarp/_src/context.py5234def __del__(self):CODE
LOWwarp/_src/context.py2410 except Exception as e:CODE
LOWwarp/_src/context.py3416 except Exception:CODE
LOWwarp/_src/context.py3436 except Exception:CODE
LOWwarp/_src/context.py3813 except Exception as e:CODE
LOWwarp/_src/context.py3869 except Exception as e:CODE
97 more matches not shown…
Self-Referential Comments58 hits · 156 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/update_git_hash.py66 # Define the regex to match the _git_commit_hash assignmentCOMMENT
MEDIUMtools/ci/publishing/set_nightly_version.py76 # Define the regex to match the version assignment, including optional local version identifiersCOMMENT
MEDIUMdocs/generate_reference.py542 # Create a dummy module for the rest of the code to run smoothly.STRING
MEDIUMwarp/_src/context.py1675 # Create a new temporary module that will be renamed based on hash.COMMENT
MEDIUMwarp/_src/context.py1706 # Create the kernel object and register it with the moduleCOMMENT
MEDIUMwarp/_src/utils.py787 # Create a Warp function from the input functionCOMMENT
MEDIUMwarp/_src/texture.py179 # Create a 1D textureSTRING
MEDIUMwarp/_src/texture.py182 # Create a 2D textureSTRING
MEDIUMwarp/_src/texture.py185 # Create a 3D textureSTRING
MEDIUMwarp/_src/render/render_opengl.py3286 # Create a new instance.COMMENT
MEDIUMwarp/_src/render/render_opengl.py3340 # Create a new instance if necessary.COMMENT
MEDIUMwarp/_src/jax/custom_call.py189 # Create the batched primitive.COMMENT
MEDIUMwarp/_src/thirdparty/unittest_parallel.py196 # Create the temporary directory (for coverage files)STRING
MEDIUMwarp/_src/thirdparty/unittest_parallel.py237 # Create the shared index object used in Warp caches (NVIDIA Modification)STRING
MEDIUMwarp/_src/thirdparty/unittest_parallel.py318 # Create a new single-process pool for each test suiteSTRING
MEDIUMwarp/_src/thirdparty/unittest_parallel.py485 # Create the coverage objectSTRING
MEDIUMwarp/tests/test_utils.py92 values = scalar_values_base[::2] # Create a non-contiguous Warp array view.CODE
MEDIUMwarp/tests/test_utils.py128 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.py885 # 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.py732 # 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.py169# This file is used to test reloading module references.COMMENT
MEDIUMwarp/tests/test_reload.py182# 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
MEDIUMwarp/tests/cuda/test_streams.py395 # Create a high-priority stream with a priority value that is smaller than -1 (clamping expected)COMMENT
MEDIUMwarp/tests/cuda/test_streams.py398 # Create a low-priority stream with a priority value that is greater than 0 (clamping expected)COMMENT
MEDIUMwarp/tests/cuda/test_texture.py1235 # Create a simple 2x2 texture with distinct values:COMMENT
MEDIUMwarp/tests/cuda/test_texture.py1298 # Create a simple 2x2 texture with distinct values:COMMENT
MEDIUMwarp/tests/cuda/test_texture.py1385 # Create a 2x2x2 texture with values 0-7COMMENT
MEDIUMwarp/tests/cuda/test_texture.py1431 # Create a 2x2x2 texture with values 0-7COMMENT
MEDIUMwarp/tests/cuda/test_texture.py2420 # Create a texture with a constant valueCOMMENT
MEDIUMwarp/tests/cuda/test_texture.py2456 # Create a texture with a constant valueCOMMENT
MEDIUMwarp/tests/interop/test_dlpack.py463 # Create a numpy array from a JAX array to respect XLA alignment needsCOMMENT
MEDIUMwarp/tests/interop/test_dlpack.py510 # Create a numpy array from a JAX array to respect XLA alignment needsCOMMENT
MEDIUMwarp/tests/deterministic/test_deterministic_options.py112 # Create a kernel with a per-module deterministic override.COMMENT
MEDIUMwarp/tests/tile/test_tile_sort.py48 rng = np.random.default_rng(42) # Create a random generator instanceCODE
MEDIUMwarp/tests/geometry/test_bvh.py147 # 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.py23# Define the Rosenbrock functionCOMMENT
MEDIUMwarp/examples/core/example_torch.py99 # Create a grid of pointsCOMMENT
MEDIUMwarp/examples/core/example_torch.py127 # Create a scatter plot (initially empty)COMMENT
MEDIUMwarp/examples/core/example_torch.py189 # 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.py321 # Create a symmetric positive definite matrixCOMMENT
MEDIUMwarp/examples/tile/example_tile_block_cholesky.py427 # 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
Docstring Block Structure27 hits · 135 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.py324Get LLVM include directory paths based on configuration. Args: args: The argument namespace containing llvmSTRING
HIGHwarp/_src/types.py4190Set all array entries to `value` args: value: The value to set every array entry to. Must be converSTRING
HIGHwarp/_src/types.py4827Create an array from an IPC handle. The ``dtype``, ``shape``, and optional ``strides`` arguments should match tSTRING
HIGHwarp/_src/types.py5745Rebuild the BVH hierarchy **in place** from the current ``lowers``/``uppers`` arrays. This method does not alloSTRING
HIGHwarp/_src/types.py6660Create a new :class:`Volume` aliasing an in-memory grid buffer. In contrast to :meth:`load_from_nvdb` which shoSTRING
HIGHwarp/_src/types.py7318Rebuild this volume's topology in place from ``points``. The volume must have been created with ``rebuildable=TSTRING
HIGHwarp/_src/context.py5139Validate :data:`warp.config.cuda_arch_suffix` and return the suffix string. This is a device-independent validationSTRING
HIGHwarp/_src/context.py5366Return the device pointer of a named parameter region in a loaded APIC graph. The returned pointer is owned by STRING
HIGHwarp/_src/context.py8229Get the CUDA memory pool release threshold on the device. Parameters: device: The :class:`~warp._src.contexSTRING
HIGHwarp/_src/context.py8258Get the amount of memory from the device's memory pool that is currently in use by the application. Parameters: STRING
HIGHwarp/_src/context.py8287Get the application's memory usage high-water mark from the device's CUDA memory pool. Parameters: device: STRING
HIGHwarp/_src/context.py9217Return whether ``device`` can directly access ``resource``. In this release, ``resource`` must be a concrete Warp aSTRING
HIGHwarp/_src/context.py9403Create an event from an IPC handle. Args: handle: The interprocess event handle for an existing CUDA event.STRING
HIGHwarp/_src/context.py10237Validate launch dimensions and compute the total thread count. This is the common normalization path for kernel lauSTRING
HIGHwarp/_src/context.py10766Suggest a CUDA block size that maximizes occupancy for a kernel. Queries the CUDA driver's occupancy API (``cuOSTRING
HIGHwarp/_src/context.py11067Return the fully qualified module name of the caller. Uses a multi-step fallback chain so that callers running undeSTRING
HIGHwarp/_src/context.py11215Resolve a module from a string, Module, or types.ModuleType. Args: module: The module to resolve. RetuSTRING
HIGHwarp/_src/utils.py375Perform run-length encoding on an array. This function compresses an array by replacing consecutive identical valueSTRING
HIGHwarp/_src/utils.py474Compute the sum of array elements. This function computes the sum of array elements, optionally along a specified aSTRING
HIGHwarp/_src/utils.py574Compute the inner product of two arrays. This function computes the dot product between two arrays, optionally alonSTRING
HIGHwarp/_src/math.py391Construct a quaternion from Euler angles and an axis sequence. Args: e: Euler angles in radians. i:STRING
HIGHwarp/_src/marching_cubes.py821Extract a triangular mesh from a 3D scalar field. This function generates an isosurface by processing the entirSTRING
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/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
Cross-Language Confusion9 hits · 48 pts
SeverityFileLineSnippetContext
HIGHwarp/_src/build_dll.py28 """Parse environment variables from ``vcvars64.bat && set`` output.STRING
HIGHwarp/_src/build_dll.py36 output: Decoded output of ``vcvars64.bat && echo MARKER && set``.STRING
HIGHwarp/_src/build_dll.py868 opt_undefined = "-Wl,-undefined,dynamic_lookup"CODE
HIGHwarp/_src/build_dll.py895 # Format: " (undefined) external _SymName (dynamically looked up)"COMMENT
HIGHwarp/_src/build_dll.py914 raise RuntimeError("Unexpected undefined symbols in " + dll_path + ":\n" + "\n".join(undefined))CODE
HIGHwarp/_src/builtins.py2538 The tile's contents are undefined; the caller is responsible for overwritingCODE
HIGHwarp/_src/optim/linear.py192 - ``"id"``: Identity (null) preconditionerSTRING
HIGHwarp/tests/test_apic.py1259 # 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
Structural Annotation Overuse29 hits · 47 pts
SeverityFileLineSnippetContext
LOWwarp/_src/context.py13351 # Step 1: Parse __init__.py to identify Python API imports and conflictsCOMMENT
LOWwarp/_src/context.py13475 # Step 2: Write headerCOMMENT
LOWwarp/_src/context.py13593 # Step 3: Emit __init__.py non-import lines (docstring, __version__, __getattr__, etc.)COMMENT
LOWwarp/_src/context.py13836 # Step 4: Generate merged stubs for function conflictsCOMMENT
LOWwarp/_src/context.py13901 # Step 5: Generate stubs for non-conflicting builtinsCOMMENT
LOWwarp/_src/context.py2544 # NOTE: This method hashes all possible overloads that a function call could resolve to.COMMENT
LOWwarp/native/svd.h511 // Step 1: Compute ATACOMMENT
LOWwarp/native/svd.h516 // Step 2: EigenanalysisCOMMENT
LOWwarp/native/svd.h521 // Step 3: Singular valuesCOMMENT
LOWwarp/native/svd.h540 // Step 4: Eigenvectors (find V)COMMENT
LOWwarp/native/svd.h554 // Step 5: Compute UCOMMENT
LOWwarp/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
LOWwarp/examples/cpp/01_source_include/README.md82python compile_kernel.py # Step 1: Compile kernels to .cuCODE
LOWwarp/examples/cpp/01_source_include/README.md83cmake -B build -DCMAKE_BUILD_TYPE=Release # Step 2: ConfigureCODE
LOWwarp/examples/cpp/01_source_include/README.md84cmake --build build --config Release # Step 3: BuildCODE
LOWwarp/examples/cpp/01_source_include/README.md85./build/01_source_include # Step 4: Run (Unix) or build\Release\01_source_include.exe (Windows)CODE
LOWwarp/examples/cpp/00_cubin_launch/README.md81python compile_kernel.py # Step 1: Compile kernel to CUBINCODE
LOWwarp/examples/cpp/00_cubin_launch/README.md82cmake -B build -DCMAKE_BUILD_TYPE=Release # Step 2: ConfigureCODE
LOWwarp/examples/cpp/00_cubin_launch/README.md83cmake --build build --config Release # Step 3: BuildCODE
LOWwarp/examples/cpp/00_cubin_launch/README.md84./build/00_cubin_launch # Step 4: Run (Unix) or build\Release\00_cubin_launch.exe (Windows)CODE
LOWwarp/examples/cpp/03_apic_visualization_cpu/README.md67# Step 1: Capture the graph (requires Python + Warp)COMMENT
LOWwarp/examples/cpp/03_apic_visualization_cpu/README.md70# Step 2: Configure and buildCOMMENT
LOWwarp/examples/cpp/03_apic_visualization_cpu/README.md74# Step 3: RunCOMMENT
LOWwarp/examples/cpp/02_apic_visualization/README.md78python capture_wave.py # Step 1: Capture the graphCODE
LOWwarp/examples/cpp/02_apic_visualization/README.md79cmake -B build -DCMAKE_BUILD_TYPE=Release # Step 2: ConfigureCODE
LOWwarp/examples/cpp/02_apic_visualization/README.md80cmake --build build --config Release # Step 3: BuildCODE
LOWwarp/examples/cpp/02_apic_visualization/README.md81./build/02_apic_visualization # Step 4: RunCODE
AI Structural Patterns58 hits · 44 pts
SeverityFileLineSnippetContext
LOWwarp/_src/build.py32CODE
LOWwarp/_src/build.py114CODE
LOWwarp/_src/builtins.py4096CODE
LOWwarp/_src/builtins.py4183CODE
LOWwarp/_src/builtins.py4268CODE
LOWwarp/_src/tape.py651CODE
LOWwarp/_src/tape.py1169CODE
LOWwarp/_src/tape.py311CODE
LOWwarp/_src/types.py3183CODE
LOWwarp/_src/types.py6952CODE
LOWwarp/_src/types.py7164CODE
LOWwarp/_src/context.py1956CODE
LOWwarp/_src/context.py10294CODE
LOWwarp/_src/context.py210CODE
LOWwarp/_src/context.py9797CODE
LOWwarp/_src/context.py13963CODE
LOWwarp/_src/autograd.py25CODE
LOWwarp/_src/autograd.py229CODE
LOWwarp/_src/autograd.py659CODE
LOWwarp/_src/autograd.py793CODE
LOWwarp/_src/utils.py1450CODE
LOWwarp/_src/texture.py199CODE
LOWwarp/_src/texture.py1148CODE
LOWwarp/_src/texture.py1228CODE
LOWwarp/_src/texture.py1310CODE
LOWwarp/_src/sparse.py4158CODE
LOWwarp/_src/codegen.py1585CODE
LOWwarp/_src/codegen.py2215CODE
LOWwarp/_src/fem/cache.py582CODE
LOWwarp/_src/fem/integrate.py1895CODE
LOWwarp/_src/fem/integrate.py3161CODE
LOWwarp/_src/fem/geometry/adaptive_nanogrid.py74CODE
LOWwarp/_src/fem/geometry/nanogrid.py1368CODE
LOWwarp/_src/fem/geometry/nanogrid.py555CODE
LOWwarp/_src/render/render_usd.py648CODE
LOWwarp/_src/render/render_opengl.py992CODE
LOWwarp/_src/render/render_opengl.py1525CODE
LOWwarp/_src/render/render_opengl.py3222CODE
LOWwarp/_src/optim/linear.py740CODE
LOWwarp/_src/optim/linear.py941CODE
LOWwarp/_src/optim/linear.py1213CODE
LOWwarp/_src/optim/linear.py1551CODE
LOWwarp/_src/optim/linear.py1028CODE
LOWwarp/_src/optim/linear.py1303CODE
LOWwarp/_src/jax/custom_call.py393CODE
LOWwarp/_src/jax/ffi.py1168CODE
LOWwarp/_src/jax/ffi.py1542CODE
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
LOWwarp/jax_experimental/__init__.py42CODE
LOWwarp/jax_experimental/ffi.py36CODE
Redundant / Tautological Comments33 hits · 43 pts
SeverityFileLineSnippetContext
LOWbuild_lib.py206 # 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.py360 # Check if there's any public symbol that we missed while parsing the AST.STRING
LOWdocs/generate_reference.py582 # Check if this submodule name exists as a symbol in the parent moduleSTRING
LOWwarp/_src/build_dll.py78 # Print output even on success to show warningsCOMMENT
LOWwarp/_src/build_dll.py132 # Check if Visual Studio environment already configured (conda, Docker, vcvars64, etc.)COMMENT
LOWwarp/_src/build_dll.py295 # Check if the directory existsCOMMENT
LOWwarp/_src/dlpack.py479 # Check if the source lives on a CUDA deviceCOMMENT
LOWwarp/_src/context.py1751 # Check if we've already created a module with this nameCOMMENT
LOWwarp/_src/context.py2256 # Check if the Warp module was created using a different loader object; if so,COMMENT
LOWwarp/_src/context.py9586 # Check if value is a Texture object that needs conversionCOMMENT
LOWwarp/_src/context.py11306 # Check if there are no compilable kernelsCOMMENT
LOWwarp/_src/context.py13532 # Check if this line is a top-level import statement (no leading whitespace).COMMENT
LOWwarp/_src/context.py13991 # Check if all overloads have identical input_types.COMMENT
LOWwarp/_src/marching_cubes.py145 # Check if we generate a vertexCOMMENT
LOWwarp/_src/codegen.py3482 # Check if there is any user-defined overload for this operatorCOMMENT
LOWwarp/_src/codegen.py3768 # Check if we can resolve the argument as a static expression.COMMENT
LOWwarp/_src/codegen.py3937 # Check if this is a warp.grad() callCOMMENT
LOWwarp/_src/codegen.py3949 # Check if we're calling a GradWrapper (result of warp.grad(func))COMMENT
LOWwarp/_src/codegen.py4280 # 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.py2660 # Check if kernel exist in cacheCOMMENT
LOWwarp/_src/fem/linalg.py346 # Check if new block is startingCOMMENT
LOWwarp/_src/fem/geometry/hexmesh.py873 # Check if other_v has been seenCOMMENT
LOWwarp/_src/fem/geometry/tetmesh.py605 # Check if other_v has been seenCOMMENT
LOWwarp/_src/render/render_opengl.py3274 # Check if we already have that shape registered and can performCOMMENT
LOWwarp/_src/jax/ffi.py1462 # Check if annotation is a warp array type (annotation is an instance of wp.array)COMMENT
LOWwarp/native/intersect.h1070 # Check if either or both segments degenerate into pointsCOMMENT
LOWwarp/tests/aot/test_module_aot.py485 # 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.py140 # Print resultsCOMMENT
AI Slop Vocabulary16 hits · 42 pts
SeverityFileLineSnippetContext
MEDIUMdocs/generate_reference.py323 # to facilitate indexing with bisect.STRING
LOWwarp/_src/types.py3912 # for 'empty' arrays we just return the type information, these are used in kernel function signaturesCOMMENT
MEDIUMwarp/_src/context.py13353 # Use warp_home (defined at module level) for robust path resolutionCOMMENT
MEDIUMwarp/_src/context.py14276 """Print a comprehensive snapshot of the Warp build and runtime environment.STRING
LOWwarp/_src/codegen.py676 # Instead, we just create a stub annotation, which is not a fully usable array object.COMMENT
MEDIUMwarp/_src/optim/linear.py685 # Not strictly necessary, but makes it more robust to user-provided LinearOperatorsCOMMENT
MEDIUMwarp/_src/optim/linear.py878 # Not strictly necessary, but makes it more robust to user-provided LinearOperatorsCOMMENT
MEDIUMwarp/_src/optim/linear.py1135 # Not strictly necessary, but makes it more robust to user-provided LinearOperatorsCOMMENT
MEDIUMwarp/_src/optim/linear.py1455 # Not strictly necessary, but makes it more robust to user-provided LinearOperatorsCOMMENT
MEDIUMwarp/native/clang/clang.cpp844// robust against virtual address space fragmentation.COMMENT
MEDIUMwarp/tests/test_ctypes.py116# construct kernel + test harness for given matrix / vector typesCOMMENT
MEDIUMwarp/tests/test_graph.py466 # Disabled to avoid CI noise while we find a more robust measurement strategy.COMMENT
MEDIUMwarp/tests/fem/test_fem_examples.py64 # (mirroring the core example harness) and remove it after a passing run,COMMENT
MEDIUMwarp/tests/fem/test_fem_examples.py131 # 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
LOWwarp/examples/fem/example_kelvin_helmholtz.py393 # Binary-search-free conservative bound: just use the averageCOMMENT
Verbosity Indicators14 hits · 23 pts
SeverityFileLineSnippetContext
LOWwarp/_src/context.py13351 # Step 1: Parse __init__.py to identify Python API imports and conflictsCOMMENT
LOWwarp/_src/context.py13475 # Step 2: Write headerCOMMENT
LOWwarp/_src/context.py13593 # Step 3: Emit __init__.py non-import lines (docstring, __version__, __getattr__, etc.)COMMENT
LOWwarp/_src/context.py13836 # Step 4: Generate merged stubs for function conflictsCOMMENT
LOWwarp/_src/context.py13901 # Step 5: Generate stubs for non-conflicting builtinsCOMMENT
LOWwarp/native/svd.h511 // Step 1: Compute ATACOMMENT
LOWwarp/native/svd.h516 // Step 2: EigenanalysisCOMMENT
LOWwarp/native/svd.h521 // Step 3: Singular valuesCOMMENT
LOWwarp/native/svd.h540 // Step 4: Eigenvectors (find V)COMMENT
LOWwarp/native/svd.h554 // Step 5: Compute UCOMMENT
LOWwarp/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
Modern Structural Boilerplate25 hits · 19 pts
SeverityFileLineSnippetContext
LOWbuild_docs.py54logger = logging.getLogger(__name__)CODE
LOWtools/ci/deploy_doc.py275def update_stable(gh_pages_dir: Path, stable_version: str) -> None:STRING
LOWdocs/generate_reference.py45logger = logging.getLogger(__name__)CODE
LOWwarp/_src/constants.py8__all__ = [ # noqa: RUF022CODE
LOWwarp/_src/logger.py128def set_logger(logger: Logger | None) -> None:CODE
LOWwarp/_src/context.py8375def _set_cached_peer_access_enabled(target_device: Device, peer_device: Device, enable: bool) -> None:CODE
LOWwarp/_src/context.py8380def set_peer_access_enabled(target_device: DeviceLike, peer_device: DeviceLike, enable: bool) -> None:CODE
LOWwarp/_src/context.py8465def _set_cached_mempool_access_enabled(target_device: Device, peer_device: Device, enable: bool) -> None:CODE
LOWwarp/_src/context.py8470def set_mempool_access_enabled(target_device: DeviceLike, peer_device: DeviceLike, enable: bool) -> None:CODE
LOWwarp/_src/context.py4910 def set_stream(self, stream: Stream, sync: bool = True) -> None:CODE
LOWwarp/_src/context.py5291 def set_param(self, name: str, arr) -> None:CODE
LOWwarp/_src/context.py7668 def set_default_device(self, ident: DeviceLike) -> None:CODE
LOWwarp/_src/context.py7932def set_device(ident: DeviceLike) -> None:CODE
LOWwarp/_src/context.py8092def set_mempool_enabled(device: DeviceLike, enable: bool) -> None:CODE
LOWwarp/_src/context.py8128def set_cuda_allocator(allocator: Allocator | None) -> None:CODE
LOWwarp/_src/context.py8148def set_device_allocator(device: DeviceLike, allocator: Allocator | None) -> None:CODE
LOWwarp/_src/context.py8185def set_mempool_release_threshold(device: DeviceLike, threshold: int | float) -> None:CODE
LOWwarp/_src/context.py8525def set_stream(stream: Stream, device: DeviceLike = None, sync: bool = False) -> None:CODE
LOWwarp/_src/autograd.py16__all__ = [CODE
LOWwarp/_src/generated_files.py22__all__ = [CODE
LOWwarp/_src/sparse.py33__all__ = [CODE
LOWwarp/_src/math.py13__all__ = [CODE
LOWwarp/_src/fem/integrate.py56__all__ = ["integrate", "interpolate"]CODE
LOWwarp/_src/optim/linear.py13__all__ = [CODE
LOWwarp/examples/fem/utils.py20__all__ = [CODE
TODO Padding6 hits · 9 pts
SeverityFileLineSnippetContext
LOWwarp/tests/tile/test_tile_cholesky.py73 # TODO: implement and test backward passCOMMENT
LOWwarp/tests/tile/test_tile_cholesky.py171 # TODO: implement and test backward passCOMMENT
LOWwarp/tests/tile/test_tile_solve.py75 # TODO: implement and test backward passCOMMENT
LOWwarp/tests/tile/test_tile_solve.py133 # TODO: implement and test backward passCOMMENT
LOWwarp/tests/tile/test_tile_solve.py214 # TODO: implement and test backward passCOMMENT
LOWwarp/tests/tile/test_tile_solve.py300 # TODO: implement and test backward passCOMMENT
Slop Phrases4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMwarp/_src/context.py2046 # hard coded types. We do this so you can use hard coded warp types outside kernels:COMMENT
LOWwarp/tests/test_array.py933 # scalar members (make sure to test float16)COMMENT
LOWwarp/tests/test_array.py941 # vector members (make sure to test vectors of float16)COMMENT
LOWwarp/tests/test_array.py946 # 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 Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOWwarp/tests/test_compile_consts.py94 def test_function(data: wp.array(dtype=wp.float32)):CODE
LOWwarp/tests/test_compile_consts.py107 def test_function(data: wp.array(dtype=wp.float32)):CODE
LOWwarp/tests/test_compile_consts.py128 def test_function(data: wp.array(dtype=wp.float32)):CODE
LOWwarp/tests/test_compile_consts.py157 def test_function(data: wp.array(dtype=wp.float32)):CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMwarp/examples/cpp/CMakeLists.txt6# This file orchestrates testing of all C++ examples using CTest.COMMENT