AI Slop Code RIsk Monitor

numba/numba

NumPy aware dynamic Python compiler using LLVM

17.8 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for numba/numba, a Python project with 11,174 GitHub stars. SynthScan examined 350,042 lines of code across 874 source files, recording 4904 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 17.8 (Elevated pattern signal); it is not an authorship estimate.

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

17.8
Adjusted Signal
17.8
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
11.2K
Stars
Python
Language
350.0K
Lines of Code
874
Files
4.9K
Pattern Hits
2026-10-12
Scan Date
0.27
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 39.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 14.5/100 · LOW

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

Agent Over-Engineering Ratio 43.5/100 · MEDIUM

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

PR Review Velocity Impact 64.2/100 · HIGH

Which changes need focused human review? 4904 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 7HIGH 227MEDIUM 550LOW 4120

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

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

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers2456 hits · 2270 pts
SeverityFileLineSnippetContext
LOWversioneer.py642def git_versions_from_keywords(keywords, tag_prefix, verbose):CODE
LOWversioneer.py1164def git_versions_from_keywords(keywords, tag_prefix, verbose):STRING
LOWbuildscripts/github/test_matrix_evaluate.py45def test_wheel_has_free_threaded():CODE
LOWbuildscripts/github/test_matrix_evaluate.py65def test_conda_has_python_major_minor():CODE
LOWbuildscripts/github/test_matrix_evaluate.py108def test_eval_unknown_event_returns_empty():CODE
LOWbuildscripts/github/test_matrix_evaluate.py115def test_eval_dispatch_filter_python():CODE
LOWbuildscripts/github/test_matrix_evaluate.py126def test_eval_dispatch_filter_numpy():CODE
LOWnumba/_version.py169def git_versions_from_keywords(keywords, tag_prefix, verbose):CODE
LOWnumba/misc/coverage_support.py37def get_registered_loc_notify() -> Sequence["NotifyLocBase"]:CODE
LOWnumba/misc/coverage_support.py102def _register_coverage_notifier():CODE
LOWnumba/misc/appdirs.py405def _get_win_folder_from_registry(csidl_name):CODE
LOWnumba/misc/appdirs.py453def _get_win_folder_with_ctypes(csidl_name):CODE
LOWnumba/misc/firstlinefinder.py73def get_func_body_first_lineno(pyfunc):CODE
LOWnumba/misc/timsort.py875 def run_timsort_with_mergestate(ms, keys, values):CODE
LOWnumba/experimental/function_type.py71def lower_constant_dispatcher(context, builder, typ, pyval):CODE
LOWnumba/experimental/function_type.py77def lower_constant_function_type(context, builder, typ, pyval):CODE
LOWnumba/experimental/function_type.py279def lower_cast_function_type_to_function_type(CODE
LOWnumba/experimental/function_type.py285def lower_cast_dispatcher_to_function_type(context, builder, fromty, toty, val):CODE
LOWnumba/experimental/jitclass/overloads.py177def register_reflected_overload(func, meth_forward, meth_reflected):STRING
LOWnumba/core/dispatcher.py118 def get_globals_for_reduction(self):CODE
LOWnumba/core/dispatcher.py136 def get_globals_for_reduction(self):CODE
LOWnumba/core/dispatcher.py235 def _compilation_chain_init_hook(self):CODE
LOWnumba/core/dispatcher.py719 def _callback_add_compiler_timer(self, duration, cres):CODE
LOWnumba/core/dispatcher.py1112 def _get_dispatcher_for_current_target(self):CODE
LOWnumba/core/serialize.py64def runtime_build_excinfo_struct(static_exc, exc_args):CODE
LOWnumba/core/serialize.py202def _custom_reduce__custompickled(cp):CODE
LOWnumba/core/funcdesc.py118 def llvm_cpython_wrapper_name(self):CODE
LOWnumba/core/funcdesc.py188 def from_specialized_function(cls, func_ir, typemap, restype, calltypes,CODE
LOWnumba/core/funcdesc.py200 def from_object_mode_function(cls, func_ir):CODE
LOWnumba/core/transforms.py19def _extract_loop_lifting_candidates(cfg, blocks):CODE
LOWnumba/core/transforms.py104def _loop_lift_get_candidate_infos(cfg, blocks, livemap):CODE
LOWnumba/core/transforms.py137def _loop_lift_modify_call_block(liftedloop, block, inputs, outputs, returnto):CODE
LOWnumba/core/transforms.py155def _loop_lift_prepare_loop_func(loopinfo, blocks):CODE
LOWnumba/core/transforms.py292def canonicalize_cfg_single_backedge(blocks):CODE
LOWnumba/core/transforms.py315 def yield_loops_with_multiple_backedges():CODE
LOWnumba/core/transforms.py751def consolidate_multi_exit_withs(withs: dict, blocks, func_ir):CODE
LOWnumba/core/event.py444def _prepare_chrome_trace_data(listener: RecordingListener):CODE
LOWnumba/core/event.py468def _setup_chrome_trace_exit_handler():CODE
LOWnumba/core/compiler.py212 def _find_referenced_environments(self):CODE
LOWnumba/core/compiler.py279def sanitize_compile_result_entries(entries):CODE
LOWnumba/core/compiler.py559 def define_nopython_lowering_pipeline(state, name='nopython_lowering'):CODE
LOWnumba/core/compiler.py579 def define_parfor_gufunc_nopython_lowering_pipeline(CODE
LOWnumba/core/compiler.py623 def define_parfor_gufunc_pipeline(state, name="parfor_gufunc_typed"):CODE
LOWnumba/core/compiler.py683 def define_objectmode_pipeline(state, name='object'):CODE
LOWnumba/core/withcontexts.py465def _mutate_with_block_caller(CODE
LOWnumba/core/withcontexts.py496def _mutate_with_block_callee(blocks, blk_start, blk_end, inputs, outputs):CODE
LOWnumba/core/analysis.py593def rewrite_semantic_constants(func_ir, called_args):CODE
LOWnumba/core/inline_closurecall.py62def _created_inlined_var_name(function_name, var_name):CODE
LOWnumba/core/inline_closurecall.py244 def _fix_stencil_neighborhood(self, options):CODE
LOWnumba/core/inline_closurecall.py260 def _fix_stencil_index_offsets(self, options):CODE
LOWnumba/core/inline_closurecall.py546 def update_type_and_call_maps(self, callee_ir, arg_typs):CODE
LOWnumba/core/inline_closurecall.py1322def _find_unsafe_empty_inferred(func_ir, expr):CODE
LOWnumba/core/ir_utils.py1650def _create_function_from_code_obj(fcode, func_env, func_arg, func_clo, glbls):CODE
LOWnumba/core/ir_utils.py1829def set_index_var_of_get_setitem(stmt, new_index):CODE
LOWnumba/core/ir_utils.py1948def raise_on_unsupported_feature(func_ir, typemap):CODE
LOWnumba/core/ir_utils.py2165def convert_code_obj_to_function(code_obj, caller_ir):CODE
LOWnumba/core/ir_utils.py2233def fixup_var_define_in_scope(blocks):CODE
LOWnumba/core/cpu.py102 def load_additional_registries(self):CODE
LOWnumba/core/lowering.py212 def extract_function_arguments(self):CODE
LOWnumba/core/lowering.py365 def _find_singly_assigned_variable(self):CODE
2396 more matches not shown…
Decorative Section Separators382 hits · 950 pts
SeverityFileLineSnippetContext
MEDIUMnumba/core/transforms.py701 # -----------------COMMENT
MEDIUMnumba/core/transforms.py706 # -----------------COMMENT
MEDIUMnumba/core/registry.py8# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/pylowering.py494 # -------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/cpu.py310# ----------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/codegen.py311 # --------------COMMENT
MEDIUMnumba/core/decorators.py19# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py687#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py721#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py791#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py881#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py893#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py963#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py1015#------------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/core/typing/builtins.py1031#------------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/core/typing/builtins.py1040#------------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/core/typing/builtins.py1050#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/npydecl.py355# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/npydecl.py413# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/npydecl.py436# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/npydecl.py542# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/npydecl.py612# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/templates.py1235# -----------------------------COMMENT
MEDIUMnumba/core/typing/collections.py78# --------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/datamodel/models.py1207# =============================================================================COMMENT
MEDIUMnumba/cloudpickle/cloudpickle.py676# -------------------------------------------------COMMENT
MEDIUMnumba/cloudpickle/cloudpickle.py712# ------------------------------------COMMENT
MEDIUMnumba/cloudpickle/cloudpickle.py718# -----------------------------------COMMENT
MEDIUMnumba/cloudpickle/cloudpickle.py824# -------------------------------COMMENT
MEDIUMnumba/cloudpickle/cloudpickle.py1133# ------------------------------------COMMENT
MEDIUMnumba/cloudpickle/cloudpickle.py1214# ---------------------------------COMMENT
MEDIUMnumba/cuda/intrinsics.py12#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/intrinsics.py127#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py37#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py109#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py160# -------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py239# -------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py263#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py300#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py312#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py331#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py500#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py512#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/stubs.py820#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/vectorizers.py222# ------------------------------------------------------------------------------STRING
MEDIUMnumba/cuda/target.py18# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/target.py60# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/cudaimpl.py72# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/cudaimpl.py935# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/cudaimpl.py945# -----------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/nvvmutils.py172# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_math.py339 #---------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_math.py348 #---------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_math.py357 #---------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_math.py366 #---------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_math.py375 #---------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_math.py402 #---------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_math.py411 #---------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_math.py420 #---------------------------------------------------------------------------COMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_math.py429 #---------------------------------------------------------------------------COMMENT
322 more matches not shown…
Deep Nesting684 hits · 532 pts
SeverityFileLineSnippetContext
LOWsetup.py155CODE
LOWsetup.py240CODE
LOWversioneer.py1136CODE
LOWversioneer.py1360CODE
LOWversioneer.py1682CODE
LOWversioneer.py2102CODE
LOWdocs/source/developer/compiler_pass_example.py1CODE
LOWdocs/source/developer/compiler_pass_example.py23CODE
LOWdocs/source/developer/inline_example.py16CODE
LOWdocs/source/extending/mynorm.py17CODE
LOWdocs/source/extending/mynorm.py37CODE
LOWbuildscripts/github/patch_wheel_dylib.py16CODE
LOWnumba/_version.py141CODE
LOWnumba/_version.py579CODE
LOWnumba/__init__.py195CODE
LOWnumba/misc/gdb_print_extension.py17CODE
LOWnumba/misc/numba_gdbinfo.py65CODE
LOWnumba/misc/quicksort.py27CODE
LOWnumba/misc/quicksort.py165CODE
LOWnumba/misc/quicksort.py216CODE
LOWnumba/misc/appdirs.py97CODE
LOWnumba/misc/firstlinefinder.py35CODE
LOWnumba/misc/numba_sysinfo.py106CODE
LOWnumba/misc/numba_sysinfo.py304CODE
LOWnumba/misc/numba_sysinfo.py571CODE
LOWnumba/misc/timsort.py57CODE
LOWnumba/misc/timsort.py230CODE
LOWnumba/misc/timsort.py316CODE
LOWnumba/misc/timsort.py447CODE
LOWnumba/misc/timsort.py602CODE
LOWnumba/misc/help/inspector.py150CODE
LOWnumba/experimental/function_type.py111CODE
LOWnumba/experimental/function_type.py190CODE
LOWnumba/experimental/jitclass/base.py160CODE
LOWnumba/experimental/jitclass/base.py414CODE
LOWnumba/core/dispatcher.py342CODE
LOWnumba/core/dispatcher.py659CODE
LOWnumba/core/dispatcher.py873CODE
LOWnumba/core/dispatcher.py1122CODE
LOWnumba/core/dispatcher.py1233CODE
LOWnumba/core/postproc.py100CODE
LOWnumba/core/postproc.py116CODE
LOWnumba/core/postproc.py179CODE
LOWnumba/core/transforms.py19CODE
LOWnumba/core/transforms.py533CODE
LOWnumba/core/transforms.py764CODE
LOWnumba/core/transforms.py46CODE
LOWnumba/core/transforms.py538CODE
LOWnumba/core/tracing.py79CODE
LOWnumba/core/tracing.py95CODE
LOWnumba/core/tracing.py99CODE
LOWnumba/core/config.py125CODE
LOWnumba/core/compiler.py742CODE
LOWnumba/core/compiler.py212CODE
LOWnumba/core/compiler.py456CODE
LOWnumba/core/withcontexts.py218CODE
LOWnumba/core/withcontexts.py323CODE
LOWnumba/core/analysis.py23CODE
LOWnumba/core/analysis.py300CODE
LOWnumba/core/analysis.py593CODE
624 more matches not shown…
Cross-Language Confusion119 hits · 500 pts
SeverityFileLineSnippetContext
HIGHnumba/core/callconv.py770 builder.store(null, excinfoptr)CODE
HIGHnumba/core/utils.py249 self.push(state)CODE
HIGHnumba/core/typeinfer.py256 self.container_type(types.undefined),CODE
HIGHnumba/core/typeinfer.py281 types.List(types.undefined),CODE
HIGHnumba/core/typeinfer.py326 types.DictType(types.undefined,CODE
HIGHnumba/core/typeinfer.py327 types.undefined,CODE
HIGHnumba/core/typeinfer.py152 (e.g. imprecise types such as List(undefined)).STRING
HIGH⚡numba/core/byteflow.py1960 # Push the `__exit__` method (or null) to the stack,COMMENT
HIGH⚡numba/core/byteflow.py496 state.push(res)CODE
HIGH⚡numba/core/byteflow.py499 state.push(state.make_null())CODE
HIGH⚡numba/core/byteflow.py507 state.push(state.make_null())CODE
HIGH⚡numba/core/byteflow.py508 state.push(res)CODE
HIGH⚡numba/core/byteflow.py513 state.push(res)CODE
HIGH⚡numba/core/byteflow.py526 state.push(res)CODE
HIGH⚡numba/core/byteflow.py531 state.push(res)CODE
HIGH⚡numba/core/byteflow.py539 state.push(res)CODE
HIGH⚡numba/core/byteflow.py550 state.push(res) # the attrCODE
HIGH⚡numba/core/byteflow.py552 state.push(state.make_null())CODE
HIGH⚡numba/core/byteflow.py555 state.push(state.make_null())CODE
HIGH⚡numba/core/byteflow.py556 state.push(res)CODE
HIGH⚡numba/core/byteflow.py558 state.push(res)CODE
HIGH⚡numba/core/byteflow.py601 state.push(res1)CODE
HIGH⚡numba/core/byteflow.py602 state.push(res2)CODE
HIGH⚡numba/core/byteflow.py612 state.push(load_res)CODE
HIGH⚡numba/core/byteflow.py1444 state.push(state.peek(inst.arg))CODE
HIGH⚡numba/core/byteflow.py1452 state.push(first)CODE
HIGH⚡numba/core/byteflow.py1453 state.push(second)CODE
HIGH⚡numba/core/byteflow.py1459 state.push(first)CODE
HIGH⚡numba/core/byteflow.py1460 state.push(third)CODE
HIGH⚡numba/core/byteflow.py1461 state.push(second)CODE
HIGH⚡numba/core/byteflow.py1468 state.push(first)CODE
HIGH⚡numba/core/byteflow.py1469 state.push(forth)CODE
HIGH⚡numba/core/byteflow.py1470 state.push(third)CODE
HIGH⚡numba/core/byteflow.py1471 state.push(second)CODE
HIGH⚡numba/core/byteflow.py1480 state.push(st)CODE
HIGH⚡numba/core/byteflow.py1487 state.push(tup)CODE
HIGH⚡numba/core/byteflow.py1517 state.push(res)CODE
HIGH⚡numba/core/byteflow.py1525 state.push(res)CODE
HIGH⚡numba/core/byteflow.py1532 state.push(lst)CODE
HIGH⚡numba/core/byteflow.py1660 state.push(res)CODE
HIGH⚡numba/core/byteflow.py1665 state.push(res)CODE
HIGH⚡numba/core/byteflow.py1671 state.push(res)CODE
HIGH⚡numba/core/byteflow.py1782 state.push(make_func_stack)CODE
HIGH⚡numba/core/byteflow.py1790 state.push(res)CODE
HIGH⚡numba/core/byteflow.py1799 state.push(res)CODE
HIGH⚡numba/core/byteflow.py1808 state.push(pred)CODE
HIGH⚡numba/core/byteflow.py1964 state.push(method)CODE
HIGH⚡numba/core/byteflow.py1965 state.push(tos)CODE
HIGHnumba/core/byteflow.py400 state.push(state.make_null())CODE
HIGHnumba/core/byteflow.py413 state.push(state.make_temp())CODE
HIGHnumba/core/byteflow.py422 state.push(res)CODE
HIGHnumba/core/byteflow.py444 state.push(res)CODE
HIGHnumba/core/byteflow.py461 state.push(tmps[-1])CODE
HIGHnumba/core/byteflow.py484 state.push(res)CODE
HIGHnumba/core/byteflow.py581 state.push(res)CODE
HIGHnumba/core/byteflow.py589 state.push(res)CODE
HIGHnumba/core/byteflow.py680 state.push(res)CODE
HIGHnumba/core/byteflow.py701 state.push(res)CODE
HIGHnumba/core/byteflow.py722 state.push(res)CODE
HIGHnumba/core/byteflow.py890 state.push(res)CODE
59 more matches not shown…
Unused Imports557 hits · 494 pts
SeverityFileLineSnippetContext
LOWdocs/source/developer/inline_example.py2CODE
LOWdocs/source/developer/inline_overload_example.py1CODE
LOWnumba/__init__.py82CODE
LOWnumba/__init__.py82CODE
LOWnumba/__init__.py82CODE
LOWnumba/__init__.py82CODE
LOWnumba/__init__.py82CODE
LOWnumba/__init__.py82CODE
LOWnumba/__init__.py82CODE
LOWnumba/__init__.py82CODE
LOWnumba/__init__.py88CODE
LOWnumba/__init__.py94CODE
LOWnumba/__init__.py97CODE
LOWnumba/__init__.py97CODE
LOWnumba/__init__.py97CODE
LOWnumba/__init__.py97CODE
LOWnumba/__init__.py97CODE
LOWnumba/__init__.py101CODE
LOWnumba/__init__.py101CODE
LOWnumba/__init__.py101CODE
LOWnumba/__init__.py101CODE
LOWnumba/__init__.py101CODE
LOWnumba/__init__.py101CODE
LOWnumba/__init__.py101CODE
LOWnumba/__init__.py101CODE
LOWnumba/__init__.py107CODE
LOWnumba/__init__.py107CODE
LOWnumba/__init__.py107CODE
LOWnumba/__init__.py110CODE
LOWnumba/__init__.py113CODE
LOWnumba/__init__.py114CODE
LOWnumba/__init__.py115CODE
LOWnumba/__init__.py118CODE
LOWnumba/__init__.py121CODE
LOWnumba/extending.py2CODE
LOWnumba/extending.py3CODE
LOWnumba/misc/quicksort.py5CODE
LOWnumba/misc/numba_entry.py59CODE
LOWnumba/misc/appdirs.py507CODE
LOWnumba/misc/appdirs.py515CODE
LOWnumba/misc/numba_sysinfo.py500CODE
LOWnumba/misc/numba_sysinfo.py521CODE
LOWnumba/misc/numba_sysinfo.py398CODE
LOWnumba/misc/numba_sysinfo.py408CODE
LOWnumba/misc/numba_sysinfo.py409CODE
LOWnumba/misc/special.py3CODE
LOWnumba/misc/special.py4CODE
LOWnumba/misc/memoryutils.py11CODE
LOWnumba/experimental/__init__.py1CODE
LOWnumba/experimental/jitclass/__init__.py1CODE
LOWnumba/experimental/jitclass/__init__.py2CODE
LOWnumba/experimental/jitclass/__init__.py3CODE
LOWnumba/core/options.py6CODE
LOWnumba/core/options.py6CODE
LOWnumba/core/options.py7CODE
LOWnumba/core/options.py7CODE
LOWnumba/core/transforms.py13CODE
LOWnumba/core/config.py163CODE
LOWnumba/core/registry.py1CODE
LOWnumba/core/imputils.py8CODE
497 more matches not shown…
Empty Error Handlers92 hits · 460 pts
SeverityFileLineSnippetContext
HIGHsetup.py18except ImportError:CODE
HIGHversioneer.py370except NameError:CODE
HIGHversioneer.py1158except OSError:CODE
HIGHversioneer.py1389except OSError:CODE
HIGHversioneer.py1767except NotThisMethod:CODE
HIGHversioneer.py1787except NotThisMethod:CODE
HIGHversioneer.py390except (tomllib.TOMLDecodeError, KeyError):CODE
HIGHversioneer.py1759except NotThisMethod:CODE
HIGHversioneer.py1778except NotThisMethod:CODE
HIGHnumba/_version.py163except OSError:CODE
HIGHnumba/_version.py628except NotThisMethod:CODE
HIGHnumba/_version.py647except NotThisMethod:CODE
HIGHnumba/_version.py653except NotThisMethod:CODE
HIGHnumba/__init__.py54except ImportError:CODE
HIGHnumba/misc/appdirs.py448except UnicodeError:CODE
HIGHnumba/misc/appdirs.py446except ImportError:CODE
HIGHnumba/misc/numba_sysinfo.py24except ImportError:CODE
HIGHnumba/misc/numba_sysinfo.py350except AttributeError:CODE
HIGHnumba/misc/numba_sysinfo.py430except ImportError:CODE
HIGHnumba/misc/numba_sysinfo.py445except ImportError:CODE
HIGHnumba/misc/numba_sysinfo.py494except Exception:CODE
HIGHnumba/misc/memoryutils.py41except Exception:CODE
HIGHnumba/misc/memoryutils.py72except (psutil.NoSuchProcess, psutil.AccessDenied):CODE
HIGHnumba/core/dispatcher.py90except KeyError:CODE
HIGHnumba/core/dispatcher.py863except KeyError:CODE
HIGHnumba/core/dispatcher.py1081except KeyError:CODE
HIGHnumba/core/dispatcher.py269except KeyError:CODE
HIGHnumba/core/config.py494except AttributeError:CODE
HIGHnumba/core/compiler.py789except Exception:CODE
HIGHnumba/core/analysis.py475except GuardException:CODE
HIGHnumba/core/analysis.py453except GuardException:CODE
HIGHnumba/core/pylowering.py468except TypeError:CODE
HIGHnumba/core/lowering.py454except AttributeError:CODE
HIGHnumba/core/consts.py116except AttributeError:CODE
HIGHnumba/core/caching.py684except OSError:CODE
HIGHnumba/core/typeinfer.py1173except (AttributeError, KeyError):CODE
HIGHnumba/core/untyped_passes.py1468except ValueError:CODE
HIGHnumba/core/base.py550except errors.NumbaNotImplementedError:CODE
HIGHnumba/core/base.py612except errors.NumbaNotImplementedError:CODE
HIGHnumba/core/base.py618except errors.NumbaNotImplementedError:CODE
HIGHnumba/core/base.py642except errors.NumbaNotImplementedError:CODE
HIGHnumba/core/base.py648except errors.NumbaNotImplementedError:CODE
HIGHnumba/core/base.py556except NotImplementedError:CODE
HIGHnumba/core/base.py1248except AttributeError:CODE
HIGHnumba/core/typing/templates.py716except KeyError:CODE
HIGHnumba/core/typing/templates.py970except KeyError:CODE
HIGHnumba/core/typing/context.py438except ValueError:CODE
HIGHnumba/core/typing/context.py572except TypeError:CODE
HIGHnumba/core/typing/context.py591except TypeError:CODE
HIGHnumba/core/typing/context.py601except TypeError:CODE
HIGHnumba/core/typing/typeof.py153except errors.NumbaNotImplementedError:CODE
HIGHnumba/core/typing/typeof.py155except NotImplementedError:CODE
HIGHnumba/core/datamodel/manager.py34except KeyError:CODE
HIGHnumba/cloudpickle/cloudpickle.py246except Exception:CODE
HIGHnumba/cloudpickle/cloudpickle.py451except KeyError:CODE
HIGHnumba/cuda/device_init.py58except CudaSupportError:CODE
HIGHnumba/cuda/testing.py136except ImportError:CODE
HIGHnumba/cuda/tests/cudapy/test_array.py61except ValueError:CODE
HIGHnumba/cuda/cudadrv/runtime.py94except AttributeError:CODE
HIGHnumba/cuda/cudadrv/driver.py375except AttributeError:CODE
32 more matches not shown…
Self-Referential Comments121 hits · 346 pts
SeverityFileLineSnippetContext
MEDIUMversioneer.py481# This file is released into the public domain.COMMENT
MEDIUMdocs/source/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMdocs/source/extending/template.py4# Define the overload function with formal argumentsCOMMENT
MEDIUMbuildscripts/incremental/setup_conda_environment.sh32# Create a base env first and then add to it...COMMENT
MEDIUMbuildscripts/github/repair_wheel_linux.sh44# Create a temporary directory for repairCOMMENT
MEDIUMnumba/_version.py8# This file is released into the public domain.COMMENT
MEDIUMnumba/experimental/jitclass/boxing.py219 # Initialize Box instanceSTRING
MEDIUMnumba/core/transforms.py202 # Create a new IR for the lifted loopCOMMENT
MEDIUMnumba/core/transforms.py822 # Define the new common block for the new exit.COMMENT
MEDIUMnumba/core/transforms.py827 # Define the new block after the exit.COMMENT
MEDIUMnumba/core/inline_closurecall.py1175 # Define an index_var to index the array.COMMENT
MEDIUMnumba/core/inline_closurecall.py1521 # Create a tuple to pass to empty below to specify the new array size.COMMENT
MEDIUMnumba/core/inline_closurecall.py1542 # Create a variable to hold the numpy empty function.COMMENT
MEDIUMnumba/core/inline_closurecall.py1574 # Create the call to numpy.empty passing the size tuple and dtype var.COMMENT
MEDIUMnumba/core/callconv.py545 # Create a function that converts a list of runtime arguments to a tupleCOMMENT
MEDIUMnumba/core/callconv.py604 # Create a tuple of CPython objectsCOMMENT
MEDIUMnumba/core/callconv.py678 # The following code will:COMMENT
MEDIUMnumba/core/callconv.py696 # Create the struct for runtime args and emit a function to convert itCOMMENT
MEDIUMnumba/core/interpreter.py723 # Create a new call updating the args and kwsCOMMENT
MEDIUMnumba/core/interpreter.py319 BUILD_TUPLE # Create a tuple of the argumentsSTRING
MEDIUMnumba/core/interpreter.py351 BUILD_TUPLE # Create a list to append toSTRING
MEDIUMnumba/core/caching.py711 # The following class variables must be overridden by subclass.COMMENT
MEDIUMnumba/core/debuginfo.py107 # Create the compile unit now because it is referenced whenCOMMENT
MEDIUMnumba/core/untyped_passes.py681 # Create a tuple with the list items as contentsCOMMENT
MEDIUMnumba/core/callwrapper.py37 # Define the cleanup function for the argumentCOMMENT
MEDIUMnumba/core/controlflow.py715 # Create a Loop object for each header.COMMENT
MEDIUMnumba/core/base.py424 # Define the hook as a no-op so other contexts (like GPU) don't breakCOMMENT
MEDIUMnumba/core/cgutils.py98 # The following class members must be overridden by subclassCOMMENT
MEDIUMnumba/core/pythonapi.py1733 # Define the exit blockCOMMENT
MEDIUMnumba/core/compiler_lock.py39 # This method is borrowed from threading.Condition.COMMENT
MEDIUMnumba/core/compiler_lock.py41 # This method is called only if _lock doesn't have _is_owned().COMMENT
MEDIUMnumba/core/types/functions.py356 # Create a derived template with an attribute *this*STRING
MEDIUMnumba/cuda/printimpl.py58 """This function is a generic 'print' wrapper for arbitrary types.STRING
MEDIUMnumba/cuda/compiler.py232 # Create a new module and declare the calleeCOMMENT
MEDIUMnumba/cuda/compiler.py236 # Define the caller - populate it with a call to the callee and returnCOMMENT
MEDIUMnumba/cuda/libdevicefuncs.py1017# The following code generates the stubs for libdevice functions.COMMENT
MEDIUMnumba/cuda/tests/nocuda/test_nvvm.py32 # Create a module with a constant containing all 8-bit charactersCOMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_cuda_array_interface.py307 # Create a foreign array with no streamCOMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_cuda_array_interface.py315 # Create a foreign array with a streamCOMMENT
MEDIUMnumba/cuda/tests/cudapy/test_cuda_array_interface.py327 # Create a foreign array with no streamCOMMENT
MEDIUMnumba/cuda/tests/cudapy/test_cuda_array_interface.py338 # Create a foreign array with a streamCOMMENT
MEDIUM⚡numba/cuda/tests/cudapy/test_cuda_array_interface.py350 # Create a foreign array with a streamCOMMENT
MEDIUMnumba/cuda/tests/cudapy/test_cuda_array_interface.py366 # Create a foreign array with no streamCOMMENT
MEDIUMnumba/cuda/tests/cudapy/test_cuda_array_interface.py381 # Create a foreign array with a streamCOMMENT
MEDIUMnumba/cuda/tests/cudapy/test_libdevice.py135 # Create the string containing the function to compileSTRING
MEDIUMnumba/cuda/tests/cudapy/test_record_dtype.py377 # Create a host-callable function for testing CUDA device functionsCOMMENT
MEDIUMnumba/cuda/tests/doc_examples/test_matmul.py85 # Define an array in the shared memoryCOMMENT
MEDIUMnumba/cuda/tests/doc_examples/test_sessionize.py64 # Create a vector to hold the resultsCOMMENT
MEDIUMnumba/cuda/tests/cudadrv/test_cuda_ndarray.py431 # Create a device array with shape (0,) and strides (8,)COMMENT
MEDIUMnumba/cuda/tests/cudadrv/test_cuda_ndarray.py435 # Create a host array with shape (0,) and strides (0,)COMMENT
MEDIUMnumba/cuda/tests/cudadrv/test_emm_plugins.py43 # Create an allocation and record itCOMMENT
MEDIUMnumba/cuda/cudadrv/nvvm.py686 # Create the used listSTRING
MEDIUMnumba/pycc/compiler.py446 # Define a constant string for the module name.STRING
MEDIUMnumba/pycc/compiler.py478 # Define a constant string for the module name.STRING
MEDIUMnumba/pycc/compiler.py484 # Define the module initialization function.STRING
MEDIUMnumba/tests/test_dictobject.py993 # Create a key type that is 12-bytes long on a 8-byte aligned systemCOMMENT
MEDIUMnumba/tests/test_ssa.py158 # This function is auto-generated.COMMENT
MEDIUMnumba/tests/test_target_extension.py47# Define a new target, this target extends GPU, this places the DPU in theCOMMENT
MEDIUMnumba/tests/test_target_extension.py59# Create a JIT DPU codegen for the DPU targetCOMMENT
MEDIUMnumba/tests/test_target_extension.py278# Create a DPU target instanceCOMMENT
61 more matches not shown…
Excessive Try-Catch Wrapping151 hits · 164 pts
SeverityFileLineSnippetContext
LOWsetup.py293 except Exception:CODE
LOWbuildscripts/github/test_matrix_evaluate.py149 except Exception as e:CODE
LOWbuildscripts/github/test_wheel_contents.py86 except Exception as exc:CODE
LOWnumba/__init__.py237 except Exception:CODE
LOWnumba/misc/gdb_print_extension.py123 except Exception as e:CODE
MEDIUMnumba/misc/gdb_print_extension.py17def to_string(self):CODE
LOWnumba/misc/numba_gdbinfo.py89 except Exception as e:CODE
LOWnumba/misc/inspection.py41 except Exception as e:CODE
LOWnumba/misc/inspection.py75 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py282 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py344 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py357 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py417 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py454 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py473 except Exception:CODE
LOWnumba/misc/numba_sysinfo.py494 except Exception:CODE
LOWnumba/misc/numba_sysinfo.py531 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py537 except Exception as e:CODE
LOWnumba/misc/memoryutils.py41 except Exception:CODE
LOWnumba/misc/help/inspector.py182 except Exception:CODE
LOWnumba/core/dispatcher.py435 except Exception as e:CODE
LOWnumba/core/serialize.py170 except Exception:CODE
LOWnumba/core/compiler_machinery.py361 except Exception as e:CODE
LOWnumba/core/config.py186 except Exception:CODE
LOWnumba/core/compiler.py479 except Exception as e:CODE
LOWnumba/core/compiler.py789 except Exception:CODE
LOWnumba/core/analysis.py347 except Exception:CODE
LOWnumba/core/analysis.py361 except Exception:CODE
LOWnumba/core/inline_closurecall.py696 except Exception:CODE
LOWnumba/core/caching.py680 except Exception:CODE
LOWnumba/core/entrypoints.py30 except Exception as e:CODE
LOWnumba/core/typeinfer.py1222 except Exception as e:STRING
LOWnumba/core/typeinfer.py1235 except Exception as e:STRING
LOWnumba/core/typed_passes.py49 except Exception as e:CODE
LOWnumba/core/typed_passes.py734 except Exception:CODE
LOWnumba/core/typed_passes.py783 except Exception:CODE
LOWnumba/core/untyped_passes.py33 except Exception as e:CODE
LOWnumba/core/untyped_passes.py341 except Exception:CODE
LOWnumba/core/untyped_passes.py361 except Exception:CODE
LOWnumba/core/types/functions.py313 except Exception as e:STRING
LOWnumba/core/types/functions.py403 except Exception as exc:STRING
LOWnumba/core/types/functions.py426 except Exception as exc:STRING
LOWnumba/core/typing/cffi_utils.py46 except Exception:CODE
LOWnumba/cloudpickle/cloudpickle.py246 except Exception:CODE
LOW⚡numba/cuda/tests/nocuda/test_library_lookup.py73 except Exception as e:CODE
LOW⚡numba/cuda/tests/nocuda/test_library_lookup.py82 except Exception as e:CODE
LOWnumba/cuda/tests/cudapy/test_multigpu.py57 except Exception as e:CODE
MEDIUMnumba/cuda/tests/cudapy/test_multigpu.py52def work(gpu, dA, results, ridx):CODE
MEDIUMnumba/cuda/tests/cudapy/test_dispatcher.py208def wrapper():CODE
LOWnumba/cuda/tests/cudapy/test_dispatcher.py213 except Exception as e:CODE
LOWnumba/cuda/tests/cudadrv/test_reset_device.py18 except Exception as e:CODE
MEDIUMnumba/cuda/tests/cudadrv/test_reset_device.py11def newthread(exception_queue):CODE
LOWnumba/cuda/tests/cudadrv/test_select_device.py22 except Exception as e:CODE
MEDIUMnumba/cuda/tests/cudadrv/test_select_device.py12def newthread(exception_queue):CODE
LOWnumba/cuda/simulator/kernel.py195 except Exception as e:CODE
MEDIUMnumba/cuda/simulator/kernel.py192def run(self):CODE
LOWnumba/cuda/simulator/cudadrv/devicearray.py59 except Exception as e:CODE
MEDIUMnumba/cuda/simulator/cudadrv/devicearray.py53def __getattr__(self, attrname):CODE
LOWnumba/cuda/cudadrv/driver.py1110 except Exception:CODE
LOWnumba/cuda/cudadrv/driver.py2291 except Exception as e:CODE
91 more matches not shown…
Over-Commented Block167 hits · 158 pts
SeverityFileLineSnippetContext
LOWazure-pipelines.yml1trigger:COMMENT
LOWazure-pipelines.yml21# TEST_THREADING: 'tbb'COMMENT
LOWversioneer.py1841 vers = get_versions(verbose=True)COMMENT
LOWdocs/source/conf.py1#!/usr/bin/env python3COMMENT
LOWdocs/source/conf.py81# The language for content autogenerated by Sphinx. Refer to documentationCOMMENT
LOWdocs/source/conf.py101COMMENT
LOWdocs/source/conf.py121COMMENT
LOWdocs/source/conf.py141 # 'titles_only': FalseCOMMENT
LOWdocs/source/conf.py161html_favicon = '../_static/numba-blue-icon-rgb.svg'COMMENT
LOWdocs/source/conf.py181# Custom sidebar templates, maps document names to template names.COMMENT
LOWdocs/source/conf.py201#html_show_sphinx = TrueCOMMENT
LOWdocs/source/conf.py221 # The paper size ('letterpaper' or 'a4paper').COMMENT
LOWdocs/source/conf.py241#latex_logo = NoneCOMMENT
LOWdocs/source/developer/inline_overload_example.py41 # overload.COMMENT
LOWdocs/source/extending/template.py1# Declare that function `myfunc` is going to be overloaded (have aCOMMENT
LOWbuildscripts/github/evaluate.py61# python_version_full raw spec; setup-python input, conda-build --python=,COMMENT
LOWnumba/_random.c1/*COMMENT
LOWnumba/_lapack.c1961#undef ENSURE_VALID_COMPLEX_KINDCOMMENT
LOWnumba/_helperlib.c1/*COMMENT
LOWnumba/_helperlib.c21 #define _complex_float_t complex floatCOMMENT
LOWnumba/_typeof.cpp1#include "_pymodule.h"COMMENT
LOWnumba/_helpermod.c1/*COMMENT
LOWnumba/pythoncapi_compat.h1// Header file providing new C API functions to old Python versions.COMMENT
LOWnumba/pythoncapi_compat.h21#include <Python.h>COMMENT
LOWnumba/pythoncapi_compat.h101 PyObject **_tmp_dst_ptr = _Py_CAST(PyObject**, &(dst)); \COMMENT
LOWnumba/pythoncapi_compat.h541COMMENT
LOWnumba/pythoncapi_compat.h861// gh-108014 added Py_IsFinalizing() to Python 3.13.0a1COMMENT
LOWnumba/pythoncapi_compat.h1201#endifCOMMENT
LOWnumba/pythoncapi_compat.h1221#if PY_VERSION_HEX < 0x030D00A6 && !defined(Py_CONSTANT_NONE)COMMENT
LOWnumba/_numba_common.h1#ifndef NUMBA_COMMON_H_COMMENT
LOWnumba/_pymodule.h21#endifCOMMENT
LOWnumba/_dispatcher.cpp721/* Standardized shortcuts. */COMMENT
LOWnumba/_dispatcher.cpp741#undef _PyGC_FINALIZEDCOMMENT
LOWnumba/_dispatcher.cpp781 // self - the dispatcherCOMMENT
LOWnumba/_dispatcher.cpp801 // following code is to see if a monitoring "tool" has registered a callbackCOMMENT
LOWnumba/_dispatcher.cpp821 // tstate->c_profileobjCOMMENT
LOWnumba/_dispatcher.cpp841 // 5. There are multiple slots for tools, cProfile is a profiler andCOMMENT
LOWnumba/_dispatcher.cpp881 PyObject *result = NULL;COMMENT
LOWnumba/_dispatcher.cpp901 // of effort for perhaps something that's practically not that useful.COMMENT
LOWnumba/_dispatcher.cpp921 while(tools) {COMMENT
LOWnumba/_dispatcher.cpp941 // increment the tracing tracking field (essentially, inlinedCOMMENT
LOWnumba/_dispatcher.cpp1041 // StopIteration exception must be "implied" i.e. a for loop exhaustingCOMMENT
LOWnumba/misc/numba_sysinfo.py101# Error and warning logCOMMENT
LOWnumba/misc/timsort.py21 'merge_force_collapse', 'merge_collapse',COMMENT
LOWnumba/experimental/jitclass/boxing.py261 return NativeValue(ret, is_error=c.pyapi.c_api_error())COMMENT
LOWnumba/core/transforms.py781 # Convert the following:COMMENT
LOWnumba/core/transforms.py801 # |COMMENT
LOWnumba/core/analysis.py481 # add the condition to the list of nullified conditionsCOMMENT
LOWnumba/core/analysis.py521 # Multiple things to fix up:COMMENT
LOWnumba/core/callconv.py401 % (exc,))COMMENT
LOWnumba/core/callconv.py421 # dynamic exc only - first 2 args are used forCOMMENT
LOWnumba/core/callconv.py541 phi.add_incoming(static_exc, bb_else)COMMENT
LOWnumba/core/callconv.py641COMMENT
LOWnumba/core/callconv.py661 #COMMENT
LOWnumba/core/interpreter.py241 # If the argument is "created" in JIT, then thereCOMMENT
LOWnumba/core/interpreter.py481 # If the argument is "created" in JIT, then thereCOMMENT
LOWnumba/core/interpreter.py601 #COMMENT
LOWnumba/core/interpreter.py681 already_deleted_defs,COMMENT
LOWnumba/core/interpreter.py701 # $combo_tup_1 = $combo_tup_0 + $arg0_tupCOMMENT
LOWnumba/core/interpreter.py1121 This is the relevant section of the CPython 3.10 that causesCOMMENT
107 more matches not shown…
Hallucination Indicators7 hits · 100 pts
SeverityFileLineSnippetContext
CRITICALnumba/core/pylowering.py214 param = self.func_ir.func_id.pysig.parameters.get(value.name)CODE
CRITICAL⚡numba/cuda/tests/cudadrv/test_nvvm_driver.py170%0 = call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x()CODE
CRITICAL⚡numba/cuda/tests/cudadrv/test_nvvm_driver.py171%1 = call i32 @llvm.nvvm.read.ptx.sreg.ntid.x()CODE
CRITICAL⚡numba/cuda/tests/cudadrv/test_nvvm_driver.py173%2 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()CODE
CRITICAL⚡numba/cuda/tests/cudadrv/test_nvvm_driver.py182declare i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() nounwind readnoneCODE
CRITICAL⚡numba/cuda/tests/cudadrv/test_nvvm_driver.py184declare i32 @llvm.nvvm.read.ptx.sreg.ntid.x() nounwind readnoneCODE
CRITICAL⚡numba/cuda/tests/cudadrv/test_nvvm_driver.py186declare i32 @llvm.nvvm.read.ptx.sreg.tid.x() nounwind readnoneCODE
Cross-File Repetition15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHnumba/core/dispatcher.py0disable the compilation of new signatures at call time.STRING
HIGHnumba/np/ufunc/dufunc.py0disable the compilation of new signatures at call time.STRING
HIGHnumba/np/ufunc/ufuncbuilder.py0disable the compilation of new signatures at call time.STRING
HIGHnumba/np/ufunc/ufunc_base.py0disable the compilation of new signatures at call time.STRING
HIGHnumba/cuda/tests/cudapy/cache_with_cpu_usecases.py0tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() sSTRING
HIGHnumba/cuda/tests/cudapy/cache_usecases.py0tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() sSTRING
HIGHnumba/tests/parfors_cache_usecases.py0tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() sSTRING
HIGHnumba/tests/cache_usecases.py0tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() sSTRING
HIGHnumba/tests/cfunc_cache_usecases.py0tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() sSTRING
HIGHnumba/cuda/tests/cudapy/test_dispatcher.py0test that (lazy) compiling from several threads at once doesn't produce errors (see issue #2403).STRING
HIGHnumba/tests/test_dispatcher.py0test that (lazy) compiling from several threads at once doesn't produce errors (see issue #2403).STRING
HIGHnumba/tests/test_ufuncs.py0test that (lazy) compiling from several threads at once doesn't produce errors (see issue #2403).STRING
HIGHnumba/tests/test_setimpl.py0bind to the c_helper library and provide the ctypes wrapper.STRING
HIGHnumba/tests/test_dictimpl.py0bind to the c_helper library and provide the ctypes wrapper.STRING
HIGHnumba/tests/test_listimpl.py0bind to the c_helper library and provide the ctypes wrapper.STRING
AI Structural Patterns62 hits · 52 pts
SeverityFileLineSnippetContext
LOWbuildscripts/github/patch_wheel_dylib.py13CODE
LOWnumba/experimental/jitclass/base.py277CODE
LOWnumba/core/funcdesc.py38CODE
LOWnumba/core/compiler_machinery.py243CODE
LOWnumba/core/inline_closurecall.py580CODE
LOWnumba/core/inline_closurecall.py312CODE
LOWnumba/core/lowering.py1242CODE
LOWnumba/core/boxing.py1057CODE
LOWnumba/core/boxing.py1092CODE
LOWnumba/core/boxing.py649CODE
LOWnumba/core/bytecode.py410CODE
LOWnumba/core/codegen.py99CODE
LOWnumba/core/base.py913CODE
LOWnumba/core/base.py968CODE
LOWnumba/core/pythonapi.py1462CODE
LOWnumba/core/datamodel/models.py907CODE
LOWnumba/cuda/dispatcher.py48CODE
LOWnumba/cuda/compiler.py256CODE
LOWnumba/cuda/compiler.py362CODE
LOWnumba/cuda/compiler.py374CODE
LOWnumba/cuda/vectorizers.py110CODE
LOWnumba/cuda/nvvmutils.py225CODE
LOWnumba/cuda/decorators.py14CODE
LOWnumba/cuda/simulator/api.py83CODE
LOWnumba/tests/test_array_manipulation.py1571CODE
LOWnumba/tests/test_dictobject.py934CODE
LOWnumba/tests/test_ir_inlining.py1345CODE
LOWnumba/tests/test_polynomial.py37CODE
LOWnumba/tests/test_polynomial.py42CODE
LOWnumba/tests/test_polynomial.py47CODE
LOWnumba/tests/test_polynomial.py52CODE
LOWnumba/tests/test_polynomial.py57CODE
LOWnumba/tests/test_polynomial.py62CODE
LOWnumba/tests/test_polynomial.py67CODE
LOWnumba/tests/test_polynomial.py462CODE
LOWnumba/tests/test_ir_utils.py145CODE
LOWnumba/tests/test_sort.py541CODE
LOWnumba/tests/test_ndarray_subclasses.py149CODE
LOWnumba/tests/test_interpreter.py17CODE
LOWnumba/tests/test_ufuncs.py1814CODE
LOWnumba/tests/test_ufuncs.py1823CODE
LOWnumba/tests/test_withlifting.py738CODE
LOWnumba/tests/test_parfors.py2920CODE
LOWnumba/tests/test_dyn_array.py495CODE
LOWnumba/cpython/unicode.py1987CODE
LOWnumba/cpython/unicode_support.py148CODE
LOWnumba/cpython/unsafe/tuple.py61CODE
LOWnumba/parfors/array_analysis.py750CODE
LOWnumba/typed/dictobject.py1189CODE
LOWnumba/typed/dictobject.py1278CODE
LOWnumba/np/arraymath.py2899CODE
LOWnumba/np/arrayobj.py379CODE
LOWnumba/np/arrayobj.py2450CODE
LOWnumba/np/arrayobj.py2661CODE
LOWnumba/np/arrayobj.py2680CODE
LOWnumba/np/arrayobj.py2984CODE
LOWnumba/np/arrayobj.py6628CODE
LOWnumba/np/arrayobj.py6833CODE
LOWnumba/np/npdatetime.py94CODE
LOWnumba/np/unsafe/ndarray.py77CODE
2 more matches not shown…
AI Slop Vocabulary24 hits · 46 pts
SeverityFileLineSnippetContext
LOWversioneer.py500 # each be defined on a line of their own. _version.py will just callCOMMENT
LOWnumba/_version.py27 # each be defined on a line of their own. _version.py will just callCOMMENT
MEDIUMnumba/core/config.py229 # under utilize the GPU due to low occupancy. On by default.COMMENT
LOWnumba/core/externals.py129 # For Windows XP _ftol2 is not defined, we will just useCOMMENT
MEDIUMnumba/core/byteflow.py1885 # Essentially this comes from the insight, that with Python 3.14COMMENT
MEDIUMnumba/core/untyped_passes.py969 # Essentially the CPython optimizer will inline the exit block underCOMMENT
LOWnumba/cuda/vectorizers.py100 # When we have a Numba device array, we can simply return it.COMMENT
LOWnumba/cuda/vectorizers.py161 # When we have a Numba device array, we can simply return it.COMMENT
MEDIUMnumba/cuda/tests/cudadrv/test_linker.py182 # Check the message pertaining to the unused variable is providedCOMMENT
MEDIUMnumba/cuda/tests/cudadrv/test_cuda_driver.py221 # 4122) pertaining to versions and variants, so we do not extract andSTRING
MEDIUMnumba/cuda/simulator/kernel.py295 # do *not* join immediately to facilitate debugging.COMMENT
LOWnumba/tests/test_typeguard.py24 # runner doesn't respect `setUpClass` so just use `setUp`.COMMENT
MEDIUMnumba/tests/support.py302# `SUBPROC_TEST` environment variable is set. Use this in conjunction with:COMMENT
MEDIUMnumba/tests/test_np_functions.py4049 # split and array_split have more comprehensive tests of splitting.COMMENT
MEDIUMnumba/tests/test_gdb_dwarf.py21 # reuse of the existing subprocess_test_runner harness.COMMENT
LOWnumba/tests/test_caching.py806 # with the zip file, so we just use normal imports here)STRING
MEDIUMnumba/tests/test_ufuncs.py549 # Note: there is no entry for left_shift and right_shift as this harnessCOMMENT
MEDIUMnumba/tests/test_ufuncs.py643 # Note: there is no entry for ldexp as this harness isn't valid for thisCOMMENT
LOWnumba/tests/test_entrypoints.py126 # This init function would normally just call a module init viaCOMMENT
LOWnumba/cpython/listobj.py1207 return lst # tuples are immutable, as is this, so just return itCODE
LOWnumba/cpython/hashing.py163 # Why not just use get_next_int() with the correct bitwidth?COMMENT
LOWnumba/cpython/hashing.py238 # If the magnitude is under PyHASH_MODULUS, just return theCOMMENT
LOWnumba/parfors/parfor.py2727 # So we just add the header to the first loop body block (minus theCOMMENT
LOWnumba/np/arrayobj.py5511 # If the array is already contiguous, just return itSTRING
Redundant / Tautological Comments30 hits · 42 pts
SeverityFileLineSnippetContext
LOW.github/workflows/numba_linux-64_wheel_builder.yml38 # Set USE_TBB to true by default, only override if explicitly set to falseCOMMENT
LOWbuildscripts/gpuci/build.sh10# Set home to the job's workspaceCOMMENT
LOWnumba/misc/numba_sysinfo.py211 # Open file within PythonCOMMENT
LOWnumba/core/inline_closurecall.py1082 # Check if the definition is a build_listCOMMENT
LOWnumba/core/inline_closurecall.py1117 # Check if append_block (besides loop entry) dominates loop header.COMMENT
LOWnumba/core/boxing.py232 # Check if the returned string size fits in the charseqCOMMENT
LOWnumba/core/boxing.py291 # Check if the returned string size fits in the charseqCOMMENT
LOWnumba/core/boxing.py658 # Check if *typobj* is NULLCOMMENT
LOWnumba/core/interpreter.py1287 # Check if we need to drop any maps from being tracked.COMMENT
LOWnumba/core/interpreter.py354 LIST_APPEND # Add the argument to the listSTRING
LOWnumba/core/bytecode.py542 # Check if the BUILD_{LIST, MAP, SET} instruction is followedCOMMENT
LOWnumba/core/bytecode.py548 # Check if the SWAP is followed by a FOR_ITERCOMMENT
LOWnumba/core/types/functions.py221 # Check if length of frame_list is 0STRING
LOWnumba/core/runtime/nrtdynmod.py122# Set this to True to measure the overhead of atomic refcounts comparedCOMMENT
LOWnumba/cloudpickle/cloudpickle.py135 # Check if we are reusing a previous class_defCOMMENT
LOWnumba/cloudpickle/cloudpickle.py1173 # Check if class is being reused and needs bypass setstate logic.COMMENT
LOWnumba/cuda/deviceufunc.py849 # Check if there are extra arguments for outputs.COMMENT
LOW⚡numba/cuda/tests/cudapy/test_cuda_array_interface.py354 # Set sync to false before testing. The test suite should generally beCOMMENT
LOWnumba/tests/test_dictobject.py2462 # Add 10 to array in key 'd'COMMENT
LOWnumba/tests/test_typeinfer.py550 # Check if compilation is successfulCOMMENT
LOWnumba/tests/test_looplifting.py150 # Check if we have lifted in nopython modeCOMMENT
LOWnumba/tests/test_operators.py1253 # Check if xt and yt are values with range of dtype x and yCOMMENT
LOWnumba/tests/test_np_randomgen.py194 # Check if the end state of both BitGenerators is sameCOMMENT
LOWnumba/tests/test_caching.py827 # Check if the cache was hitSTRING
LOWnumba/tests/test_gdb_bindings.py179 # Set GDB_TEST to permit the execution of tests decorated withCOMMENT
LOWnumba/cpython/unicode.py154 # Set hash to -1 to indicate that it should be computed.COMMENT
LOWnumba/cpython/unicode.py270 # Set parent to NULLCOMMENT
LOWnumba/np/arraymath.py411 # Check if axis is valid for the given arrayCOMMENT
LOWnumba/np/arraymath.py900 # Check if this is a datetime/timedelta typeCOMMENT
LOWnumba/np/linalg.py811 # Check if any of the operands is really a 1-d vector representedCOMMENT
Modern Structural Boilerplate12 hits · 12 pts
SeverityFileLineSnippetContext
LOWdocs/source/_ext/ghfiles.py6logger = logging.getLogger(__name__)CODE
LOWnumba/__init__.py130__all__ = [CODE
LOWnumba/misc/numba_sysinfo.py29__all__ = ['get_sysinfo', 'display_sysinfo']CODE
LOWnumba/misc/special.py94__all__ = [STRING
LOWnumba/core/entrypoints.py8logger = logging.getLogger(__name__)CODE
LOWnumba/core/errors.py16__all__ = [CODE
LOWnumba/core/types/function_type.py2__all__ = ['FunctionType', 'UndefinedFunctionType', 'FunctionPrototype',CODE
LOWnumba/cloudpickle/__init__.py8__all__ = [ # noqaCODE
LOWnumba/cuda/args.py70__all__ = [CODE
LOWnumba/cuda/cudadrv/nvvm.py20logger = logging.getLogger(__name__)CODE
LOWnumba/pycc/compiler.py21logger = logging.getLogger(__name__)CODE
LOWnumba/pycc/compiler.py23__all__ = ['ModuleCompiler']CODE
Slop Phrases6 hits · 11 pts
SeverityFileLineSnippetContext
LOWnumba/core/bytecode.py706 # variables, so we make sure to disambiguate using an unique id.COMMENT
MEDIUMnumba/core/untyped_passes.py168 # purely for demonstration purposes, obtain the analysis from a passCOMMENT
LOWnumba/pycc/compiler.py104 # when updating this, also make sure to update `env_def_t` struct inSTRING
LOWnumba/tests/test_parfors.py352 # make sure to only use modules that are actually used by cres andCOMMENT
LOWnumba/tests/test_parfors.py4264 # make sure to look at the kernel corresponding to the cres/pfuncCOMMENT
MEDIUMnumba/tests/doc_examples/test_typed_list_usage.py63 # And you can use the typed-list as an argument for a jit compiledCOMMENT
Dead Code4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMnumba/core/annotations/pretty_annotate.py64CODE
MEDIUMnumba/tests/test_generators.py47CODE
MEDIUMnumba/parfors/parfor.py2613CODE
MEDIUMnumba/parfors/parfor.py2615CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHnumba/tests/test_record_dtype.py1732 # In this example a 3D array of a 2D nested array of 2D nested arraysCOMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWnumba/experimental/function_type.py105 # TODO: implement support for pytypes.FunctionType, ctypes.CFUNCTYPECOMMENT
LOWnumba/cpython/charseq.py647 # return bytes(s).isupper() # TODO: implement isupper for BytesCOMMENT
LOWnumba/cpython/charseq.py662 # return bytes(s).upper() # TODO: implement upper for BytesCOMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOWnumba/cuda/tests/cudapy/test_slicing.py35 # NOTE: The following applies to:COMMENT
LOWnumba/tests/doc_examples/test_interval_example.py170 # NOTE: The result of this call is not checked as the clean upCOMMENT
LOWnumba/cpython/unicode.py335 # WARNING: This method is very dangerous:COMMENT
Overly Generic Function Names5 hits · 4 pts
SeverityFileLineSnippetContext
LOWnumba/tests/test_tracing.py148 def test_function(self):CODE
LOWnumba/tests/test_jitclasses.py486 def my_method(self):CODE
LOWnumba/tests/test_extending.py1898 def do_something(a, b):CODE
LOWnumba/tests/test_itanium_mangler.py47 def test_function(self):CODE
LOWnumba/tests/doc_examples/test_numpy_generators.py18 def do_stuff(gen):CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMnumba/cuda/device_init.py52 # test discovery/orchestration as `cuda.is_available` is oftenCOMMENT
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippetContext
LOWnumba/cuda/deviceufunc.py814 # "placeholder" outputs using None as a sentry valueCOMMENT
Verbosity Indicators1 hit · 0 pts
SeverityFileLineSnippetContext
LOWnumba/core/extending.py591 The purpose of this function is to provide a means to check if a function isSTRING