The fundamental package for scientific computing with Python.
This report presents the forensic synthetic code analysis of numpy/numpy, a Python project with 32,359 GitHub stars. SynthScan v2.0 examined 543,107 lines of code across 1056 source files, recording 4270 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 7.5 places this repository in the Low 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 4270 distinct pattern matches across 18 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 | tools/check_python_h_first.py | 55 | def check_python_h_included_first(name_to_check: str) -> int: | CODE |
| LOW⚡ | numpy/linalg/_linalg.py | 142 | def _raise_linalgerror_singular(err, flag): | CODE |
| LOW⚡ | numpy/linalg/_linalg.py | 145 | def _raise_linalgerror_nonposdef(err, flag): | CODE |
| LOW⚡ | numpy/linalg/_linalg.py | 148 | def _raise_linalgerror_eigenvalues_nonconvergence(err, flag): | CODE |
| LOW⚡ | numpy/linalg/_linalg.py | 151 | def _raise_linalgerror_svd_nonconvergence(err, flag): | CODE |
| LOW | numpy/linalg/_linalg.py | 2979 | def _multi_dot_matrix_chain_order(arrays, return_costs=False): | STRING |
| LOW | numpy/linalg/_linalg.py | 3392 | def _matrix_transpose_dispatcher(x): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 447 | def test_generalized_sq_cases(self): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 452 | def test_generalized_empty_sq_cases(self): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 459 | def test_generalized_nonsq_cases(self): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 464 | def test_generalized_empty_nonsq_cases(self): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 471 | def test_generalized_herm_cases(self): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 476 | def test_generalized_empty_herm_cases(self): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 481 | def identity_like_generalized(a): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 1159 | def test_exceptions_bad_power(self, dt): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 1164 | def test_exceptions_non_square(self, dt): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 1170 | def test_exceptions_not_invertible(self, dt): | CODE |
| LOW | numpy/linalg/tests/test_linalg.py | 1815 | def test_mode_all_but_economic(self): | CODE |
| LOW | numpy/linalg/tests/test_linalg.py | 1999 | def test_generalized_raise_multiloop(): | CODE |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 2109 | def test_basic_function_with_three_arguments(self): | STRING |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 2119 | def test_basic_function_with_two_arguments(self): | STRING |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 2127 | def test_basic_function_with_dynamic_programming_optimization(self): | STRING |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 2136 | def test_vector_as_first_argument(self): | STRING |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 2146 | def test_vector_as_last_argument(self): | STRING |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 2156 | def test_vector_as_first_and_last_argument(self): | STRING |
| LOW⚡ | numpy/linalg/tests/test_linalg.py | 2166 | def test_three_arguments_and_out(self): | STRING |
| LOW | numpy/linalg/tests/test_linalg.py | 2179 | def test_two_arguments_and_out(self): | STRING |
| LOW | numpy/linalg/tests/test_linalg.py | 2189 | def test_dynamic_programming_optimization_and_out(self): | STRING |
| LOW | numpy/linalg/tests/test_linalg.py | 2201 | def test_dynamic_programming_logic(self): | STRING |
| LOW | numpy/linalg/tests/test_linalg.py | 2231 | def test_too_few_input_arrays(self): | STRING |
| LOW | numpy/linalg/tests/test_linalg.py | 2295 | def test_unsupported_commontype(): | STRING |
| LOW | numpy/linalg/tests/test_deprecations.py | 9 | def test_qr_mode_full_removed(): | CODE |
| LOW | numpy/linalg/tests/test_regression.py | 144 | def test_lstsq_complex_larger_rhs(self): | CODE |
| LOW | numpy/linalg/tests/test_regression.py | 157 | def test_cholesky_empty_array(self, upper): | CODE |
| LOW | numpy/linalg/tests/test_regression.py | 163 | def test_matrix_rank_rtol_argument(self, rtol): | CODE |
| LOW | numpy/ctypeslib/_ctypeslib.py | 398 | def _ctype_from_dtype_subarray(dtype): | CODE |
| LOW | numpy/ctypeslib/_ctypeslib.py | 403 | def _ctype_from_dtype_structured(dtype): | CODE |
| LOW | numpy/ma/testutils.py | 90 | def _assert_equal_on_sequences(actual, desired, err_msg=''): | CODE |
| LOW | numpy/ma/testutils.py | 247 | def assert_array_approx_equal(x, y, decimal=6, err_msg='', verbose=True): | CODE |
| LOW | numpy/ma/testutils.py | 261 | def assert_array_almost_equal(x, y, decimal=6, err_msg='', verbose=True): | CODE |
| LOW | numpy/ma/core.py | 435 | def _recursive_set_fill_value(fillvalue, dt): | CODE |
| LOW | numpy/ma/core.py | 834 | def is_string_or_list_of_strings(val): | CODE |
| LOW | numpy/ma/core.py | 1331 | def _replace_dtype_fields_recursive(dtype, primitive_dtype): | CODE |
| LOW | numpy/ma/tests/test_old_ma.py | 762 | def test_assignment_by_condition(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 751 | def test_pickling_maskedconstant(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 760 | def test_pickling_wstructured(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 769 | def test_pickling_keepalignment(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 777 | def test_single_element_subscript(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 1225 | def test_masked_singleton_arithmetic(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 1235 | def test_masked_singleton_equality(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 1243 | def test_arithmetic_with_masked_singleton(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 2291 | def test_fill_value_datetime_structured(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 2299 | def test_fill_value_datetime_structured_datetime(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 2307 | def test_fill_value_datetime_structured_integer(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 4537 | def test_masked_where_oddities(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 4544 | def test_masked_where_shape_constraint(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 4551 | def test_masked_where_structured(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 4751 | def test_where_with_masked_choice(self): | CODE |
| LOW⚡ | numpy/ma/tests/test_core.py | 4773 | def test_where_with_masked_condition(self): | CODE |
| LOW | numpy/ma/tests/test_core.py | 245 | def test_concatenate_alongaxis(self): | CODE |
| 1982 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/ci/check_c_api_usage.py | 2 | CODE | |
| LOW | numpy/conftest.py | 25 | CODE | |
| LOW | numpy/__init__.py | 90 | CODE | |
| LOW | numpy/__init__.py | 92 | CODE | |
| LOW | numpy/__init__.py | 92 | CODE | |
| LOW | numpy/__init__.py | 93 | CODE | |
| LOW | numpy/__init__.py | 106 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| LOW | numpy/__init__.py | 120 | CODE | |
| 821 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/list_installed_dll_dependencies_cygwin.sh | 1 | #!/bin/dash | COMMENT |
| LOW | tools/swig/test/Matrix.h | 1 | #ifndef MATRIX_H | COMMENT |
| LOW | tools/swig/test/SuperTensor.h | 1 | #ifndef SUPERTENSOR_H | COMMENT |
| LOW | tools/swig/test/Flat.h | 1 | #ifndef FLAT_H | COMMENT |
| LOW | tools/swig/test/Vector.h | 1 | #ifndef VECTOR_H | COMMENT |
| LOW | tools/swig/test/Vector.h | 21 | // interfaces, respectively, for: | COMMENT |
| LOW | tools/swig/test/Tensor.h | 1 | #ifndef TENSOR_H | COMMENT |
| LOW | tools/ci/lsan_suppressions.txt | 1 | # This file contains suppressions for the LSAN tool | COMMENT |
| LOW | tools/ci/lsan_suppressions.txt | 21 | #13 0xffffb5cbc6f0 in import_find_and_load Python/import.c:3737 | COMMENT |
| LOW | tools/ci/ubsan_suppressions_x86_64.txt | 1 | # This file contains suppressions for the default (with GIL) build to prevent runtime errors | COMMENT |
| LOW | tools/ci/ubsan_suppressions_arm64.txt | 1 | # This file contains suppressions for the default (with GIL) build to prevent runtime errors | COMMENT |
| LOW | tools/ci/ubsan_suppressions_arm64.txt | 41 | # function:_core/src/common/npy_argparse.c | COMMENT |
| LOW | meson_cpu/x86/test_x86_v2.c | 1 | #if defined(DETECT_FEATURES) && defined(__INTEL_COMPILER) | COMMENT |
| LOW | pixi-packages/freethreading/pixi.toml | 21 | # python = "*" prevents downstream from building cpython from sources. | COMMENT |
| LOW | pixi-packages/default/pixi.toml | 21 | # python = "*" prevents downstream from building cpython from sources. | COMMENT |
| LOW | numpy/linalg/umath_linalg.cpp | 21 | #include <cstddef> | COMMENT |
| LOW | numpy/linalg/umath_linalg.cpp | 401 | COMMENT | |
| LOW | numpy/linalg/lapack_litemodule.c | 21 | #elif NPY_BITSOF_INT == 64 | COMMENT |
| LOW | numpy/linalg/lapack_lite/f2c.h | 201 | typedef VOID Z_f; /* double complex function */ | COMMENT |
| LOW | numpy/linalg/lapack_lite/f2c.c | 721 | } | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 1 | /* | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 21 | #define cgelq2_ BLAS_FUNC(cgelq2) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 41 | #define chetrd_ BLAS_FUNC(chetrd) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 61 | #define claqr2_ BLAS_FUNC(claqr2) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 81 | #define cpotrf_ BLAS_FUNC(cpotrf) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 101 | #define cunghr_ BLAS_FUNC(cunghr) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 121 | #define dgebal_ BLAS_FUNC(dgebal) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 141 | #define disnan_ BLAS_FUNC(disnan) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 161 | #define dlahr2_ BLAS_FUNC(dlahr2) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 181 | #define dlaqr1_ BLAS_FUNC(dlaqr1) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 201 | #define dlasd7_ BLAS_FUNC(dlasd7) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 221 | #define dlauum_ BLAS_FUNC(dlauum) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 241 | #define dpotrs_ BLAS_FUNC(dpotrs) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 261 | #define dtrtri_ BLAS_FUNC(dtrtri) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 281 | #define sbdsdc_ BLAS_FUNC(sbdsdc) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 301 | #define sgeqrf_ BLAS_FUNC(sgeqrf) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 321 | #define slaed6_ BLAS_FUNC(slaed6) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 341 | #define slamrg_ BLAS_FUNC(slamrg) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 361 | #define slascl_ BLAS_FUNC(slascl) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 381 | #define slasr_ BLAS_FUNC(slasr) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 401 | #define sorml2_ BLAS_FUNC(sorml2) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 421 | #define ssytd2_ BLAS_FUNC(ssytd2) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 441 | #define zgeev_ BLAS_FUNC(zgeev) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 461 | #define zher2k_ BLAS_FUNC(zher2k) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 481 | #define zlanhe_ BLAS_FUNC(zlanhe) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 501 | #define zlauu2_ BLAS_FUNC(zlauu2) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 521 | #define zungbr_ BLAS_FUNC(zungbr) | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 541 | #define c_exp numpy_lapack_lite_c_exp | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 561 | #define d_prod numpy_lapack_lite_d_prod | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 581 | #define e_wdue numpy_lapack_lite_e_wdue | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 601 | #define getarg_ numpy_lapack_lite_getarg_ | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 621 | #define i_nint numpy_lapack_lite_i_nint | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 641 | #define r_cnjg numpy_lapack_lite_r_cnjg | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 661 | #define s_paus numpy_lapack_lite_s_paus | COMMENT |
| LOW | numpy/linalg/lapack_lite/lapack_lite_names.h | 681 | #define s_wsue numpy_lapack_lite_s_wsue | COMMENT |
| LOW | numpy/ma/core.py | 3061 | # created from (= obj) and us. Or there might not. This method can | COMMENT |
| LOW | numpy/ma/core.py | 3081 | # as the template object (b/c views like arr[...] should keep the same | COMMENT |
| LOW | numpy/ma/core.py | 3361 | dout._update_from(self) | COMMENT |
| LOW | numpy/_core/feature_detection_stdio.h | 1 | #define _GNU_SOURCE | COMMENT |
| LOW | numpy/_core/shape_base.py | 921 | >>> np.block([[b]]) # atleast_2d(b) | COMMENT |
| 551 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | numpy/ma/tests/test_core.py | 0 | tests for structural pattern matching support (pep 634). | STRING |
| HIGH | numpy/_core/tests/test_records.py | 0 | tests for structural pattern matching support (pep 634). | STRING |
| HIGH | numpy/_core/tests/test_multiarray.py | 0 | tests for structural pattern matching support (pep 634). | STRING |
| HIGH | numpy/_core/tests/test_memmap.py | 0 | tests for structural pattern matching support (pep 634). | STRING |
| HIGH | numpy/matrixlib/tests/test_defmatrix.py | 0 | tests for structural pattern matching support (pep 634). | STRING |
| HIGH | numpy/f2py/common_rules.py | 0 | auxiliary functions for f2py2e. copyright 1999 -- 2011 pearu peterson all rights reserved. copyright 2011 -- present num | STRING |
| HIGH | numpy/f2py/cb_rules.py | 0 | auxiliary functions for f2py2e. copyright 1999 -- 2011 pearu peterson all rights reserved. copyright 2011 -- present num | STRING |
| HIGH | numpy/f2py/__init__.py | 0 | auxiliary functions for f2py2e. copyright 1999 -- 2011 pearu peterson all rights reserved. copyright 2011 -- present num | STRING |
| HIGH | numpy/f2py/func2subr.py | 0 | auxiliary functions for f2py2e. copyright 1999 -- 2011 pearu peterson all rights reserved. copyright 2011 -- present num | STRING |
| HIGH | numpy/f2py/capi_maps.py | 0 | auxiliary functions for f2py2e. copyright 1999 -- 2011 pearu peterson all rights reserved. copyright 2011 -- present num | STRING |
| HIGH | numpy/f2py/f90mod_rules.py | 0 | auxiliary functions for f2py2e. copyright 1999 -- 2011 pearu peterson all rights reserved. copyright 2011 -- present num | STRING |
| HIGH | numpy/f2py/use_rules.py | 0 | auxiliary functions for f2py2e. copyright 1999 -- 2011 pearu peterson all rights reserved. copyright 2011 -- present num | STRING |
| HIGH | numpy/f2py/auxfuncs.py | 0 | auxiliary functions for f2py2e. copyright 1999 -- 2011 pearu peterson all rights reserved. copyright 2011 -- present num | STRING |
| HIGH | numpy/polynomial/laguerre.py | 0 | evaluate a 2-d legendre series at points (x, y). this function returns the values: .. math:: p(x,y) = \\sum_{i,j} c_{i,j | STRING |
| HIGH | numpy/polynomial/hermite_e.py | 0 | evaluate a 2-d legendre series at points (x, y). this function returns the values: .. math:: p(x,y) = \\sum_{i,j} c_{i,j | STRING |
| HIGH | numpy/polynomial/chebyshev.py | 0 | evaluate a 2-d legendre series at points (x, y). this function returns the values: .. math:: p(x,y) = \\sum_{i,j} c_{i,j | STRING |
| HIGH | numpy/polynomial/legendre.py | 0 | evaluate a 2-d legendre series at points (x, y). this function returns the values: .. math:: p(x,y) = \\sum_{i,j} c_{i,j | STRING |
| HIGH | numpy/polynomial/laguerre.py | 0 | evaluate an n-d hermite series at points. this function returns the values: .. math:: p(pts, c) = \sum_{i_1, i_2, \dots, | STRING |
| HIGH | numpy/polynomial/hermite_e.py | 0 | evaluate an n-d hermite series at points. this function returns the values: .. math:: p(pts, c) = \sum_{i_1, i_2, \dots, | STRING |
| HIGH | numpy/polynomial/chebyshev.py | 0 | evaluate an n-d hermite series at points. this function returns the values: .. math:: p(pts, c) = \sum_{i_1, i_2, \dots, | STRING |
| HIGH | numpy/polynomial/polynomial.py | 0 | evaluate an n-d hermite series at points. this function returns the values: .. math:: p(pts, c) = \sum_{i_1, i_2, \dots, | STRING |
| HIGH | numpy/polynomial/legendre.py | 0 | evaluate an n-d hermite series at points. this function returns the values: .. math:: p(pts, c) = \sum_{i_1, i_2, \dots, | STRING |
| HIGH | numpy/polynomial/hermite.py | 0 | evaluate an n-d hermite series at points. this function returns the values: .. math:: p(pts, c) = \sum_{i_1, i_2, \dots, | STRING |
| HIGH | numpy/polynomial/laguerre.py | 0 | least squares fit of hermite series to data. return the coefficients of a hermite series of degree `deg` that is the lea | STRING |
| HIGH | numpy/polynomial/hermite_e.py | 0 | least squares fit of hermite series to data. return the coefficients of a hermite series of degree `deg` that is the lea | STRING |
| HIGH | numpy/polynomial/hermite.py | 0 | least squares fit of hermite series to data. return the coefficients of a hermite series of degree `deg` that is the lea | STRING |
| HIGH | numpy/polynomial/laguerre.py | 0 | a hermite series class. the hermite class provides the standard python numerical methods '+', '-', '*', '//', '%', 'divm | STRING |
| HIGH | numpy/polynomial/hermite_e.py | 0 | a hermite series class. the hermite class provides the standard python numerical methods '+', '-', '*', '//', '%', 'divm | STRING |
| HIGH | numpy/polynomial/chebyshev.py | 0 | a hermite series class. the hermite class provides the standard python numerical methods '+', '-', '*', '//', '%', 'divm | STRING |
| HIGH | numpy/polynomial/polynomial.py | 0 | a hermite series class. the hermite class provides the standard python numerical methods '+', '-', '*', '//', '%', 'divm | STRING |
| HIGH | numpy/polynomial/legendre.py | 0 | a hermite series class. the hermite class provides the standard python numerical methods '+', '-', '*', '//', '%', 'divm | STRING |
| HIGH | numpy/polynomial/hermite.py | 0 | a hermite series class. the hermite class provides the standard python numerical methods '+', '-', '*', '//', '%', 'divm | STRING |
| HIGH | numpy/polynomial/hermite_e.py | 0 | evaluate a 3-d legendre series at points (x, y, z). this function returns the values: .. math:: p(x,y,z) = \\sum_{i,j,k} | STRING |
| HIGH | numpy/polynomial/chebyshev.py | 0 | evaluate a 3-d legendre series at points (x, y, z). this function returns the values: .. math:: p(x,y,z) = \\sum_{i,j,k} | STRING |
| HIGH | numpy/polynomial/legendre.py | 0 | evaluate a 3-d legendre series at points (x, y, z). this function returns the values: .. math:: p(x,y,z) = \\sum_{i,j,k} | STRING |
| HIGH | numpy/polynomial/hermite_e.py | 0 | evaluate a 3-d legendre series on the cartesian product of x, y, and z. this function returns the values: .. math:: p(a, | STRING |
| HIGH | numpy/polynomial/chebyshev.py | 0 | evaluate a 3-d legendre series on the cartesian product of x, y, and z. this function returns the values: .. math:: p(a, | STRING |
| HIGH | numpy/polynomial/legendre.py | 0 | evaluate a 3-d legendre series on the cartesian product of x, y, and z. this function returns the values: .. math:: p(a, | STRING |
| HIGH | numpy/polynomial/hermite_e.py | 0 | pseudo-vandermonde matrix of given degrees. returns the pseudo-vandermonde matrix of degrees `deg` and sample points ``( | STRING |
| HIGH | numpy/polynomial/chebyshev.py | 0 | pseudo-vandermonde matrix of given degrees. returns the pseudo-vandermonde matrix of degrees `deg` and sample points ``( | STRING |
| HIGH | numpy/polynomial/legendre.py | 0 | pseudo-vandermonde matrix of given degrees. returns the pseudo-vandermonde matrix of degrees `deg` and sample points ``( | STRING |
| HIGH | numpy/polynomial/hermite_e.py | 0 | pseudo-vandermonde matrix of given degrees. returns the pseudo-vandermonde matrix of degrees `deg` and sample points ``( | STRING |
| HIGH | numpy/polynomial/chebyshev.py | 0 | pseudo-vandermonde matrix of given degrees. returns the pseudo-vandermonde matrix of degrees `deg` and sample points ``( | STRING |
| HIGH | numpy/polynomial/legendre.py | 0 | pseudo-vandermonde matrix of given degrees. returns the pseudo-vandermonde matrix of degrees `deg` and sample points ``( | STRING |
| HIGH | numpy/polynomial/hermite_e.py | 0 | return the scaled companion matrix of c. the basis polynomials are scaled so that the companion matrix is symmetric when | STRING |
| HIGH | numpy/polynomial/chebyshev.py | 0 | return the scaled companion matrix of c. the basis polynomials are scaled so that the companion matrix is symmetric when | STRING |
| HIGH | numpy/polynomial/legendre.py | 0 | return the scaled companion matrix of c. the basis polynomials are scaled so that the companion matrix is symmetric when | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/check_python_h_first.py | 55 | CODE | |
| LOW | tools/refguide_check.py | 258 | CODE | |
| LOW | tools/refguide_check.py | 562 | CODE | |
| LOW | tools/ci/check_c_api_usage.py | 87 | CODE | |
| LOW | tools/ci/check_c_api_usage.py | 121 | CODE | |
| LOW | tools/c_coverage/c_coverage_report.py | 116 | CODE | |
| LOW | numpy/__init__.py | 700 | CODE | |
| LOW | numpy/_utils/_pep440.py | 223 | CODE | |
| LOW | numpy/_utils/_pep440.py | 391 | CODE | |
| LOW | numpy/linalg/_linalg.py | 200 | CODE | |
| LOW | numpy/linalg/_linalg.py | 2573 | CODE | |
| LOW | numpy/linalg/_linalg.py | 2979 | CODE | |
| LOW | numpy/linalg/tests/test_linalg.py | 1419 | CODE | |
| LOW | numpy/linalg/lapack_lite/make_lite.py | 288 | CODE | |
| LOW | numpy/linalg/lapack_lite/make_lite.py | 177 | CODE | |
| LOW | numpy/linalg/lapack_lite/fortran.py | 17 | CODE | |
| LOW | numpy/linalg/lapack_lite/fortran.py | 80 | CODE | |
| LOW | numpy/ctypeslib/_ctypeslib.py | 239 | CODE | |
| LOW | numpy/ma/extras.py | 1548 | CODE | |
| LOW | numpy/ma/core.py | 218 | CODE | |
| LOW | numpy/ma/core.py | 467 | CODE | |
| LOW | numpy/ma/core.py | 2721 | CODE | |
| LOW | numpy/ma/core.py | 2882 | CODE | |
| LOW | numpy/ma/core.py | 3050 | CODE | |
| LOW | numpy/ma/core.py | 3143 | CODE | |
| LOW | numpy/ma/core.py | 3277 | CODE | |
| LOW | numpy/ma/core.py | 3406 | CODE | |
| LOW | numpy/ma/core.py | 3857 | CODE | |
| LOW | numpy/ma/core.py | 4047 | CODE | |
| LOW | numpy/ma/core.py | 4594 | CODE | |
| LOW | numpy/ma/core.py | 5376 | CODE | |
| LOW | numpy/ma/core.py | 5470 | CODE | |
| LOW | numpy/ma/mrecords.py | 579 | CODE | |
| LOW | numpy/ma/mrecords.py | 94 | CODE | |
| LOW | numpy/ma/tests/test_core.py | 718 | CODE | |
| LOW | numpy/ma/tests/test_extras.py | 974 | CODE | |
| LOW | numpy/_core/fromnumeric.py | 2287 | CODE | |
| LOW | numpy/_core/_dtype.py | 101 | CODE | |
| LOW | numpy/_core/_dtype.py | 326 | CODE | |
| LOW | numpy/_core/_internal.py | 91 | CODE | |
| LOW | numpy/_core/_internal.py | 152 | CODE | |
| LOW | numpy/_core/_internal.py | 227 | CODE | |
| LOW | numpy/_core/_internal.py | 368 | CODE | |
| LOW | numpy/_core/_internal.py | 466 | CODE | |
| LOW | numpy/_core/_internal.py | 632 | CODE | |
| LOW | numpy/_core/records.py | 943 | CODE | |
| LOW | numpy/_core/memmap.py | 215 | CODE | |
| LOW | numpy/_core/getlimits.py | 169 | CODE | |
| LOW | numpy/_core/_dtype_ctypes.py | 103 | CODE | |
| LOW | numpy/_core/shape_base.py | 138 | CODE | |
| LOW | numpy/_core/shape_base.py | 555 | CODE | |
| LOW | numpy/_core/numeric.py | 2000 | CODE | |
| LOW | numpy/_core/numeric.py | 2322 | CODE | |
| LOW | numpy/_core/function_base.py | 516 | CODE | |
| LOW | numpy/_core/einsumfunc.py | 150 | CODE | |
| LOW | numpy/_core/einsumfunc.py | 330 | CODE | |
| LOW | numpy/_core/einsumfunc.py | 445 | CODE | |
| LOW | numpy/_core/einsumfunc.py | 635 | CODE | |
| LOW | numpy/_core/einsumfunc.py | 1126 | CODE | |
| LOW | numpy/_core/numerictypes.py | 322 | CODE | |
| 204 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/swig/test/testArray.py | 41 | for i in range(self.array1.length()): | CODE |
| HIGH | tools/swig/test/testArray.py | 52 | self.assertTrue(self.array1.length() == self.length) | CODE |
| HIGH⚡ | tools/swig/test/testArray.py | 100 | for i in range(self.array1.length()): | CODE |
| HIGH⚡ | tools/swig/test/testArray.py | 106 | for i in range(self.array1.length()): | CODE |
| HIGH⚡ | tools/swig/test/testArray.py | 112 | for i in range(self.array1.length()): | CODE |
| HIGH | tools/swig/test/testArray.py | 295 | for i in range(self.array3.length()): | STRING |
| HIGH | tools/swig/test/testArray.py | 306 | self.assertTrue(self.array3.length() == self.length) | STRING |
| HIGH⚡ | tools/swig/test/testArray.py | 354 | for i in range(self.array3.length()): | STRING |
| HIGH⚡ | tools/swig/test/testArray.py | 361 | for i in range(self.array3.length()): | STRING |
| HIGH⚡ | tools/swig/test/testArray.py | 367 | for i in range(self.array3.length()): | STRING |
| HIGH | numpy/ma/extras.py | 725 | the contents of the input array. Treat the input as undefined, | STRING |
| HIGH | numpy/_core/tests/test_mem_policy.py | 56 | if (args != NULL && PyCapsule_CheckExact(args)) { | CODE |
| HIGH | numpy/_core/tests/test_stringdtype.py | 1583 | # str_len always errors for any non-string null, even NA ones because | COMMENT |
| HIGH | numpy/_core/code_generators/generate_ufunc_api.py | 42 | if (numpy == NULL && PyErr_ExceptionMatches(PyExc_ModuleNotFoundError)) { | CODE |
| HIGH | numpy/_core/code_generators/generate_numpy_api.py | 66 | if (numpy == NULL && PyErr_ExceptionMatches(PyExc_ModuleNotFoundError)) { | CODE |
| HIGH | numpy/f2py/cfuncs.py | 798 | /* empty bytes has trailing null, so dereferencing is always safe */ | COMMENT |
| HIGH | numpy/f2py/cfuncs.py | 383 | case NPY_BOOL: *(npy_bool *)(PyArray_DATA(arr))=(_re!=0 && _im!=0); break;\\ | CODE |
| HIGH | numpy/f2py/cfuncs.py | 496 | for (_m -= 1; _m >= 0 && _to[_m] == NULLVALUE; _m--) { \\ | CODE |
| HIGH | numpy/f2py/cfuncs.py | 766 | if (n < 0 || *len < 0 || buf == NULL) { | CODE |
| HIGH | numpy/f2py/cfuncs.py | 912 | return !(*v == -1 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/cfuncs.py | 919 | return !(*v == -1 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/cfuncs.py | 961 | return !(*v == -1 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/cfuncs.py | 968 | return !(*v == -1 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/cfuncs.py | 1011 | return !(*v == -1 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/cfuncs.py | 1018 | return !(*v == -1 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/cfuncs.py | 1087 | return !(*v == -1.0 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/cfuncs.py | 1094 | return !(*v == -1.0 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/cfuncs.py | 1220 | return !(npy_creal(v->_npy) == -1.0 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/cfuncs.py | 1224 | return !(npy_creal(v->_npy) == -1.0 && PyErr_Occurred()); | CODE |
| HIGH | numpy/f2py/tests/test_character.py | 455 | !f2py check(i>=0 && i<12) i | CODE |
| HIGH | numpy/lib/_arraypad_impl.py | 841 | # (padded area is undefined) | COMMENT |
| HIGH | numpy/lib/_function_base_impl.py | 3939 | the contents of the input array. Treat the input as undefined, | CODE |
| HIGH | numpy/lib/_nanfunctions_impl.py | 1148 | the contents of the input array. Treat the input as undefined, | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/refguide_check.py | 325 | except Exception: | CODE |
| LOW | tools/refguide_check.py | 532 | except Exception: | CODE |
| LOW | tools/ci/check_c_api_usage.py | 215 | except Exception as e: | CODE |
| LOW | numpy/linalg/_linalg.py | 2754 | except Exception as e: | STRING |
| LOW | numpy/linalg/tests/test_linalg.py | 405 | except Exception as e: | CODE |
| LOW | numpy/linalg/tests/test_linalg.py | 2047 | except Exception: | CODE |
| LOW | numpy/linalg/lapack_lite/make_lite.py | 285 | except Exception: | STRING |
| MEDIUM | numpy/linalg/lapack_lite/make_lite.py | 282 | def ensure_executable(name): | CODE |
| LOW | numpy/ctypeslib/_ctypeslib.py | 309 | except Exception as e: | CODE |
| MEDIUM | numpy/ma/core.py | 319 | def _scalar_fill_value(dtype): | CODE |
| LOW | numpy/ma/core.py | 1097 | except Exception: | CODE |
| LOW | numpy/ma/core.py | 1237 | except Exception: | CODE |
| LOW | numpy/ma/mrecords.py | 243 | except Exception: | CODE |
| LOW | numpy/ma/mrecords.py | 260 | except Exception: | CODE |
| MEDIUM | numpy/ma/mrecords.py | 180 | def __getattribute__(self, attr): | CODE |
| LOW | numpy/ma/tests/test_extras.py | 985 | except Exception: | CODE |
| LOW | numpy/_core/_internal.py | 956 | except Exception: | CODE |
| MEDIUM | numpy/_core/_internal.py | 59 | def _usefields(adict, align): | CODE |
| LOW | numpy/_core/records.py | 463 | except Exception: | CODE |
| LOW | numpy/_core/records.py | 476 | except Exception: | CODE |
| LOW | numpy/_core/numeric.py | 1160 | except Exception: | STRING |
| LOW | numpy/_core/numeric.py | 2533 | except Exception: | STRING |
| LOW | numpy/_core/numeric.py | 2601 | except Exception: | STRING |
| LOW | numpy/_core/numeric.py | 2605 | except Exception: | STRING |
| LOW | numpy/_core/function_base.py | 503 | except Exception: | CODE |
| LOW | numpy/_core/function_base.py | 512 | except Exception: | CODE |
| LOW | numpy/_core/numerictypes.py | 171 | except Exception: | CODE |
| LOW | numpy/_core/numerictypes.py | 223 | except Exception: | CODE |
| LOW | numpy/_core/tests/test_scalarmath.py | 111 | except Exception as e: | CODE |
| LOW | numpy/_core/tests/test_arrayprint.py | 1342 | except Exception: | CODE |
| LOW | numpy/_core/tests/test_indexing.py | 1000 | except Exception: | CODE |
| LOW | numpy/_core/tests/test_indexing.py | 1099 | except Exception: | CODE |
| LOW | numpy/_core/tests/test_indexing.py | 1139 | except Exception as e: | CODE |
| LOW | numpy/_core/tests/test_indexing.py | 1163 | except Exception as e: | CODE |
| LOW | numpy/_core/tests/test_extint128.py | 58 | except Exception: | CODE |
| LOW | numpy/_core/tests/test_ufunc.py | 188 | except Exception as exc: | CODE |
| LOW | numpy/_core/tests/test_strings.py | 142 | except Exception: | CODE |
| MEDIUM | numpy/_core/tests/test_multiarray.py | 395 | def make_array(size, offset, strides): | CODE |
| LOW⚡ | numpy/_core/tests/test_multiarray.py | 10042 | except Exception: | CODE |
| LOW | numpy/_core/tests/test_multiarray.py | 399 | except Exception as e: | CODE |
| MEDIUM | numpy/_core/tests/test_nditer.py | 3030 | def _is_buffered(iterator): | CODE |
| LOW | numpy/_core/tests/test_nditer.py | 1552 | except Exception: | CODE |
| LOW⚡ | numpy/_core/tests/test_nditer.py | 3189 | except Exception: | STRING |
| LOW | numpy/_core/tests/test_nditer.py | 3370 | except Exception: | STRING |
| LOW | numpy/_core/tests/test_cpu_features.py | 26 | except Exception as err: | CODE |
| LOW | numpy/_core/tests/test_cpu_features.py | 33 | except Exception as err: | CODE |
| LOW | numpy/_core/tests/test_cpu_features.py | 461 | except Exception: | CODE |
| MEDIUM | numpy/_core/tests/test_cpu_features.py | 176 | def _expect_error( | CODE |
| LOW | numpy/_core/tests/test_regression.py | 1885 | except Exception: | CODE |
| LOW | numpy/_core/code_generators/genapi.py | 308 | except Exception as e: | CODE |
| MEDIUM | numpy/_core/code_generators/genapi.py | 133 | def __str__(self): | CODE |
| LOW | numpy/f2py/crackfortran.py | 1150 | except Exception: | CODE |
| LOW | numpy/f2py/crackfortran.py | 1164 | except Exception: | CODE |
| LOW | numpy/f2py/crackfortran.py | 1174 | except Exception: | CODE |
| LOW | numpy/f2py/crackfortran.py | 1302 | except Exception: | CODE |
| LOW | numpy/f2py/crackfortran.py | 1376 | except Exception: | CODE |
| LOW | numpy/f2py/crackfortran.py | 1962 | except Exception: | CODE |
| LOW | numpy/f2py/crackfortran.py | 2307 | except Exception: | CODE |
| LOW | numpy/f2py/crackfortran.py | 2345 | except Exception: | CODE |
| LOW | numpy/f2py/crackfortran.py | 2533 | except Exception as msg: | CODE |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | numpy/ma/extras.py | 245 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/ma/extras.py | 247 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/ma/extras.py | 337 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/ma/extras.py | 339 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/ma/extras.py | 1252 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/ma/extras.py | 1254 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/ma/extras.py | 1759 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/ma/extras.py | 1761 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/ma/extras.py | 1823 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/ma/extras.py | 1825 | #####-------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/lib/_type_check_impl.py | 356 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/lib/_type_check_impl.py | 489 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/lib/_type_check_impl.py | 554 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/lib/_type_check_impl.py | 642 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/lib/_npyio_impl.py | 1728 | #####-------------------------------------------------------------------------- | STRING |
| MEDIUM | numpy/lib/_npyio_impl.py | 1730 | #####-------------------------------------------------------------------------- | STRING |
| MEDIUM | numpy/lib/_utils_impl.py | 137 | #----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/lib/tests/test__iotools.py | 84 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/lib/tests/test__iotools.py | 138 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numpy/lib/tests/test_io.py | 1349 | #####-------------------------------------------------------------------------- | STRING |
| MEDIUM | .github/workflows/windows.yml | 71 | #======================================================================================= | COMMENT |
| MEDIUM | .github/workflows/windows.yml | 126 | #======================================================================================= | COMMENT |
| MEDIUM | doc/source/conf.py | 88 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/source/conf.py | 90 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/source/conf.py | 238 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/source/conf.py | 240 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/source/conf.py | 310 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/source/conf.py | 312 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | doc/source/conf.py | 404 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | doc/source/conf.py | 406 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | doc/source/conf.py | 416 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | doc/source/conf.py | 418 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | doc/source/conf.py | 435 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | doc/source/conf.py | 437 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | doc/source/conf.py | 445 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | doc/source/conf.py | 447 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | doc/source/conf.py | 451 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | doc/source/conf.py | 453 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/source/conf.py | 465 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/source/conf.py | 467 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/source/conf.py | 496 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/source/conf.py | 498 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/source/conf.py | 616 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/source/conf.py | 618 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/source/conf.py | 630 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/source/conf.py | 632 | # ----------------------------------------------------------------------------- | STRING |
| MEDIUM | doc/neps/conf.py | 174 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | doc/neps/conf.py | 176 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | numpy/linalg/tests/test_linalg.py | 1500 | # Define the part for 2d arrays separately, so we can subclass this | COMMENT |
| MEDIUM | numpy/linalg/tests/test_linalg.py | 1734 | # Define the array class here, so run this on matrices elsewhere. | COMMENT |
| MEDIUM | numpy/ma/core.py | 3847 | # Create the attribute if it was undefined | COMMENT |
| MEDIUM | numpy/ma/mrecords.py | 236 | # Create a shortcut (so that we don't have to call getattr all the time) | COMMENT |
| MEDIUM | numpy/ma/mrecords.py | 719 | # Create a new empty recarray | COMMENT |
| MEDIUM | numpy/ma/mrecords.py | 729 | # Create a new empty recarray | COMMENT |
| MEDIUM | numpy/_core/numeric.py | 1686 | # Create the output array | STRING |
| MEDIUM | numpy/_core/tests/test_numerictypes.py | 494 | # This function is old enough that we're really just documenting the quirks | COMMENT |
| MEDIUM | numpy/_core/tests/test_array_coercion.py | 815 | # Create an equivalent descriptor with a new and distinct dtype | COMMENT |
| MEDIUM | numpy/_core/tests/test_multithreading.py | 267 | # Create a deeply nested dtype to make a failure more likely: | COMMENT |
| MEDIUM | numpy/_core/tests/test_multithreading.py | 293 | # Create a deeply nested dtype to make a failure more likely: | COMMENT |
| MEDIUM | numpy/_core/tests/test_half.py | 283 | # Create an array of all finite float16s | COMMENT |
| MEDIUM | numpy/_core/tests/test_dtype.py | 1951 | # Create an array and test that memory gets cleaned up (gh-25949) | COMMENT |
| MEDIUM | numpy/_core/tests/test_stringdtype.py | 1940 | # Create an empty array with expanded dimension, and fill it. Then, | COMMENT |
| MEDIUM | numpy/_core/tests/test_multiarray.py | 4688 | # Create an object with the given base, in the given module, with a | COMMENT |
| MEDIUM | numpy/_core/tests/test_multiarray.py | 11672 | # Create a base array (scalar) and copy its interface | COMMENT |
| MEDIUM | numpy/_core/code_generators/genapi.py | 355 | # Create the mangled name: | COMMENT |
| MEDIUM | numpy/typing/tests/data/pass/simple.py | 28 | # Define the arguments on the previous line to prevent bidirectional | COMMENT |
| MEDIUM | numpy/f2py/cfuncs.py | 562 | # Defining the correct value to indicate thread-local storage in C without | STRING |
| MEDIUM | numpy/lib/recfunctions.py | 471 | # Create an iterator for the data | COMMENT |
| MEDIUM | numpy/lib/_arraypad_impl.py | 797 | # Create a new zero padded array | COMMENT |
| MEDIUM | numpy/lib/_npyio_impl.py | 1714 | # Create the new array as a single data-type and then | STRING |
| MEDIUM | numpy/lib/_npyio_impl.py | 2086 | # Define the list of missing_values (one column: one list) | STRING |
| MEDIUM | numpy/lib/_npyio_impl.py | 2140 | # Define the default | STRING |
| MEDIUM | numpy/lib/_index_tricks_impl.py | 786 | # The following functions complement those in twodim_base, but are | COMMENT |
| MEDIUM | numpy/lib/_datasource.py | 22 | >>> # Create a DataSource, use os.curdir (default) for local storage. | STRING |
| MEDIUM | numpy/lib/tests/test_arrayterator.py | 13 | # Create a random array | COMMENT |
| MEDIUM | numpy/lib/tests/test__datasource.py | 324 | # Create a locally cached temp file with a URL based | COMMENT |
| MEDIUM⚡ | numpy/lib/tests/test_nanfunctions.py | 1278 | # Create a multi-dimensional array to test | COMMENT |
| MEDIUM⚡ | numpy/random/tests/test_random.py | 530 | # Create a dict works like a sequence but isn't one | COMMENT |
| MEDIUM | .github/workflows/linux_simd.yml | 6 | # This file is meant for testing different SIMD-related build options and | COMMENT |
| MEDIUM | .github/workflows/linux.yml | 3 | # This file is meant for testing across supported Python versions, build types | COMMENT |
| MEDIUM | .github/workflows/linux_blas.yml | 3 | # This file is meant for testing different BLAS/LAPACK flavors and build | COMMENT |
| MEDIUM | doc/source/conf.py | 208 | # Create the admonition node, to be populated by `nested_parse` | COMMENT |
| MEDIUM | doc/neps/conf.py | 5 | # This file is execfile()d with the current directory set to its | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numpy/_globals.py | 22 | __all__ = ['_NoValue', '_CopyMode'] | CODE |
| LOW | numpy/dtypes.py | 26 | __all__ = ["register_dlpack_dtype"] | CODE |
| LOW | numpy/matlib.py | 22 | __all__ = ['rand', 'randn', 'repmat'] | CODE |
| LOW | numpy/exceptions.py | 35 | __all__ = [ | CODE |
| LOW | numpy/_pytesttester.py | 34 | __all__ = ['PytestTester'] | CODE |
| LOW | numpy/_utils/_pep440.py | 36 | __all__ = [ | CODE |
| LOW | numpy/_utils/_conversions.py | 6 | __all__ = ["asunicode", "asbytes"] | CODE |
| LOW | numpy/_utils/_inspect.py | 10 | __all__ = ['getargspec', 'formatargspec'] | CODE |
| LOW | numpy/core/__init__.py | 25 | __all__ = ["arrayprint", "defchararray", "_dtype_ctypes", "_dtype", # noqa: F822 | CODE |
| LOW | numpy/linalg/_linalg.py | 12 | __all__ = ['matrix_power', 'solve', 'tensorsolve', 'tensorinv', 'inv', | CODE |
| LOW | numpy/ctypeslib/_ctypeslib.py | 52 | __all__ = ['load_library', 'ndpointer', 'c_intp', 'as_ctypes', 'as_array', | CODE |
| LOW | numpy/ma/extras.py | 10 | __all__ = [ | CODE |
| LOW | numpy/ma/__init__.py | 46 | __all__ = ['core', 'extras'] | CODE |
| LOW | numpy/ma/core.py | 51 | __all__ = [ | CODE |
| LOW | numpy/ma/mrecords.py | 27 | __all__ = [ | CODE |
| LOW | numpy/_core/umath.py | 44 | __all__ = [ | CODE |
| LOW | numpy/_core/fromnumeric.py | 18 | __all__ = [ | CODE |
| LOW | numpy/_core/multiarray.py | 30 | __all__ = [ | CODE |
| LOW | numpy/_core/_asarray.py | 9 | __all__ = ["require"] | CODE |
| LOW | numpy/_core/records.py | 15 | __all__ = [ | CODE |
| LOW | numpy/_core/__init__.py | 152 | __all__ = [ | STRING |
| LOW | numpy/_core/memmap.py | 9 | __all__ = ['memmap'] | CODE |
| LOW | numpy/_core/getlimits.py | 4 | __all__ = ['finfo', 'iinfo'] | CODE |
| LOW | numpy/_core/defchararray.py | 40 | __all__ = [ | CODE |
| LOW | numpy/_core/shape_base.py | 1 | __all__ = ['atleast_1d', 'atleast_2d', 'atleast_3d', 'block', 'hstack', | CODE |
| LOW | numpy/_core/numeric.py | 73 | __all__ = [ | CODE |
| LOW | numpy/_core/function_base.py | 15 | __all__ = ['logspace', 'linspace', 'geomspace'] | CODE |
| LOW | numpy/_core/einsumfunc.py | 14 | __all__ = ['einsum', 'einsum_path'] | CODE |
| LOW | numpy/_core/_ufunc_config.py | 13 | __all__ = [ | CODE |
| LOW | numpy/_core/numerictypes.py | 96 | __all__ = [ | CODE |
| LOW | numpy/_core/printoptions.py | 12 | __all__ = ["format_options"] | CODE |
| LOW | numpy/_core/strings.py | 73 | __all__ = [ | CODE |
| LOW | numpy/_core/arrayprint.py | 6 | __all__ = ["array2string", "array_str", "array_repr", | CODE |
| LOW | numpy/_core/tests/_natype.py | 5 | __all__ = ["pd_NA"] | CODE |
| LOW | numpy/_typing/_nested_sequence.py | 16 | __all__ = ["_NestedSequence"] | CODE |
| LOW | numpy/typing/__init__.py | 177 | __all__ = ["ArrayLike", "DTypeLike", "NBitBase", "NDArray"] | CODE |
| LOW | numpy/f2py/__init__.py | 10 | __all__ = ['run_main', 'get_include'] | CODE |
| LOW | numpy/f2py/symbolic.py | 27 | __all__ = ['Expr'] | CODE |
| LOW | numpy/f2py/capi_maps.py | 26 | __all__ = [ | CODE |
| LOW | numpy/f2py/auxfuncs.py | 20 | __all__ = [ | CODE |
| LOW | numpy/testing/_private/extbuild.py | 15 | __all__ = ['build_and_import_extension', 'compile_extension_module'] | CODE |
| LOW | numpy/testing/_private/utils.py | 32 | __all__ = [ | CODE |
| LOW | numpy/lib/mixins.py | 6 | __all__ = ['NDArrayOperatorsMixin'] | CODE |
| LOW | numpy/lib/_polynomial_impl.py | 5 | __all__ = ['poly', 'roots', 'polyint', 'polyder', 'polyadd', | CODE |
| LOW | numpy/lib/recfunctions.py | 16 | __all__ = [ | CODE |
| LOW | numpy/lib/_array_utils_impl.py | 8 | __all__ = ["byte_bounds", "normalize_axis_tuple", "normalize_axis_index"] | CODE |
| LOW | numpy/lib/_arraysetops_impl.py | 29 | __all__ = [ | CODE |
| LOW | numpy/lib/_stride_tricks_impl.py | 12 | __all__ = ["broadcast_to", "broadcast_arrays", "broadcast_shapes"] | CODE |
| LOW | numpy/lib/_version.py | 10 | __all__ = ['NumpyVersion'] | CODE |
| LOW | numpy/lib/_type_check_impl.py | 7 | __all__ = ['iscomplexobj', 'isrealobj', 'imag', 'iscomplex', | CODE |
| LOW | numpy/lib/_scimath_impl.py | 23 | __all__ = [ | CODE |
| LOW | numpy/lib/__init__.py | 48 | __all__ = [ | CODE |
| LOW | numpy/lib/_arrayterator_impl.py | 13 | __all__ = ['Arrayterator'] | CODE |
| LOW | numpy/lib/introspect.py | 5 | __all__ = ['opt_func_info'] | CODE |
| LOW | numpy/lib/_shape_base_impl.py | 21 | __all__ = [ | CODE |
| LOW | numpy/lib/_histograms_impl.py | 12 | __all__ = ['histogram', 'histogramdd', 'histogram_bin_edges'] | CODE |
| LOW | numpy/lib/_arraypad_impl.py | 12 | __all__ = ['pad'] | CODE |
| LOW | numpy/lib/_ufunclike_impl.py | 6 | __all__ = ['fix', 'isneginf', 'isposinf'] | CODE |
| LOW | numpy/lib/_npyio_impl.py | 40 | __all__ = [ | CODE |
| LOW | numpy/lib/_index_tricks_impl.py | 20 | __all__ = [ | CODE |
| 21 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/changelog.py | 164 | # just use the first 80 characters, with ellipses. | COMMENT |
| LOW | numpy/ma/core.py | 4231 | # For regular arrays, just use the data as they come. | COMMENT |
| LOW | numpy/ma/core.py | 3179 | # Unary domain: just use this one | STRING |
| LOW | numpy/_core/_internal.py | 434 | # if both are identical, we can (maybe!) just return the same dtype. | COMMENT |
| LOW | numpy/_core/__init__.py | 47 | # cache_tag is documented to be possibly None, so just use name if it is | COMMENT |
| LOW | numpy/_core/tests/test_scalarmath.py | 584 | # Scalars should just return False and not give a warnings. | COMMENT |
| LOW | numpy/_core/tests/test_array_coercion.py | 902 | # result. This should likely just return S0 and if not maybe the decision | COMMENT |
| LOW | numpy/_core/tests/test_custom_dtypes.py | 397 | # Also user dtype can just return self if conjugate should be no-op. | COMMENT |
| LOW | numpy/_core/tests/test_defchararray.py | 508 | # Test special cases that should just return the input array, | COMMENT |
| LOW | numpy/_core/tests/test_overrides.py | 201 | # we just call the function in that case. | COMMENT |
| MEDIUM | numpy/_core/tests/test_multiarray.py | 6842 | # in conjunction with subarray dimensions being absorbed into the | COMMENT |
| MEDIUM | numpy/_core/tests/test_multiarray.py | 11497 | # Test large arrays that leverage openMP implementations from x86-simd-sort: | COMMENT |
| MEDIUM | numpy/_core/tests/test_multiarray.py | 11505 | # Test large arrays that leverage openMP implementations from x86-simd-sort: | COMMENT |
| LOW | numpy/_core/tests/test_regression.py | 1308 | # `dot` should just return zero (m, n) matrix | COMMENT |
| MEDIUM | numpy/f2py/func2subr.py | 136 | # Essentially, this gets called again with modules where the name of the | COMMENT |
| LOW | numpy/f2py/capi_maps.py | 474 | # elsize, so we just return 1 and let elsize be determined at | COMMENT |
| MEDIUM | numpy/lib/_iotools.py | 651 | # something more robust. | COMMENT |
| LOW | numpy/lib/recfunctions.py | 317 | # Should we flatten the items, or just use a nested approach | COMMENT |
| LOW | numpy/lib/recfunctions.py | 1034 | # stride, we can just return a view | COMMENT |
| LOW | numpy/lib/recfunctions.py | 1614 | #... we haven't: just add the description to the current list | COMMENT |
| LOW | numpy/lib/_function_base_impl.py | 4870 | # therefore simply set 0 values in cdf to -1. | COMMENT |
| MEDIUM | numpy/lib/_datasource.py | 400 | # TODO: This should be more robust. Handles case where path includes | COMMENT |
| LOW | numpy/lib/_utils_impl.py | 441 | # numpy scalar, which is not writeable. If so, just return nan. | COMMENT |
| MEDIUM | numpy/lib/tests/test_shape_base.py | 565 | # array_split has more comprehensive test of splitting. | COMMENT |
| MEDIUM | numpy/lib/tests/test__datasource.py | 39 | # A valid website for more robust testing | COMMENT |
| LOW⚡ | numpy/lib/tests/test_nanfunctions.py | 1288 | # We just use ones as weights, but replace it with 0 or 1e200 at the | COMMENT |
| LOW | numpy/random/tests/test_generator_mt19937.py | 1634 | # rounding but not in any important way, so we just use a looser | COMMENT |
| LOW | numpy/random/tests/test_randomstate.py | 1112 | # rounding but not in any important way, so we just use a looser | COMMENT |
| MEDIUM | …mpy/random/tests/test_generator_mt19937_regressions.py | 218 | # it doesn't hang. Certainly for a monotonically decreasing | COMMENT |
| LOW | numpy/random/tests/test_random.py | 874 | # rounding but not in any important way, so we just use a looser | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numpy/_utils/_inspect.py | 141 | CODE | |
| LOW | numpy/linalg/_linalg.py | 2565 | CODE | |
| LOW | numpy/ma/core.py | 6859 | CODE | |
| LOW | numpy/ma/core.py | 2882 | CODE | |
| LOW | numpy/ma/mrecords.py | 471 | CODE | |
| LOW | numpy/ma/mrecords.py | 514 | CODE | |
| LOW | numpy/ma/mrecords.py | 94 | CODE | |
| LOW | numpy/ma/tests/test_subclassing.py | 108 | CODE | |
| LOW | numpy/_core/fromnumeric.py | 3906 | CODE | |
| LOW | numpy/_core/fromnumeric.py | 3912 | CODE | |
| LOW | numpy/_core/fromnumeric.py | 4110 | CODE | |
| LOW | numpy/_core/fromnumeric.py | 4116 | CODE | |
| LOW | numpy/_core/records.py | 750 | CODE | |
| LOW | numpy/_core/records.py | 754 | CODE | |
| LOW | numpy/_core/records.py | 838 | CODE | |
| LOW | numpy/_core/records.py | 943 | CODE | |
| LOW | numpy/_core/records.py | 385 | CODE | |
| LOW | numpy/_core/numeric.py | 1557 | CODE | |
| LOW | numpy/_core/arrayprint.py | 57 | CODE | |
| LOW | numpy/_core/arrayprint.py | 123 | CODE | |
| LOW | numpy/_core/arrayprint.py | 315 | CODE | |
| LOW | numpy/_core/arrayprint.py | 634 | CODE | |
| LOW | numpy/_core/arrayprint.py | 644 | CODE | |
| LOW | numpy/_core/arrayprint.py | 1221 | CODE | |
| LOW | numpy/_core/tests/test_multiarray.py | 111 | CODE | |
| LOW | numpy/f2py/crackfortran.py | 3305 | CODE | |
| LOW | numpy/f2py/crackfortran.py | 3613 | CODE | |
| LOW | numpy/f2py/use_rules.py | 100 | CODE | |
| LOW | numpy/testing/_private/utils.py | 738 | CODE | |
| LOW | numpy/lib/_npyio_impl.py | 861 | CODE | |
| LOW | numpy/lib/_npyio_impl.py | 1120 | CODE | |
| LOW | numpy/lib/_npyio_impl.py | 1735 | CODE | |
| LOW | numpy/lib/_function_base_impl.py | 4685 | CODE | |
| LOW | numpy/lib/_function_base_impl.py | 4880 | CODE | |
| LOW | numpy/lib/_nanfunctions_impl.py | 564 | CODE | |
| LOW | numpy/lib/_nanfunctions_impl.py | 626 | CODE | |
| LOW | numpy/lib/_nanfunctions_impl.py | 1684 | CODE | |
| LOW | numpy/lib/_nanfunctions_impl.py | 1691 | CODE | |
| LOW | numpy/lib/_nanfunctions_impl.py | 1874 | CODE | |
| LOW | numpy/lib/_nanfunctions_impl.py | 1881 | CODE | |
| LOW | numpy/lib/tests/test_twodim_base.py | 39 | CODE | |
| LOW | numpy/lib/tests/test_function_base.py | 71 | CODE | |
| LOW | numpy/fft/_pocketfft.py | 216 | CODE | |
| LOW | numpy/fft/_pocketfft.py | 321 | CODE | |
| LOW | numpy/fft/_pocketfft.py | 418 | CODE | |
| LOW | numpy/fft/_pocketfft.py | 526 | CODE | |
| LOW | numpy/fft/_pocketfft.py | 629 | CODE | |
| LOW | numpy/matrixlib/defmatrix.py | 170 | CODE | |
| LOW | numpy/polynomial/_polybase.py | 592 | CODE | |
| LOW | numpy/polynomial/_polybase.py | 650 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .spin/cmds.py | 667 | # Check if `towncrier` is installed | COMMENT |
| LOW | numpy/__init__.py | 856 | # Check if BLAS adds spurious FPEs, seen on M4 arms with Accelerate. | COMMENT |
| LOW | numpy/ma/extras.py | 906 | # Set axis to tuple of ints | COMMENT |
| LOW | numpy/ma/extras.py | 1571 | # Check if we can guarantee that the integers in the (N - ddof) | COMMENT |
| LOW | numpy/ma/extras.py | 1593 | # Check if we can guarantee that the integers in the (N - ddof) | COMMENT |
| LOW | numpy/ma/core.py | 6360 | # Set temps to save time when dealing w/ marrays. | COMMENT |
| LOW⚡ | numpy/ma/tests/test_core.py | 4755 | # Set False to masked | COMMENT |
| LOW⚡ | numpy/ma/tests/test_core.py | 4764 | # Set True to masked | COMMENT |
| LOW | numpy/_core/_internal.py | 766 | # Check if this was a simple 1-item type, and unwrap it | COMMENT |
| LOW | numpy/_core/tests/test_indexing.py | 1079 | # Check if broadcasting works | COMMENT |
| LOW | numpy/_core/tests/test_indexing.py | 1182 | # Check if we got a view, unless its a 0-sized or 0-d array. | COMMENT |
| LOW | numpy/_core/tests/test_function_base.py | 35 | # Check if the current platform is ARMHF (32-bit ARM architecture) | COMMENT |
| LOW | numpy/_core/tests/test_casting_unittests.py | 346 | # Check if alignment makes a difference, but only if supported | STRING |
| LOW | numpy/_core/tests/test_api.py | 629 | # Check if new arrays are correct: | COMMENT |
| LOW | numpy/_core/tests/test_regression.py | 1498 | # Check if log1p is behaving on 32 bit intel systems. | COMMENT |
| LOW | numpy/f2py/tests/util.py | 29 | # Check if compilers are available at all... | COMMENT |
| LOW | numpy/lib/_arraysetops_impl.py | 910 | # Check if one of the arrays may contain arbitrary objects | COMMENT |
| LOW | numpy/lib/_npyio_impl.py | 2159 | # Add the value to the list | STRING |
| LOW | numpy/lib/_format_impl.py | 960 | # Check if we ought to create the file. | COMMENT |
| LOW | .github/workflows/linux_blas.yml | 374 | # Check if the patch works: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | numpy/_core/tests/test_nditer.py | 1013 | # Check that arrays are cast as requested | COMMENT |
| HIGH | numpy/_core/tests/test_nditer.py | 1119 | # Check that scalars are cast as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numpy/f2py/symbolic.py | 569 | # TODO: implement a method for deciding when __call__ should | COMMENT |
| LOW | numpy/f2py/tests/test_docs.py | 66 | # TODO: implement test methods for other example Fortran codes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numpy/ma/core.py | 4681 | # make sure to return a 0-d array if axis is supplied | COMMENT |
| LOW | numpy/_core/numeric.py | 2418 | # This will cause casting of x later. Also, make sure to allow subclasses | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numpy/lib/tests/test_io.py | 327 | # We need to check if the garbage collector can properly close | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numpy/lib/tests/test_mixins.py | 7 | # NOTE: This class should be kept as an exact copy of the example from the | COMMENT |