AI Slop Code RIsk Monitor

cupy/cupy

NumPy & SciPy for GPU

21.6 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for cupy/cupy, a Python project with 12,362 GitHub stars. SynthScan examined 262,551 lines of code across 945 source files, recording 4826 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 21.6 (Elevated pattern signal); it is not an authorship estimate.

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

21.6
Adjusted Signal
21.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
12.4K
Stars
Python
Language
262.6K
Lines of Code
945
Files
4.8K
Pattern Hits
2026-10-12
Scan Date
0.27
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 36.9/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 37.3/100 · MEDIUM

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

Agent Over-Engineering Ratio 39.4/100 · MEDIUM

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

PR Review Velocity Impact 70.7/100 · HIGH

Which changes need focused human review? 4826 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 0HIGH 258MEDIUM 162LOW 4406

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 4826 distinct pattern matches across 21 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 Identifiers1707 hits · 1736 pts
SeverityFileLineSnippetContext
LOW.pfnci/generate.py641def expand_inherited_matrixes(matrixes: list[Matrix]) -> None:CODE
LOWinstall/cupy_builder/cupy_setup_build.py80def canonicalize_hip_libraries(hip_version, libraries):CODE
LOWinstall/cupy_builder/_command.py21def filter_files_by_extension(CODE
LOWinstall/cupy_builder/install_build.py255def get_compiler_base_options(compiler_path: list[str]) -> list[str]:CODE
LOWinstall/cupy_builder/install_build.py265def _get_compiler_base_options(compiler_path):CODE
LOWinstall/cupy_builder/install_build.py355def check_compute_capabilities(compiler, settings):STRING
LOWci/tools/fetch_ctk_redistrib.py99def get_component_relative_path(metadata: dict[str, Any], *, host_platform: str, component: str) -> str:CODE
LOWtests/conftest.py119 def pytest_collection_modifyitems(session, config, items):CODE
LOWtests/example_tests/test_finance.py49 def test_monte_carlo_multigpu(self):CODE
LOWtests/cupy_tests/test_cublas.py27 def _make_well_conditioned_matrices(self, shape):CODE
LOWtests/cupy_tests/test_cublas.py589 def _check_dgmm_incx_minus_one_hip_skip_condition(self):CODE
LOWtests/cupy_tests/test_type_routines.py12def _generate_type_routines_input(xp, dtype, obj_type):CODE
LOWtests/cupy_tests/test_type_routines.py53 def test_common_type_single_argument(self, xp, dtype):CODE
LOWtests/cupy_tests/test_type_routines.py62 def test_common_type_two_arguments(self, xp, dtype1, dtype2):CODE
LOWtests/cupy_tests/test_init.py60def test_testing_import_does_not_require_pytest():STRING
LOWtests/cupy_tests/test_init.py121 def test_get_default_memory_pool(self):STRING
LOWtests/cupy_tests/test_init.py125 def test_get_default_pinned_memory_pool(self):STRING
LOWtests/cupy_tests/test_init.py138 def test_show_config_with_handles(self):STRING
LOWtests/cupy_tests/test_init.py155 def test_bitwise_not_is_invert(self):STRING
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py51 def test_roll_invalid_shift_castable(self):CODE
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py64 def test_roll_invalid_axis_type(self):CODE
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py86 def test_roll_invalid_cupy_shift(self):CODE
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py111 def test_fliplr_insufficient_ndim(self, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py133 def test_flipud_insufficient_ndim(self, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py162 def test_flip_with_negative_axis(self, xp, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py168 def test_flip_with_axis_tuple(self, xp, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py203 def test_flip_insufficient_ndim(self, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py217 def test_flip_invalid_negative_axis(self, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py27 def test_copyto_different_contiguity(self, xp, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py72 def test_copyto_squeeze_different_contiguity(self, xp, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py80 def test_copyto_squeeze_broadcast(self, xp, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py96 def test_copyto_overlapping_where(self, xp):CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py103 def test_copyto_where_squeeze_broadcast(self, xp, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py120 def _check_copyto_where_multigpu_raises(self, dtype, ngpus):CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py155 def test_copyto_where_multigpu_raises(self, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py185 def test_copyto_multigpu_noncontinguous(self, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_split.py21 def test_array_split_empty_array(self, xp):CODE
LOWtests/cupy_tests/manipulation_tests/test_split.py26 def test_array_split_empty_sections(self, xp):CODE
LOWtests/cupy_tests/manipulation_tests/test_split.py41 def test_array_split_unordered_sections(self, xp):CODE
LOWtests/cupy_tests/manipulation_tests/test_split.py46 def test_array_split_non_divisible(self, xp):CODE
LOWtests/cupy_tests/manipulation_tests/test_split.py91 def test_split_unordered_sections(self, xp):CODE
LOWtests/cupy_tests/manipulation_tests/test_kind.py23 def test_asarray_chkfinite_non_finite_vals(self, dtype, order):CODE
LOW⚡tests/cupy_tests/manipulation_tests/test_kind.py107 def test_require_incorrect_requirments(self, dtype):CODE
LOW⚡tests/cupy_tests/manipulation_tests/test_kind.py113 def test_require_incorrect_dtype(self, dtype):CODE
LOW⚡tests/cupy_tests/manipulation_tests/test_kind.py119 def test_require_empty_requirements(self, dtype):CODE
LOWtests/cupy_tests/manipulation_tests/test_transpose.py171 def test_external_transpose_all(self, xp):CODE
LOWtests/cupy_tests/manipulation_tests/test_transpose.py200 def test_matrix_transpose_equals_swapaxes(self, xp, shape):CODE
LOWtests/cupy_tests/manipulation_tests/test_shape.py83 def test_nocopy_reshape_with_order(self, xp, dtype, order):CODE
LOWtests/cupy_tests/manipulation_tests/test_shape.py101 def test_copy_arg_str_reshape_raises(self):CODE
LOWtests/cupy_tests/manipulation_tests/test_shape.py109 def test_copy_arg_false_reshape_raises(self):CODE
LOW⚡tests/cupy_tests/manipulation_tests/test_shape.py124 def test_reshape_with_unknown_dimension(self, xp, order):CODE
LOW⚡tests/cupy_tests/manipulation_tests/test_shape.py128 def test_reshape_with_multiple_unknown_dimensions(self):CODE
LOW⚡tests/cupy_tests/manipulation_tests/test_shape.py136 def test_reshape_with_changed_arraysize(self):CODE
LOW⚡tests/cupy_tests/manipulation_tests/test_shape.py143 def test_reshape_invalid_order(self):CODE
LOW⚡tests/cupy_tests/manipulation_tests/test_shape.py149 def test_reshape_zerosize_invalid(self):CODE
LOW⚡tests/cupy_tests/manipulation_tests/test_shape.py156 def test_reshape_zerosize_invalid_unknown(self):CODE
LOWtests/cupy_tests/manipulation_tests/test_shape.py243 def test_ravel_non_contiguous(self, xp, order):CODE
LOWtests/cupy_tests/manipulation_tests/test_tiling.py194 def test_numpy_scalar_accepted(self):CODE
LOWtests/cupy_tests/manipulation_tests/test_tiling.py199 def test_numpy_ndarray_rejected(self):CODE
LOWtests/cupy_tests/manipulation_tests/test_tiling.py215 def test_float_dtype_matches_numpy(self):CODE
1647 more matches not shown…
Unused Imports2158 hits · 1672 pts
SeverityFileLineSnippetContext
LOWsetup.py2CODE
LOW.pfnci/generate.py2CODE
LOW.pfnci/trim_cupy_kernel_cache.py13CODE
LOW.pfnci/flexci_notify.py4CODE
LOWinstall/cupy_builder/_compiler.py1CODE
LOWinstall/cupy_builder/cupy_setup_build.py2CODE
LOWinstall/cupy_builder/_command.py1CODE
LOWinstall/cupy_builder/install_build.py2CODE
LOWinstall/cupy_builder/_features.py1CODE
LOWinstall/cupy_builder/__init__.py1CODE
LOWinstall/cupy_builder/__init__.py4CODE
LOWinstall/cupy_builder/__init__.py5CODE
LOWinstall/cupy_builder/__init__.py6CODE
LOWinstall/cupy_builder/__init__.py8CODE
LOWinstall/cupy_builder/__init__.py10CODE
LOWinstall/cupy_builder/__init__.py11CODE
LOWinstall/cupy_builder/__init__.py12CODE
LOWinstall/cupy_builder/_context.py1CODE
LOWinstall/cupy_builder/_environment.py1CODE
LOWinstall/cupy_builder/_preflight.py1CODE
LOWinstall/cupy_builder/install_utils.py1CODE
LOWcupy_backends/cuda/libs/__init__.py1CODE
LOWci/tools/fetch_ctk_redistrib.py4CODE
LOWci/tools/prepare_sdist_build.py15CODE
LOWci/tools/wheel_configs.py9CODE
LOWci/tools/prepare_wheel_build.py31CODE
LOWtests/conftest.py1CODE
LOWtests/conftest.py24CODE
LOWtests/example_tests/test_finance.py1CODE
LOWtests/example_tests/example_test.py1CODE
LOWtests/example_tests/test_custom_struct.py1CODE
LOWtests/example_tests/test_gmm.py1CODE
LOWtests/example_tests/test_gemm.py1CODE
LOWtests/example_tests/test_kmeans.py1CODE
LOWtests/cupy_tests/_gcp_kernel_cache_backend.py16CODE
LOWtests/cupy_tests/test_typing.py1CODE
LOWtests/cupy_tests/test_cublas.py1CODE
LOWtests/cupy_tests/test_type_routines.py1CODE
LOWtests/cupy_tests/test_init.py1CODE
LOWtests/cupy_tests/test_ndim.py1CODE
LOWtests/cupy_tests/test_numpy_interop.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_rearrange.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_split.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_kind.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_transpose.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_shape.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_tiling.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_join.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_add_remove.py1CODE
LOWtests/cupy_tests/manipulation_tests/test_dims.py1CODE
LOWtests/cupy_tests/fft_tests/test_callback.py1CODE
LOWtests/cupy_tests/fft_tests/test_fft.py1CODE
LOWtests/cupy_tests/fft_tests/test_cache.py1CODE
LOWtests/cupy_tests/polynomial_tests/test_polynomial.py1CODE
LOWtests/cupy_tests/polynomial_tests/test_polyutils.py1CODE
LOWtests/cupy_tests/linalg_tests/test_eigenvalue.py1CODE
LOWtests/cupy_tests/linalg_tests/test_solve.py1CODE
LOWtests/cupy_tests/linalg_tests/test_norms.py1CODE
LOWtests/cupy_tests/linalg_tests/test_product.py1CODE
2098 more matches not shown…
Cross-Language Confusion141 hits · 779 pts
SeverityFileLineSnippetContext
HIGH.pfnci/generate.py111 ' ( apt-get -qqy update || true ) && \\',CODE
HIGH.pfnci/generate.py278 'RUN mkdir /home/cupy-user && chmod 777 /home/cupy-user',CODE
HIGHtests/cupy_tests/cuda_tests/test_texture.py120 if (x < width && y < height)CODE
HIGHtests/cupy_tests/cuda_tests/test_texture.py136 if (x < width && y < height && z < depth)CODE
HIGHtests/cupy_tests/cuda_tests/test_texture.py156 if (x < width && y < height && z < depth) {CODE
HIGHtests/cupy_tests/cuda_tests/test_texture.py345 if (w < width && h < height)STRING
HIGHtests/cupy_tests/cuda_tests/test_texture.py360 if (w < width && h < height && d < depth)STRING
HIGH⚡tests/cupy_tests/cuda_tests/test_memory.py510 self.pool.free_all_blocks(stream=stream_module.Stream.null)CODE
HIGHtests/cupy_tests/cuda_tests/test_stream.py63 def check_del(self, null, ptds):CODE
HIGHtests/cupy_tests/cuda_tests/test_stream.py64 stream = cuda.Stream(null=null, ptds=ptds).use()CODE
HIGHtests/cupy_tests/cuda_tests/test_stream.py88 self.check_del(null=null, ptds=ptds)CODE
HIGHtests/cupy_tests/core_tests/test_mdspan.py59 if (threadIdx.x == 0 && blockIdx.x == 0) {CODE
HIGHcupy/_logic/truth.py13 'z = (i == 0 || X[i] != X[i-1]) && (i == len - 1 || X[i] != X[i+1])',CODE
HIGHcupy/_binary/packing.py16 int bit = k < a_size && a[k] != 0;STRING
HIGHcupy/_binary/packing.py30 int bit = k < a_size && a[k] != 0;STRING
HIGHcupy/_statistics/meanvar.py24 undefined, but it will probably be fully or partially sorted.STRING
HIGHcupy/_statistics/meanvar.py53 undefined, but it will probably be fully or partially sorted.STRING
HIGHcupy/_core/_fusion_op.py309 if (tid < block_stride && i < out_ind.size()) {CODE
HIGHcupy/_sorting/search.py268 if (!assume_increasing && n_bins >= 2) {CODE
HIGH⚡cupy/_sorting/search.py279 while (pos > 0 && _isnan<T>(bins[pos-1])) {CODE
HIGH⚡cupy/_sorting/search.py283 while (pos < n_bins && _isnan<T>(bins[pos])) {CODE
HIGH⚡cupy/_sorting/search.py293 greater = inc && x >= bins[n_bins-1];CODE
HIGHcupy/_padding/pad.py669 # (padded area is undefined)COMMENT
HIGHcupy/_math/misc.py236if (in0 < 0 || in0 > 0) {CODE
HIGHcupy/random/_kernels.py850 while (r2 >= 1.0 || r2 == 0.0);CODE
HIGH⚡cupyx/signal/_radartools/_radartools.py265 if (i>0 && j>0){CODE
HIGH⚡cupyx/signal/_radartools/_radartools.py268 } else if (i == 0 && j > 0){CODE
HIGH⚡cupyx/signal/_radartools/_radartools.py270 } else if (i > 0 && j == 0){CODE
HIGH⚡cupyx/signal/_radartools/_radartools.py272 } else if (i == 0 && j == 0){CODE
HIGHcupyx/signal/_filtering/_filtering.py337 if ( btx < n_chans && ty < n_taps ) {CODE
HIGHcupyx/signal/_filtering/_filtering.py359 if ( btx < n_chans && ty < n_taps ) {CODE
HIGHcupyx/signal/_filtering/_filtering.py369 if ( btx < n_chans && ty <= bid ) {CODE
HIGHcupyx/signal/_filtering/_filtering.py458 if ( btx < n_chans && ty < n_taps ) {CODE
HIGHcupyx/signal/_filtering/_filtering.py480 if ( btx < n_chans && ty < n_taps ) {CODE
HIGHcupyx/signal/_filtering/_filtering.py490 if ( btx < n_chans && ty <= bid ) {CODE
HIGHcupyx/signal/_filtering/_filtering.py578 if ( btx < n_chans && ty < n_taps ) {CODE
HIGHcupyx/signal/_filtering/_filtering.py600 if ( btx < n_chans && ty < n_taps ) {CODE
HIGHcupyx/signal/_filtering/_filtering.py610 if ( btx < n_chans && ty <= bid ) {CODE
HIGHcupyx/scipy/ndimage/_measurements.py161 if (pos < 0 || pos >= dim_size) {STRING
HIGHcupyx/scipy/ndimage/_filters.py1221 while (j >= 0 && value < array[j]) {{CODE
HIGHcupyx/scipy/special/_expn.py230 } else if (n < 0 || x < 0) {CODE
HIGHcupyx/scipy/special/_stats_distributions.py122 if (p < 0.0 || p > 1.0 || fk < 0 || n < fk) {STRING
HIGHcupyx/scipy/special/_stats_distributions.py164 if (p < 0.0 || p > 1.0 || n < fk) {STRING
HIGHcupyx/scipy/special/_stats_distributions.py213 if (y < 0.0 || y > 1.0 || fk < 0.0 || n <= fk) {STRING
HIGHcupyx/scipy/special/_stats_distributions.py615 if (w > y || y < 0.001) {STRING
HIGHcupyx/scipy/special/_stats_distributions.py843 if (((p < 0.0) || (p > 1.0)) || k < 0 || n == 0)STRING
HIGHcupyx/scipy/special/_zetac.py286 else if (x < 0.0 && x > -0.01)CODE
HIGHcupyx/scipy/special/_gammainc.py653 if (x < 0 || a < 0) {CODE
HIGHcupyx/scipy/special/_gammainc.py708 if (x < 0 || a < 0) {CODE
HIGHcupyx/scipy/special/_ellip.py138 if (m < 0.0 || m > 1.0 || isnan(m)) {CODE
HIGHcupyx/scipy/special/_beta.py212 if (b == (int)b && 1 - a - b > 0) {CODE
HIGHcupyx/scipy/special/_beta.py259 if (fabs(y) > MAXGAM || fabs(a) > MAXGAM || fabs(b) > MAXGAM) {CODE
HIGHcupyx/scipy/special/_beta.py306 if (b == (int)b && 1 - a - b > 0) {CODE
HIGHcupyx/scipy/special/_beta.py357 if (fabs(y) > MAXGAM || fabs(a) > MAXGAM || fabs(b) > MAXGAM) {CODE
HIGH⚡cupyx/scipy/special/_beta.py482 if (aa < 0.0 || bb < 0.0 || xx < 0 || xx > 1) {CODE
HIGH⚡cupyx/scipy/special/_beta.py485 if ((aa == 0 && bb == 0) || (isinf(aa) && isinf(bb))) {CODE
HIGH⚡cupyx/scipy/special/_beta.py488 if (aa == 0 || isinf(bb)) {CODE
HIGH⚡cupyx/scipy/special/_beta.py491 if (bb == 0 || isinf(aa)) {CODE
HIGHcupyx/scipy/special/_beta.py503 if ((bb * xx) <= 1.0 && xx <= 0.95) {CODE
HIGHcupyx/scipy/special/_beta.py524 if (flag == 1 && (b * x) <= 1.0 && x <= 0.95) {CODE
81 more matches not shown…
Empty Error Handlers77 hits · 385 pts
SeverityFileLineSnippetContext
HIGHtests/cupy_tests/lib_tests/test_polynomial.py494except TypeError:CODE
HIGHtests/cupy_tests/lib_tests/test_polynomial.py513except TypeError:CODE
HIGHtests/cupy_tests/cuda_tests/test_profile.py27except Exception:CODE
HIGHtests/cupy_tests/core_tests/test_ndarray_reduction.py28except ValueError:CODE
HIGHtests/cupy_tests/core_tests/test_ndarray_reduction.py35except ValueError:CODE
HIGHtests/cupyx_tests/test_cusparse.py13except ImportError:CODE
HIGHtests/cupyx_tests/test_optimize.py22except ImportError:CODE
HIGH…tests/signal_tests/radartools_tests/test_radartools.py7except ImportError:CODE
HIGH…x_tests/signal_tests/filtering_tests/test_filtering.py8except ImportError:CODE
HIGH…/cupyx_tests/scipy_tests/linalg_tests/test_matfuncs.py14except ImportError:CODE
HIGH…ests/scipy_tests/linalg_tests/test_special_matrices.py13except ImportError:CODE
HIGH…ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py13except ImportError:CODE
HIGH…s/cupyx_tests/scipy_tests/sparse_tests/test_sparray.py12except ImportError:CODE
HIGH…sts/cupyx_tests/scipy_tests/sparse_tests/test_index.py10except ImportError:CODE
HIGH…_tests/scipy_tests/ndimage_tests/test_interpolation.py15except ImportError:CODE
HIGH…_tests/scipy_tests/ndimage_tests/test_interpolation.py20except ImportError:CODE
HIGH…x_tests/scipy_tests/ndimage_tests/test_measurements.py20except ImportError:CODE
HIGH…pyx_tests/scipy_tests/ndimage_tests/test_morphology.py12except ImportError:CODE
HIGH…s/scipy_tests/ndimage_tests/test_distance_transform.py16except ImportError:CODE
HIGH…/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py16except ImportError:CODE
HIGH…/cupyx_tests/scipy_tests/ndimage_tests/test_fourier.py18except ImportError:CODE
HIGH…pyx_tests/scipy_tests/signal_tests/test_signaltools.py17except ImportError:CODE
HIGH…/cupyx_tests/scipy_tests/signal_tests/test_bsplines.py16except ImportError:CODE
HIGH…/cupyx_tests/scipy_tests/signal_tests/test_bsplines.py21except ImportError:CODE
HIGH…/cupyx_tests/scipy_tests/signal_tests/test_wavelets.py10except ImportError:CODE
HIGH…s/cupyx_tests/scipy_tests/signal_tests/test_splines.py14except ImportError:CODE
HIGH…ts/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py15except ImportError:CODE
HIGH…x_tests/scipy_tests/signal_tests/test_filter_design.py18except ImportError:CODE
HIGH…x_tests/scipy_tests/signal_tests/test_filter_design.py23except ImportError:CODE
HIGH…sts/scipy_tests/signal_tests/test_iir_filter_design.py16except ImportError:CODE
HIGH…cupyx_tests/scipy_tests/signal_tests/test_waveforms.py14except ImportError:CODE
HIGH…yx_tests/scipy_tests/signal_tests/test_peak_finding.py16except ImportError:CODE
HIGH…cupyx_tests/scipy_tests/signal_tests/test_polyutils.py13except ImportError:CODE
HIGH…s/cupyx_tests/scipy_tests/spatial_tests/test_kdtree.py14except ImportError:CODE
HIGH…s/cupyx_tests/scipy_tests/spatial_tests/test_kdtree.py19except ImportError:CODE
HIGH…cupyx_tests/scipy_tests/spatial_tests/test_delaunay.py14except ImportError:CODE
HIGHtests/cupyx_tests/scipy_tests/stats_tests/test_stats.py14except ImportError:CODE
HIGH…yx_tests/scipy_tests/stats_tests/test_distributions.py17except ImportError:CODE
HIGH…yx_tests/scipy_tests/interpolate_tests/test_bspline.py14except ImportError:CODE
HIGH…x_tests/scipy_tests/interpolate_tests/test_bspline2.py13except ImportError:CODE
HIGH…x_tests/scipy_tests/interpolate_tests/test_interpnd.py12except ImportError:CODE
HIGH…x_tests/scipy_tests/interpolate_tests/test_interpnd.py17except ImportError:CODE
HIGH…yx_tests/scipy_tests/interpolate_tests/test_polyint.py20except ImportError:CODE
HIGH…tests/scipy_tests/interpolate_tests/test_ndgriddata.py11except ImportError:CODE
HIGH…x_tests/scipy_tests/interpolate_tests/test_fitpack2.py11except ImportError:CODE
HIGH…_tests/scipy_tests/interpolate_tests/test_ndbspline.py12except ImportError:CODE
HIGH…upyx_tests/scipy_tests/interpolate_tests/test_ppoly.py20except ImportError:CODE
HIGH…upyx_tests/scipy_tests/interpolate_tests/test_ppoly.py38except ValueError:CODE
HIGH…upyx_tests/scipy_tests/interpolate_tests/test_ppoly.py49except ValueError:CODE
HIGH…_tests/scipy_tests/interpolate_tests/test_rbfinterp.py18except ImportError:CODE
HIGH…upyx_tests/scipy_tests/special_tests/test_logsumexp.py11except ImportError:CODE
HIGH…sts/cupyx_tests/scipy_tests/special_tests/test_sici.py7except ImportError:CODE
HIGH…s/cupyx_tests/scipy_tests/special_tests/test_ellipk.py7except ImportError:CODE
HIGH…s/cupyx_tests/scipy_tests/special_tests/test_exprel.py12except ImportError:CODE
HIGH…ts/cupyx_tests/scipy_tests/special_tests/test_zetac.py12except ImportError:CODE
HIGH…sts/scipy_tests/special_tests/test_spherical_bessel.py10except ImportError:CODE
HIGHtests/cupyx_tests/profiler_tests/test_profile.py29except Exception:CODE
HIGHtests/cupyx_tests/profiler_tests/test_time_range.py40except Exception:CODE
HIGHtests/cupyx_tests/profiler_tests/test_time_range.py77except Exception:CODE
HIGHcupy/_environment.py161except DynamicLibNotFoundError:CODE
17 more matches not shown…
Deep Nesting202 hits · 194 pts
SeverityFileLineSnippetContext
LOW.pfnci/generate.py534CODE
LOW.pfnci/generate.py569CODE
LOW.pfnci/generate.py669CODE
LOW.pfnci/generate.py337CODE
LOWinstall/cupy_builder/_compiler.py18CODE
LOWinstall/cupy_builder/cupy_setup_build.py94CODE
LOWinstall/cupy_builder/cupy_setup_build.py298CODE
LOWinstall/cupy_builder/install_build.py487CODE
LOWci/tools/prepare_wheel_build.py105CODE
LOWtests/conftest.py119CODE
LOWtests/cupy_tests/manipulation_tests/test_basic.py120CODE
LOWtests/cupy_tests/fft_tests/test_callback.py359CODE
LOWtests/cupy_tests/fft_tests/test_callback.py788CODE
LOWtests/cupy_tests/fft_tests/test_fft.py25CODE
LOWtests/cupy_tests/fft_tests/test_fft.py39CODE
LOWtests/cupy_tests/fft_tests/test_fft.py41CODE
LOWtests/cupy_tests/linalg_tests/test_einsum.py33CODE
LOWtests/cupy_tests/misc_tests/test_memory_ranges.py68CODE
LOWtests/cupy_tests/cuda_tests/test_nccl.py96CODE
LOWtests/cupy_tests/cuda_tests/test_memory.py51CODE
LOWtests/cupy_tests/core_tests/test_multithreading.py19CODE
LOWtests/cupy_tests/core_tests/test_multithreading.py114CODE
LOWtests/cupy_tests/core_tests/test_multithreading.py142CODE
LOWtests/cupy_tests/core_tests/test_mdspan.py25CODE
LOWtests/cupy_tests/core_tests/test_include.py35CODE
LOWtests/cupy_tests/core_tests/test_dlpack.py26CODE
LOWtests/cupy_tests/core_tests/test_dlpack.py281CODE
LOW…sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py14CODE
LOW…sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py46CODE
LOWtests/typing_tests/test_typing.py48CODE
LOWtests/cupyx_tests/distributed_tests/test_array_nccl.py658CODE
LOWtests/cupyx_tests/jit_tests/test_raw.py795CODE
LOW…sts/cupyx_tests/scipy_tests/sparse_tests/test_index.py428CODE
LOWtests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py1945CODE
LOWtests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py1966CODE
LOW…x_tests/scipy_tests/ndimage_tests/test_measurements.py335CODE
LOW…/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py108CODE
LOW…/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py252CODE
LOW…x_tests/scipy_tests/signal_tests/test_filter_design.py230CODE
LOW…sts/scipy_tests/signal_tests/test_iir_filter_design.py200CODE
LOW…yx_tests/scipy_tests/interpolate_tests/test_bspline.py452CODE
LOW…upyx_tests/scipy_tests/interpolate_tests/test_ppoly.py603CODE
LOWcupy/_environment.py142CODE
LOWcupy/cublas.py29CODE
LOWcupy/cublas.py135CODE
LOWcupy/cublas.py168CODE
LOWcupy/cublas.py201CODE
LOWcupy/cublas.py315CODE
LOWcupy/cublas.py348CODE
LOWcupy/cublas.py432CODE
LOWcupy/cublas.py691CODE
LOWcupy/cublas.py784CODE
LOWcupy/cublas.py872CODE
LOWcupy/cublas.py932CODE
LOWcupy/_statistics/histogram.py128CODE
LOWcupy/_statistics/histogram.py187CODE
LOWcupy/_statistics/histogram.py299CODE
LOWcupy/_statistics/histogram.py527CODE
LOWcupy/_statistics/order.py218CODE
LOWcupy/linalg/_decomposition.py12CODE
142 more matches not shown…
Decorative Section Separators99 hits · 184 pts
SeverityFileLineSnippetContext
MEDIUMtests/cupy_tests/cuda_tests/test_pinned_memory.py28# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/cupy_tests/cuda_tests/test_pinned_memory.py68# -----------------------------------------------------------------------------COMMENT
MEDIUMtests/cupy_tests/cuda_tests/test_memory.py287# -----------------------------------------------------------------------------COMMENT
MEDIUM…cupyx_tests/scipy_tests/sparse_tests/test_construct.py484# ---------------------------------------------------------------------------COMMENT
MEDIUM…cupyx_tests/scipy_tests/sparse_tests/test_construct.py486# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…/scipy_tests/sparse_tests/test_sparse_int64_indices.py2727# ===================================================================COMMENT
MEDIUM⚡…/scipy_tests/sparse_tests/test_sparse_int64_indices.py2732# ===================================================================COMMENT
MEDIUM⚡…/scipy_tests/sparse_tests/test_sparse_int64_indices.py2908# ===================================================================COMMENT
MEDIUM⚡…/scipy_tests/sparse_tests/test_sparse_int64_indices.py2910# ===================================================================COMMENT
MEDIUM…_tests/scipy_tests/signal_tests/test_savitzky_golay.py39# --------------------------------------------------------------------COMMENT
MEDIUM…_tests/scipy_tests/signal_tests/test_savitzky_golay.py41# --------------------------------------------------------------------COMMENT
MEDIUM⚡…_tests/scipy_tests/signal_tests/test_savitzky_golay.py165# --------------------------------------------------------------------COMMENT
MEDIUM⚡…_tests/scipy_tests/signal_tests/test_savitzky_golay.py167# --------------------------------------------------------------------COMMENT
MEDIUM…_tests/scipy_tests/signal_tests/test_savitzky_golay.py204# --------------------------------------------------------------------COMMENT
MEDIUM…_tests/scipy_tests/signal_tests/test_savitzky_golay.py206# --------------------------------------------------------------------COMMENT
MEDIUM⚡cupy/__init__.py78# =============================================================================STRING
MEDIUM⚡cupy/__init__.py83# =============================================================================STRING
MEDIUM⚡cupy/__init__.py85# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py87# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py101# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py103# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py106# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py108# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py166# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py168# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py176# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py178# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py180# =============================================================================STRING
MEDIUM⚡cupy/__init__.py185# =============================================================================STRING
MEDIUM⚡cupy/__init__.py187# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py189# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py229# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py231# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py238# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py240# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py402# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py404# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py407# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py409# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py412# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py414# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py550# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py552# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py562# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py564# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py694# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py696# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py706# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py708# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py712# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py714# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py768# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py770# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py780# -----------------------------------------------------------------------------STRING
MEDIUM⚡cupy/__init__.py782# -----------------------------------------------------------------------------STRING
MEDIUMcupy/__init__.py59# =============================================================================STRING
MEDIUMcupy/__init__.py61# =============================================================================STRING
MEDIUMcupy/__init__.py120# -----------------------------------------------------------------------------STRING
MEDIUMcupy/__init__.py122# -----------------------------------------------------------------------------STRING
MEDIUMcupy/__init__.py134# -----------------------------------------------------------------------------STRING
39 more matches not shown…
Cross-File Repetition26 hits · 130 pts
SeverityFileLineSnippetContext
HIGHcupyx/signal/_radartools/_radartools.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/signal/_convolution/_convolve.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/scipy/signal/_resample.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/scipy/signal/_wavelets.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/scipy/signal/_waveforms.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/scipy/signal/_spectral_impl.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/scipy/signal/_bsplines.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/scipy/signal/_spectral.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/scipy/signal/_peak_finding.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/scipy/signal/_upfirdn.py0upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under STRING
HIGHcupyx/scipy/special/_gammasgn.py0the source code here is an adaptation with minimal changes from the following files in scipy's bundled cephes library: hSTRING
HIGHcupyx/scipy/special/_zetac.py0the source code here is an adaptation with minimal changes from the following files in scipy's bundled cephes library: hSTRING
HIGHcupyx/scipy/special/_poch.py0the source code here is an adaptation with minimal changes from the following files in scipy's bundled cephes library: hSTRING
HIGHcupyx/scipy/sparse/_base.py0returns the k-th diagonal of the matrix. args: k (int, optional): which diagonal to get, corresponding to elements a[i, STRING
HIGHcupyx/scipy/sparse/_coo.py0returns the k-th diagonal of the matrix. args: k (int, optional): which diagonal to get, corresponding to elements a[i, STRING
HIGHcupyx/scipy/sparse/_dia.py0returns the k-th diagonal of the matrix. args: k (int, optional): which diagonal to get, corresponding to elements a[i, STRING
HIGHcupyx/scipy/sparse/_csr.py0returns a copy of the array on host memory. args: stream (cupy.cuda.stream): cuda stream object. if it is given, the copSTRING
HIGHcupyx/scipy/sparse/_coo.py0returns a copy of the array on host memory. args: stream (cupy.cuda.stream): cuda stream object. if it is given, the copSTRING
HIGHcupyx/scipy/sparse/_dia.py0returns a copy of the array on host memory. args: stream (cupy.cuda.stream): cuda stream object. if it is given, the copSTRING
HIGHcupyx/scipy/sparse/_csr.py0converts the matrix to coordinate format. args: copy (bool): if ``false``, it shares data arrays as much as possible. reSTRING
HIGHcupyx/scipy/sparse/_coo.py0converts the matrix to coordinate format. args: copy (bool): if ``false``, it shares data arrays as much as possible. reSTRING
HIGHcupyx/scipy/sparse/_csc.py0converts the matrix to coordinate format. args: copy (bool): if ``false``, it shares data arrays as much as possible. reSTRING
HIGHcupyx/scipy/sparse/_csr.py0converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as pSTRING
HIGHcupyx/scipy/sparse/_coo.py0converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as pSTRING
HIGHcupyx/scipy/sparse/_dia.py0converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as pSTRING
HIGHcupyx/scipy/sparse/_csc.py0converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as pSTRING
Over-Commented Block120 hits · 118 pts
SeverityFileLineSnippetContext
LOWpyproject.toml101 # `np.matrix`.COMMENT
LOW.pfnci/linux/tests/actions/fetch-wheel.sh1#!/bin/bashCOMMENT
LOWinstall/cupy_builder/_compiler.py41 #COMMENT
LOWinstall/cupy_builder/_compiler.py61 # See the documentation of each CUDA version for the list of supportedCOMMENT
LOWcupy_backends/cupy_cutensor.h1#ifndef INCLUDE_GUARD_CUPY_CUTENSOR_HCOMMENT
LOWcupy_backends/cupy_rand.h1#ifndef INCLUDE_GUARD_CUPY_CURAND_HCOMMENT
LOWcupy_backends/cupy_complex.h1#ifndef INCLUDE_GUARD_CUPY_COMPLEX_HCOMMENT
LOWcupy_backends/cupy_blas.h1#ifndef INCLUDE_GUARD_CUPY_CUBLAS_HCOMMENT
LOWcupy_backends/cupy_cusparselt.h1#ifndef INCLUDE_GUARD_CUPY_CUSPARSELT_HCOMMENT
LOWcupy_backends/cupy_backend_runtime.h1#ifndef INCLUDE_GUARD_CUPY_CUDA_RUNTIME_HCOMMENT
LOWcupy_backends/cupy_sparse.h1#ifndef INCLUDE_GUARD_CUPY_CUSPARSE_HCOMMENT
LOWcupy_backends/cupy_nccl.h1#ifndef INCLUDE_GUARD_CUPY_NCCL_HCOMMENT
LOWcupy_backends/cupy_profiler.h1#ifndef INCLUDE_GUARD_CUPY_PROFILER_HCOMMENT
LOWcupy_backends/cupy_backend.h1#ifndef INCLUDE_GUARD_CUPY_CUDA_HCOMMENT
LOWcupy_backends/cuda/cupy_cuda.h1#ifndef INCLUDE_GUARD_CUDA_CUPY_CUDA_HCOMMENT
LOWcupy_backends/cuda/cupy_cusolver.h1#ifndef INCLUDE_GUARD_CUDA_CUPY_CUSOLVER_HCOMMENT
LOWcupy_backends/cuda/cupy_cuda_profiler_api.h1#ifndef INCLUDE_GUARD_CUDA_CUPY_PROFILER_HCOMMENT
LOWcupy_backends/cuda/cupy_nccl.h1#ifndef INCLUDE_GUARD_CUDA_CUPY_NCCL_HCOMMENT
LOWcupy_backends/hip/cupy_hipblas.h1#ifndef INCLUDE_GUARD_HIP_CUPY_HIPBLAS_HCOMMENT
LOWcupy_backends/hip/cupy_hip_common.h1#ifndef INCLUDE_GUARD_HIP_CUPY_COMMON_HCOMMENT
LOWci/tools/ci-guard.sh1#!/bin/bashCOMMENT
LOW…upy_tests/core_tests/fusion_tests/test_optimization.py21 return retCOMMENT
LOW…yx_tests/signal_tests/acoustics_tests/test_cepstrum.py1# Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.COMMENT
LOW…ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py681 # Hermitian, well-posed, and silently wrong on stock: B @ B^H withCOMMENT
LOW…sts/scipy_tests/signal_tests/test_fir_filter_design.py301 def test_bad_args(self):COMMENT
LOW…sts/scipy_tests/signal_tests/test_iir_filter_design.py301 return b, aCOMMENT
LOW…sts/scipy_tests/signal_tests/test_iir_filter_design.py401 # 1.339913493808585e+33]COMMENT
LOW…sts/scipy_tests/signal_tests/test_iir_filter_design.py501# 1.132780692872241e+15, 0, # Matlab: 8.363229375535731e+01,COMMENT
LOW…s/cupyx_tests/scipy_tests/signal_tests/test_upfirdn.py1#COMMENT
LOW…s/cupyx_tests/scipy_tests/signal_tests/test_upfirdn.py21#COMMENT
LOW…yx_tests/scipy_tests/interpolate_tests/test_polyint.py781 # array([[ 30, 30],COMMENT
LOWcupy/__init__.py161# Not supported by CuPy:COMMENT
LOWcupy/__init__.py401COMMENT
LOWcupy/_logic/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWcupy/_binary/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWcupy/_statistics/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWcupy/_core/include/cupy/cuComplex_bridge.h1/* COMMENT
LOWcupy/_core/include/cupy/cuComplex_bridge.h21COMMENT
LOWcupy/_core/include/cupy/complex/complex_inl.h161#include <cupy/complex/csinhf.h>COMMENT
LOWcupy/cuda/compiler.py541COMMENT
LOWcupy/cuda/cupy_cub.h1#ifndef INCLUDE_GUARD_CUPY_CUDA_CUB_HCOMMENT
LOWcupy/cuda/cupy_thrust.h1#ifndef INCLUDE_GUARD_CUPY_CUDA_THRUST_HCOMMENT
LOWcupy/_sorting/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWcupy/_padding/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWcupy/_manipulation/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWcupy/_math/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWcupy/_io/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWcupy/_indexing/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWcupy/_creation/__init__.py1# Functions from the following NumPy documentCOMMENT
LOWdocs/source/conf.py1# -*- coding: utf-8 -*-COMMENT
LOWdocs/source/conf.py41# Generate comparison table.COMMENT
LOWdocs/source/conf.py101COMMENT
LOWdocs/source/conf.py121#default_role = NoneCOMMENT
LOWdocs/source/conf.py141#keep_warnings = FalseCOMMENT
LOWdocs/source/conf.py201# "<project> v<release> documentation".COMMENT
LOWdocs/source/conf.py221# Add any extra paths that contain custom files (such as robots.txt orCOMMENT
LOWdocs/source/conf.py241# If false, no module index is generated.COMMENT
LOWdocs/source/conf.py261# base URL from which the finished HTML is served.COMMENT
LOWdocs/source/conf.py281# Output file base name for HTML help builder.COMMENT
LOWdocs/source/conf.py301# (source start file, target name, title,COMMENT
60 more matches not shown…
Self-Referential Comments39 hits · 112 pts
SeverityFileLineSnippetContext
MEDIUMinstall/cupy_builder/_features.py67 # Define a feature from dict.COMMENT
MEDIUM⚡tests/cupy_tests/statistics_tests/test_order.py79 # Create an allocator that guarantees array allocated inCOMMENT
MEDIUMtests/cupy_tests/lib_tests/test_strided_tricks.py77 # Create a 0-D array (scalar) for testingCOMMENT
MEDIUMtests/cupy_tests/cuda_tests/test_cufft.py103# This class contains a few simple tests for the new XtPlanNd wrapper. A full-COMMENT
MEDIUM⚡tests/cupy_tests/cuda_tests/test_stream.py372 # Create a real CUDA stream to get a valid pointerCOMMENT
MEDIUM⚡tests/cupy_tests/cuda_tests/test_stream.py376 # Create a CuPy stream from the mock streamCOMMENT
MEDIUM…ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py1955 # Define the generalized eigenvalue problem Av = cBvCOMMENT
MEDIUM…ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py2153 # Define the generalized eigenvalue problem Av = cBvCOMMENT
MEDIUM…s/cupyx_tests/scipy_tests/signal_tests/test_dltisys.py24 # Create an input matrix with inputs down the columns (3 cols) and itsCOMMENT
MEDIUM…s/cupyx_tests/scipy_tests/signal_tests/test_dltisys.py46 # Create an input matrix with inputs down the columns (3 cols) and itsCOMMENT
MEDIUM…s/cupyx_tests/scipy_tests/signal_tests/test_dltisys.py64 # Create an input matrix with inputs down the columns (3 cols) and itsCOMMENT
MEDIUM…x_tests/scipy_tests/signal_tests/test_filter_design.py836 # Create a gammatone filter centered at 1000 Hz.COMMENT
MEDIUM…sts/scipy_tests/signal_tests/test_iir_filter_design.py1087 # Create a notching or peaking comb filter at 1000 HzCOMMENT
MEDIUM…sts/scipy_tests/signal_tests/test_iir_filter_design.py1102 # Create a notching or peaking comb filterCOMMENT
MEDIUM…sts/scipy_tests/signal_tests/test_iir_filter_design.py1128 # Create a notching comb filterCOMMENT
MEDIUM…/cupyx_tests/scipy_tests/signal_tests/test_spectral.py66 # Define the array of frequencies for which to compute the periodogramCOMMENT
MEDIUM…/cupyx_tests/scipy_tests/signal_tests/test_spectral.py96 # Define the array of frequencies for which to compute the periodogramCOMMENT
MEDIUM…/cupyx_tests/scipy_tests/signal_tests/test_spectral.py131 # Define the array of frequencies for which to compute the periodogramCOMMENT
MEDIUM…/cupyx_tests/scipy_tests/signal_tests/test_spectral.py162 # Define the array of frequencies for which to compute the periodogramCOMMENT
MEDIUMcupy/linalg/_norms.py186 # This function is implemented as a direct adaption of the numpyCOMMENT
MEDIUMcupy/linalg/_product.py188 # Create the output arraySTRING
MEDIUMcupy/_padding/pad.py609 # Create a new zero padded arrayCOMMENT
MEDIUMdocs/source/conf.py6# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMcupyx/distributed/_nccl_comm.py760 # Create a sparse matrix from the received arraysCOMMENT
MEDIUM⚡cupyx/distributed/array/_array.py224 # This method is called from cupy.ufunc and cupy.ElementwiseKernelCOMMENT
MEDIUM⚡cupyx/distributed/array/_array.py230 # This method is called from _SimpleReductionKernel and elementaryCOMMENT
MEDIUMcupyx/scipy/interpolate/_rbfinterp.py12# Define the kernel functions.COMMENT
MEDIUMcupyx/scipy/sparse/_compressed.py1635 # Create the vector to hold outputCOMMENT
MEDIUMcupyx/scipy/sparse/_index.py284# Create a filter mask based on the lowest value of orderSTRING
MEDIUMcupyx/scipy/sparse/_coo.py522 # Define the array of data consisting of the entries to be added.COMMENT
MEDIUMcupyx/scipy/spatial/delaunay_2d/_tri.py101 # Create the initial triangulationCOMMENT
MEDIUMcupyx/scipy/signal/_ltisys.py1605 # Create a reasonable time interval.STRING
MEDIUMcupyx/scipy/signal/_ltisys.py2264 # This method is useful only because we need to be able to callSTRING
MEDIUMcupyx/scipy/signal/_signaltools.py1149 # The following code computes the result shown in the formulaSTRING
MEDIUMcupyx/scipy/signal/_signaltools_core.py201 # This function is 10x faster in Cython (but only 1.7us in Python). Can beCOMMENT
MEDIUMcupyx/scipy/signal/_fir_filter_design.py586 # Create the window to apply to the filter coefficients.COMMENT
MEDIUMexamples/cg/cg.py54 # Create the large symmetric matrix 'A'.COMMENT
MEDIUMexamples/cufft/callback/jit_r2c_c2r_string.py64# Define a structure used to pass in the window sizeSTRING
MEDIUMexamples/finance/black_scholes.py14# The following code shows that CuPy enables us to write algorithms for GPUsCOMMENT
AI Structural Patterns108 hits · 104 pts
SeverityFileLineSnippetContext
LOWtests/cupy_tests/fft_tests/test_fft.py917CODE
LOWtests/cupy_tests/fft_tests/test_fft.py1323CODE
LOWtests/cupy_tests/linalg_tests/test_norms.py254CODE
LOWtests/cupy_tests/sorting_tests/test_sort.py189CODE
LOWtests/cupy_tests/sorting_tests/test_sort.py197CODE
LOWtests/cupy_tests/sorting_tests/test_sort.py205CODE
LOWtests/cupy_tests/statistics_tests/test_correlation.py60CODE
LOWtests/cupy_tests/statistics_tests/test_correlation.py74CODE
LOWtests/cupy_tests/statistics_tests/test_histogram.py464CODE
LOWtests/cupy_tests/functional_tests/test_vectorize.py380CODE
LOWtests/cupy_tests/core_tests/test_nep50_examples.py55CODE
LOW…ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py1840CODE
LOW…pyx_tests/scipy_tests/signal_tests/test_signaltools.py439CODE
LOW…pyx_tests/scipy_tests/signal_tests/test_signaltools.py475CODE
LOW…pyx_tests/scipy_tests/signal_tests/test_signaltools.py515CODE
LOW…pyx_tests/scipy_tests/signal_tests/test_signaltools.py568CODE
LOW…pyx_tests/scipy_tests/signal_tests/test_signaltools.py915CODE
LOW…pyx_tests/scipy_tests/signal_tests/test_signaltools.py959CODE
LOW…pyx_tests/scipy_tests/signal_tests/test_signaltools.py987CODE
LOW…pyx_tests/scipy_tests/signal_tests/test_signaltools.py1012CODE
LOW…sts/scipy_tests/signal_tests/test_iir_filter_design.py165CODE
LOW…sts/scipy_tests/signal_tests/test_iir_filter_design.py171CODE
LOW…yx_tests/scipy_tests/signal_tests/test_peak_finding.py51CODE
LOW…yx_tests/scipy_tests/signal_tests/test_peak_finding.py64CODE
LOW…yx_tests/scipy_tests/signal_tests/test_peak_finding.py77CODE
LOW…yx_tests/scipy_tests/signal_tests/test_peak_finding.py87CODE
LOW…yx_tests/scipy_tests/signal_tests/test_peak_finding.py152CODE
LOW…yx_tests/scipy_tests/signal_tests/test_peak_finding.py162CODE
LOW…yx_tests/scipy_tests/signal_tests/test_peak_finding.py233CODE
LOW…cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py44CODE
LOW…cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py77CODE
LOW…cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py113CODE
LOW…cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py154CODE
LOW…cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py189CODE
LOW…cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py235CODE
LOW…s/cupyx_tests/scipy_tests/signal_tests/test_upfirdn.py59CODE
LOW…s/cupyx_tests/scipy_tests/spatial_tests/test_kdtree.py341CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py105CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py112CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py138CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py163CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py170CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py177CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py184CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py205CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py212CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py219CODE
LOW…cupyx_tests/scipy_tests/spatial_tests/test_distance.py235CODE
LOW…_tests/scipy_tests/interpolate_tests/test_ndbspline.py220CODE
LOW…_tests/scipy_tests/interpolate_tests/test_ndbspline.py301CODE
LOW…_tests/scipy_tests/interpolate_tests/test_ndbspline.py319CODE
LOW…_tests/scipy_tests/interpolate_tests/test_ndbspline.py334CODE
LOW…_tests/scipy_tests/interpolate_tests/test_ndbspline.py350CODE
LOWcupy/linalg/_norms.py16CODE
LOWcupy/linalg/_product.py17CODE
LOWcupy/_core/_gufuncs.py611CODE
LOWcupy/cuda/compiler.py346CODE
LOWcupy/cuda/compiler.py406CODE
LOWcupy/cuda/compiler.py624CODE
LOWcupy/cuda/compiler.py655CODE
48 more matches not shown…
Docstring Block Structure13 hits · 65 pts
SeverityFileLineSnippetContext
HIGHcupy/linalg/_eigenvalue.py275 Return the eigenvalues and eigenvectors of a matrix. Returns two objects, a 1-D array containing the eigenvaluSTRING
HIGHcupy/linalg/_eigenvalue.py360 Compute the eigenvalues of a matrix. Main difference from eig: the eigenvectors are not computed. Args: STRING
HIGHcupy/_manipulation/add_remove.py198Find the unique elements of an array. Returns the sorted unique elements of an array. There are three optional STRING
HIGHcupyx/linalg/_solve.py35 Solves the linear system Ax = b using the Cholesky factorization of A. Batched input arrays are also supported.STRING
HIGHcupyx/scipy/ndimage/_measurements.py463Calculates the sum of the values of an n-D image array, optionally at specified sub-regions. Args: iSTRING
HIGHcupyx/scipy/linalg/_special_matrices.py331Discrete Fourier transform matrix. Create the matrix that computes the discrete Fourier transform of a sequenceSTRING
HIGHcupyx/scipy/linalg/_special_matrices.py400Returns a Fiedler companion matrix Given a polynomial coefficient array ``a``, this function forms a pentadiagoSTRING
HIGHcupyx/scipy/sparse/_sputils.py39Safely cast sparse array indices to ``idx_dtype``. Check the shape of *A* to determine if it is safe to cast its inSTRING
HIGHcupyx/scipy/sparse/_construct.py218Stacks sparse arrays/matrices horizontally (column wise). Args: blocks (sequence of cupyx.scipy.sparse): spSTRING
HIGHcupyx/scipy/sparse/_construct.py252Stacks sparse arrays/matrices vertically (row wise). Args: blocks (sequence of cupyx.scipy.sparse): sparse STRING
HIGHcupyx/scipy/sparse/_construct.py287Builds a sparse array/matrix from sparse sub-blocks Args: blocks (array_like): Grid of sparse oSTRING
HIGHcupyx/scipy/sparse/_construct.py546Construct a sparse matrix from diagonals. Args: diagonals (sequence of array_like): Sequence ofSTRING
HIGHcupyx/scipy/sparse/linalg/_eigen.py45 Find ``k`` eigenvalues and eigenvectors of the real symmetric square matrix or complex Hermitian matrix ``A``. STRING
Excessive Try-Catch Wrapping67 hits · 65 pts
SeverityFileLineSnippetContext
LOWinstall/cupy_builder/_compiler.py256 except Exception:CODE
LOWinstall/cupy_builder/cupy_setup_build.py73 except Exception as e:CODE
LOWinstall/cupy_builder/install_build.py329 except Exception as e:STRING
LOWinstall/cupy_builder/install_build.py382 except Exception as e:STRING
LOWinstall/cupy_builder/install_build.py407 except Exception as e:STRING
LOWinstall/cupy_builder/install_build.py457 except Exception as e:STRING
LOWinstall/cupy_builder/install_build.py516 except Exception as e:CODE
LOWinstall/cupy_builder/install_build.py548 except Exception as e:CODE
LOWinstall/cupy_builder/install_build.py590 except Exception as e:CODE
LOWinstall/cupy_builder/install_build.py634 except Exception as e:STRING
LOWinstall/cupy_builder/install_build.py673 except Exception as e:STRING
LOWinstall/cupy_builder/install_build.py785 except Exception as e:STRING
LOWinstall/cupy_builder/install_build.py814 except Exception as e:STRING
LOWinstall/cupy_builder/install_build.py822 except Exception as e:STRING
LOWinstall/cupy_builder/_features.py477 except Exception as e:STRING
MEDIUMinstall/cupy_builder/_preflight.py11 print('Error: macOS is no longer supported', file=sys.stderr)CODE
LOWtests/cupy_tests/_gcp_kernel_cache_backend.py109 except Exception as e:CODE
LOWtests/cupy_tests/_gcp_kernel_cache_backend.py149 except Exception as e:CODE
LOWtests/cupy_tests/_gcp_kernel_cache_backend.py173 except Exception as e:CODE
LOWtests/cupy_tests/_gcp_kernel_cache_backend.py217 except Exception as e:CODE
LOWtests/cupy_tests/_gcp_kernel_cache_backend.py257 except Exception as e:CODE
LOWtests/cupy_tests/test_init.py53except Exception as e:CODE
LOWtests/cupy_tests/fft_tests/test_fft.py56 except Exception:CODE
LOWtests/cupy_tests/fft_tests/test_fft.py93 except Exception:CODE
LOWtests/cupy_tests/cuda_tests/test_profile.py27 except Exception:CODE
LOWtests/cupy_tests/cuda_tests/test_stream.py240 except Exception as e:CODE
LOWtests/cupy_tests/cuda_tests/test_stream.py256 except Exception as e:CODE
LOW…sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py76 except Exception as e:CODE
MEDIUM…sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py72def call(func, args, kwargs):CODE
LOWtests/typing_tests/test_run.py21 except Exception:CODE
LOWtests/cupyx_tests/profiler_tests/test_profile.py29 except Exception:CODE
LOWtests/cupyx_tests/profiler_tests/test_time_range.py40 except Exception:CODE
LOWtests/cupyx_tests/profiler_tests/test_time_range.py77 except Exception:CODE
MEDIUMcupy/__init__.py956def issubclass_(arg1, arg2):CODE
LOWcupy/__init__.py992 except Exception:STRING
LOWcupy/__init__.py1070 except Exception:STRING
LOWcupy/_environment.py406 except Exception as e:CODE
LOWcupy/_environment.py422 except Exception as e:CODE
LOWcupy/_environment.py663 except Exception as e:CODE
LOWcupy/_environment.py698 except Exception as e:CODE
LOWcupy/_logic/comparison.py155 except Exception:CODE
LOWcupy/linalg/_norms.py76 except Exception:CODE
MEDIUMcupy/cuda/compiler.py136def _get_cl_exe_dir() -> str | None:CODE
LOWcupy/cuda/compiler.py142 except Exception:CODE
LOWcupy/cuda/compiler.py150 except Exception as e:CODE
LOWcupy/cuda/compiler.py168 except Exception as e:CODE
LOWcupy/cuda/compiler.py316 except Exception as e: # C++ could throw all kinds of errorsCODE
LOWcupy/cuda/__init__.py115 except Exception:STRING
LOWcupy/testing/_loops.py863 except Exception:CODE
LOWcupy/testing/_loops.py1111 except Exception:CODE
LOWcupy/testing/_loops.py1213 except Exception:CODE
LOWcupy/testing/_loops.py1263 except Exception:CODE
LOWcupyx/cusparse.py2128 except Exception:CODE
LOWcupyx/cusparse.py2136 except Exception:CODE
LOWcupyx/_runtime.py232 except Exception:CODE
LOWcupyx/_runtime.py239 except Exception:CODE
LOWcupyx/distributed/_store.py36 except Exception as e:CODE
MEDIUMcupyx/distributed/_store.py32def run(self):CODE
LOWcupyx/distributed/_store_actions.py43 except Exception as e:CODE
LOWcupyx/jit/_compile.py74 except Exception as e:CODE
7 more matches not shown…
AI Slop Vocabulary18 hits · 32 pts
SeverityFileLineSnippetContext
LOWtests/cupy_tests/math_tests/test_sumprod.py614 # smaller array instead, just return if array is too large.COMMENT
LOWtests/cupy_tests/core_tests/test_raw.py1222# cache directory it just set up.STRING
LOW…ests/scipy_tests/linalg_tests/test_special_matrices.py23 # Otherwise just pass the arg backCOMMENT
LOW…ests/scipy_tests/linalg_tests/test_special_matrices.py110 # Otherwise just pass the arg backCOMMENT
MEDIUM…s/scipy_tests/ndimage_tests/test_distance_transform.py128 # Fine sampling of shapes to make sure kernels are robust to all shapesCOMMENT
MEDIUM⚡…s/scipy_tests/ndimage_tests/test_distance_transform.py193 """ensure default block_params is robust to anisotropic shape."""STRING
MEDIUM⚡…s/scipy_tests/ndimage_tests/test_distance_transform.py203 """ensure default block_params is robust to anisotropic shape."""STRING
MEDIUM⚡…s/scipy_tests/ndimage_tests/test_distance_transform.py213 """ensure default block_params is robust to anisotropic shape."""STRING
LOWcupy/_core/_gufuncs.py415 # optimized CUDA libraries so we just call themCOMMENT
LOWcupy/cuda/compiler.py683 # jitify is requested internally, just set the flagCOMMENT
MEDIUMcupy/testing/_random.py55# In some tests (which utilize condition.repeat or condition.retry),COMMENT
LOWcupyx/scipy/ndimage/_util.py120 # The indices actually use byte positions and we can't just useCOMMENT
LOWcupyx/scipy/interpolate/_rbfinterp.py774 # If this number is below 1e6 we just use 1e6COMMENT
LOWcupyx/scipy/interpolate/_polyint.py752 # For slinear or zero order spline, we just pass nans through.COMMENT
MEDIUMcupyx/scipy/spatial/delaunay_2d/_schewchuk.py34/* from the Web page http://www.cs.cmu.edu/~quake/robust.html . */COMMENT
LOWcupyx/scipy/signal/_ltisys.py1518 # Zero input: just use matrix exponentialSTRING
MEDIUMexamples/interoperability/mpi4py_multiple_devices.py26# is written. For more robust usage, you may need to consult the user manualCOMMENT
MEDIUM.github/workflows/ci-trigger.yml15# Least privilege: read-only by default; the two jobs below elevateCOMMENT
Redundant / Tautological Comments24 hits · 32 pts
SeverityFileLineSnippetContext
LOWtests/cupy_tests/linalg_tests/test_eigenvalue.py61 # Check if v @ vt is an identity matrixCOMMENT
LOWtests/cupy_tests/linalg_tests/test_eigenvalue.py380 # Check if the input matrix is not brokenCOMMENT
LOWtests/cupy_tests/linalg_tests/test_eigenvalue.py392 # Check if the input matrix is not brokenCOMMENT
LOWtests/cupy_tests/linalg_tests/test_eigenvalue.py481 # Check if the input matrix is not brokenCOMMENT
LOWtests/cupy_tests/linalg_tests/test_eigenvalue.py502 # Check if the input matrix is not brokenCOMMENT
LOWtests/cupy_tests/linalg_tests/test_decomposition.py203 # Check if the input matrix is not brokenCOMMENT
LOWtests/cupy_tests/linalg_tests/test_decomposition.py254 # Check if the input matrix is not brokenCOMMENT
LOWtests/cupy_tests/math_tests/test_sumprod.py701 testing.assert_array_equal(a, b) # Check if input array is overwrittenCODE
LOWtests/cupy_tests/math_tests/test_sumprod.py756 testing.assert_array_equal(a, b) # Check if input array is overwrittenCODE
LOWtests/cupy_tests/math_tests/test_sumprod.py845 testing.assert_array_equal(a, b) # Check if input array is overwrittenCODE
LOWtests/cupy_tests/cuda_tests/test_compiler_cache.py85 # Write file with wrong hashCOMMENT
LOWtests/cupy_tests/creation_tests/test_from_data.py775 # Check if cupy.ndarray does not alterCOMMENT
LOWtests/cupy_tests/core_tests/test_mdspan.py297 # Check if strides are actually negativeCOMMENT
LOWtests/typing_tests/test_typing.py44 # Check if "mypy.ini" existsCOMMENT
LOWcupy/_core/_gufuncs.py417 # Check if the function supports out, order and other argsCOMMENT
LOWcupy/testing/_loops.py160 # Check if the error was not raised from test code.COMMENT
LOWcupyx/lapack.py400 # Check if batched should be usedCOMMENT
LOWcupyx/scipy/interpolate/_polyint.py730 # Check if we can delegate to numpy.interp (2x-10x faster).COMMENT
LOWcupyx/scipy/sparse/_construct.py368 # Check if any input block has int64 indices before conversionCOMMENT
LOWcupyx/scipy/spatial/delaunay_2d/_tri.py87 # Check if the three points are not coplanarCOMMENT
LOWcupyx/scipy/signal/_resample.py314 # Check if we can use faster real FFTCOMMENT
LOWcupyx/scipy/signal/_spectral_impl.py354 # Check if we can broadcast the outer axes togetherSTRING
LOWcupyx/scipy/signal/_spectral_impl.py381 # Check if x and y are the same length, zero-pad if necessarySTRING
LOWcupyx/scipy/signal/_fir_filter_design.py561 # Check if freq is strictly increasing after tweakCOMMENT
Dead Code9 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMtests/cupy_tests/testing_tests/test_loops.py422CODE
MEDIUMtests/cupy_tests/testing_tests/test_loops.py428CODE
MEDIUMtests/cupy_tests/testing_tests/test_loops.py433CODE
MEDIUMtests/cupy_tests/testing_tests/test_loops.py438CODE
MEDIUMtests/cupy_tests/testing_tests/test_loops.py443CODE
MEDIUMtests/cupy_tests/testing_tests/test_loops.py448CODE
MEDIUMtests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py1281CODE
MEDIUM…ts/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py573CODE
MEDIUM…ts/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py574CODE
Modern Structural Boilerplate10 hits · 11 pts
SeverityFileLineSnippetContext
LOW⚡cupy/linalg/__init__.py56__all__ = [CODE
LOWcupy/cuda/compiler.py45def _set_kernel_cache_backend(backend: _KernelCacheBackend) -> None:CODE
LOWcupy/fft/__init__.py21__all__ = ["fft", "fft2", "fftfreq", "fftn", "fftshift", "hfft",CODE
LOW⚡cupyx/distributed/array/_chunk.py198 def set_identity_on_overwritten_entries(self, identity) -> None:CODE
LOWcupyx/jit/cg.py13__all__ = ['this_grid', 'this_thread_block',CODE
LOWcupyx/scipy/interpolate/_rgi.py3__all__ = ['RegularGridInterpolator', 'interpn']CODE
LOWcupyx/scipy/fft/_realtransforms.py46__all__ = ['dct', 'dctn', 'dst', 'dstn', 'idct', 'idctn', 'idst', 'idstn']CODE
LOWcupyx/scipy/fft/_fftlog.py25__all__ = ['fht', 'ifht']CODE
LOWcupyx/scipy/signal/_czt.py39__all__ = ['czt', 'zoom_fft', 'CZT', 'ZoomFFT', 'czt_points']CODE
LOWcupyx/scipy/signal/_fir_filter_design.py16__all__ = ["firls", "minimum_phase"]CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHcupyx/scipy/sparse/linalg/_solve.py1002 # In this version we look at the diagonals of R in theCOMMENT
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOWtests/cupy_tests/io_tests/test_base_n.py19 # We need to check if it cause a warning, and maybe it causes anCOMMENT
LOW⚡cupyx/scipy/ndimage/_pba_3d.py305 # Step 1: decode the (z, y, x) coordinateCOMMENT
LOW⚡cupyx/scipy/ndimage/_pba_3d.py308 # Step 2: compute the Euclidean distance based on this (z, y, x).COMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡cupyx/scipy/ndimage/_pba_3d.py305 # Step 1: decode the (z, y, x) coordinateCOMMENT
LOW⚡cupyx/scipy/ndimage/_pba_3d.py308 # Step 2: compute the Euclidean distance based on this (z, y, x).COMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…cupyx_tests/scipy_tests/special_tests/test_gammainc.py94 # TODO: implement FuncData?COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcupyx/scipy/ndimage/_pba_2d.py462 # make sure to crop any padding that was added here!COMMENT