NumPy & SciPy for GPU
This report presents the forensic synthetic code analysis of cupy/cupy, a Python project with 12,131 GitHub stars. SynthScan v2.0 examined 251,183 lines of code across 909 source files, recording 4492 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 20.1 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).
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.
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.
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.
The scanner identified 4492 distinct pattern matches across 20 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pfnci/generate.py | 575 | def expand_inherited_matrixes(matrixes: list[Matrix]) -> None: | CODE |
| LOW | install/cupy_builder/cupy_setup_build.py | 80 | def canonicalize_hip_libraries(hip_version, libraries): | CODE |
| LOW | install/cupy_builder/_command.py | 20 | def filter_files_by_extension( | CODE |
| LOW | install/cupy_builder/install_build.py | 248 | def get_compiler_base_options(compiler_path: list[str]) -> list[str]: | CODE |
| LOW | install/cupy_builder/install_build.py | 258 | def _get_compiler_base_options(compiler_path): | CODE |
| LOW | install/cupy_builder/install_build.py | 348 | def check_compute_capabilities(compiler, settings): | STRING |
| LOW | tests/conftest.py | 119 | def pytest_collection_modifyitems(session, config, items): | CODE |
| LOW | tests/example_tests/test_finance.py | 49 | def test_monte_carlo_multigpu(self): | CODE |
| LOW | tests/cupy_tests/test_cublas.py | 27 | def _make_well_conditioned_matrices(self, shape): | CODE |
| LOW | tests/cupy_tests/test_cublas.py | 589 | def _check_dgmm_incx_minus_one_hip_skip_condition(self): | CODE |
| LOW | tests/cupy_tests/test_type_routines.py | 12 | def _generate_type_routines_input(xp, dtype, obj_type): | CODE |
| LOW | tests/cupy_tests/test_type_routines.py | 53 | def test_common_type_single_argument(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/test_type_routines.py | 62 | def test_common_type_two_arguments(self, xp, dtype1, dtype2): | CODE |
| LOW | tests/cupy_tests/test_init.py | 60 | def test_testing_import_does_not_require_pytest(): | STRING |
| LOW | tests/cupy_tests/test_init.py | 121 | def test_get_default_memory_pool(self): | STRING |
| LOW | tests/cupy_tests/test_init.py | 125 | def test_get_default_pinned_memory_pool(self): | STRING |
| LOW | tests/cupy_tests/test_init.py | 138 | def test_show_config_with_handles(self): | STRING |
| LOW | tests/cupy_tests/test_init.py | 155 | def test_bitwise_not_is_invert(self): | STRING |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 51 | def test_roll_invalid_shift_castable(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 64 | def test_roll_invalid_axis_type(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 86 | def test_roll_invalid_cupy_shift(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 111 | def test_fliplr_insufficient_ndim(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 133 | def test_flipud_insufficient_ndim(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 162 | def test_flip_with_negative_axis(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 168 | def test_flip_with_axis_tuple(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 203 | def test_flip_insufficient_ndim(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 217 | def test_flip_invalid_negative_axis(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 27 | def test_copyto_different_contiguity(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 72 | def test_copyto_squeeze_different_contiguity(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 80 | def test_copyto_squeeze_broadcast(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 97 | def test_copyto_where_squeeze_broadcast(self, xp, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 114 | def _check_copyto_where_multigpu_raises(self, dtype, ngpus): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 149 | def test_copyto_where_multigpu_raises(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 179 | def test_copyto_multigpu_noncontinguous(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 21 | def test_array_split_empty_array(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 26 | def test_array_split_empty_sections(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 41 | def test_array_split_unordered_sections(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 46 | def test_array_split_non_divisible(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 91 | def test_split_unordered_sections(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_kind.py | 23 | def test_asarray_chkfinite_non_finite_vals(self, dtype, order): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_kind.py | 107 | def test_require_incorrect_requirments(self, dtype): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_kind.py | 113 | def test_require_incorrect_dtype(self, dtype): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_kind.py | 119 | def test_require_empty_requirements(self, dtype): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_transpose.py | 171 | def test_external_transpose_all(self, xp): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_transpose.py | 200 | def test_matrix_transpose_equals_swapaxes(self, xp, shape): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_shape.py | 50 | def test_nocopy_reshape_with_order(self, xp, dtype, order): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 64 | def test_reshape_with_unknown_dimension(self, xp, order): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 68 | def test_reshape_with_multiple_unknown_dimensions(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 74 | def test_reshape_with_changed_arraysize(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 80 | def test_reshape_invalid_order(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 86 | def test_reshape_zerosize_invalid(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_shape.py | 92 | def test_reshape_zerosize_invalid_unknown(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_shape.py | 174 | def test_ravel_non_contiguous(self, xp, order): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_tiling.py | 194 | def test_numpy_scalar_accepted(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_tiling.py | 199 | def test_numpy_ndarray_rejected(self): | CODE |
| LOW | tests/cupy_tests/manipulation_tests/test_tiling.py | 215 | def test_float_dtype_matches_numpy(self): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_join.py | 111 | def test_concatenate_f_contiguous(self, xp, dtype): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_join.py | 119 | def test_concatenate_large_f_contiguous(self, xp, dtype): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_join.py | 128 | def test_concatenate_many_multi_dtype(self, xp): | CODE |
| LOW⚡ | tests/cupy_tests/manipulation_tests/test_join.py | 392 | def test_stack_with_axis_over(self): | CODE |
| 1511 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 2 | CODE | |
| LOW | .pfnci/generate.py | 2 | CODE | |
| LOW | .pfnci/trim_cupy_kernel_cache.py | 13 | CODE | |
| LOW | .pfnci/flexci_notify.py | 4 | CODE | |
| LOW | install/cupy_builder/_compiler.py | 1 | CODE | |
| LOW | install/cupy_builder/cupy_setup_build.py | 2 | CODE | |
| LOW | install/cupy_builder/_command.py | 1 | CODE | |
| LOW | install/cupy_builder/install_build.py | 2 | CODE | |
| LOW | install/cupy_builder/_features.py | 1 | CODE | |
| LOW | install/cupy_builder/__init__.py | 1 | CODE | |
| LOW | install/cupy_builder/__init__.py | 4 | CODE | |
| LOW | install/cupy_builder/__init__.py | 5 | CODE | |
| LOW | install/cupy_builder/__init__.py | 6 | CODE | |
| LOW | install/cupy_builder/__init__.py | 8 | CODE | |
| LOW | install/cupy_builder/__init__.py | 10 | CODE | |
| LOW | install/cupy_builder/__init__.py | 11 | CODE | |
| LOW | install/cupy_builder/__init__.py | 12 | CODE | |
| LOW | install/cupy_builder/_context.py | 1 | CODE | |
| LOW | install/cupy_builder/_environment.py | 1 | CODE | |
| LOW | install/cupy_builder/_preflight.py | 1 | CODE | |
| LOW | install/cupy_builder/install_utils.py | 1 | CODE | |
| LOW | cupy_backends/cuda/libs/__init__.py | 1 | CODE | |
| LOW | tests/conftest.py | 1 | CODE | |
| LOW | tests/conftest.py | 24 | CODE | |
| LOW | tests/example_tests/test_finance.py | 1 | CODE | |
| LOW | tests/example_tests/example_test.py | 1 | CODE | |
| LOW | tests/example_tests/test_custom_struct.py | 1 | CODE | |
| LOW | tests/example_tests/test_gmm.py | 1 | CODE | |
| LOW | tests/example_tests/test_gemm.py | 1 | CODE | |
| LOW | tests/example_tests/test_kmeans.py | 1 | CODE | |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 16 | CODE | |
| LOW | tests/cupy_tests/test_typing.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_cublas.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_type_routines.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_init.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_ndim.py | 1 | CODE | |
| LOW | tests/cupy_tests/test_numpy_interop.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_rearrange.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_split.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_kind.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_transpose.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_shape.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_tiling.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_join.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_add_remove.py | 1 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_dims.py | 1 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_callback.py | 1 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 1 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_cache.py | 1 | CODE | |
| LOW | tests/cupy_tests/polynomial_tests/test_polynomial.py | 1 | CODE | |
| LOW | tests/cupy_tests/polynomial_tests/test_polyutils.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_solve.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_norms.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_product.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_decomposition.py | 1 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_einsum.py | 1 | CODE | |
| LOW | tests/cupy_tests/misc_tests/test_who.py | 1 | CODE | |
| LOW | tests/cupy_tests/misc_tests/test_byte_bounds.py | 1 | CODE | |
| 2009 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .pfnci/generate.py | 82 | ' ( apt-get -qqy update || true ) && \\', | CODE |
| HIGH | .pfnci/generate.py | 244 | 'RUN mkdir /home/cupy-user && chmod 777 /home/cupy-user', | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 120 | if (x < width && y < height) | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 136 | if (x < width && y < height && z < depth) | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 156 | if (x < width && y < height && z < depth) { | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 345 | if (w < width && h < height) | STRING |
| HIGH | tests/cupy_tests/cuda_tests/test_texture.py | 360 | if (w < width && h < height && d < depth) | STRING |
| HIGH⚡ | tests/cupy_tests/cuda_tests/test_memory.py | 510 | self.pool.free_all_blocks(stream=stream_module.Stream.null) | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_stream.py | 63 | def check_del(self, null, ptds): | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_stream.py | 64 | stream = cuda.Stream(null=null, ptds=ptds).use() | CODE |
| HIGH | tests/cupy_tests/cuda_tests/test_stream.py | 88 | self.check_del(null=null, ptds=ptds) | CODE |
| HIGH | tests/cupy_tests/core_tests/test_mdspan.py | 59 | if (threadIdx.x == 0 && blockIdx.x == 0) { | CODE |
| HIGH | cupy/_logic/truth.py | 13 | 'z = (i == 0 || X[i] != X[i-1]) && (i == len - 1 || X[i] != X[i+1])', | CODE |
| HIGH | cupy/_binary/packing.py | 12 | int bit = k < a_size && a[k] != 0; | STRING |
| HIGH | cupy/_binary/packing.py | 21 | int bit = k < a_size && a[k] != 0; | STRING |
| HIGH | cupy/_statistics/meanvar.py | 24 | undefined, but it will probably be fully or partially sorted. | STRING |
| HIGH | cupy/_statistics/meanvar.py | 53 | undefined, but it will probably be fully or partially sorted. | STRING |
| HIGH | cupy/_core/_fusion_op.py | 309 | if (tid < block_stride && i < out_ind.size()) { | CODE |
| HIGH | cupy/_sorting/search.py | 268 | if (!assume_increasing && n_bins >= 2) { | CODE |
| HIGH⚡ | cupy/_sorting/search.py | 279 | while (pos > 0 && _isnan<T>(bins[pos-1])) { | CODE |
| HIGH⚡ | cupy/_sorting/search.py | 283 | while (pos < n_bins && _isnan<T>(bins[pos])) { | CODE |
| HIGH⚡ | cupy/_sorting/search.py | 293 | greater = inc && x >= bins[n_bins-1]; | CODE |
| HIGH | cupy/_padding/pad.py | 669 | # (padded area is undefined) | COMMENT |
| HIGH | cupy/_math/misc.py | 236 | if (in0 < 0 || in0 > 0) { | CODE |
| HIGH | cupy/random/_kernels.py | 850 | while (r2 >= 1.0 || r2 == 0.0); | CODE |
| HIGH⚡ | cupyx/signal/_radartools/_radartools.py | 262 | if (i>0 && j>0){ | CODE |
| HIGH⚡ | cupyx/signal/_radartools/_radartools.py | 265 | } else if (i == 0 && j > 0){ | CODE |
| HIGH⚡ | cupyx/signal/_radartools/_radartools.py | 267 | } else if (i > 0 && j == 0){ | CODE |
| HIGH⚡ | cupyx/signal/_radartools/_radartools.py | 269 | } else if (i == 0 && j == 0){ | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 335 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 357 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 367 | if ( btx < n_chans && ty <= bid ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 450 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 472 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 482 | if ( btx < n_chans && ty <= bid ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 564 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 586 | if ( btx < n_chans && ty < n_taps ) { | CODE |
| HIGH | cupyx/signal/_filtering/_filtering.py | 596 | if ( btx < n_chans && ty <= bid ) { | CODE |
| HIGH | cupyx/scipy/ndimage/_measurements.py | 162 | if (pos < 0 || pos >= shape[dm]) { | STRING |
| HIGH | cupyx/scipy/ndimage/_filters.py | 1225 | while (j >= 0 && value < array[j]) {{ | CODE |
| HIGH | cupyx/scipy/special/_expn.py | 230 | } else if (n < 0 || x < 0) { | CODE |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 122 | if (p < 0.0 || p > 1.0 || fk < 0 || n < fk) { | STRING |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 164 | if (p < 0.0 || p > 1.0 || n < fk) { | STRING |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 213 | if (y < 0.0 || y > 1.0 || fk < 0.0 || n <= fk) { | STRING |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 615 | if (w > y || y < 0.001) { | STRING |
| HIGH | cupyx/scipy/special/_stats_distributions.py | 843 | if (((p < 0.0) || (p > 1.0)) || k < 0 || n == 0) | STRING |
| HIGH | cupyx/scipy/special/_zetac.py | 286 | else if (x < 0.0 && x > -0.01) | CODE |
| HIGH | cupyx/scipy/special/_gammainc.py | 653 | if (x < 0 || a < 0) { | CODE |
| HIGH | cupyx/scipy/special/_gammainc.py | 708 | if (x < 0 || a < 0) { | CODE |
| HIGH | cupyx/scipy/special/_ellip.py | 137 | if (m < 0.0 || m > 1.0 || isnan(m)) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 212 | if (b == (int)b && 1 - a - b > 0) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 259 | if (fabs(y) > MAXGAM || fabs(a) > MAXGAM || fabs(b) > MAXGAM) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 306 | if (b == (int)b && 1 - a - b > 0) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 357 | if (fabs(y) > MAXGAM || fabs(a) > MAXGAM || fabs(b) > MAXGAM) { | CODE |
| HIGH⚡ | cupyx/scipy/special/_beta.py | 482 | if (aa < 0.0 || bb < 0.0 || xx < 0 || xx > 1) { | CODE |
| HIGH⚡ | cupyx/scipy/special/_beta.py | 485 | if ((aa == 0 && bb == 0) || (isinf(aa) && isinf(bb))) { | CODE |
| HIGH⚡ | cupyx/scipy/special/_beta.py | 488 | if (aa == 0 || isinf(bb)) { | CODE |
| HIGH⚡ | cupyx/scipy/special/_beta.py | 491 | if (bb == 0 || isinf(aa)) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 503 | if ((bb * xx) <= 1.0 && xx <= 0.95) { | CODE |
| HIGH | cupyx/scipy/special/_beta.py | 524 | if (flag == 1 && (b * x) <= 1.0 && x <= 0.95) { | CODE |
| 81 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .pfnci/generate.py | 468 | CODE | |
| LOW | .pfnci/generate.py | 503 | CODE | |
| LOW | .pfnci/generate.py | 603 | CODE | |
| LOW | .pfnci/generate.py | 303 | CODE | |
| LOW | install/cupy_builder/_compiler.py | 18 | CODE | |
| LOW | install/cupy_builder/cupy_setup_build.py | 94 | CODE | |
| LOW | install/cupy_builder/cupy_setup_build.py | 298 | CODE | |
| LOW | install/cupy_builder/install_build.py | 480 | CODE | |
| LOW | tests/conftest.py | 119 | CODE | |
| LOW | tests/cupy_tests/manipulation_tests/test_basic.py | 114 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_callback.py | 359 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_callback.py | 788 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 24 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 38 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 40 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_einsum.py | 33 | CODE | |
| LOW | tests/cupy_tests/misc_tests/test_memory_ranges.py | 68 | CODE | |
| LOW | tests/cupy_tests/cuda_tests/test_nccl.py | 96 | CODE | |
| LOW | tests/cupy_tests/cuda_tests/test_memory.py | 51 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_multithreading.py | 19 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_multithreading.py | 114 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_multithreading.py | 142 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_mdspan.py | 25 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_include.py | 35 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_dlpack.py | 11 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_dlpack.py | 203 | CODE | |
| LOW | …sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py | 14 | CODE | |
| LOW | …sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py | 46 | CODE | |
| LOW | tests/typing_tests/test_typing.py | 48 | CODE | |
| LOW | tests/cupyx_tests/distributed_tests/test_array_nccl.py | 658 | CODE | |
| LOW | tests/cupyx_tests/jit_tests/test_raw.py | 795 | CODE | |
| LOW | …sts/cupyx_tests/scipy_tests/sparse_tests/test_index.py | 428 | CODE | |
| LOW | tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py | 1939 | CODE | |
| LOW | tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py | 1960 | CODE | |
| LOW | …x_tests/scipy_tests/ndimage_tests/test_measurements.py | 320 | CODE | |
| LOW | …/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py | 108 | CODE | |
| LOW | …/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py | 252 | CODE | |
| LOW | …x_tests/scipy_tests/signal_tests/test_filter_design.py | 230 | CODE | |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 185 | CODE | |
| LOW | …yx_tests/scipy_tests/interpolate_tests/test_bspline.py | 452 | CODE | |
| LOW | …upyx_tests/scipy_tests/interpolate_tests/test_ppoly.py | 603 | CODE | |
| LOW | cupy/_environment.py | 142 | CODE | |
| LOW | cupy/_environment.py | 268 | CODE | |
| LOW | cupy/cublas.py | 29 | CODE | |
| LOW | cupy/cublas.py | 135 | CODE | |
| LOW | cupy/cublas.py | 168 | CODE | |
| LOW | cupy/cublas.py | 201 | CODE | |
| LOW | cupy/cublas.py | 315 | CODE | |
| LOW | cupy/cublas.py | 348 | CODE | |
| LOW | cupy/cublas.py | 432 | CODE | |
| LOW | cupy/cublas.py | 691 | CODE | |
| LOW | cupy/cublas.py | 784 | CODE | |
| LOW | cupy/cublas.py | 872 | CODE | |
| LOW | cupy/cublas.py | 932 | CODE | |
| LOW | cupy/_statistics/histogram.py | 121 | CODE | |
| LOW | cupy/_statistics/histogram.py | 180 | CODE | |
| LOW | cupy/_statistics/histogram.py | 292 | CODE | |
| LOW | cupy/_statistics/histogram.py | 520 | CODE | |
| LOW | cupy/_statistics/order.py | 190 | CODE | |
| LOW | cupy/linalg/_decomposition.py | 12 | CODE | |
| 143 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/cupy_tests/cuda_tests/test_pinned_memory.py | 28 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/cupy_tests/cuda_tests/test_pinned_memory.py | 68 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tests/cupy_tests/cuda_tests/test_memory.py | 287 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …cupyx_tests/scipy_tests/sparse_tests/test_construct.py | 484 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …cupyx_tests/scipy_tests/sparse_tests/test_construct.py | 486 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …/scipy_tests/sparse_tests/test_sparse_int64_indices.py | 2733 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …/scipy_tests/sparse_tests/test_sparse_int64_indices.py | 2738 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …/scipy_tests/sparse_tests/test_sparse_int64_indices.py | 2914 | # =================================================================== | COMMENT |
| MEDIUM⚡ | …/scipy_tests/sparse_tests/test_sparse_int64_indices.py | 2916 | # =================================================================== | COMMENT |
| MEDIUM | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 39 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 41 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 165 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 167 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 204 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM | …_tests/scipy_tests/signal_tests/test_savitzky_golay.py | 206 | # -------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | cupy/__init__.py | 79 | # ============================================================================= | STRING |
| MEDIUM⚡ | cupy/__init__.py | 84 | # ============================================================================= | STRING |
| MEDIUM⚡ | cupy/__init__.py | 86 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 88 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 102 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 104 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 107 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 109 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 167 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 169 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 177 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 179 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 181 | # ============================================================================= | STRING |
| MEDIUM⚡ | cupy/__init__.py | 186 | # ============================================================================= | STRING |
| MEDIUM⚡ | cupy/__init__.py | 188 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 190 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 230 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 232 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 239 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 241 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 403 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 405 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 408 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 410 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 413 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 415 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 551 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 553 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 563 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 565 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 693 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 695 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 705 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 707 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 711 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 713 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 767 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 769 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 779 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | cupy/__init__.py | 781 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | cupy/__init__.py | 60 | # ============================================================================= | STRING |
| MEDIUM | cupy/__init__.py | 62 | # ============================================================================= | STRING |
| MEDIUM | cupy/__init__.py | 121 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | cupy/__init__.py | 123 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | cupy/__init__.py | 135 | # ----------------------------------------------------------------------------- | STRING |
| 39 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cupyx/signal/_radartools/_radartools.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/signal/_convolution/_convolve.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_resample.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_wavelets.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_waveforms.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_spectral_impl.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_bsplines.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_spectral.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_peak_finding.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/signal/_upfirdn.py | 0 | upfirdn implementation. functions defined here were ported directly from cusignal under terms of the mit license, under | STRING |
| HIGH | cupyx/scipy/special/_gammasgn.py | 0 | the source code here is an adaptation with minimal changes from the following files in scipy's bundled cephes library: h | STRING |
| HIGH | cupyx/scipy/special/_zetac.py | 0 | the source code here is an adaptation with minimal changes from the following files in scipy's bundled cephes library: h | STRING |
| HIGH | cupyx/scipy/special/_poch.py | 0 | the source code here is an adaptation with minimal changes from the following files in scipy's bundled cephes library: h | STRING |
| HIGH | cupyx/scipy/sparse/_base.py | 0 | returns the k-th diagonal of the matrix. args: k (int, optional): which diagonal to get, corresponding to elements a[i, | STRING |
| HIGH | cupyx/scipy/sparse/_coo.py | 0 | returns the k-th diagonal of the matrix. args: k (int, optional): which diagonal to get, corresponding to elements a[i, | STRING |
| HIGH | cupyx/scipy/sparse/_dia.py | 0 | returns the k-th diagonal of the matrix. args: k (int, optional): which diagonal to get, corresponding to elements a[i, | STRING |
| HIGH | cupyx/scipy/sparse/_csr.py | 0 | returns a copy of the array on host memory. args: stream (cupy.cuda.stream): cuda stream object. if it is given, the cop | STRING |
| HIGH | cupyx/scipy/sparse/_coo.py | 0 | returns a copy of the array on host memory. args: stream (cupy.cuda.stream): cuda stream object. if it is given, the cop | STRING |
| HIGH | cupyx/scipy/sparse/_dia.py | 0 | returns a copy of the array on host memory. args: stream (cupy.cuda.stream): cuda stream object. if it is given, the cop | STRING |
| HIGH | cupyx/scipy/sparse/_csr.py | 0 | converts the matrix to coordinate format. args: copy (bool): if ``false``, it shares data arrays as much as possible. re | STRING |
| HIGH | cupyx/scipy/sparse/_coo.py | 0 | converts the matrix to coordinate format. args: copy (bool): if ``false``, it shares data arrays as much as possible. re | STRING |
| HIGH | cupyx/scipy/sparse/_csc.py | 0 | converts the matrix to coordinate format. args: copy (bool): if ``false``, it shares data arrays as much as possible. re | STRING |
| HIGH | cupyx/scipy/sparse/_csr.py | 0 | converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as p | STRING |
| HIGH | cupyx/scipy/sparse/_coo.py | 0 | converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as p | STRING |
| HIGH | cupyx/scipy/sparse/_dia.py | 0 | converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as p | STRING |
| HIGH | cupyx/scipy/sparse/_csc.py | 0 | converts the matrix to compressed sparse row format. args: copy (bool): if ``false``, it shares data arrays as much as p | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | install/cupy_builder/_features.py | 67 | # Define a feature from dict. | COMMENT |
| MEDIUM⚡ | tests/cupy_tests/statistics_tests/test_order.py | 68 | # Create an allocator that guarantees array allocated in | COMMENT |
| MEDIUM | tests/cupy_tests/lib_tests/test_strided_tricks.py | 77 | # Create a 0-D array (scalar) for testing | COMMENT |
| MEDIUM | tests/cupy_tests/cuda_tests/test_cufft.py | 103 | # This class contains a few simple tests for the new XtPlanNd wrapper. A full- | COMMENT |
| MEDIUM⚡ | tests/cupy_tests/cuda_tests/test_stream.py | 349 | # Create a real CUDA stream to get a valid pointer | COMMENT |
| MEDIUM⚡ | tests/cupy_tests/cuda_tests/test_stream.py | 353 | # Create a CuPy stream from the mock stream | COMMENT |
| MEDIUM | …ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | 1172 | # Define the generalized eigenvalue problem Av = cBv | COMMENT |
| MEDIUM | …ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | 1370 | # Define the generalized eigenvalue problem Av = cBv | COMMENT |
| MEDIUM | …s/cupyx_tests/scipy_tests/signal_tests/test_dltisys.py | 24 | # Create an input matrix with inputs down the columns (3 cols) and its | COMMENT |
| MEDIUM | …s/cupyx_tests/scipy_tests/signal_tests/test_dltisys.py | 46 | # Create an input matrix with inputs down the columns (3 cols) and its | COMMENT |
| MEDIUM | …s/cupyx_tests/scipy_tests/signal_tests/test_dltisys.py | 64 | # Create an input matrix with inputs down the columns (3 cols) and its | COMMENT |
| MEDIUM | …x_tests/scipy_tests/signal_tests/test_filter_design.py | 836 | # Create a gammatone filter centered at 1000 Hz. | COMMENT |
| MEDIUM | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 1069 | # Create a notching or peaking comb filter at 1000 Hz | COMMENT |
| MEDIUM | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 1084 | # Create a notching or peaking comb filter | COMMENT |
| MEDIUM | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 1110 | # Create a notching comb filter | COMMENT |
| MEDIUM | …/cupyx_tests/scipy_tests/signal_tests/test_spectral.py | 48 | # Define the array of frequencies for which to compute the periodogram | COMMENT |
| MEDIUM | …/cupyx_tests/scipy_tests/signal_tests/test_spectral.py | 78 | # Define the array of frequencies for which to compute the periodogram | COMMENT |
| MEDIUM | …/cupyx_tests/scipy_tests/signal_tests/test_spectral.py | 111 | # Define the array of frequencies for which to compute the periodogram | COMMENT |
| MEDIUM | …/cupyx_tests/scipy_tests/signal_tests/test_spectral.py | 142 | # Define the array of frequencies for which to compute the periodogram | COMMENT |
| MEDIUM | cupy/linalg/_norms.py | 186 | # This function is implemented as a direct adaption of the numpy | COMMENT |
| MEDIUM | cupy/linalg/_product.py | 188 | # Create the output array | STRING |
| MEDIUM | cupy/_padding/pad.py | 609 | # Create a new zero padded array | COMMENT |
| MEDIUM | docs/source/conf.py | 6 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | cupyx/distributed/_nccl_comm.py | 763 | # Create a sparse matrix from the received arrays | COMMENT |
| MEDIUM⚡ | cupyx/distributed/array/_array.py | 224 | # This method is called from cupy.ufunc and cupy.ElementwiseKernel | COMMENT |
| MEDIUM⚡ | cupyx/distributed/array/_array.py | 230 | # This method is called from _SimpleReductionKernel and elementary | COMMENT |
| MEDIUM | cupyx/scipy/interpolate/_rbfinterp.py | 12 | # Define the kernel functions. | COMMENT |
| MEDIUM | cupyx/scipy/sparse/_compressed.py | 1434 | # Create the vector to hold output | COMMENT |
| MEDIUM | cupyx/scipy/sparse/_index.py | 283 | # Create a filter mask based on the lowest value of order | STRING |
| MEDIUM | cupyx/scipy/sparse/_coo.py | 344 | # Define the array of data consisting of the entries to be added. | COMMENT |
| MEDIUM | cupyx/scipy/spatial/delaunay_2d/_tri.py | 101 | # Create the initial triangulation | COMMENT |
| MEDIUM | cupyx/scipy/signal/_ltisys.py | 1605 | # Create a reasonable time interval. | STRING |
| MEDIUM | cupyx/scipy/signal/_ltisys.py | 2264 | # This method is useful only because we need to be able to call | STRING |
| MEDIUM | cupyx/scipy/signal/_signaltools.py | 1149 | # The following code computes the result shown in the formula | STRING |
| MEDIUM | cupyx/scipy/signal/_signaltools_core.py | 201 | # This function is 10x faster in Cython (but only 1.7us in Python). Can be | COMMENT |
| MEDIUM | cupyx/scipy/signal/_fir_filter_design.py | 586 | # Create the window to apply to the filter coefficients. | COMMENT |
| MEDIUM | examples/cg/cg.py | 54 | # Create the large symmetric matrix 'A'. | COMMENT |
| MEDIUM | examples/cufft/callback/jit_r2c_c2r_string.py | 64 | # Define a structure used to pass in the window size | STRING |
| MEDIUM | examples/finance/black_scholes.py | 14 | # The following code shows that CuPy enables us to write algorithms for GPUs | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 799 | CODE | |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 1167 | CODE | |
| LOW | tests/cupy_tests/linalg_tests/test_norms.py | 254 | CODE | |
| LOW | tests/cupy_tests/sorting_tests/test_sort.py | 176 | CODE | |
| LOW | tests/cupy_tests/sorting_tests/test_sort.py | 184 | CODE | |
| LOW | tests/cupy_tests/sorting_tests/test_sort.py | 192 | CODE | |
| LOW | tests/cupy_tests/sorting_tests/test_sort.py | 200 | CODE | |
| LOW | tests/cupy_tests/statistics_tests/test_correlation.py | 60 | CODE | |
| LOW | tests/cupy_tests/statistics_tests/test_correlation.py | 74 | CODE | |
| LOW | tests/cupy_tests/statistics_tests/test_histogram.py | 431 | CODE | |
| LOW | tests/cupy_tests/functional_tests/test_vectorize.py | 380 | CODE | |
| LOW | tests/cupy_tests/core_tests/test_nep50_examples.py | 55 | CODE | |
| LOW | …ts/cupyx_tests/scipy_tests/sparse_tests/test_linalg.py | 1057 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 435 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 471 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 511 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 564 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 911 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 955 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 983 | CODE | |
| LOW | …pyx_tests/scipy_tests/signal_tests/test_signaltools.py | 1008 | CODE | |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 150 | CODE | |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 156 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 51 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 64 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 77 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 87 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 152 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 162 | CODE | |
| LOW | …yx_tests/scipy_tests/signal_tests/test_peak_finding.py | 233 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 44 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 77 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 113 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 154 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 189 | CODE | |
| LOW | …cupyx_tests/scipy_tests/signal_tests/test_iir_utils.py | 235 | CODE | |
| LOW | …s/cupyx_tests/scipy_tests/signal_tests/test_upfirdn.py | 59 | CODE | |
| LOW | …s/cupyx_tests/scipy_tests/spatial_tests/test_kdtree.py | 341 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 105 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 112 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 138 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 163 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 170 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 177 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 184 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 205 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 212 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 219 | CODE | |
| LOW | …cupyx_tests/scipy_tests/spatial_tests/test_distance.py | 235 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 220 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 301 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 319 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 334 | CODE | |
| LOW | …_tests/scipy_tests/interpolate_tests/test_ndbspline.py | 350 | CODE | |
| LOW | cupy/linalg/_norms.py | 16 | CODE | |
| LOW | cupy/linalg/_product.py | 17 | CODE | |
| LOW | cupy/_core/_gufuncs.py | 611 | CODE | |
| LOW | cupy/cuda/compiler.py | 365 | CODE | |
| LOW | cupy/cuda/compiler.py | 425 | CODE | |
| LOW | cupy/cuda/compiler.py | 564 | CODE | |
| 47 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 101 | # SciPy 1.17 announces an upcoming dtype change in | COMMENT |
| LOW | install/cupy_builder/_compiler.py | 41 | # | COMMENT |
| LOW | install/cupy_builder/_compiler.py | 61 | # See the documentation of each CUDA version for the list of supported | COMMENT |
| LOW | install/cupy_builder/install_build.py | 421 | global _nccl_version | COMMENT |
| LOW | install/cupy_builder/install_build.py | 481 | global _cub_version | COMMENT |
| LOW | cupy_backends/cupy_cutensor.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUTENSOR_H | COMMENT |
| LOW | cupy_backends/cupy_rand.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CURAND_H | COMMENT |
| LOW | cupy_backends/cupy_complex.h | 1 | #ifndef INCLUDE_GUARD_CUPY_COMPLEX_H | COMMENT |
| LOW | cupy_backends/cupy_blas.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUBLAS_H | COMMENT |
| LOW | cupy_backends/cupy_cusparselt.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUSPARSELT_H | COMMENT |
| LOW | cupy_backends/cupy_backend_runtime.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUDA_RUNTIME_H | COMMENT |
| LOW | cupy_backends/cupy_sparse.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUSPARSE_H | COMMENT |
| LOW | cupy_backends/cupy_nccl.h | 1 | #ifndef INCLUDE_GUARD_CUPY_NCCL_H | COMMENT |
| LOW | cupy_backends/cupy_profiler.h | 1 | #ifndef INCLUDE_GUARD_CUPY_PROFILER_H | COMMENT |
| LOW | cupy_backends/cupy_backend.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUDA_H | COMMENT |
| LOW | cupy_backends/cuda/cupy_cuda.h | 1 | #ifndef INCLUDE_GUARD_CUDA_CUPY_CUDA_H | COMMENT |
| LOW | cupy_backends/cuda/cupy_cusolver.h | 1 | #ifndef INCLUDE_GUARD_CUDA_CUPY_CUSOLVER_H | COMMENT |
| LOW | cupy_backends/cuda/cupy_cuda_profiler_api.h | 1 | #ifndef INCLUDE_GUARD_CUDA_CUPY_PROFILER_H | COMMENT |
| LOW | cupy_backends/cuda/cupy_nccl.h | 1 | #ifndef INCLUDE_GUARD_CUDA_CUPY_NCCL_H | COMMENT |
| LOW | cupy_backends/hip/cupy_hipblas.h | 1 | #ifndef INCLUDE_GUARD_HIP_CUPY_HIPBLAS_H | COMMENT |
| LOW | cupy_backends/hip/cupy_hip_common.h | 1 | #ifndef INCLUDE_GUARD_HIP_CUPY_COMMON_H | COMMENT |
| LOW | …upy_tests/core_tests/fusion_tests/test_optimization.py | 21 | return ret | COMMENT |
| LOW | …yx_tests/signal_tests/acoustics_tests/test_cepstrum.py | 1 | # Copyright (c) 2019-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. | COMMENT |
| LOW | …scipy_tests/signal_tests/test_iir_filter_conversion.py | 61 | # assert_array_almost_equal(b_z, [0.86413, -1.2158, 0.86413], | COMMENT |
| LOW | …sts/scipy_tests/signal_tests/test_fir_filter_design.py | 301 | def test_bad_args(self): | COMMENT |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 281 | @testing.numpy_cupy_allclose(scipy_name='scp', atol=1e-10) | COMMENT |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 381 | # 2.111512500000000e+07, 0, # Matlab: 1.134325604589552e-04, | COMMENT |
| LOW | …sts/scipy_tests/signal_tests/test_iir_filter_design.py | 481 | # 2.426561778314366e+05, 0, # Matlab: 3.459426536825722e-08, | COMMENT |
| LOW | …s/cupyx_tests/scipy_tests/signal_tests/test_upfirdn.py | 1 | # | COMMENT |
| LOW | …s/cupyx_tests/scipy_tests/signal_tests/test_upfirdn.py | 21 | # | COMMENT |
| LOW | …yx_tests/scipy_tests/interpolate_tests/test_polyint.py | 781 | # array([[ 30, 30], | COMMENT |
| LOW | cupy/__init__.py | 161 | COMMENT | |
| LOW | cupy/__init__.py | 401 | from numpy import typename # NOQA | COMMENT |
| LOW | cupy/_logic/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_binary/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_statistics/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_core/include/cupy/cuComplex_bridge.h | 1 | /* | COMMENT |
| LOW | cupy/_core/include/cupy/cuComplex_bridge.h | 21 | COMMENT | |
| LOW | cupy/_core/include/cupy/complex/complex_inl.h | 161 | #include <cupy/complex/csinhf.h> | COMMENT |
| LOW | cupy/cuda/cupy_cub.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUDA_CUB_H | COMMENT |
| LOW | cupy/cuda/cupy_thrust.h | 1 | #ifndef INCLUDE_GUARD_CUPY_CUDA_THRUST_H | COMMENT |
| LOW | cupy/_sorting/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_padding/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_manipulation/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_math/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_io/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_indexing/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | cupy/_creation/__init__.py | 1 | # Functions from the following NumPy document | COMMENT |
| LOW | docs/source/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | docs/source/conf.py | 41 | # Generate comparison table. | COMMENT |
| LOW | docs/source/conf.py | 101 | COMMENT | |
| LOW | docs/source/conf.py | 121 | #default_role = None | COMMENT |
| LOW | docs/source/conf.py | 141 | #keep_warnings = False | COMMENT |
| LOW | docs/source/conf.py | 201 | # "<project> v<release> documentation". | COMMENT |
| LOW | docs/source/conf.py | 221 | # Add any extra paths that contain custom files (such as robots.txt or | COMMENT |
| LOW | docs/source/conf.py | 241 | # If false, no module index is generated. | COMMENT |
| LOW | docs/source/conf.py | 261 | # base URL from which the finished HTML is served. | COMMENT |
| LOW | docs/source/conf.py | 281 | # Output file base name for HTML help builder. | COMMENT |
| LOW | docs/source/conf.py | 301 | # (source start file, target name, title, | COMMENT |
| LOW | cupyx/cusparse.py | 101 | indptr: Compressed major-axis offsets. | COMMENT |
| 33 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install/cupy_builder/_compiler.py | 256 | except Exception: | CODE |
| LOW | install/cupy_builder/cupy_setup_build.py | 73 | except Exception as e: | CODE |
| LOW | install/cupy_builder/install_build.py | 322 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 375 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 400 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 450 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 509 | except Exception as e: | CODE |
| LOW | install/cupy_builder/install_build.py | 541 | except Exception as e: | CODE |
| LOW | install/cupy_builder/install_build.py | 583 | except Exception as e: | CODE |
| LOW | install/cupy_builder/install_build.py | 627 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 666 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 778 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 807 | except Exception as e: | STRING |
| LOW | install/cupy_builder/install_build.py | 815 | except Exception as e: | STRING |
| LOW | install/cupy_builder/_features.py | 474 | except Exception as e: | STRING |
| MEDIUM | install/cupy_builder/_preflight.py | 11 | print('Error: macOS is no longer supported', file=sys.stderr) | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 109 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 149 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 173 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 217 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/_gcp_kernel_cache_backend.py | 257 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/test_init.py | 53 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 55 | except Exception: | CODE |
| LOW | tests/cupy_tests/fft_tests/test_fft.py | 92 | except Exception: | CODE |
| LOW | tests/cupy_tests/cuda_tests/test_profile.py | 27 | except Exception: | CODE |
| LOW | tests/cupy_tests/cuda_tests/test_stream.py | 217 | except Exception as e: | CODE |
| LOW | tests/cupy_tests/cuda_tests/test_stream.py | 233 | except Exception as e: | CODE |
| LOW | …sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py | 76 | except Exception as e: | CODE |
| MEDIUM | …sts/cupy_tests/core_tests/fusion_tests/fusion_utils.py | 72 | def call(func, args, kwargs): | CODE |
| LOW | tests/typing_tests/test_run.py | 21 | except Exception: | CODE |
| LOW | tests/cupyx_tests/profiler_tests/test_profile.py | 29 | except Exception: | CODE |
| LOW | tests/cupyx_tests/profiler_tests/test_time_range.py | 40 | except Exception: | CODE |
| LOW | tests/cupyx_tests/profiler_tests/test_time_range.py | 77 | except Exception: | CODE |
| MEDIUM | cupy/__init__.py | 955 | def issubclass_(arg1, arg2): | CODE |
| LOW | cupy/__init__.py | 991 | except Exception: | STRING |
| LOW | cupy/__init__.py | 1069 | except Exception: | STRING |
| LOW | cupy/_environment.py | 460 | except Exception as e: | CODE |
| LOW | cupy/_environment.py | 476 | except Exception as e: | CODE |
| LOW | cupy/_environment.py | 716 | except Exception as e: | CODE |
| LOW | cupy/_environment.py | 751 | except Exception as e: | CODE |
| LOW | cupy/_logic/comparison.py | 155 | except Exception: | CODE |
| LOW | cupy/linalg/_norms.py | 76 | except Exception: | CODE |
| MEDIUM | cupy/cuda/compiler.py | 155 | def _get_cl_exe_dir() -> str | None: | CODE |
| LOW | cupy/cuda/compiler.py | 161 | except Exception: | CODE |
| LOW | cupy/cuda/compiler.py | 169 | except Exception as e: | CODE |
| LOW | cupy/cuda/compiler.py | 187 | except Exception as e: | CODE |
| LOW | cupy/cuda/compiler.py | 335 | except Exception as e: # C++ could throw all kinds of errors | CODE |
| LOW | cupy/cuda/__init__.py | 108 | except Exception: | STRING |
| LOW | cupy/testing/_loops.py | 863 | except Exception: | CODE |
| LOW | cupy/testing/_loops.py | 1111 | except Exception: | CODE |
| LOW | cupy/testing/_loops.py | 1213 | except Exception: | CODE |
| LOW | cupy/testing/_loops.py | 1263 | except Exception: | CODE |
| LOW | cupyx/cusparse.py | 2100 | except Exception: | CODE |
| LOW | cupyx/cusparse.py | 2108 | except Exception: | CODE |
| LOW | cupyx/_runtime.py | 232 | except Exception: | CODE |
| LOW | cupyx/_runtime.py | 239 | except Exception: | CODE |
| LOW | cupyx/distributed/_store.py | 36 | except Exception as e: | CODE |
| MEDIUM | cupyx/distributed/_store.py | 32 | def run(self): | CODE |
| LOW | cupyx/distributed/_store_actions.py | 43 | except Exception as e: | CODE |
| LOW | cupyx/jit/_compile.py | 74 | except Exception as e: | CODE |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cupy/linalg/_eigenvalue.py | 275 | Return the eigenvalues and eigenvectors of a matrix. Returns two objects, a 1-D array containing the eigenvalu | STRING |
| HIGH | cupy/linalg/_eigenvalue.py | 359 | Compute the eigenvalues of a matrix. Main difference from eig: the eigenvectors are not computed. Args: | STRING |
| HIGH | cupy/_manipulation/add_remove.py | 198 | Find the unique elements of an array. Returns the sorted unique elements of an array. There are three optional | STRING |
| HIGH | cupyx/linalg/_solve.py | 35 | Solves the linear system Ax = b using the Cholesky factorization of A. Batched input arrays are also supported. | STRING |
| HIGH | cupyx/scipy/ndimage/_measurements.py | 464 | Calculates the sum of the values of an n-D image array, optionally at specified sub-regions. Args: i | STRING |
| HIGH | cupyx/scipy/linalg/_special_matrices.py | 300 | Discrete Fourier transform matrix. Create the matrix that computes the discrete Fourier transform of a sequence | STRING |
| HIGH | cupyx/scipy/linalg/_special_matrices.py | 369 | Returns a Fiedler companion matrix Given a polynomial coefficient array ``a``, this function forms a pentadiago | STRING |
| HIGH | cupyx/scipy/sparse/_sputils.py | 39 | Safely cast sparse array indices to ``idx_dtype``. Check the shape of *A* to determine if it is safe to cast its in | STRING |
| HIGH | cupyx/scipy/sparse/_construct.py | 212 | Stacks sparse arrays/matrices horizontally (column wise). Args: blocks (sequence of cupyx.scipy.sparse): sp | STRING |
| HIGH | cupyx/scipy/sparse/_construct.py | 242 | Stacks sparse arrays/matrices vertically (row wise). Args: blocks (sequence of cupyx.scipy.sparse): sparse | STRING |
| HIGH | cupyx/scipy/sparse/_construct.py | 273 | Builds a sparse matrix from sparse sub-blocks Args: blocks (array_like): Grid of sparse matrice | STRING |
| HIGH | cupyx/scipy/sparse/_construct.py | 520 | Construct a sparse matrix from diagonals. Args: diagonals (sequence of array_like): Sequence of | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 61 | # Check if v @ vt is an identity matrix | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 375 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 387 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 476 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_eigenvalue.py | 497 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_decomposition.py | 203 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/linalg_tests/test_decomposition.py | 254 | # Check if the input matrix is not broken | COMMENT |
| LOW | tests/cupy_tests/math_tests/test_sumprod.py | 677 | testing.assert_array_equal(a, b) # Check if input array is overwritten | CODE |
| LOW | tests/cupy_tests/math_tests/test_sumprod.py | 796 | testing.assert_array_equal(a, b) # Check if input array is overwritten | CODE |
| LOW | tests/cupy_tests/cuda_tests/test_compiler_cache.py | 82 | # Write file with wrong hash | COMMENT |
| LOW | tests/cupy_tests/creation_tests/test_from_data.py | 775 | # Check if cupy.ndarray does not alter | COMMENT |
| LOW | tests/cupy_tests/core_tests/test_mdspan.py | 297 | # Check if strides are actually negative | COMMENT |
| LOW | tests/typing_tests/test_typing.py | 44 | # Check if "mypy.ini" exists | COMMENT |
| LOW | cupy/_core/_gufuncs.py | 417 | # Check if the function supports out, order and other args | COMMENT |
| LOW | cupy/testing/_loops.py | 160 | # Check if the error was not raised from test code. | COMMENT |
| LOW | cupyx/lapack.py | 402 | # Check if batched should be used | COMMENT |
| LOW | cupyx/scipy/interpolate/_polyint.py | 730 | # Check if we can delegate to numpy.interp (2x-10x faster). | COMMENT |
| LOW | cupyx/scipy/sparse/_construct.py | 349 | # Check if any input block has int64 indices before conversion | COMMENT |
| LOW | cupyx/scipy/spatial/delaunay_2d/_tri.py | 87 | # Check if the three points are not coplanar | COMMENT |
| LOW | cupyx/scipy/signal/_resample.py | 314 | # Check if we can use faster real FFT | COMMENT |
| LOW | cupyx/scipy/signal/_spectral_impl.py | 352 | # Check if we can broadcast the outer axes together | STRING |
| LOW | cupyx/scipy/signal/_spectral_impl.py | 379 | # Check if x and y are the same length, zero-pad if necessary | STRING |
| LOW | cupyx/scipy/signal/_fir_filter_design.py | 561 | # Check if freq is strictly increasing after tweak | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cupy_tests/math_tests/test_sumprod.py | 608 | # smaller array instead, just return if array is too large. | COMMENT |
| LOW | …ests/scipy_tests/linalg_tests/test_special_matrices.py | 20 | # Otherwise just pass the arg back | COMMENT |
| LOW | …ests/scipy_tests/linalg_tests/test_special_matrices.py | 87 | # Otherwise just pass the arg back | COMMENT |
| MEDIUM | …s/scipy_tests/ndimage_tests/test_distance_transform.py | 96 | # Fine sampling of shapes to make sure kernels are robust to all shapes | COMMENT |
| MEDIUM⚡ | …s/scipy_tests/ndimage_tests/test_distance_transform.py | 161 | """ensure default block_params is robust to anisotropic shape.""" | STRING |
| MEDIUM⚡ | …s/scipy_tests/ndimage_tests/test_distance_transform.py | 171 | """ensure default block_params is robust to anisotropic shape.""" | STRING |
| MEDIUM⚡ | …s/scipy_tests/ndimage_tests/test_distance_transform.py | 181 | """ensure default block_params is robust to anisotropic shape.""" | STRING |
| LOW | cupy/_core/_gufuncs.py | 415 | # optimized CUDA libraries so we just call them | COMMENT |
| LOW | cupy/cuda/compiler.py | 623 | # jitify is requested internally, just set the flag | COMMENT |
| MEDIUM | cupy/testing/_random.py | 55 | # In some tests (which utilize condition.repeat or condition.retry), | COMMENT |
| LOW | cupyx/scipy/ndimage/_util.py | 120 | # The indices actually use byte positions and we can't just use | COMMENT |
| LOW | cupyx/scipy/interpolate/_rbfinterp.py | 774 | # If this number is below 1e6 we just use 1e6 | COMMENT |
| LOW | cupyx/scipy/interpolate/_polyint.py | 752 | # For slinear or zero order spline, we just pass nans through. | COMMENT |
| MEDIUM | cupyx/scipy/spatial/delaunay_2d/_schewchuk.py | 34 | /* from the Web page http://www.cs.cmu.edu/~quake/robust.html . */ | COMMENT |
| LOW | cupyx/scipy/signal/_ltisys.py | 1518 | # Zero input: just use matrix exponential | STRING |
| MEDIUM | examples/interoperability/mpi4py_multiple_devices.py | 26 | # is written. For more robust usage, you may need to consult the user manual | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 422 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 428 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 433 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 438 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 443 | CODE | |
| MEDIUM | tests/cupy_tests/testing_tests/test_loops.py | 448 | CODE | |
| MEDIUM | tests/cupyx_tests/scipy_tests/sparse_tests/test_csr.py | 1281 | CODE | |
| MEDIUM | …ts/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py | 573 | CODE | |
| MEDIUM | …ts/cupyx_tests/scipy_tests/signal_tests/test_ltisys.py | 574 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cupy/linalg/__init__.py | 55 | __all__ = [ | CODE |
| LOW | cupy/cuda/compiler.py | 64 | def _set_kernel_cache_backend(backend: _KernelCacheBackend) -> None: | CODE |
| LOW | cupy/fft/__init__.py | 21 | __all__ = ["fft", "fft2", "fftfreq", "fftn", "fftshift", "hfft", | CODE |
| LOW⚡ | cupyx/distributed/array/_chunk.py | 198 | def set_identity_on_overwritten_entries(self, identity) -> None: | CODE |
| LOW | cupyx/jit/cg.py | 13 | __all__ = ['this_grid', 'this_thread_block', | CODE |
| LOW | cupyx/scipy/interpolate/_rgi.py | 3 | __all__ = ['RegularGridInterpolator', 'interpn'] | CODE |
| LOW | cupyx/scipy/fft/_realtransforms.py | 46 | __all__ = ['dct', 'dctn', 'dst', 'dstn', 'idct', 'idctn', 'idst', 'idstn'] | CODE |
| LOW | cupyx/scipy/fft/_fftlog.py | 25 | __all__ = ['fht', 'ifht'] | CODE |
| LOW | cupyx/scipy/signal/_czt.py | 39 | __all__ = ['czt', 'zoom_fft', 'CZT', 'ZoomFFT', 'czt_points'] | CODE |
| LOW | cupyx/scipy/signal/_fir_filter_design.py | 16 | __all__ = ["firls", "minimum_phase"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cupyx/scipy/sparse/linalg/_solve.py | 994 | # In this version we look at the diagonals of R in the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/cupy_tests/io_tests/test_base_n.py | 19 | # We need to check if it cause a warning, and maybe it causes an | COMMENT |
| LOW⚡ | cupyx/scipy/ndimage/_pba_3d.py | 305 | # Step 1: decode the (z, y, x) coordinate | COMMENT |
| LOW⚡ | cupyx/scipy/ndimage/_pba_3d.py | 308 | # Step 2: compute the Euclidean distance based on this (z, y, x). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | cupyx/scipy/ndimage/_pba_3d.py | 305 | # Step 1: decode the (z, y, x) coordinate | COMMENT |
| LOW⚡ | cupyx/scipy/ndimage/_pba_3d.py | 308 | # Step 2: compute the Euclidean distance based on this (z, y, x). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …cupyx_tests/scipy_tests/special_tests/test_gammainc.py | 94 | # TODO: implement FuncData? | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cupyx/scipy/ndimage/_pba_2d.py | 464 | # make sure to crop any padding that was added here! | COMMENT |