Repository Analysis

numba/numba

NumPy aware dynamic Python compiler using LLVM

16.6 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of numba/numba, a Python project with 11,079 GitHub stars. SynthScan v2.0 examined 348,310 lines of code across 872 source files, recording 4788 pattern matches distributed across 23 syntactic categories. The overall adjusted score of 16.6 places this repository in the Moderate AI signal band.

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

16.6
Adjusted Score
16.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
11.1K
Stars
Python
Language
348.3K
Lines of Code
872
Files
4.8K
Pattern Hits
2026-07-14
Scan Date
0.16
HC Hit Rate

What These Metrics Mean

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

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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

CRITICAL 7HIGH 135MEDIUM 555LOW 4091

Directory Score Breakdown

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

Pattern Findings

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

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

Hyper-Verbose Identifiers2421 hits · 2246 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.py706 def _callback_add_compiler_timer(self, duration, cres):CODE
LOWnumba/core/dispatcher.py1084 def _get_dispatcher_for_current_target(self):CODE
LOWnumba/core/serialize.py64def runtime_build_excinfo_struct(static_exc, exc_args):CODE
LOWnumba/core/serialize.py200def _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.py1648def _create_function_from_code_obj(fcode, func_env, func_arg, func_clo, glbls):CODE
LOWnumba/core/ir_utils.py1827def set_index_var_of_get_setitem(stmt, new_index):CODE
LOWnumba/core/ir_utils.py1946def raise_on_unsupported_feature(func_ir, typemap):CODE
LOWnumba/core/ir_utils.py2163def convert_code_obj_to_function(code_obj, caller_ir):CODE
LOWnumba/core/ir_utils.py2231def 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
2361 more matches not shown…
Decorative Section Separators387 hits · 965 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.py686#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py720#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py790#-------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py880#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py892#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py962#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py1014#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py1030#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py1039#------------------------------------------------------------------------------COMMENT
MEDIUMnumba/core/typing/builtins.py1049#------------------------------------------------------------------------------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
MEDIUMnumba/cuda/tests/cudapy/test_math.py339 #---------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/tests/cudapy/test_math.py348 #---------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/tests/cudapy/test_math.py357 #---------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/tests/cudapy/test_math.py366 #---------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/tests/cudapy/test_math.py375 #---------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/tests/cudapy/test_math.py402 #---------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/tests/cudapy/test_math.py411 #---------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/tests/cudapy/test_math.py420 #---------------------------------------------------------------------------COMMENT
MEDIUMnumba/cuda/tests/cudapy/test_math.py429 #---------------------------------------------------------------------------COMMENT
327 more matches not shown…
Deep Nesting675 hits · 528 pts
SeverityFileLineSnippetContext
LOWsetup.py131CODE
LOWsetup.py210CODE
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__.py185CODE
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.py101CODE
LOWnumba/misc/numba_sysinfo.py299CODE
LOWnumba/misc/numba_sysinfo.py545CODE
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.py860CODE
LOWnumba/core/dispatcher.py1094CODE
LOWnumba/core/dispatcher.py1205CODE
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
LOWnumba/core/analysis.py664CODE
615 more matches not shown…
Unused Imports563 hits · 506 pts
SeverityFileLineSnippetContext
LOWdocs/source/developer/inline_example.py2CODE
LOWdocs/source/developer/inline_overload_example.py1CODE
LOWnumba/__init__.py72CODE
LOWnumba/__init__.py72CODE
LOWnumba/__init__.py72CODE
LOWnumba/__init__.py72CODE
LOWnumba/__init__.py72CODE
LOWnumba/__init__.py72CODE
LOWnumba/__init__.py72CODE
LOWnumba/__init__.py72CODE
LOWnumba/__init__.py78CODE
LOWnumba/__init__.py84CODE
LOWnumba/__init__.py87CODE
LOWnumba/__init__.py87CODE
LOWnumba/__init__.py87CODE
LOWnumba/__init__.py87CODE
LOWnumba/__init__.py87CODE
LOWnumba/__init__.py91CODE
LOWnumba/__init__.py91CODE
LOWnumba/__init__.py91CODE
LOWnumba/__init__.py91CODE
LOWnumba/__init__.py91CODE
LOWnumba/__init__.py91CODE
LOWnumba/__init__.py91CODE
LOWnumba/__init__.py91CODE
LOWnumba/__init__.py97CODE
LOWnumba/__init__.py97CODE
LOWnumba/__init__.py97CODE
LOWnumba/__init__.py100CODE
LOWnumba/__init__.py103CODE
LOWnumba/__init__.py104CODE
LOWnumba/__init__.py105CODE
LOWnumba/__init__.py108CODE
LOWnumba/__init__.py111CODE
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.py474CODE
LOWnumba/misc/numba_sysinfo.py495CODE
LOWnumba/misc/numba_sysinfo.py393CODE
LOWnumba/misc/numba_sysinfo.py403CODE
LOWnumba/misc/numba_sysinfo.py404CODE
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
503 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
HIGHnumba/core/byteflow.py1948 # Push the `__exit__` method (or null) to the stack,COMMENT
HIGHnumba/core/byteflow.py491 state.push(res)CODE
HIGHnumba/core/byteflow.py494 state.push(state.make_null())CODE
HIGHnumba/core/byteflow.py502 state.push(state.make_null())CODE
HIGHnumba/core/byteflow.py503 state.push(res)CODE
HIGHnumba/core/byteflow.py508 state.push(res)CODE
HIGHnumba/core/byteflow.py521 state.push(res)CODE
HIGHnumba/core/byteflow.py526 state.push(res)CODE
HIGHnumba/core/byteflow.py534 state.push(res)CODE
HIGHnumba/core/byteflow.py545 state.push(res) # the attrCODE
HIGHnumba/core/byteflow.py547 state.push(state.make_null())CODE
HIGHnumba/core/byteflow.py550 state.push(state.make_null())CODE
HIGHnumba/core/byteflow.py551 state.push(res)CODE
HIGHnumba/core/byteflow.py553 state.push(res)CODE
HIGHnumba/core/byteflow.py596 state.push(res1)CODE
HIGHnumba/core/byteflow.py597 state.push(res2)CODE
HIGHnumba/core/byteflow.py607 state.push(load_res)CODE
HIGHnumba/core/byteflow.py1439 state.push(state.peek(inst.arg))CODE
HIGHnumba/core/byteflow.py1447 state.push(first)CODE
HIGHnumba/core/byteflow.py1448 state.push(second)CODE
HIGHnumba/core/byteflow.py1454 state.push(first)CODE
HIGHnumba/core/byteflow.py1455 state.push(third)CODE
HIGHnumba/core/byteflow.py1456 state.push(second)CODE
HIGHnumba/core/byteflow.py1463 state.push(first)CODE
HIGHnumba/core/byteflow.py1464 state.push(forth)CODE
HIGHnumba/core/byteflow.py1465 state.push(third)CODE
HIGHnumba/core/byteflow.py1466 state.push(second)CODE
HIGHnumba/core/byteflow.py1475 state.push(st)CODE
HIGHnumba/core/byteflow.py1482 state.push(tup)CODE
HIGHnumba/core/byteflow.py1512 state.push(res)CODE
HIGHnumba/core/byteflow.py1520 state.push(res)CODE
HIGHnumba/core/byteflow.py1527 state.push(lst)CODE
HIGHnumba/core/byteflow.py1648 state.push(res)CODE
HIGHnumba/core/byteflow.py1653 state.push(res)CODE
HIGHnumba/core/byteflow.py1659 state.push(res)CODE
HIGHnumba/core/byteflow.py1770 state.push(make_func_stack)CODE
HIGHnumba/core/byteflow.py1778 state.push(res)CODE
HIGHnumba/core/byteflow.py1787 state.push(res)CODE
HIGHnumba/core/byteflow.py1796 state.push(pred)CODE
HIGHnumba/core/byteflow.py1952 state.push(method)CODE
HIGHnumba/core/byteflow.py1953 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.py479 state.push(res)CODE
HIGHnumba/core/byteflow.py576 state.push(res)CODE
HIGHnumba/core/byteflow.py584 state.push(res)CODE
HIGHnumba/core/byteflow.py675 state.push(res)CODE
HIGHnumba/core/byteflow.py696 state.push(res)CODE
HIGHnumba/core/byteflow.py717 state.push(res)CODE
HIGHnumba/core/byteflow.py885 state.push(res)CODE
59 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.py681 # 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
MEDIUMnumba/cuda/tests/cudapy/test_cuda_array_interface.py307 # Create a foreign array with no streamCOMMENT
MEDIUMnumba/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
MEDIUMnumba/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…
Over-Commented Block176 hits · 167 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.c1941#undef ENSURE_VALID_REAL_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/__init__.py201 # If llvmlite has the checking function `has_svml` and it returnsCOMMENT
LOWnumba/__init__.py241config.USING_SVML = _try_enable_svml()COMMENT
LOWnumba/_numba_common.h1#ifndef NUMBA_COMMON_H_COMMENT
LOWnumba/_pymodule.h21#endifCOMMENT
LOWnumba/_dispatcher.cpp41#undef _PyGC_FINALIZEDCOMMENT
LOWnumba/_dispatcher.cpp661#if (PY_MAJOR_VERSION >= 3) && (PY_MINOR_VERSION == 11)COMMENT
LOWnumba/_dispatcher.cpp721 return MOST_SIG_BIT[bits];COMMENT
LOWnumba/_dispatcher.cpp741 // largely implemented in CPython PR #103083.COMMENT
LOWnumba/_dispatcher.cpp761 // lie makes it look like a python function has started executing at theCOMMENT
LOWnumba/_dispatcher.cpp781 // `call_one_instrument`.COMMENT
LOWnumba/_dispatcher.cpp801 // bool monitoring_tools_present = false;COMMENT
LOWnumba/_dispatcher.cpp841 // sense in a JIT context. The way it works is thatCOMMENT
LOWnumba/_dispatcher.cpp861 // (without huge effort to wire that through to here). ThereforeCOMMENT
LOWnumba/_dispatcher.cpp881 // this is a callback function, it also might not be present! ItCOMMENT
LOWnumba/_dispatcher.cpp901 // like a PY_RETURN, which has 3 arguments).COMMENT
LOWnumba/_dispatcher.cpp981 if(enabled_sysmon && invoke_monitoring_PY_START(tstate, self) != 0){COMMENT
LOWnumba/_dispatcher.cpp1001 //COMMENT
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
116 more matches not shown…
Excessive Try-Catch Wrapping149 hits · 163 pts
SeverityFileLineSnippetContext
LOWsetup.py263 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__.py227 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.py277 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py339 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py352 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py412 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py447 except Exception:CODE
LOWnumba/misc/numba_sysinfo.py468 except Exception:CODE
LOWnumba/misc/numba_sysinfo.py505 except Exception as e:CODE
LOWnumba/misc/numba_sysinfo.py511 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/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.py650 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
LOWnumba/cuda/tests/nocuda/test_library_lookup.py73 except Exception as e:CODE
LOWnumba/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
MEDIUMnumba/cuda/cudadrv/driver.py687def reset(self):CODE
LOWnumba/pycc/platform.py47 except Exception:CODE
89 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
CRITICALnumba/cuda/tests/cudadrv/test_nvvm_driver.py170%0 = call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x()CODE
CRITICALnumba/cuda/tests/cudadrv/test_nvvm_driver.py171%1 = call i32 @llvm.nvvm.read.ptx.sreg.ntid.x()CODE
CRITICALnumba/cuda/tests/cudadrv/test_nvvm_driver.py173%2 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x()CODE
CRITICALnumba/cuda/tests/cudadrv/test_nvvm_driver.py182declare i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() nounwind readnoneCODE
CRITICALnumba/cuda/tests/cudadrv/test_nvvm_driver.py184declare i32 @llvm.nvvm.read.ptx.sreg.ntid.x() nounwind readnoneCODE
CRITICALnumba/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.py36CODE
LOWnumba/tests/test_polynomial.py41CODE
LOWnumba/tests/test_polynomial.py46CODE
LOWnumba/tests/test_polynomial.py51CODE
LOWnumba/tests/test_polynomial.py56CODE
LOWnumba/tests/test_polynomial.py61CODE
LOWnumba/tests/test_polynomial.py66CODE
LOWnumba/tests/test_polynomial.py456CODE
LOWnumba/tests/test_ir_utils.py145CODE
LOWnumba/tests/test_sort.py535CODE
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.py735CODE
LOWnumba/tests/test_parfors.py2920CODE
LOWnumba/tests/test_dyn_array.py494CODE
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.py2590CODE
LOWnumba/np/arrayobj.py379CODE
LOWnumba/np/arrayobj.py2414CODE
LOWnumba/np/arrayobj.py2625CODE
LOWnumba/np/arrayobj.py2644CODE
LOWnumba/np/arrayobj.py2925CODE
LOWnumba/np/arrayobj.py6569CODE
LOWnumba/np/arrayobj.py6773CODE
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.py1873 # 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.py271# `SUBPROC_TEST` environment variable is set. Use this in conjunction with:COMMENT
MEDIUMnumba/tests/test_np_functions.py4044 # 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.py756 # 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.py5452 # If the array is already contiguous, just return itSTRING
Redundant / Tautological Comments31 hits · 44 pts
SeverityFileLineSnippetContext
LOW.github/workflows/numba_linux-64_wheel_builder.yml35 # 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.py206 # 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.py1206 # 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.py531 # Check if the BUILD_{LIST, MAP, SET} instruction is followedCOMMENT
LOWnumba/core/bytecode.py537 # 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
LOWnumba/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.py1252 # 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.py777 # 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.py165 # Check if axis is valid for the given arrayCOMMENT
LOWnumba/np/arraymath.py277 # Check if axis is valid for the given arrayCOMMENT
LOWnumba/np/arraymath.py675 # Check if this is a datetime/timedelta typeCOMMENT
LOWnumba/np/linalg.py747 # Check if any of the operands is really a 1-d vector representedCOMMENT
Modern Structural Boilerplate13 hits · 12 pts
SeverityFileLineSnippetContext
LOWdocs/source/_ext/ghfiles.py6logger = logging.getLogger(__name__)CODE
LOWnumba/__init__.py120__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
LOWnumba/np/extensions.py8__all__ = [CODE
Slop Phrases6 hits · 11 pts
SeverityFileLineSnippetContext
LOWnumba/core/bytecode.py665 # 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.py1896 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