NumPy aware dynamic Python compiler using LLVM
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).
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.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | versioneer.py | 642 | def git_versions_from_keywords(keywords, tag_prefix, verbose): | CODE |
| LOW | versioneer.py | 1164 | def git_versions_from_keywords(keywords, tag_prefix, verbose): | STRING |
| LOW | buildscripts/github/test_matrix_evaluate.py | 45 | def test_wheel_has_free_threaded(): | CODE |
| LOW | buildscripts/github/test_matrix_evaluate.py | 65 | def test_conda_has_python_major_minor(): | CODE |
| LOW | buildscripts/github/test_matrix_evaluate.py | 108 | def test_eval_unknown_event_returns_empty(): | CODE |
| LOW | buildscripts/github/test_matrix_evaluate.py | 115 | def test_eval_dispatch_filter_python(): | CODE |
| LOW | buildscripts/github/test_matrix_evaluate.py | 126 | def test_eval_dispatch_filter_numpy(): | CODE |
| LOW | numba/_version.py | 169 | def git_versions_from_keywords(keywords, tag_prefix, verbose): | CODE |
| LOW | numba/misc/coverage_support.py | 37 | def get_registered_loc_notify() -> Sequence["NotifyLocBase"]: | CODE |
| LOW | numba/misc/coverage_support.py | 102 | def _register_coverage_notifier(): | CODE |
| LOW | numba/misc/appdirs.py | 405 | def _get_win_folder_from_registry(csidl_name): | CODE |
| LOW | numba/misc/appdirs.py | 453 | def _get_win_folder_with_ctypes(csidl_name): | CODE |
| LOW | numba/misc/firstlinefinder.py | 73 | def get_func_body_first_lineno(pyfunc): | CODE |
| LOW | numba/misc/timsort.py | 875 | def run_timsort_with_mergestate(ms, keys, values): | CODE |
| LOW | numba/experimental/function_type.py | 71 | def lower_constant_dispatcher(context, builder, typ, pyval): | CODE |
| LOW | numba/experimental/function_type.py | 77 | def lower_constant_function_type(context, builder, typ, pyval): | CODE |
| LOW | numba/experimental/function_type.py | 279 | def lower_cast_function_type_to_function_type( | CODE |
| LOW | numba/experimental/function_type.py | 285 | def lower_cast_dispatcher_to_function_type(context, builder, fromty, toty, val): | CODE |
| LOW | numba/experimental/jitclass/overloads.py | 177 | def register_reflected_overload(func, meth_forward, meth_reflected): | STRING |
| LOW | numba/core/dispatcher.py | 118 | def get_globals_for_reduction(self): | CODE |
| LOW | numba/core/dispatcher.py | 136 | def get_globals_for_reduction(self): | CODE |
| LOW | numba/core/dispatcher.py | 235 | def _compilation_chain_init_hook(self): | CODE |
| LOW | numba/core/dispatcher.py | 706 | def _callback_add_compiler_timer(self, duration, cres): | CODE |
| LOW | numba/core/dispatcher.py | 1084 | def _get_dispatcher_for_current_target(self): | CODE |
| LOW | numba/core/serialize.py | 64 | def runtime_build_excinfo_struct(static_exc, exc_args): | CODE |
| LOW | numba/core/serialize.py | 200 | def _custom_reduce__custompickled(cp): | CODE |
| LOW | numba/core/funcdesc.py | 118 | def llvm_cpython_wrapper_name(self): | CODE |
| LOW | numba/core/funcdesc.py | 188 | def from_specialized_function(cls, func_ir, typemap, restype, calltypes, | CODE |
| LOW | numba/core/funcdesc.py | 200 | def from_object_mode_function(cls, func_ir): | CODE |
| LOW | numba/core/transforms.py | 19 | def _extract_loop_lifting_candidates(cfg, blocks): | CODE |
| LOW | numba/core/transforms.py | 104 | def _loop_lift_get_candidate_infos(cfg, blocks, livemap): | CODE |
| LOW | numba/core/transforms.py | 137 | def _loop_lift_modify_call_block(liftedloop, block, inputs, outputs, returnto): | CODE |
| LOW | numba/core/transforms.py | 155 | def _loop_lift_prepare_loop_func(loopinfo, blocks): | CODE |
| LOW | numba/core/transforms.py | 292 | def canonicalize_cfg_single_backedge(blocks): | CODE |
| LOW | numba/core/transforms.py | 315 | def yield_loops_with_multiple_backedges(): | CODE |
| LOW | numba/core/transforms.py | 751 | def consolidate_multi_exit_withs(withs: dict, blocks, func_ir): | CODE |
| LOW | numba/core/event.py | 444 | def _prepare_chrome_trace_data(listener: RecordingListener): | CODE |
| LOW | numba/core/event.py | 468 | def _setup_chrome_trace_exit_handler(): | CODE |
| LOW | numba/core/compiler.py | 212 | def _find_referenced_environments(self): | CODE |
| LOW | numba/core/compiler.py | 279 | def sanitize_compile_result_entries(entries): | CODE |
| LOW | numba/core/compiler.py | 559 | def define_nopython_lowering_pipeline(state, name='nopython_lowering'): | CODE |
| LOW | numba/core/compiler.py | 579 | def define_parfor_gufunc_nopython_lowering_pipeline( | CODE |
| LOW | numba/core/compiler.py | 623 | def define_parfor_gufunc_pipeline(state, name="parfor_gufunc_typed"): | CODE |
| LOW | numba/core/compiler.py | 683 | def define_objectmode_pipeline(state, name='object'): | CODE |
| LOW | numba/core/withcontexts.py | 465 | def _mutate_with_block_caller( | CODE |
| LOW | numba/core/withcontexts.py | 496 | def _mutate_with_block_callee(blocks, blk_start, blk_end, inputs, outputs): | CODE |
| LOW | numba/core/analysis.py | 593 | def rewrite_semantic_constants(func_ir, called_args): | CODE |
| LOW | numba/core/inline_closurecall.py | 62 | def _created_inlined_var_name(function_name, var_name): | CODE |
| LOW | numba/core/inline_closurecall.py | 244 | def _fix_stencil_neighborhood(self, options): | CODE |
| LOW | numba/core/inline_closurecall.py | 260 | def _fix_stencil_index_offsets(self, options): | CODE |
| LOW | numba/core/inline_closurecall.py | 546 | def update_type_and_call_maps(self, callee_ir, arg_typs): | CODE |
| LOW | numba/core/inline_closurecall.py | 1322 | def _find_unsafe_empty_inferred(func_ir, expr): | CODE |
| LOW | numba/core/ir_utils.py | 1648 | def _create_function_from_code_obj(fcode, func_env, func_arg, func_clo, glbls): | CODE |
| LOW | numba/core/ir_utils.py | 1827 | def set_index_var_of_get_setitem(stmt, new_index): | CODE |
| LOW | numba/core/ir_utils.py | 1946 | def raise_on_unsupported_feature(func_ir, typemap): | CODE |
| LOW | numba/core/ir_utils.py | 2163 | def convert_code_obj_to_function(code_obj, caller_ir): | CODE |
| LOW | numba/core/ir_utils.py | 2231 | def fixup_var_define_in_scope(blocks): | CODE |
| LOW | numba/core/cpu.py | 102 | def load_additional_registries(self): | CODE |
| LOW | numba/core/lowering.py | 212 | def extract_function_arguments(self): | CODE |
| LOW | numba/core/lowering.py | 365 | def _find_singly_assigned_variable(self): | CODE |
| 2361 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | numba/core/transforms.py | 701 | # ----------------- | COMMENT |
| MEDIUM | numba/core/transforms.py | 706 | # ----------------- | COMMENT |
| MEDIUM | numba/core/registry.py | 8 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/pylowering.py | 494 | # ------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/cpu.py | 310 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/codegen.py | 311 | # -------------- | COMMENT |
| MEDIUM | numba/core/decorators.py | 19 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/typing/builtins.py | 686 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/typing/builtins.py | 720 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/typing/builtins.py | 790 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/typing/builtins.py | 880 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | numba/core/typing/builtins.py | 892 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | numba/core/typing/builtins.py | 962 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | numba/core/typing/builtins.py | 1014 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | numba/core/typing/builtins.py | 1030 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | numba/core/typing/builtins.py | 1039 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | numba/core/typing/builtins.py | 1049 | #------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | numba/core/typing/npydecl.py | 355 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/typing/npydecl.py | 413 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/typing/npydecl.py | 436 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/typing/npydecl.py | 542 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/typing/npydecl.py | 612 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/typing/templates.py | 1235 | # ----------------------------- | COMMENT |
| MEDIUM | numba/core/typing/collections.py | 78 | # -------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/core/datamodel/models.py | 1207 | # ============================================================================= | COMMENT |
| MEDIUM | numba/cloudpickle/cloudpickle.py | 676 | # ------------------------------------------------- | COMMENT |
| MEDIUM | numba/cloudpickle/cloudpickle.py | 712 | # ------------------------------------ | COMMENT |
| MEDIUM | numba/cloudpickle/cloudpickle.py | 718 | # ----------------------------------- | COMMENT |
| MEDIUM | numba/cloudpickle/cloudpickle.py | 824 | # ------------------------------- | COMMENT |
| MEDIUM | numba/cloudpickle/cloudpickle.py | 1133 | # ------------------------------------ | COMMENT |
| MEDIUM | numba/cloudpickle/cloudpickle.py | 1214 | # --------------------------------- | COMMENT |
| MEDIUM | numba/cuda/intrinsics.py | 12 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/intrinsics.py | 127 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 37 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 109 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 160 | # ------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 239 | # ------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 263 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 300 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 312 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 331 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 500 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 512 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/stubs.py | 820 | #------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/vectorizers.py | 222 | # ------------------------------------------------------------------------------ | STRING |
| MEDIUM | numba/cuda/target.py | 18 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/target.py | 60 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/cudaimpl.py | 72 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/cudaimpl.py | 935 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/cudaimpl.py | 945 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | numba/cuda/nvvmutils.py | 172 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_math.py | 339 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_math.py | 348 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_math.py | 357 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_math.py | 366 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_math.py | 375 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_math.py | 402 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_math.py | 411 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_math.py | 420 | #--------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_math.py | 429 | #--------------------------------------------------------------------------- | COMMENT |
| 327 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 131 | CODE | |
| LOW | setup.py | 210 | CODE | |
| LOW | versioneer.py | 1136 | CODE | |
| LOW | versioneer.py | 1360 | CODE | |
| LOW | versioneer.py | 1682 | CODE | |
| LOW | versioneer.py | 2102 | CODE | |
| LOW | docs/source/developer/compiler_pass_example.py | 1 | CODE | |
| LOW | docs/source/developer/compiler_pass_example.py | 23 | CODE | |
| LOW | docs/source/developer/inline_example.py | 16 | CODE | |
| LOW | docs/source/extending/mynorm.py | 17 | CODE | |
| LOW | docs/source/extending/mynorm.py | 37 | CODE | |
| LOW | buildscripts/github/patch_wheel_dylib.py | 16 | CODE | |
| LOW | numba/_version.py | 141 | CODE | |
| LOW | numba/_version.py | 579 | CODE | |
| LOW | numba/__init__.py | 185 | CODE | |
| LOW | numba/misc/gdb_print_extension.py | 17 | CODE | |
| LOW | numba/misc/numba_gdbinfo.py | 65 | CODE | |
| LOW | numba/misc/quicksort.py | 27 | CODE | |
| LOW | numba/misc/quicksort.py | 165 | CODE | |
| LOW | numba/misc/quicksort.py | 216 | CODE | |
| LOW | numba/misc/appdirs.py | 97 | CODE | |
| LOW | numba/misc/firstlinefinder.py | 35 | CODE | |
| LOW | numba/misc/numba_sysinfo.py | 101 | CODE | |
| LOW | numba/misc/numba_sysinfo.py | 299 | CODE | |
| LOW | numba/misc/numba_sysinfo.py | 545 | CODE | |
| LOW | numba/misc/timsort.py | 57 | CODE | |
| LOW | numba/misc/timsort.py | 230 | CODE | |
| LOW | numba/misc/timsort.py | 316 | CODE | |
| LOW | numba/misc/timsort.py | 447 | CODE | |
| LOW | numba/misc/timsort.py | 602 | CODE | |
| LOW | numba/misc/help/inspector.py | 150 | CODE | |
| LOW | numba/experimental/function_type.py | 111 | CODE | |
| LOW | numba/experimental/function_type.py | 190 | CODE | |
| LOW | numba/experimental/jitclass/base.py | 160 | CODE | |
| LOW | numba/experimental/jitclass/base.py | 414 | CODE | |
| LOW | numba/core/dispatcher.py | 342 | CODE | |
| LOW | numba/core/dispatcher.py | 860 | CODE | |
| LOW | numba/core/dispatcher.py | 1094 | CODE | |
| LOW | numba/core/dispatcher.py | 1205 | CODE | |
| LOW | numba/core/postproc.py | 100 | CODE | |
| LOW | numba/core/postproc.py | 116 | CODE | |
| LOW | numba/core/postproc.py | 179 | CODE | |
| LOW | numba/core/transforms.py | 19 | CODE | |
| LOW | numba/core/transforms.py | 533 | CODE | |
| LOW | numba/core/transforms.py | 764 | CODE | |
| LOW | numba/core/transforms.py | 46 | CODE | |
| LOW | numba/core/transforms.py | 538 | CODE | |
| LOW | numba/core/tracing.py | 79 | CODE | |
| LOW | numba/core/tracing.py | 95 | CODE | |
| LOW | numba/core/tracing.py | 99 | CODE | |
| LOW | numba/core/config.py | 125 | CODE | |
| LOW | numba/core/compiler.py | 742 | CODE | |
| LOW | numba/core/compiler.py | 212 | CODE | |
| LOW | numba/core/compiler.py | 456 | CODE | |
| LOW | numba/core/withcontexts.py | 218 | CODE | |
| LOW | numba/core/withcontexts.py | 323 | CODE | |
| LOW | numba/core/analysis.py | 23 | CODE | |
| LOW | numba/core/analysis.py | 300 | CODE | |
| LOW | numba/core/analysis.py | 593 | CODE | |
| LOW | numba/core/analysis.py | 664 | CODE | |
| 615 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/source/developer/inline_example.py | 2 | CODE | |
| LOW | docs/source/developer/inline_overload_example.py | 1 | CODE | |
| LOW | numba/__init__.py | 72 | CODE | |
| LOW | numba/__init__.py | 72 | CODE | |
| LOW | numba/__init__.py | 72 | CODE | |
| LOW | numba/__init__.py | 72 | CODE | |
| LOW | numba/__init__.py | 72 | CODE | |
| LOW | numba/__init__.py | 72 | CODE | |
| LOW | numba/__init__.py | 72 | CODE | |
| LOW | numba/__init__.py | 72 | CODE | |
| LOW | numba/__init__.py | 78 | CODE | |
| LOW | numba/__init__.py | 84 | CODE | |
| LOW | numba/__init__.py | 87 | CODE | |
| LOW | numba/__init__.py | 87 | CODE | |
| LOW | numba/__init__.py | 87 | CODE | |
| LOW | numba/__init__.py | 87 | CODE | |
| LOW | numba/__init__.py | 87 | CODE | |
| LOW | numba/__init__.py | 91 | CODE | |
| LOW | numba/__init__.py | 91 | CODE | |
| LOW | numba/__init__.py | 91 | CODE | |
| LOW | numba/__init__.py | 91 | CODE | |
| LOW | numba/__init__.py | 91 | CODE | |
| LOW | numba/__init__.py | 91 | CODE | |
| LOW | numba/__init__.py | 91 | CODE | |
| LOW | numba/__init__.py | 91 | CODE | |
| LOW | numba/__init__.py | 97 | CODE | |
| LOW | numba/__init__.py | 97 | CODE | |
| LOW | numba/__init__.py | 97 | CODE | |
| LOW | numba/__init__.py | 100 | CODE | |
| LOW | numba/__init__.py | 103 | CODE | |
| LOW | numba/__init__.py | 104 | CODE | |
| LOW | numba/__init__.py | 105 | CODE | |
| LOW | numba/__init__.py | 108 | CODE | |
| LOW | numba/__init__.py | 111 | CODE | |
| LOW | numba/extending.py | 2 | CODE | |
| LOW | numba/extending.py | 3 | CODE | |
| LOW | numba/misc/quicksort.py | 5 | CODE | |
| LOW | numba/misc/numba_entry.py | 59 | CODE | |
| LOW | numba/misc/appdirs.py | 507 | CODE | |
| LOW | numba/misc/appdirs.py | 515 | CODE | |
| LOW | numba/misc/numba_sysinfo.py | 474 | CODE | |
| LOW | numba/misc/numba_sysinfo.py | 495 | CODE | |
| LOW | numba/misc/numba_sysinfo.py | 393 | CODE | |
| LOW | numba/misc/numba_sysinfo.py | 403 | CODE | |
| LOW | numba/misc/numba_sysinfo.py | 404 | CODE | |
| LOW | numba/misc/special.py | 3 | CODE | |
| LOW | numba/misc/special.py | 4 | CODE | |
| LOW | numba/misc/memoryutils.py | 11 | CODE | |
| LOW | numba/experimental/__init__.py | 1 | CODE | |
| LOW | numba/experimental/jitclass/__init__.py | 1 | CODE | |
| LOW | numba/experimental/jitclass/__init__.py | 2 | CODE | |
| LOW | numba/experimental/jitclass/__init__.py | 3 | CODE | |
| LOW | numba/core/options.py | 6 | CODE | |
| LOW | numba/core/options.py | 6 | CODE | |
| LOW | numba/core/options.py | 7 | CODE | |
| LOW | numba/core/options.py | 7 | CODE | |
| LOW | numba/core/transforms.py | 13 | CODE | |
| LOW | numba/core/config.py | 163 | CODE | |
| LOW | numba/core/registry.py | 1 | CODE | |
| LOW | numba/core/imputils.py | 8 | CODE | |
| 503 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | numba/core/callconv.py | 770 | builder.store(null, excinfoptr) | CODE |
| HIGH | numba/core/utils.py | 249 | self.push(state) | CODE |
| HIGH | numba/core/typeinfer.py | 256 | self.container_type(types.undefined), | CODE |
| HIGH | numba/core/typeinfer.py | 281 | types.List(types.undefined), | CODE |
| HIGH | numba/core/typeinfer.py | 326 | types.DictType(types.undefined, | CODE |
| HIGH | numba/core/typeinfer.py | 327 | types.undefined, | CODE |
| HIGH | numba/core/typeinfer.py | 152 | (e.g. imprecise types such as List(undefined)). | STRING |
| HIGH⚡ | numba/core/byteflow.py | 1948 | # Push the `__exit__` method (or null) to the stack, | COMMENT |
| HIGH⚡ | numba/core/byteflow.py | 491 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 494 | state.push(state.make_null()) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 502 | state.push(state.make_null()) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 503 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 508 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 521 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 526 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 534 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 545 | state.push(res) # the attr | CODE |
| HIGH⚡ | numba/core/byteflow.py | 547 | state.push(state.make_null()) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 550 | state.push(state.make_null()) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 551 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 553 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 596 | state.push(res1) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 597 | state.push(res2) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 607 | state.push(load_res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1439 | state.push(state.peek(inst.arg)) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1447 | state.push(first) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1448 | state.push(second) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1454 | state.push(first) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1455 | state.push(third) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1456 | state.push(second) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1463 | state.push(first) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1464 | state.push(forth) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1465 | state.push(third) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1466 | state.push(second) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1475 | state.push(st) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1482 | state.push(tup) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1512 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1520 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1527 | state.push(lst) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1648 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1653 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1659 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1770 | state.push(make_func_stack) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1778 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1787 | state.push(res) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1796 | state.push(pred) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1952 | state.push(method) | CODE |
| HIGH⚡ | numba/core/byteflow.py | 1953 | state.push(tos) | CODE |
| HIGH | numba/core/byteflow.py | 400 | state.push(state.make_null()) | CODE |
| HIGH | numba/core/byteflow.py | 413 | state.push(state.make_temp()) | CODE |
| HIGH | numba/core/byteflow.py | 422 | state.push(res) | CODE |
| HIGH | numba/core/byteflow.py | 444 | state.push(res) | CODE |
| HIGH | numba/core/byteflow.py | 461 | state.push(tmps[-1]) | CODE |
| HIGH | numba/core/byteflow.py | 479 | state.push(res) | CODE |
| HIGH | numba/core/byteflow.py | 576 | state.push(res) | CODE |
| HIGH | numba/core/byteflow.py | 584 | state.push(res) | CODE |
| HIGH | numba/core/byteflow.py | 675 | state.push(res) | CODE |
| HIGH | numba/core/byteflow.py | 696 | state.push(res) | CODE |
| HIGH | numba/core/byteflow.py | 717 | state.push(res) | CODE |
| HIGH | numba/core/byteflow.py | 885 | state.push(res) | CODE |
| 59 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | versioneer.py | 481 | # This file is released into the public domain. | COMMENT |
| MEDIUM | docs/source/conf.py | 7 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | docs/source/extending/template.py | 4 | # Define the overload function with formal arguments | COMMENT |
| MEDIUM | buildscripts/incremental/setup_conda_environment.sh | 32 | # Create a base env first and then add to it... | COMMENT |
| MEDIUM | buildscripts/github/repair_wheel_linux.sh | 44 | # Create a temporary directory for repair | COMMENT |
| MEDIUM | numba/_version.py | 8 | # This file is released into the public domain. | COMMENT |
| MEDIUM | numba/experimental/jitclass/boxing.py | 219 | # Initialize Box instance | STRING |
| MEDIUM | numba/core/transforms.py | 202 | # Create a new IR for the lifted loop | COMMENT |
| MEDIUM | numba/core/transforms.py | 822 | # Define the new common block for the new exit. | COMMENT |
| MEDIUM | numba/core/transforms.py | 827 | # Define the new block after the exit. | COMMENT |
| MEDIUM | numba/core/inline_closurecall.py | 1175 | # Define an index_var to index the array. | COMMENT |
| MEDIUM | numba/core/inline_closurecall.py | 1521 | # Create a tuple to pass to empty below to specify the new array size. | COMMENT |
| MEDIUM | numba/core/inline_closurecall.py | 1542 | # Create a variable to hold the numpy empty function. | COMMENT |
| MEDIUM | numba/core/inline_closurecall.py | 1574 | # Create the call to numpy.empty passing the size tuple and dtype var. | COMMENT |
| MEDIUM | numba/core/callconv.py | 545 | # Create a function that converts a list of runtime arguments to a tuple | COMMENT |
| MEDIUM | numba/core/callconv.py | 604 | # Create a tuple of CPython objects | COMMENT |
| MEDIUM | numba/core/callconv.py | 678 | # The following code will: | COMMENT |
| MEDIUM | numba/core/callconv.py | 696 | # Create the struct for runtime args and emit a function to convert it | COMMENT |
| MEDIUM | numba/core/interpreter.py | 723 | # Create a new call updating the args and kws | COMMENT |
| MEDIUM | numba/core/interpreter.py | 319 | BUILD_TUPLE # Create a tuple of the arguments | STRING |
| MEDIUM | numba/core/interpreter.py | 351 | BUILD_TUPLE # Create a list to append to | STRING |
| MEDIUM | numba/core/caching.py | 681 | # The following class variables must be overridden by subclass. | COMMENT |
| MEDIUM | numba/core/debuginfo.py | 107 | # Create the compile unit now because it is referenced when | COMMENT |
| MEDIUM | numba/core/untyped_passes.py | 681 | # Create a tuple with the list items as contents | COMMENT |
| MEDIUM | numba/core/callwrapper.py | 37 | # Define the cleanup function for the argument | COMMENT |
| MEDIUM | numba/core/controlflow.py | 715 | # Create a Loop object for each header. | COMMENT |
| MEDIUM | numba/core/base.py | 424 | # Define the hook as a no-op so other contexts (like GPU) don't break | COMMENT |
| MEDIUM | numba/core/cgutils.py | 98 | # The following class members must be overridden by subclass | COMMENT |
| MEDIUM | numba/core/pythonapi.py | 1733 | # Define the exit block | COMMENT |
| MEDIUM | numba/core/compiler_lock.py | 39 | # This method is borrowed from threading.Condition. | COMMENT |
| MEDIUM | numba/core/compiler_lock.py | 41 | # This method is called only if _lock doesn't have _is_owned(). | COMMENT |
| MEDIUM | numba/core/types/functions.py | 356 | # Create a derived template with an attribute *this* | STRING |
| MEDIUM | numba/cuda/printimpl.py | 58 | """This function is a generic 'print' wrapper for arbitrary types. | STRING |
| MEDIUM | numba/cuda/compiler.py | 232 | # Create a new module and declare the callee | COMMENT |
| MEDIUM | numba/cuda/compiler.py | 236 | # Define the caller - populate it with a call to the callee and return | COMMENT |
| MEDIUM | numba/cuda/libdevicefuncs.py | 1017 | # The following code generates the stubs for libdevice functions. | COMMENT |
| MEDIUM | numba/cuda/tests/nocuda/test_nvvm.py | 32 | # Create a module with a constant containing all 8-bit characters | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_cuda_array_interface.py | 307 | # Create a foreign array with no stream | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_cuda_array_interface.py | 315 | # Create a foreign array with a stream | COMMENT |
| MEDIUM | numba/cuda/tests/cudapy/test_cuda_array_interface.py | 327 | # Create a foreign array with no stream | COMMENT |
| MEDIUM | numba/cuda/tests/cudapy/test_cuda_array_interface.py | 338 | # Create a foreign array with a stream | COMMENT |
| MEDIUM⚡ | numba/cuda/tests/cudapy/test_cuda_array_interface.py | 350 | # Create a foreign array with a stream | COMMENT |
| MEDIUM | numba/cuda/tests/cudapy/test_cuda_array_interface.py | 366 | # Create a foreign array with no stream | COMMENT |
| MEDIUM | numba/cuda/tests/cudapy/test_cuda_array_interface.py | 381 | # Create a foreign array with a stream | COMMENT |
| MEDIUM | numba/cuda/tests/cudapy/test_libdevice.py | 135 | # Create the string containing the function to compile | STRING |
| MEDIUM | numba/cuda/tests/cudapy/test_record_dtype.py | 377 | # Create a host-callable function for testing CUDA device functions | COMMENT |
| MEDIUM | numba/cuda/tests/doc_examples/test_matmul.py | 85 | # Define an array in the shared memory | COMMENT |
| MEDIUM | numba/cuda/tests/doc_examples/test_sessionize.py | 64 | # Create a vector to hold the results | COMMENT |
| MEDIUM | numba/cuda/tests/cudadrv/test_cuda_ndarray.py | 431 | # Create a device array with shape (0,) and strides (8,) | COMMENT |
| MEDIUM | numba/cuda/tests/cudadrv/test_cuda_ndarray.py | 435 | # Create a host array with shape (0,) and strides (0,) | COMMENT |
| MEDIUM | numba/cuda/tests/cudadrv/test_emm_plugins.py | 43 | # Create an allocation and record it | COMMENT |
| MEDIUM | numba/cuda/cudadrv/nvvm.py | 686 | # Create the used list | STRING |
| MEDIUM | numba/pycc/compiler.py | 446 | # Define a constant string for the module name. | STRING |
| MEDIUM | numba/pycc/compiler.py | 478 | # Define a constant string for the module name. | STRING |
| MEDIUM | numba/pycc/compiler.py | 484 | # Define the module initialization function. | STRING |
| MEDIUM | numba/tests/test_dictobject.py | 993 | # Create a key type that is 12-bytes long on a 8-byte aligned system | COMMENT |
| MEDIUM | numba/tests/test_ssa.py | 158 | # This function is auto-generated. | COMMENT |
| MEDIUM | numba/tests/test_target_extension.py | 47 | # Define a new target, this target extends GPU, this places the DPU in the | COMMENT |
| MEDIUM | numba/tests/test_target_extension.py | 59 | # Create a JIT DPU codegen for the DPU target | COMMENT |
| MEDIUM | numba/tests/test_target_extension.py | 278 | # Create a DPU target instance | COMMENT |
| 61 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | azure-pipelines.yml | 1 | trigger: | COMMENT |
| LOW | azure-pipelines.yml | 21 | # TEST_THREADING: 'tbb' | COMMENT |
| LOW | versioneer.py | 1841 | vers = get_versions(verbose=True) | COMMENT |
| LOW | docs/source/conf.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | docs/source/conf.py | 81 | # The language for content autogenerated by Sphinx. Refer to documentation | COMMENT |
| LOW | docs/source/conf.py | 101 | COMMENT | |
| LOW | docs/source/conf.py | 121 | COMMENT | |
| LOW | docs/source/conf.py | 141 | # 'titles_only': False | COMMENT |
| LOW | docs/source/conf.py | 161 | html_favicon = '../_static/numba-blue-icon-rgb.svg' | COMMENT |
| LOW | docs/source/conf.py | 181 | # Custom sidebar templates, maps document names to template names. | COMMENT |
| LOW | docs/source/conf.py | 201 | #html_show_sphinx = True | COMMENT |
| LOW | docs/source/conf.py | 221 | # The paper size ('letterpaper' or 'a4paper'). | COMMENT |
| LOW | docs/source/conf.py | 241 | #latex_logo = None | COMMENT |
| LOW | docs/source/developer/inline_overload_example.py | 41 | # overload. | COMMENT |
| LOW | docs/source/extending/template.py | 1 | # Declare that function `myfunc` is going to be overloaded (have a | COMMENT |
| LOW | buildscripts/github/evaluate.py | 61 | # python_version_full raw spec; setup-python input, conda-build --python=, | COMMENT |
| LOW | numba/_random.c | 1 | /* | COMMENT |
| LOW | numba/_lapack.c | 1941 | #undef ENSURE_VALID_REAL_KIND | COMMENT |
| LOW | numba/_helperlib.c | 1 | /* | COMMENT |
| LOW | numba/_helperlib.c | 21 | #define _complex_float_t complex float | COMMENT |
| LOW | numba/_typeof.cpp | 1 | #include "_pymodule.h" | COMMENT |
| LOW | numba/_helpermod.c | 1 | /* | COMMENT |
| LOW | numba/pythoncapi_compat.h | 1 | // Header file providing new C API functions to old Python versions. | COMMENT |
| LOW | numba/pythoncapi_compat.h | 21 | #include <Python.h> | COMMENT |
| LOW | numba/pythoncapi_compat.h | 101 | PyObject **_tmp_dst_ptr = _Py_CAST(PyObject**, &(dst)); \ | COMMENT |
| LOW | numba/pythoncapi_compat.h | 541 | COMMENT | |
| LOW | numba/pythoncapi_compat.h | 861 | // gh-108014 added Py_IsFinalizing() to Python 3.13.0a1 | COMMENT |
| LOW | numba/pythoncapi_compat.h | 1201 | #endif | COMMENT |
| LOW | numba/pythoncapi_compat.h | 1221 | #if PY_VERSION_HEX < 0x030D00A6 && !defined(Py_CONSTANT_NONE) | COMMENT |
| LOW | numba/__init__.py | 201 | # If llvmlite has the checking function `has_svml` and it returns | COMMENT |
| LOW | numba/__init__.py | 241 | config.USING_SVML = _try_enable_svml() | COMMENT |
| LOW | numba/_numba_common.h | 1 | #ifndef NUMBA_COMMON_H_ | COMMENT |
| LOW | numba/_pymodule.h | 21 | #endif | COMMENT |
| LOW | numba/_dispatcher.cpp | 41 | #undef _PyGC_FINALIZED | COMMENT |
| LOW | numba/_dispatcher.cpp | 661 | #if (PY_MAJOR_VERSION >= 3) && (PY_MINOR_VERSION == 11) | COMMENT |
| LOW | numba/_dispatcher.cpp | 721 | return MOST_SIG_BIT[bits]; | COMMENT |
| LOW | numba/_dispatcher.cpp | 741 | // largely implemented in CPython PR #103083. | COMMENT |
| LOW | numba/_dispatcher.cpp | 761 | // lie makes it look like a python function has started executing at the | COMMENT |
| LOW | numba/_dispatcher.cpp | 781 | // `call_one_instrument`. | COMMENT |
| LOW | numba/_dispatcher.cpp | 801 | // bool monitoring_tools_present = false; | COMMENT |
| LOW | numba/_dispatcher.cpp | 841 | // sense in a JIT context. The way it works is that | COMMENT |
| LOW | numba/_dispatcher.cpp | 861 | // (without huge effort to wire that through to here). Therefore | COMMENT |
| LOW | numba/_dispatcher.cpp | 881 | // this is a callback function, it also might not be present! It | COMMENT |
| LOW | numba/_dispatcher.cpp | 901 | // like a PY_RETURN, which has 3 arguments). | COMMENT |
| LOW | numba/_dispatcher.cpp | 981 | if(enabled_sysmon && invoke_monitoring_PY_START(tstate, self) != 0){ | COMMENT |
| LOW | numba/_dispatcher.cpp | 1001 | // | COMMENT |
| LOW | numba/misc/timsort.py | 21 | 'merge_force_collapse', 'merge_collapse', | COMMENT |
| LOW | numba/experimental/jitclass/boxing.py | 261 | return NativeValue(ret, is_error=c.pyapi.c_api_error()) | COMMENT |
| LOW | numba/core/transforms.py | 781 | # Convert the following: | COMMENT |
| LOW | numba/core/transforms.py | 801 | # | | COMMENT |
| LOW | numba/core/analysis.py | 481 | # add the condition to the list of nullified conditions | COMMENT |
| LOW | numba/core/analysis.py | 521 | # Multiple things to fix up: | COMMENT |
| LOW | numba/core/callconv.py | 401 | % (exc,)) | COMMENT |
| LOW | numba/core/callconv.py | 421 | # dynamic exc only - first 2 args are used for | COMMENT |
| LOW | numba/core/callconv.py | 541 | phi.add_incoming(static_exc, bb_else) | COMMENT |
| LOW | numba/core/callconv.py | 641 | COMMENT | |
| LOW | numba/core/callconv.py | 661 | # | COMMENT |
| LOW | numba/core/interpreter.py | 241 | # If the argument is "created" in JIT, then there | COMMENT |
| LOW | numba/core/interpreter.py | 481 | # If the argument is "created" in JIT, then there | COMMENT |
| LOW | numba/core/interpreter.py | 601 | # | COMMENT |
| 116 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 263 | except Exception: | CODE |
| LOW | buildscripts/github/test_matrix_evaluate.py | 149 | except Exception as e: | CODE |
| LOW | buildscripts/github/test_wheel_contents.py | 86 | except Exception as exc: | CODE |
| LOW | numba/__init__.py | 227 | except Exception: | CODE |
| LOW | numba/misc/gdb_print_extension.py | 123 | except Exception as e: | CODE |
| MEDIUM | numba/misc/gdb_print_extension.py | 17 | def to_string(self): | CODE |
| LOW | numba/misc/numba_gdbinfo.py | 89 | except Exception as e: | CODE |
| LOW | numba/misc/inspection.py | 41 | except Exception as e: | CODE |
| LOW | numba/misc/inspection.py | 75 | except Exception as e: | CODE |
| LOW | numba/misc/numba_sysinfo.py | 277 | except Exception as e: | CODE |
| LOW | numba/misc/numba_sysinfo.py | 339 | except Exception as e: | CODE |
| LOW | numba/misc/numba_sysinfo.py | 352 | except Exception as e: | CODE |
| LOW | numba/misc/numba_sysinfo.py | 412 | except Exception as e: | CODE |
| LOW | numba/misc/numba_sysinfo.py | 447 | except Exception: | CODE |
| LOW | numba/misc/numba_sysinfo.py | 468 | except Exception: | CODE |
| LOW | numba/misc/numba_sysinfo.py | 505 | except Exception as e: | CODE |
| LOW | numba/misc/numba_sysinfo.py | 511 | except Exception as e: | CODE |
| LOW | numba/misc/memoryutils.py | 41 | except Exception: | CODE |
| LOW | numba/misc/help/inspector.py | 182 | except Exception: | CODE |
| LOW | numba/core/dispatcher.py | 435 | except Exception as e: | CODE |
| LOW | numba/core/compiler_machinery.py | 361 | except Exception as e: | CODE |
| LOW | numba/core/config.py | 186 | except Exception: | CODE |
| LOW | numba/core/compiler.py | 479 | except Exception as e: | CODE |
| LOW | numba/core/compiler.py | 789 | except Exception: | CODE |
| LOW | numba/core/analysis.py | 347 | except Exception: | CODE |
| LOW | numba/core/analysis.py | 361 | except Exception: | CODE |
| LOW | numba/core/inline_closurecall.py | 696 | except Exception: | CODE |
| LOW | numba/core/caching.py | 650 | except Exception: | CODE |
| LOW | numba/core/entrypoints.py | 30 | except Exception as e: | CODE |
| LOW | numba/core/typeinfer.py | 1222 | except Exception as e: | STRING |
| LOW | numba/core/typeinfer.py | 1235 | except Exception as e: | STRING |
| LOW | numba/core/typed_passes.py | 49 | except Exception as e: | CODE |
| LOW | numba/core/typed_passes.py | 734 | except Exception: | CODE |
| LOW | numba/core/typed_passes.py | 783 | except Exception: | CODE |
| LOW | numba/core/untyped_passes.py | 33 | except Exception as e: | CODE |
| LOW | numba/core/untyped_passes.py | 341 | except Exception: | CODE |
| LOW | numba/core/untyped_passes.py | 361 | except Exception: | CODE |
| LOW | numba/core/types/functions.py | 313 | except Exception as e: | STRING |
| LOW | numba/core/types/functions.py | 403 | except Exception as exc: | STRING |
| LOW | numba/core/types/functions.py | 426 | except Exception as exc: | STRING |
| LOW | numba/core/typing/cffi_utils.py | 46 | except Exception: | CODE |
| LOW | numba/cloudpickle/cloudpickle.py | 246 | except Exception: | CODE |
| LOW⚡ | numba/cuda/tests/nocuda/test_library_lookup.py | 73 | except Exception as e: | CODE |
| LOW⚡ | numba/cuda/tests/nocuda/test_library_lookup.py | 82 | except Exception as e: | CODE |
| LOW | numba/cuda/tests/cudapy/test_multigpu.py | 57 | except Exception as e: | CODE |
| MEDIUM | numba/cuda/tests/cudapy/test_multigpu.py | 52 | def work(gpu, dA, results, ridx): | CODE |
| MEDIUM | numba/cuda/tests/cudapy/test_dispatcher.py | 208 | def wrapper(): | CODE |
| LOW | numba/cuda/tests/cudapy/test_dispatcher.py | 213 | except Exception as e: | CODE |
| LOW | numba/cuda/tests/cudadrv/test_reset_device.py | 18 | except Exception as e: | CODE |
| MEDIUM | numba/cuda/tests/cudadrv/test_reset_device.py | 11 | def newthread(exception_queue): | CODE |
| LOW | numba/cuda/tests/cudadrv/test_select_device.py | 22 | except Exception as e: | CODE |
| MEDIUM | numba/cuda/tests/cudadrv/test_select_device.py | 12 | def newthread(exception_queue): | CODE |
| LOW | numba/cuda/simulator/kernel.py | 195 | except Exception as e: | CODE |
| MEDIUM | numba/cuda/simulator/kernel.py | 192 | def run(self): | CODE |
| LOW | numba/cuda/simulator/cudadrv/devicearray.py | 59 | except Exception as e: | CODE |
| MEDIUM | numba/cuda/simulator/cudadrv/devicearray.py | 53 | def __getattr__(self, attrname): | CODE |
| LOW | numba/cuda/cudadrv/driver.py | 1110 | except Exception: | CODE |
| LOW | numba/cuda/cudadrv/driver.py | 2291 | except Exception as e: | CODE |
| MEDIUM | numba/cuda/cudadrv/driver.py | 687 | def reset(self): | CODE |
| LOW | numba/pycc/platform.py | 47 | except Exception: | CODE |
| 89 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | numba/core/pylowering.py | 214 | param = self.func_ir.func_id.pysig.parameters.get(value.name) | CODE |
| CRITICAL⚡ | numba/cuda/tests/cudadrv/test_nvvm_driver.py | 170 | %0 = call i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() | CODE |
| CRITICAL⚡ | numba/cuda/tests/cudadrv/test_nvvm_driver.py | 171 | %1 = call i32 @llvm.nvvm.read.ptx.sreg.ntid.x() | CODE |
| CRITICAL⚡ | numba/cuda/tests/cudadrv/test_nvvm_driver.py | 173 | %2 = call i32 @llvm.nvvm.read.ptx.sreg.tid.x() | CODE |
| CRITICAL⚡ | numba/cuda/tests/cudadrv/test_nvvm_driver.py | 182 | declare i32 @llvm.nvvm.read.ptx.sreg.ctaid.x() nounwind readnone | CODE |
| CRITICAL⚡ | numba/cuda/tests/cudadrv/test_nvvm_driver.py | 184 | declare i32 @llvm.nvvm.read.ptx.sreg.ntid.x() nounwind readnone | CODE |
| CRITICAL⚡ | numba/cuda/tests/cudadrv/test_nvvm_driver.py | 186 | declare i32 @llvm.nvvm.read.ptx.sreg.tid.x() nounwind readnone | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | numba/core/dispatcher.py | 0 | disable the compilation of new signatures at call time. | STRING |
| HIGH | numba/np/ufunc/dufunc.py | 0 | disable the compilation of new signatures at call time. | STRING |
| HIGH | numba/np/ufunc/ufuncbuilder.py | 0 | disable the compilation of new signatures at call time. | STRING |
| HIGH | numba/np/ufunc/ufunc_base.py | 0 | disable the compilation of new signatures at call time. | STRING |
| HIGH | numba/cuda/tests/cudapy/cache_with_cpu_usecases.py | 0 | tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() s | STRING |
| HIGH | numba/cuda/tests/cudapy/cache_usecases.py | 0 | tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() s | STRING |
| HIGH | numba/tests/parfors_cache_usecases.py | 0 | tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() s | STRING |
| HIGH | numba/tests/cache_usecases.py | 0 | tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() s | STRING |
| HIGH | numba/tests/cfunc_cache_usecases.py | 0 | tests for functionality of this module's cfuncs. note this does not define any "test_*" method, instead check_module() s | STRING |
| HIGH | numba/cuda/tests/cudapy/test_dispatcher.py | 0 | test that (lazy) compiling from several threads at once doesn't produce errors (see issue #2403). | STRING |
| HIGH | numba/tests/test_dispatcher.py | 0 | test that (lazy) compiling from several threads at once doesn't produce errors (see issue #2403). | STRING |
| HIGH | numba/tests/test_ufuncs.py | 0 | test that (lazy) compiling from several threads at once doesn't produce errors (see issue #2403). | STRING |
| HIGH | numba/tests/test_setimpl.py | 0 | bind to the c_helper library and provide the ctypes wrapper. | STRING |
| HIGH | numba/tests/test_dictimpl.py | 0 | bind to the c_helper library and provide the ctypes wrapper. | STRING |
| HIGH | numba/tests/test_listimpl.py | 0 | bind to the c_helper library and provide the ctypes wrapper. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | buildscripts/github/patch_wheel_dylib.py | 13 | CODE | |
| LOW | numba/experimental/jitclass/base.py | 277 | CODE | |
| LOW | numba/core/funcdesc.py | 38 | CODE | |
| LOW | numba/core/compiler_machinery.py | 243 | CODE | |
| LOW | numba/core/inline_closurecall.py | 580 | CODE | |
| LOW | numba/core/inline_closurecall.py | 312 | CODE | |
| LOW | numba/core/lowering.py | 1242 | CODE | |
| LOW | numba/core/boxing.py | 1057 | CODE | |
| LOW | numba/core/boxing.py | 1092 | CODE | |
| LOW | numba/core/boxing.py | 649 | CODE | |
| LOW | numba/core/bytecode.py | 410 | CODE | |
| LOW | numba/core/codegen.py | 99 | CODE | |
| LOW | numba/core/base.py | 913 | CODE | |
| LOW | numba/core/base.py | 968 | CODE | |
| LOW | numba/core/pythonapi.py | 1462 | CODE | |
| LOW | numba/core/datamodel/models.py | 907 | CODE | |
| LOW | numba/cuda/dispatcher.py | 48 | CODE | |
| LOW | numba/cuda/compiler.py | 256 | CODE | |
| LOW | numba/cuda/compiler.py | 362 | CODE | |
| LOW | numba/cuda/compiler.py | 374 | CODE | |
| LOW | numba/cuda/vectorizers.py | 110 | CODE | |
| LOW | numba/cuda/nvvmutils.py | 225 | CODE | |
| LOW | numba/cuda/decorators.py | 14 | CODE | |
| LOW | numba/cuda/simulator/api.py | 83 | CODE | |
| LOW | numba/tests/test_array_manipulation.py | 1571 | CODE | |
| LOW | numba/tests/test_dictobject.py | 934 | CODE | |
| LOW | numba/tests/test_ir_inlining.py | 1345 | CODE | |
| LOW | numba/tests/test_polynomial.py | 36 | CODE | |
| LOW | numba/tests/test_polynomial.py | 41 | CODE | |
| LOW | numba/tests/test_polynomial.py | 46 | CODE | |
| LOW | numba/tests/test_polynomial.py | 51 | CODE | |
| LOW | numba/tests/test_polynomial.py | 56 | CODE | |
| LOW | numba/tests/test_polynomial.py | 61 | CODE | |
| LOW | numba/tests/test_polynomial.py | 66 | CODE | |
| LOW | numba/tests/test_polynomial.py | 456 | CODE | |
| LOW | numba/tests/test_ir_utils.py | 145 | CODE | |
| LOW | numba/tests/test_sort.py | 535 | CODE | |
| LOW | numba/tests/test_ndarray_subclasses.py | 149 | CODE | |
| LOW | numba/tests/test_interpreter.py | 17 | CODE | |
| LOW | numba/tests/test_ufuncs.py | 1814 | CODE | |
| LOW | numba/tests/test_ufuncs.py | 1823 | CODE | |
| LOW | numba/tests/test_withlifting.py | 735 | CODE | |
| LOW | numba/tests/test_parfors.py | 2920 | CODE | |
| LOW | numba/tests/test_dyn_array.py | 494 | CODE | |
| LOW | numba/cpython/unicode.py | 1987 | CODE | |
| LOW | numba/cpython/unicode_support.py | 148 | CODE | |
| LOW | numba/cpython/unsafe/tuple.py | 61 | CODE | |
| LOW | numba/parfors/array_analysis.py | 750 | CODE | |
| LOW | numba/typed/dictobject.py | 1189 | CODE | |
| LOW | numba/typed/dictobject.py | 1278 | CODE | |
| LOW | numba/np/arraymath.py | 2590 | CODE | |
| LOW | numba/np/arrayobj.py | 379 | CODE | |
| LOW | numba/np/arrayobj.py | 2414 | CODE | |
| LOW | numba/np/arrayobj.py | 2625 | CODE | |
| LOW | numba/np/arrayobj.py | 2644 | CODE | |
| LOW | numba/np/arrayobj.py | 2925 | CODE | |
| LOW | numba/np/arrayobj.py | 6569 | CODE | |
| LOW | numba/np/arrayobj.py | 6773 | CODE | |
| LOW | numba/np/npdatetime.py | 94 | CODE | |
| LOW | numba/np/unsafe/ndarray.py | 77 | CODE | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | versioneer.py | 500 | # each be defined on a line of their own. _version.py will just call | COMMENT |
| LOW | numba/_version.py | 27 | # each be defined on a line of their own. _version.py will just call | COMMENT |
| MEDIUM | numba/core/config.py | 229 | # under utilize the GPU due to low occupancy. On by default. | COMMENT |
| LOW | numba/core/externals.py | 129 | # For Windows XP _ftol2 is not defined, we will just use | COMMENT |
| MEDIUM | numba/core/byteflow.py | 1873 | # Essentially this comes from the insight, that with Python 3.14 | COMMENT |
| MEDIUM | numba/core/untyped_passes.py | 969 | # Essentially the CPython optimizer will inline the exit block under | COMMENT |
| LOW | numba/cuda/vectorizers.py | 100 | # When we have a Numba device array, we can simply return it. | COMMENT |
| LOW | numba/cuda/vectorizers.py | 161 | # When we have a Numba device array, we can simply return it. | COMMENT |
| MEDIUM | numba/cuda/tests/cudadrv/test_linker.py | 182 | # Check the message pertaining to the unused variable is provided | COMMENT |
| MEDIUM | numba/cuda/tests/cudadrv/test_cuda_driver.py | 221 | # 4122) pertaining to versions and variants, so we do not extract and | STRING |
| MEDIUM | numba/cuda/simulator/kernel.py | 295 | # do *not* join immediately to facilitate debugging. | COMMENT |
| LOW | numba/tests/test_typeguard.py | 24 | # runner doesn't respect `setUpClass` so just use `setUp`. | COMMENT |
| MEDIUM | numba/tests/support.py | 271 | # `SUBPROC_TEST` environment variable is set. Use this in conjunction with: | COMMENT |
| MEDIUM | numba/tests/test_np_functions.py | 4044 | # split and array_split have more comprehensive tests of splitting. | COMMENT |
| MEDIUM | numba/tests/test_gdb_dwarf.py | 21 | # reuse of the existing subprocess_test_runner harness. | COMMENT |
| LOW | numba/tests/test_caching.py | 756 | # with the zip file, so we just use normal imports here) | STRING |
| MEDIUM | numba/tests/test_ufuncs.py | 549 | # Note: there is no entry for left_shift and right_shift as this harness | COMMENT |
| MEDIUM | numba/tests/test_ufuncs.py | 643 | # Note: there is no entry for ldexp as this harness isn't valid for this | COMMENT |
| LOW | numba/tests/test_entrypoints.py | 126 | # This init function would normally just call a module init via | COMMENT |
| LOW | numba/cpython/listobj.py | 1207 | return lst # tuples are immutable, as is this, so just return it | CODE |
| LOW | numba/cpython/hashing.py | 163 | # Why not just use get_next_int() with the correct bitwidth? | COMMENT |
| LOW | numba/cpython/hashing.py | 238 | # If the magnitude is under PyHASH_MODULUS, just return the | COMMENT |
| LOW | numba/parfors/parfor.py | 2727 | # So we just add the header to the first loop body block (minus the | COMMENT |
| LOW | numba/np/arrayobj.py | 5452 | # If the array is already contiguous, just return it | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/numba_linux-64_wheel_builder.yml | 35 | # Set USE_TBB to true by default, only override if explicitly set to false | COMMENT |
| LOW | buildscripts/gpuci/build.sh | 10 | # Set home to the job's workspace | COMMENT |
| LOW | numba/misc/numba_sysinfo.py | 206 | # Open file within Python | COMMENT |
| LOW | numba/core/inline_closurecall.py | 1082 | # Check if the definition is a build_list | COMMENT |
| LOW | numba/core/inline_closurecall.py | 1117 | # Check if append_block (besides loop entry) dominates loop header. | COMMENT |
| LOW | numba/core/boxing.py | 232 | # Check if the returned string size fits in the charseq | COMMENT |
| LOW | numba/core/boxing.py | 291 | # Check if the returned string size fits in the charseq | COMMENT |
| LOW | numba/core/boxing.py | 658 | # Check if *typobj* is NULL | COMMENT |
| LOW | numba/core/interpreter.py | 1206 | # Check if we need to drop any maps from being tracked. | COMMENT |
| LOW | numba/core/interpreter.py | 354 | LIST_APPEND # Add the argument to the list | STRING |
| LOW | numba/core/bytecode.py | 531 | # Check if the BUILD_{LIST, MAP, SET} instruction is followed | COMMENT |
| LOW | numba/core/bytecode.py | 537 | # Check if the SWAP is followed by a FOR_ITER | COMMENT |
| LOW | numba/core/types/functions.py | 221 | # Check if length of frame_list is 0 | STRING |
| LOW | numba/core/runtime/nrtdynmod.py | 122 | # Set this to True to measure the overhead of atomic refcounts compared | COMMENT |
| LOW | numba/cloudpickle/cloudpickle.py | 135 | # Check if we are reusing a previous class_def | COMMENT |
| LOW | numba/cloudpickle/cloudpickle.py | 1173 | # Check if class is being reused and needs bypass setstate logic. | COMMENT |
| LOW | numba/cuda/deviceufunc.py | 849 | # Check if there are extra arguments for outputs. | COMMENT |
| LOW⚡ | numba/cuda/tests/cudapy/test_cuda_array_interface.py | 354 | # Set sync to false before testing. The test suite should generally be | COMMENT |
| LOW | numba/tests/test_dictobject.py | 2462 | # Add 10 to array in key 'd' | COMMENT |
| LOW | numba/tests/test_typeinfer.py | 550 | # Check if compilation is successful | COMMENT |
| LOW | numba/tests/test_looplifting.py | 150 | # Check if we have lifted in nopython mode | COMMENT |
| LOW | numba/tests/test_operators.py | 1252 | # Check if xt and yt are values with range of dtype x and y | COMMENT |
| LOW | numba/tests/test_np_randomgen.py | 194 | # Check if the end state of both BitGenerators is same | COMMENT |
| LOW | numba/tests/test_caching.py | 777 | # Check if the cache was hit | STRING |
| LOW | numba/tests/test_gdb_bindings.py | 179 | # Set GDB_TEST to permit the execution of tests decorated with | COMMENT |
| LOW | numba/cpython/unicode.py | 154 | # Set hash to -1 to indicate that it should be computed. | COMMENT |
| LOW | numba/cpython/unicode.py | 270 | # Set parent to NULL | COMMENT |
| LOW | numba/np/arraymath.py | 165 | # Check if axis is valid for the given array | COMMENT |
| LOW | numba/np/arraymath.py | 277 | # Check if axis is valid for the given array | COMMENT |
| LOW | numba/np/arraymath.py | 675 | # Check if this is a datetime/timedelta type | COMMENT |
| LOW | numba/np/linalg.py | 747 | # Check if any of the operands is really a 1-d vector represented | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/source/_ext/ghfiles.py | 6 | logger = logging.getLogger(__name__) | CODE |
| LOW | numba/__init__.py | 120 | __all__ = [ | CODE |
| LOW | numba/misc/numba_sysinfo.py | 29 | __all__ = ['get_sysinfo', 'display_sysinfo'] | CODE |
| LOW | numba/misc/special.py | 94 | __all__ = [ | STRING |
| LOW | numba/core/entrypoints.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | numba/core/errors.py | 16 | __all__ = [ | CODE |
| LOW | numba/core/types/function_type.py | 2 | __all__ = ['FunctionType', 'UndefinedFunctionType', 'FunctionPrototype', | CODE |
| LOW | numba/cloudpickle/__init__.py | 8 | __all__ = [ # noqa | CODE |
| LOW | numba/cuda/args.py | 70 | __all__ = [ | CODE |
| LOW | numba/cuda/cudadrv/nvvm.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | numba/pycc/compiler.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | numba/pycc/compiler.py | 23 | __all__ = ['ModuleCompiler'] | CODE |
| LOW | numba/np/extensions.py | 8 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numba/core/bytecode.py | 665 | # variables, so we make sure to disambiguate using an unique id. | COMMENT |
| MEDIUM | numba/core/untyped_passes.py | 168 | # purely for demonstration purposes, obtain the analysis from a pass | COMMENT |
| LOW | numba/pycc/compiler.py | 104 | # when updating this, also make sure to update `env_def_t` struct in | STRING |
| LOW | numba/tests/test_parfors.py | 352 | # make sure to only use modules that are actually used by cres and | COMMENT |
| LOW | numba/tests/test_parfors.py | 4264 | # make sure to look at the kernel corresponding to the cres/pfunc | COMMENT |
| MEDIUM | numba/tests/doc_examples/test_typed_list_usage.py | 63 | # And you can use the typed-list as an argument for a jit compiled | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | numba/core/annotations/pretty_annotate.py | 64 | CODE | |
| MEDIUM | numba/tests/test_generators.py | 47 | CODE | |
| MEDIUM | numba/parfors/parfor.py | 2613 | CODE | |
| MEDIUM | numba/parfors/parfor.py | 2615 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | numba/tests/test_record_dtype.py | 1732 | # In this example a 3D array of a 2D nested array of 2D nested arrays | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numba/experimental/function_type.py | 105 | # TODO: implement support for pytypes.FunctionType, ctypes.CFUNCTYPE | COMMENT |
| LOW | numba/cpython/charseq.py | 647 | # return bytes(s).isupper() # TODO: implement isupper for Bytes | COMMENT |
| LOW | numba/cpython/charseq.py | 662 | # return bytes(s).upper() # TODO: implement upper for Bytes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numba/cuda/tests/cudapy/test_slicing.py | 35 | # NOTE: The following applies to: | COMMENT |
| LOW | numba/tests/doc_examples/test_interval_example.py | 170 | # NOTE: The result of this call is not checked as the clean up | COMMENT |
| LOW | numba/cpython/unicode.py | 335 | # WARNING: This method is very dangerous: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numba/tests/test_tracing.py | 148 | def test_function(self): | CODE |
| LOW | numba/tests/test_jitclasses.py | 486 | def my_method(self): | CODE |
| LOW | numba/tests/test_extending.py | 1896 | def do_something(a, b): | CODE |
| LOW | numba/tests/test_itanium_mangler.py | 47 | def test_function(self): | CODE |
| LOW | numba/tests/doc_examples/test_numpy_generators.py | 18 | def do_stuff(gen): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | numba/cuda/device_init.py | 52 | # test discovery/orchestration as `cuda.is_available` is often | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numba/cuda/deviceufunc.py | 814 | # "placeholder" outputs using None as a sentry value | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | numba/core/extending.py | 591 | The purpose of this function is to provide a means to check if a function is | STRING |