AI Slop Code RIsk Monitor

catboost/catboost

A fast, scalable, high performance Gradient Boosting on Decision Trees library, used for ranking, classification, regression and other machine learning tasks for Python, R, Java, C++. Supports computation on CPU and GPU.

4.8 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for catboost/catboost, a C++ project with 9,137 GitHub stars. SynthScan examined 5,067,730 lines of code across 21458 source files, recording 24826 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 4.8 (Low pattern signal); it is not an authorship estimate.

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

4.8
Adjusted Signal
4.8
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
9.1K
Stars
C++
Language
5.1M
Lines of Code
21.5K
Files
24.8K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 20.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 2.1/100 · LOW

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

PR Review Velocity Impact 22.6/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 8HIGH 139MEDIUM 206LOW 24473

Directory Score Breakdown

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

Pattern Findings

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

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

Over-Commented Block21515 hits · 20710 pts
SeverityFileLineSnippetContext
LOWCMakeLists.linux-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.linux-ppc64le.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.darwin-arm64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.android-arm64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.linux-aarch64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.windows-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.android-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.darwin-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.android-x86.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.android-arm.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.windows-x86_64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.linux-x86_64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.linux-aarch64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWCMakeLists.linux-ppc64le-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.linux-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.linux-ppc64le.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.darwin-arm64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.android-arm64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.linux-aarch64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.windows-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.android-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.darwin-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.android-x86.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.android-arm.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.windows-x86_64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.linux-x86_64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.linux-aarch64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/CMakeLists.linux-ppc64le-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/CMakeLists.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.linux-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.linux-ppc64le.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.darwin-arm64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.linux-aarch64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.windows-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.darwin-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOW…ols/rescompiler/bin/CMakeLists.windows-x86_64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.linux-x86_64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.linux-aarch64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/rescompiler/bin/CMakeLists.linux-ppc64le-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.linux-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.linux-ppc64le.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.darwin-arm64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.android-arm64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.linux-aarch64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.windows-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.android-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.darwin-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.android-x86.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.android-arm.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.windows-x86_64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/main.cpp1#include <library/cpp/archive/yarchive.h>COMMENT
LOWtools/archiver/CMakeLists.linux-x86_64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.linux-aarch64-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/archiver/CMakeLists.linux-ppc64le-cuda.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/triecompiler/CMakeLists.linux-x86_64.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
LOWtools/triecompiler/CMakeLists.linux-ppc64le.txt1# This file was generated by the YaTool build system (https://github.com/yandex/yatool),COMMENT
21455 more matches not shown…
Hyper-Verbose Identifiers1754 hits · 1236 pts
SeverityFileLineSnippetContext
LOWtools/ruff_linter/wrapper.py22def check_extend_option_present(config: Path) -> bool:CODE
LOWci/extract_release_changelog.py7def extract_release_changelog(all_changelog: str, dst_release_changelog: str, release_version: str):CODE
LOWci/prepare_release_artifacts.py109def prepare_catboostmodel_lib(src_dir: str, dst_dir: str, release_version: str):CODE
LOWci/build_all.py100def need_to_build_with_cuda_for_main_targets(platform_name: str) -> bool:CODE
LOWci/build_all.py105def get_primary_platform_name() -> str:CODE
LOWci/build_all.py169def run_in_python_package_dir(CODE
LOWci/build_all.py185def get_native_python_executable(py_ver: Tuple[int, int]) -> str:CODE
LOWci/build_all.py195def run_with_native_python_with_version_in_python_package_dir(CODE
LOWci/build_all.py236def get_python_bdist_wheel_cmd(platform_name: str, build_native_sub_dir: str) -> List[str]:CODE
LOWci/build_all.py280 def get_catboostr_artifact_src_and_dst_name(system: str):CODE
LOWci/build_all.py411def copy_built_artifacts_to_canonical_place(CODE
LOWci/build_all.py575 def get_relative_python_dev_paths(py_ver: Tuple[int, int]) -> build_native.PythonDevPaths:CODE
LOWci/build_all.py683def build_all_for_one_platform(CODE
LOWlibrary/python/strings/ut/test_strings.py63def test_to_unicode_errors_replace():CODE
LOWlibrary/python/strings/ut/test_strings.py82def test_to_str_errors_replace():CODE
LOWlibrary/python/strings/ut/test_strings.py104def test_to_str_transcode_wrong():CODE
LOWlibrary/python/strings/ut/test_strings.py109def test_to_str_transcode_disabled():CODE
LOWlibrary/python/strings/ut/test_strings.py137def test_stringize_deep_doesnt_transcode():CODE
LOWlibrary/python/strings/ut/test_strings.py149def test_stringize_deep_nested():CODE
LOWlibrary/python/strings/ut/test_strings.py167def test_stringize_deep_plain():CODE
LOWlibrary/python/strings/ut/test_strings.py173def test_stringize_deep_nonstr():CODE
LOWlibrary/python/strings/ut/test_strings.py194def test_unicodize_deep_nested():CODE
LOWlibrary/python/strings/ut/test_strings.py214def test_unicodize_deep_plain():CODE
LOWlibrary/python/strings/ut/test_strings.py220def test_unicodize_deep_nonstr():CODE
LOWlibrary/python/strings/ut/test_strings.py325def test_parse_qs_with_keep_blank_values(given, expected, keep_blank_values):CODE
LOWlibrary/python/strings/ut/test_strings.py333def test_parse_qs_with_strict_parsing(given, strict_parsing):CODE
LOWlibrary/python/strings/ut/test_strings.py345def test_parse_qs_with_max_num_fields(given, max_num_fields):CODE
LOWlibrary/python/strings/ut/test_strings.py394def test_parse_qs_compatibility(string, keep_blank_values, strict_parsing, max_num_fields):CODE
LOWlibrary/python/strings/ut/test_strings.py420def test_unquote_compatibility(string):CODE
LOWlibrary/python/pytest/yatest_tools.py313def _nodeid_to_display_module_name_mapping():CODE
LOWlibrary/python/pytest/ut/test_logging.py30def test_handler_is_added_for_every_log(root_logger, tmpdir):CODE
LOWlibrary/python/pytest/ut/test_logging.py38def test_handler_of_unchanged_log_is_reused(root_logger, tmpdir):CODE
LOWlibrary/python/pytest/ut/test_logging.py49def test_handler_of_dropped_log_is_removed(root_logger, tmpdir):CODE
LOWlibrary/python/pytest/ut/test_logging.py58def test_every_log_receives_the_message(root_logger, tmpdir):CODE
LOWlibrary/python/pytest/ut/test_logging.py69def test_token_from_environment_is_masked(root_logger, tmpdir, monkeypatch):CODE
LOWlibrary/python/pytest/ut/test_logging.py82def test_token_appeared_during_the_run_is_masked(root_logger, tmpdir, monkeypatch):CODE
LOWlibrary/python/pytest/ut/test_tools.py28def test_split_node_id_without_path(parameters, node_id, expected_class_name, expected_test_name):CODE
LOWlibrary/python/pytest/ut/test_tools.py50def test_split_node_id_with_path(monkeypatch, parameters, node_id, expected_class_name, expected_test_name):CODE
LOWlibrary/python/pytest/ut/test_tools.py76def test_split_node_id_with_test_suffix(parameters, node_id, expected_class_name, expected_test_name):CODE
LOWlibrary/python/pytest/ut/test_tools.py89def test_path_resolving_for_local_conftest_load_policy(CODE
LOWlibrary/python/pytest/ut/test_tools.py141def test_colorize_pytest_error(bt):CODE
LOW…n/pytest/ut/conftest_non_local/tests/test_non_local.py1def test_conftest_plugin_order(pytestconfig):CODE
LOW…n/pytest/ut/conftest_non_local/tests/test_non_local.py14def test_conftests_are_initial(request):CODE
LOW…n/pytest/ut/conftest_non_local/tests/test_non_local.py24def test_conftest_fixture_order(fixture_order):CODE
LOW…pytest/ut/conftest_local/initial_conftests/conftest.py19def is_sessionstart_called_root():CODE
LOW…st/ut/conftest_local/initial_conftests/foo/conftest.py19def is_sessionstart_called_foo():CODE
LOW…t/conftest_local/initial_conftests/foo/bar/conftest.py19def is_sessionstart_called_bar():CODE
LOW…est_local/split_test_modules/foo_bar/test_something.py10def test_fixture_availability(request):CODE
LOW…est_local/single_test_module/foo_bar/test_something.py10def test_fixture_availability(request):CODE
LOWlibrary/python/pytest/plugins/ya.py181 def pytest_ya_summarize_error(self, report):CODE
LOWlibrary/python/pytest/plugins/ya.py186def pytest_ya_summarize_error(report):CODE
LOWlibrary/python/pytest/plugins/ya.py364def _graceful_shutdown_on_log(should_exit):CODE
LOWlibrary/python/pytest/plugins/ya.py505def pytest_collection_modifyitems(items, config):CODE
LOWlibrary/python/pytest/plugins/ya.py651def pytest_runtest_makereport(item, call):CODE
LOWlibrary/python/pytest/plugins/ya.py693def pytest_make_parametrize_id(config, val, argname):CODE
LOWlibrary/python/pytest/plugins/collection.py22def _make_module_with_single_skipped_test(module_name, file_name, exc):CODE
LOWlibrary/python/pytest/plugins/collection.py148def _patch_set_initial_conftests(pluginmanager):CODE
LOWlibrary/python/pytest/plugins/collection.py168def _find_resfs_test_and_doctest_modules():CODE
LOWlibrary/python/pytest/plugins/collection.py202def pytest_load_initial_conftests(early_config):CODE
LOWlibrary/python/pytest/plugins/conftests.py50def _import_conftest_force_initial(pluginmanager, module_name):CODE
1694 more matches not shown…
Empty Error Handlers97 hits · 485 pts
SeverityFileLineSnippetContext
HIGHlibrary/python/strings/strings.py133except LookupError:CODE
HIGHlibrary/python/pytest/rewrite.py12except ImportError:CODE
HIGHlibrary/python/pytest/rewrite.py17except ImportError:CODE
HIGHlibrary/python/pytest/plugins/ya.py387except ImportError:CODE
HIGHlibrary/python/runtime/entry_points.py43except ImportError:CODE
HIGHlibrary/python/hnsw/hnsw/hnsw.py35except ImportError:CODE
HIGHlibrary/python/filelock/ut/test_filelock.py70except OSError:CODE
HIGH…ython/testing/yatest_common/yatest/common/canonical.py230except OSError:CODE
HIGH…/python/testing/yatest_common/yatest/common/process.py471except OSError:CODE
HIGHlibrary/python/testing/import_test/import_test.py22except ImportError:CODE
HIGHlibrary/python/testing/import_test/import_test.py169except ImportError:CODE
HIGHlibrary/python/symbols/module/__init__.py45except Exception:CODE
HIGHlibrary/python/runtime_py3/__res.py576except ImportError:CODE
HIGHlibrary/python/runtime_py3/entry_points.py39except ModuleNotFoundError:CODE
HIGHlibrary/python/runtime_py3/sitecustomize.py287except KeyError:CODE
HIGHlibrary/python/windows/__init__.py333except OSError:CODE
HIGHlibrary/python/fs/__init__.py169except OSError:CODE
HIGHlibrary/python/fs/__init__.py227except shutil.SameFileError:CODE
HIGHcontrib/tools/cython/Cython/Coverage.py397except KeyError:CODE
HIGHcontrib/tools/cython/Cython/Utils.py170except OSError:CODE
HIGHcontrib/tools/cython/Cython/Utils.py186except (OSError, IOError):CODE
HIGHcontrib/tools/cython/Cython/Utils.py301except NameError:CODE
HIGHcontrib/tools/cython/Cython/Utils.py72except (StopIteration, GeneratorExit):CODE
HIGHcontrib/tools/cython/Cython/Utils.py209except OSError:CODE
HIGHcontrib/tools/cython/Cython/Utils.py348except UnicodeDecodeError:CODE
HIGHcontrib/tools/cython/Cython/Utils.py519except UnicodeDecodeError:CODE
HIGHcontrib/tools/cython/Cython/Utils.py413except (NameError, AttributeError):CODE
HIGHcontrib/tools/cython/Cython/Distutils/old_build_ext.py246except AttributeError:CODE
HIGHcontrib/tools/cython/Cython/Tempita/_tempita.py129except ValueError:CODE
HIGHcontrib/tools/cython/Cython/Debugger/libcython.py439except gdb.GdbError:CODE
HIGHcontrib/tools/cython/Cython/Debugger/libcython.py1308except RuntimeError:CODE
HIGHcontrib/tools/cython/Cython/Debugger/Cygdb.py170except KeyboardInterrupt:CODE
HIGHcontrib/tools/cython/Cython/Debugger/libpython.py2567except RuntimeError:CODE
HIGHcontrib/tools/cython/Cython/Debugger/libpython.py402except RuntimeError:CODE
HIGHcontrib/tools/cython/Cython/Debugger/libpython.py507except RuntimeError:CODE
HIGHcontrib/tools/cython/Cython/Debugger/libpython.py720except RuntimeError:CODE
HIGHcontrib/tools/cython/Cython/Debugger/libpython.py2488except (ValueError, RuntimeError):CODE
HIGHcontrib/tools/cython/Cython/Debugger/libpython.py2751except RuntimeError:CODE
HIGH…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py97except RuntimeError:CODE
HIGH…ib/tools/cython/Cython/Debugger/Tests/TestLibCython.py238except: passCODE
HIGH…ib/tools/cython/Cython/Debugger/Tests/TestLibCython.py240except: passCODE
HIGHcontrib/tools/cython/Cython/Build/Cache.py185except (OSError, ValueError):CODE
HIGHcontrib/tools/cython/Cython/Build/IpythonMagic.py488except ImportError:CODE
HIGHcontrib/tools/cython/Cython/Build/IpythonMagic.py500except ValueError:CODE
HIGHcontrib/tools/cython/Cython/Build/Dependencies.py104except ValueError:CODE
HIGH…ib/tools/cython/Cython/Build/Tests/TestIpythonMagic.py33except ImportError:CODE
HIGH…ib/tools/cython/Cython/Build/Tests/TestIpythonMagic.py127except OSError:CODE
HIGHcontrib/tools/cython/Cython/Compiler/Optimize.py4336except (ValueError, TypeError, KeyError, IndexError, AttributeError, ArithmeticError):CODE
HIGHcontrib/tools/cython/Cython/Compiler/Optimize.py4687except StopIteration: passCODE
HIGHcontrib/tools/cython/Cython/Compiler/Optimize.py615except UnicodeEncodeError:CODE
HIGHcontrib/tools/cython/Cython/Compiler/Optimize.py3864except:CODE
HIGHcontrib/tools/cython/Cython/Compiler/Optimize.py3941except (AttributeError, ValueError, UnicodeDecodeError):CODE
HIGHcontrib/tools/cython/Cython/Compiler/Optimize.py4842except (ValueError, TypeError, KeyError, IndexError, AttributeError, ArithmeticError):CODE
HIGHcontrib/tools/cython/Cython/Compiler/Options.py625except Exception:CODE
HIGHcontrib/tools/cython/Cython/Compiler/Symtab.py1482except KeyError:CODE
HIGHcontrib/tools/cython/Cython/Compiler/UtilityCode.py318except CompileError:CODE
HIGHcontrib/tools/cython/Cython/Compiler/TreePath.py178except ValueError:CODE
HIGHcontrib/tools/cython/Cython/Compiler/Code.py644except KeyError:CODE
HIGHcontrib/tools/cython/Cython/Compiler/Code.py1084except KeyError:CODE
HIGHcontrib/tools/cython/Cython/Compiler/Code.py2490except KeyError:CODE
37 more matches not shown…
Deep Nesting532 hits · 385 pts
SeverityFileLineSnippetContext
LOWconanfile.py22CODE
LOWtools/flake8_linter/__main__.py90CODE
LOWtools/cpp_style_checker/wrapper.py131CODE
LOWci/extract_release_changelog.py7CODE
LOWci/build_all.py147CODE
LOWlibrary/python/pytest/yatest_tools.py354CODE
LOWlibrary/python/pytest/main.py12CODE
LOWlibrary/python/pytest/plugins/ya.py505CODE
LOWlibrary/python/pytest/plugins/ya.py651CODE
LOWlibrary/python/pytest/plugins/ya.py652CODE
LOWlibrary/python/pytest/plugins/ya.py746CODE
LOWlibrary/python/pytest/plugins/conftests.py92CODE
LOWlibrary/python/pytest/plugins/fixtures.py11CODE
LOWlibrary/python/pytest/plugins/fixtures.py42CODE
LOWlibrary/python/port_manager/__init__.py104CODE
LOW…ython/testing/yatest_common/yatest/common/canonical.py15CODE
LOW…ython/testing/yatest_common/yatest/common/canonical.py27CODE
LOW…/python/testing/yatest_common/yatest/common/process.py476CODE
LOW…/python/testing/yatest_common/yatest/common/process.py323CODE
LOW…/python/testing/yatest_common/yatest/common/process.py324CODE
LOWlibrary/python/testing/import_test/import_test.py26CODE
LOWlibrary/python/testing/yatest_lib/ya.py30CODE
LOWlibrary/python/testing/yatest_lib/external.py18CODE
LOWlibrary/python/runtime_py3/__res.py66CODE
LOWlibrary/python/runtime_py3/__res.py446CODE
LOWlibrary/python/runtime_py3/__res.py548CODE
LOWlibrary/python/runtime_py3/__res.py588CODE
LOWlibrary/python/runtime_py3/__res.py629CODE
LOWlibrary/python/fs/__init__.py386CODE
LOWlibrary/python/fs/__init__.py405CODE
LOWlibrary/python/cores/__init__.py24CODE
LOWlibrary/python/cores/__init__.py46CODE
LOWlibrary/python/cores/__init__.py47CODE
LOWlibrary/python/func/__init__.py89CODE
LOWlibrary/python/func/__init__.py93CODE
LOWlibrary/python/func/__init__.py105CODE
LOWcontrib/tools/cython/.yandex_meta/__init__.py8CODE
LOWcontrib/tools/cython/Cython/TestUtils.py315CODE
LOWcontrib/tools/cython/Cython/Coverage.py204CODE
LOWcontrib/tools/cython/Cython/Coverage.py255CODE
LOWcontrib/tools/cython/Cython/Coverage.py313CODE
LOWcontrib/tools/cython/Cython/Utils.py282CODE
LOWcontrib/tools/cython/Cython/Utils.py433CODE
LOWcontrib/tools/cython/Cython/Utils.py593CODE
LOWcontrib/tools/cython/Cython/Shadow.py306CODE
LOWcontrib/tools/cython/Cython/Distutils/old_build_ext.py194CODE
LOWcontrib/tools/cython/Cython/Tests/TestShadow.py7CODE
LOWcontrib/tools/cython/Cython/Tests/TestShadow.py54CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py618CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py747CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py938CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py99CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py227CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py331CODE
LOWcontrib/tools/cython/Cython/Debugger/libcython.py322CODE
LOWcontrib/tools/cython/Cython/Debugger/libcython.py772CODE
LOWcontrib/tools/cython/Cython/Debugger/libcython.py870CODE
LOWcontrib/tools/cython/Cython/Debugger/libcython.py1198CODE
LOWcontrib/tools/cython/Cython/Debugger/libcython.py1282CODE
LOWcontrib/tools/cython/Cython/Debugger/libcython.py1323CODE
472 more matches not shown…
Unused Imports341 hits · 314 pts
SeverityFileLineSnippetContext
LOWutil/memory/ut_cython/test_memory.py3CODE
LOWutil/memory/ut_cython/test_memory.py3CODE
LOWutil/memory/ut_cython/test_memory.py3CODE
LOWutil/memory/ut_cython/test_memory.py5CODE
LOWutil/digest/ut_cython/test_digest.py3CODE
LOWutil/digest/ut_cython/test_digest.py3CODE
LOWutil/digest/ut_cython/test_digest.py3CODE
LOWutil/digest/ut_cython/test_digest.py5CODE
LOWutil/stream/ut_cython/test_stream.py3CODE
LOWutil/stream/ut_cython/test_stream.py3CODE
LOWutil/stream/ut_cython/test_stream.py3CODE
LOWutil/stream/ut_cython/test_stream.py5CODE
LOWutil/folder/ut_cython/test_folder.py3CODE
LOWutil/folder/ut_cython/test_folder.py3CODE
LOWutil/folder/ut_cython/test_folder.py3CODE
LOWutil/folder/ut_cython/test_folder.py5CODE
LOWutil/system/ut_cython/test_system.py3CODE
LOWutil/system/ut_cython/test_system.py3CODE
LOWutil/system/ut_cython/test_system.py3CODE
LOWutil/system/ut_cython/test_system.py5CODE
LOWutil/generic/ut_cython/test_generic.py3CODE
LOWutil/generic/ut_cython/test_generic.py3CODE
LOWutil/generic/ut_cython/test_generic.py3CODE
LOWutil/generic/ut_cython/test_generic.py5CODE
LOWutil/generic/ut_cython/test_generic.py6CODE
LOWutil/generic/ut_cython/test_generic.py7CODE
LOWutil/generic/ut_cython/test_generic.py8CODE
LOWutil/generic/ut_cython/test_generic.py9CODE
LOWutil/generic/ut_cython/test_generic.py10CODE
LOWutil/generic/ut_cython/test_generic.py11CODE
LOWutil/generic/ut_cython/test_generic.py12CODE
LOWutil/generic/ut_cython/test_generic.py13CODE
LOWutil/string/ut_cython/test_string.py3CODE
LOWutil/string/ut_cython/test_string.py3CODE
LOWutil/string/ut_cython/test_string.py3CODE
LOWutil/string/ut_cython/test_string.py5CODE
LOWutil/string/ut_cython/test_string.py5CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/strings/__init__.py3CODE
LOWlibrary/python/pytest/rewrite.py1CODE
LOWlibrary/python/pytest/rewrite.py2CODE
LOWlibrary/python/hnsw/ut/test.py1CODE
281 more matches not shown…
AI Slop Vocabulary87 hits · 249 pts
SeverityFileLineSnippetContext
MEDIUMutil/datetime/systime.cpp183//! Subject: A more robust timegm - msg#00010COMMENT
MEDIUMutil/charset/wide.h340//! @return len if robust and position where encoding stopped if notCOMMENT
MEDIUMutil/charset/wide.h398//! if not robust will stop at first error positionCOMMENT
MEDIUMlibrary/cpp/json/writer/json_value.h185 /// Non-robust comparison.COMMENT
MEDIUMlibrary/cpp/json/ordered_maps/json_value_ordered.h191 /// Non-robust comparison.COMMENT
MEDIUMlibrary/cpp/containers/compact_vector/compact_vector.h196 // so we try to allocate such memory block to fully utilize its capacityCOMMENT
MEDIUMlibrary/cpp/charset/wide.h185 // special implementation for robust utf8 functionsCOMMENT
LOWcontrib/tools/cython/Cython/Compiler/Symtab.py2343 # the type definition, so we just return the right entry.COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Naming.py6# Collected here to facilitate ensuring uniqueness.COMMENT
LOWcontrib/tools/cython/Cython/Compiler/Dataclass.py695 # __annotations__ dict, therefore it's safe to just returnSTRING
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py6799 # Essentially, if the signature matches PyObject_VectorcallMethodCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py7754 # Essentially it does:COMMENT
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7685 # simple case, just add all entriesCOMMENT
LOWcontrib/tools/cython/Cython/Compiler/Scanning.py701 # so just use __slots__ to keep it compact.COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/PyrexTypes.py55 # This is not entirely robust.COMMENT
MEDIUM⚡…ython/Cython/Compiler/Tests/TestParseTreeTransforms.py202# TODO: Re-enable once they're more robust.STRING
MEDIUMcontrib/tools/cython/Cython/Utility/Exceptions.c886 // DW - this is a horrendous hack, but I'm quite proud of it. EssentiallyCOMMENT
MEDIUM…trib/tools/cython_py2/Cython/Utility/ModuleSetupCode.c788 // (it'd be nice if there was a more robust way of looking these up)COMMENT
MEDIUMcontrib/tools/cython_py2/Cython/Utility/Exceptions.c980 // DW - this is a horrendous hack, but I'm quite proud of it. EssentiallyCOMMENT
MEDIUM…trib/restricted/abseil-cpp/absl/debugging/stacktrace.h27// Note: stack traces in Abseil that do not utilize a symbolizer will result inCOMMENT
MEDIUMcontrib/restricted/abseil-cpp/absl/meta/type_traits.h565// If it ever becomes possible to detect [[gsl::Owner]], we should leverage it:COMMENT
MEDIUMcontrib/restricted/abseil-cpp/absl/meta/type_traits.h635// If it ever becomes possible to detect [[gsl::Pointer]], we should leverageCOMMENT
MEDIUMcontrib/restricted/abseil-cpp/absl/meta/type_traits.h691// we should change the implementation to leverage that.COMMENT
MEDIUMcontrib/restricted/abseil-cpp/absl/log/absl_check.h27// compromise. It is also more robust and portable to deliberately terminateCOMMENT
MEDIUM…ricted/abseil-cpp/absl/random/bernoulli_distribution.h161 // greater than or equal to 1, the same would be true for `p`. Certainly `p`COMMENT
MEDIUMcontrib/restricted/abseil-cpp/absl/base/options.h39// Diamond dependency problems can be avoided if all packages utilize the sameCOMMENT
MEDIUM…trib/restricted/abseil-cpp/absl/base/internal/poison.h48 // Non-optimized builds may use more robust implementation. Note that we can'tCOMMENT
MEDIUM…icted/abseil-cpp-tstring/y_absl/debugging/stacktrace.h27// Note: stack traces in Abseil that do not utilize a symbolizer will result inCOMMENT
MEDIUM…estricted/abseil-cpp-tstring/y_absl/meta/type_traits.h604// If it ever becomes possible to detect [[gsl::Owner]], we should leverage it:COMMENT
MEDIUM…estricted/abseil-cpp-tstring/y_absl/meta/type_traits.h637// If it ever becomes possible to detect [[gsl::Pointer]], we should leverageCOMMENT
MEDIUM…estricted/abseil-cpp-tstring/y_absl/meta/type_traits.h657// we should change the implementation to leverage that.COMMENT
MEDIUM…/restricted/abseil-cpp-tstring/y_absl/log/absl_check.h27// compromise. It is also more robust and portable to deliberately terminateCOMMENT
MEDIUM…eil-cpp-tstring/y_absl/random/bernoulli_distribution.h161 // greater than or equal to 1, the same would be true for `p`. Certainly `p`COMMENT
MEDIUM…ib/restricted/abseil-cpp-tstring/y_absl/base/options.h39// Diamond dependency problems can be avoided if all packages utilize the sameCOMMENT
MEDIUM…icted/abseil-cpp-tstring/y_absl/base/internal/poison.h48 // Non-optimized builds may use more robust implementation. Note that we can'tCOMMENT
MEDIUM…googletest/googletest/include/gtest/gtest-death-test.h152// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUM…googletest/googletest/include/gtest/gtest-death-test.h224// In practice, this can be used to test functions that utilize theCOMMENT
MEDIUMcontrib/libs/intel/mkl/include/mkl_vsl_defines.h879// SS routine for robust estimation of variance-covariance matrixCOMMENT
MEDIUMcontrib/libs/intel/mkl/include/mkl_vsl_functions.h800// Editors to modify robust variance-covariance matrix related parametersCOMMENT
MEDIUMcontrib/libs/lcms2/src/cmsxform.c298 // Certainly, out of gamutCOMMENT
MEDIUMcontrib/libs/zeromq/src/gssapi_mechanism_base.hpp98 // If true, use gss to encrypt messages. If false, only utilize gss for auth.COMMENT
MEDIUMcontrib/libs/tbb/src/tbb/task_stream.h42//! Essentially, this is just a pair of a queue and a mutex to protect the queue.COMMENT
MEDIUMcontrib/libs/tbb/src/tbb/task_dispatcher.cpp116 // into. Therefore, no need to utilize mandatory concurrency here.COMMENT
MEDIUMcontrib/libs/eigen/Eigen/src/Core/ConditionEstimator.h128 // added to make the algorithm more robust in certain corner cases whereCOMMENT
MEDIUMcontrib/libs/eigen/Eigen/src/Core/arch/SSE/PacketMath.h123// to leverage AVX instructions.COMMENT
MEDIUMcontrib/libs/eigen/Eigen/src/Core/arch/SSE/Complex.h26// to leverage AVX instructions.COMMENT
MEDIUMcontrib/libs/eigen/Eigen/src/Core/arch/SSE/Complex.h259// to leverage AVX instructions.COMMENT
MEDIUMcontrib/libs/eigen/Eigen/src/Core/arch/AVX/PacketMath.h56// to leverage AVX512 instructions.COMMENT
MEDIUMcontrib/libs/eigen/Eigen/src/Core/arch/AVX/PacketMath.h638// NOTE: leverage _mm256_i32gather_ps and _mm256_i32gather_pd if AVX2 instructions are availableCOMMENT
MEDIUM…ia/cccl/libcudacxx/include/cuda/std/__complex/nvbf16.h219 // We can utilize vectorized operations for those operatorsCOMMENT
MEDIUM…ia/cccl/libcudacxx/include/cuda/std/__complex/nvfp16.h219 // We can utilize vectorized operations for those operatorsCOMMENT
MEDIUMcontrib/libs/re2/re2/prefilter_tree.h127 // These are all the nodes formed by Compile. Essentially, there isCOMMENT
MEDIUM…libs/flatbuffers/include/flatbuffers/vector_downward.h34// Essentially, this supports 2 std::vectors in a single buffer.COMMENT
MEDIUM⚡…rib/libs/cxxsupp/libcxx/include/__iterator/iter_swap.h46 // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUM⚡…rib/libs/cxxsupp/libcxx/include/__iterator/iter_swap.h56 // NOLINTBEGIN(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUM⚡…rib/libs/cxxsupp/libcxx/include/__iterator/iter_swap.h63 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUM…rib/libs/cxxsupp/libcxx/include/__iterator/iter_move.h43 // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUM…rib/libs/cxxsupp/libcxx/include/__iterator/iter_move.h62 // NOLINTBEGIN(libcpp-robust-against-adl) iter_move ADL calls should only be made through ranges::iter_moveCOMMENT
MEDIUM…rib/libs/cxxsupp/libcxx/include/__iterator/iter_move.h69 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUM…rib/libs/cxxsupp/libcxx/include/__compare/weak_order.h36 // NOLINTBEGIN(libcpp-robust-against-adl) weak_order should use ADL, but only hereCOMMENT
27 more matches not shown…
Decorative Section Separators67 hits · 202 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/tools/cython/Cython/Plex/Regexps.py174# -------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Plex/Regexps.py393# -------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Build/IpythonMagic.py38#-----------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Build/IpythonMagic.py44#-----------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Options.py665# ------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Options.py805# ------------------------------------------------------------------------STRING
MEDIUMcontrib/tools/cython/Cython/Compiler/Options.py809# ------------------------------------------------------------------------STRING
MEDIUMcontrib/tools/cython/Cython/Compiler/ModuleNode.py4238#------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ModuleNode.py4242#------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py746#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py750#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py811#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py815#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py820#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py824#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py829#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py834#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py903#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py907#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py915#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py925#------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py1095 #------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py1101 #------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py1118 #-------------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py1123 #-------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Parsing.py86#------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Parsing.py90#------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Parsing.py1666#-------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Parsing.py1670#-------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Parsing.py4749#----------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Parsing.py4753#----------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/ExprNodes.py1320#-------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/ExprNodes.py1324#-------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/ExprNodes.py8332#-------------------------------------------------------------------COMMENT
MEDIUM⚡contrib/tools/cython/Cython/Compiler/ExprNodes.py8336#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py2034#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py2038#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py2881#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py2885#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py3742#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py3746#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py3948#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py3952#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py4006#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py4010#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py11154#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py11158#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py12148#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py12152#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py14383#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py14392#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Scanning.py39#------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Scanning.py55#------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Scanning.py119#------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Scanning.py290#------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Nodes.py2287 # -------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Nodes.py2289 # -------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Nodes.py10763#------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Nodes.py10767#------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Nodes.py10787#------------------------------------------------------------------------------------STRING
7 more matches not shown…
Cross-Language Confusion19 hits · 100 pts
SeverityFileLineSnippetContext
HIGHcontrib/tools/cython/Cython/Build/IpythonMagic.py111 self.shell.push({k: mdict[k]})CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2366 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2391 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2421 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2547 "if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) {")CODE
HIGH⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py1087 EmptySlot("tp_vectorcall", ifdef="!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800"),CODE
HIGH⚡contrib/tools/cython/Cython/Compiler/TypeSlots.py1092 EmptySlot("tp_pypy_flags", ifdef="CYTHON_COMPILING_IN_PYPY && PY_VERSION_HEX >= 0x03090000 && PY_VERSION_HEXCODE
HIGHcontrib/tools/cython/Cython/Compiler/ExprNodes.py7160 f"{Naming.quick_temp_cname} == NULL && PyErr_Occurred()",CODE
HIGHcontrib/tools/cython/Cython/Compiler/ExprNodes.py11057 " exc_type != PyExc_StopIteration && exc_type != PyExc_GeneratorExit &&"CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py4379 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py4394 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {goto_error}")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py4545 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py4551 code.putln(f"if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[{i}])) {code.error_goto(self.pos)}")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py5832 code.putln("/* PY_VERSION_HEX >= 0x03090000 || Py_LIMITED_API >= 0x030B0000 */")CODE
HIGHcontrib/tools/cython/Cython/Compiler/Nodes.py5891 code.putln("if ((CYTHON_USE_TYPE_SLOTS && CYTHON_USE_PYTYPE_LOOKUP) &&"CODE
HIGHcatboost/python-package/ut/medium/test.py6391 assert results_fold_count.equals(results_nfold)CODE
HIGHcatboost/python-package/ut/medium/test.py6802 assert (right_scores.equals(iter_scores))CODE
HIGHcatboost/python-package/ut/medium/test_with_sklearn.py133 assert (right_scores.equals(splitter_class_scores))CODE
HIGHcatboost/python-package/catboost/core.py200 _custom_loggers_stack.push(log_cout, log_cerr)CODE
Excessive Try-Catch Wrapping87 hits · 84 pts
SeverityFileLineSnippetContext
LOWtools/black_linter/wrapper.py38 except Exception:CODE
MEDIUMtools/black_linter/wrapper.py35def run_black_safe(black_bin, filename, args):CODE
LOWlibrary/python/pytest/plugins/ya.py927 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/ya.py981 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/ya.py1098 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/collection.py87 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/collection.py118 except Exception:CODE
LOW…ython/testing/yatest_common/yatest/common/canonical.py51 except Exception:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py395 except Exception:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py434 except Exception:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py786 except Exception:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py793 except Exception as e:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py807 except Exception as exc:CODE
LOW…/python/testing/yatest_common/yatest/common/process.py821 except Exception as e:CODE
MEDIUM…/python/testing/yatest_common/yatest/common/process.py782def _nix_get_proc_children(pid):CODE
MEDIUM…/python/testing/yatest_common/yatest/common/process.py790def _get_binname(pid):CODE
MEDIUM…/python/testing/yatest_common/yatest/common/process.py803def try_to_send_signal(pid, sig):CODE
LOWlibrary/python/testing/import_test/import_test.py100 except Exception as e:CODE
LOWlibrary/python/testing/import_test/import_test.py183 except Exception:CODE
LOWlibrary/python/symbols/module/__init__.py45 except Exception:CODE
LOWlibrary/python/windows/ut/test_windows.py84 except Exception as e:CODE
MEDIUMlibrary/python/windows/ut/test_windows.py81def erroneous_func(errors):CODE
LOWlibrary/python/fs/__init__.py249 except Exception as e:CODE
MEDIUMlibrary/python/fs/__init__.py42def ensure_dir(path):CODE
LOWcontrib/tools/cython/Cython/TestUtils.py126 except Exception as exc:CODE
LOWcontrib/tools/cython/Cython/Distutils/old_build_ext.py32 except Exception:STRING
MEDIUMcontrib/tools/cython/Cython/Distutils/old_build_ext.py27def _check_stack(path):CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py312 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py324 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py347 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Debugger/Cygdb.py63 except Exception as ex:CODE
MEDIUMcontrib/tools/cython/Cython/Debugger/libpython.py265def safe_tp_name(self):CODE
MEDIUMcontrib/tools/cython/Cython/Debugger/libpython.py1344def safe_name(self):CODE
LOWcontrib/tools/cython/Cython/Debugger/libpython.py934 except Exception:CODE
LOWcontrib/tools/cython/Cython/Debugger/libpython.py1954 except Exception:CODE
LOW…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py42 except Exception:CODE
LOWcontrib/tools/cython/Cython/Build/Dependencies.py827 except Exception:CODE
LOWcontrib/tools/cython/Cython/Build/Dependencies.py1285 except Exception:STRING
LOWcontrib/tools/cython/Cython/Build/Dependencies.py1306 except Exception:STRING
MEDIUMcontrib/tools/cython/Cython/Compiler/Optimize.py4056def _find_special_codec_name(self, encoding):CODE
LOWcontrib/tools/cython/Cython/Compiler/Optimize.py4339 except Exception:CODE
LOWcontrib/tools/cython/Cython/Compiler/Options.py625 except Exception:CODE
LOWcontrib/tools/cython/Cython/Compiler/Visitor.py179 except Exception as e:CODE
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py2145def compile_time_value(self, denv):CODE
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py12157def matmul_operator(a, b):CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py1220 except Exception:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py4067 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py5548 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py5973 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py6039 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py6263 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7280 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7510 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7580 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7797 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py9066 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py9503 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py9647 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py9698 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py11196 except Exception as e:CODE
27 more matches not shown…
Hallucination Indicators8 hits · 75 pts
SeverityFileLineSnippetContext
CRITICAL…ib/tools/cython/Cython/Compiler/ParseTreeTransforms.py1813 name_node.entry = self.gen_node.def_node.gbody.local_scope.lookup(name_node.name)STRING
CRITICAL…c/main/scala/ai/catboost/spark/CatBoostPredictor.scala92 val catBoostJsonParams = ai.catboost.spark.params.Helpers.sparkMlParamsToCatBoostJsonParams(this)CODE
CRITICAL…c/main/scala/ai/catboost/spark/CatBoostPredictor.scala126 ai.catboost.spark.params.Helpers.checkParamsCompatibility(CODE
CRITICAL…c/main/scala/ai/catboost/spark/CatBoostPredictor.scala133 ai.catboost.spark.params.Helpers.checkParamsCompatibility(CODE
CRITICAL…/main/scala/ai/catboost/spark/CatBoostClassifier.scala386 JsonMethods.compact(ai.catboost.spark.params.Helpers.sparkMlParamsToCatBoostJsonParams(this)),CODE
CRITICAL…t/spark/impl/pyspark_wrapper_generator/Generator.scala134 return sc._jvm.java.time.Duration.ofMillis(obj // datetime.timedelta(milliseconds=1))CODE
CRITICAL…t/spark/impl/pyspark_wrapper_generator/Generator.scala604 java_obj = sc._jvm.ai.catboost.spark.Pool.load(CODE
CRITICAL…t/spark/impl/pyspark_wrapper_generator/Generator.scala607 (sc._jvm.java.nio.file.Paths.get(columnDescription, sc._gateway.new_array(sc._jvm.String, 0))CODE
Cross-File Repetition15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHlibrary/python/pytest/ut/conftest_non_local/conftest.py0this conftest should be counted an initial conftest, see https://docs.pytest.org/en/stable/how-to/writing_plugins.html#pSTRING
HIGH…pytest/ut/conftest_local/initial_conftests/conftest.py0this conftest should be counted an initial conftest, see https://docs.pytest.org/en/stable/how-to/writing_plugins.html#pSTRING
HIGH…/python/pytest/ut/conftest_non_local/tests/conftest.py0this conftest should be counted an initial conftest, see https://docs.pytest.org/en/stable/how-to/writing_plugins.html#pSTRING
HIGH…st/ut/conftest_local/initial_conftests/foo/conftest.py0this conftest should be counted an initial conftest, see https://docs.pytest.org/en/stable/how-to/writing_plugins.html#pSTRING
HIGH…st_export_to_python_with_cat_features_GPU-40_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH…est_export_to_python_with_cat_features_GPU-2_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH….test_export_to_python_no_cat_features_GPU-2_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH…_to_python_with_cat_features_from_pandas_GPU_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH…test_export_to_python_no_cat_features_GPU-40_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH…st_export_to_python_with_cat_features_CPU-40_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH…est_export_to_python_with_cat_features_CPU-2_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH….test_export_to_python_no_cat_features_CPU-2_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH…_to_python_with_cat_features_from_pandas_CPU_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH…test_export_to_python_no_cat_features_CPU-40_/model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
HIGH…s/model/model_export/resources/apply_catboost_model.py0applies the model built by catboost. parameters ---------- float_features : list of float features cat_features : list oSTRING
Structural Annotation Overuse42 hits · 72 pts
SeverityFileLineSnippetContext
LOWutil/system/execpath.h5// NOTE: This function has rare sporadic failures (throws exceptions) on FreeBSD. See REVIEW:54297COMMENT
LOWcontrib/tools/cython/Cython/Utility/TypeConversion.c466 // NOTE: This function decrefs 'number' if a conversion happens to replace the original object.COMMENT
LOWcontrib/tools/cython/Cython/Utility/TypeConversion.c515 // NOTE: This function decrefs 'number' if a conversion happens to replace the original object.COMMENT
LOWcontrib/restricted/abseil-cpp/absl/status/status.h545 // NOTE: This function should only be called when converting to an associatedCOMMENT
LOWcontrib/restricted/abseil-cpp/absl/status/status.h648 // NOTE: This function does nothing if the Status is ok.COMMENT
LOW…rib/restricted/abseil-cpp/absl/status/status_builder.h597 // NOTE: This function is `static` to prevent escaping the `this` pointer. WeCOMMENT
LOW…tricted/google/benchmark/include/benchmark/benchmark.h1248 // NOTE: This function should only be used when *exact* iteration control isCOMMENT
LOW…b/restricted/abseil-cpp-tstring/y_absl/status/status.h497 // NOTE: This function should only be called when converting to an associatedCOMMENT
LOW…b/restricted/abseil-cpp-tstring/y_absl/status/status.h588 // NOTE: This function does nothing if the Status is ok.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp172 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp179 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp241 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp423 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp668 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp198 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp206 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp265 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp358 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp707 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp177 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp239 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp421 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp666 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp205 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp264 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp357 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp706 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp177 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp239 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp421 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp666 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp205 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp264 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp357 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp706 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOWcontrib/libs/lzma/liblzma/common/stream_decoder_mt.c1816 // NOTE: This function gets/sets memlimit_stop. For now,COMMENT
LOWcontrib/libs/lzma/liblzma/common/index_hash.c182 // NOTE: This function has many similarities to index_encode() andCOMMENT
LOWcontrib/libs/lzma/liblzma/common/block_util.c50 // NOTE: This function is used for validation too, so it isCOMMENT
Verbosity Indicators35 hits · 62 pts
SeverityFileLineSnippetContext
LOWcontrib/tools/cython/Cython/Compiler/Optimize.py3057 # The purpose of this function is to handle calls to instance.__class__() so thatCOMMENT
LOW…ibs/nvidia/cccl/libcudacxx/include/cuda/__nvtx/nvtx3.h25/* This section handles the decision of whether to provide unversioned symbols.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp172 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp179 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp241 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp423 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp668 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp198 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp206 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp265 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp358 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp707 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp177 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp239 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp421 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp666 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp205 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp264 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp357 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp706 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp177 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp239 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp421 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp666 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡contrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp205 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp264 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp357 // Step 5: Print the decimal representation.COMMENT
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp706 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOWcontrib/libs/cxxsupp/openmp/kmp_affinity.cpp2289 // First, we need to check if cpuid(4) is supported on this chip. To see ifCOMMENT
LOWcontrib/libs/cxxsupp/openmp/kmp_affinity.cpp2381 // First, we need to check if cpuid(4) is supported on this chip. To see ifCOMMENT
LOWcontrib/libs/cxxsupp/openmp/kmp_collapse.cpp1734 // We found the chunk for this thread, now we need to check if it's theCOMMENT
Self-Referential Comments24 hits · 56 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/tools/cython/Cython/Tests/xmlrunner.py57 """This class is used to keep useful information about the execution of aSTRING
MEDIUMcontrib/tools/cython/Cython/Build/Dependencies.py851 # Create the new extensionCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ModuleNode.py2203 # This function is put into the sq_item slot whenCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Code.py1839 # Create a new globally-unique nice name for a C string constant.STRING
MEDIUMcontrib/tools/cython/Cython/Compiler/Code.py2226 # Create a downsized config struct and build code objects from it.STRING
MEDIUMcontrib/tools/cython/Cython/Compiler/Code.py3042 # Initialize these variables to silence compiler warningsSTRING
MEDIUM…ib/tools/cython/Cython/Compiler/ParseTreeTransforms.py2580 # Create a wrapper node if needed.STRING
MEDIUMcontrib/tools/cython/Cython/Compiler/Pipeline.py378 # Create a new wrapper for each step to show the name in profiles.COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py1003 # This method is called during the analyse_expressionsCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py6281 # Create a call node for C property access.COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py7912 # Create a temporary entry describing the unbound C method in `entry`COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py7969 # Create a corresponding NameNode from this node and complete theCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py10556 # Create a PyCodeObject for a CyFunction instance.COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/Nodes.py2122 # Initialize the return variable __pyx_rCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/PyrexTypes.py4934 # Create a reference type that we can use in the definitions of acquire and releaseCOMMENT
MEDIUMcontrib/libs/onnx/onnx/gen_proto.py212 # This file is generated by setup.py. DO NOT EDIT!COMMENT
MEDIUMcontrib/libs/onnx/onnx/onnx_operators_pb.py1# This file is generated by setup.py. DO NOT EDIT!COMMENT
MEDIUMcontrib/libs/onnx/onnx/onnx_data_pb.py1# This file is generated by setup.py. DO NOT EDIT!COMMENT
MEDIUMcontrib/libs/onnx/onnx/onnx_pb.py1# This file is generated by setup.py. DO NOT EDIT!COMMENT
MEDIUMcatboost/pytest/test.py6963# Create a few shuffles from list of test files, for use with `-t` option.COMMENT
MEDIUMcatboost/R-package/mk_package.py86 # Create the packageCOMMENT
MEDIUMcatboost/benchmarks/training_speed/data_loader.py1# This file is modified version of datasets.py.COMMENT
MEDIUMcatboost/benchmarks/training_speed/learners.py1# This file is modified version of benchmark.py.COMMENT
MEDIUMcatboost/benchmarks/training_speed/experiments.py1# This file is modified version of benchmark.py.COMMENT
AI Structural Patterns73 hits · 55 pts
SeverityFileLineSnippetContext
LOWci/build_all.py683CODE
LOWlibrary/python/hnsw/hnsw/hnsw.py218CODE
LOWlibrary/python/hnsw/hnsw/hnsw.py368CODE
LOW…ython/testing/yatest_common/yatest/common/canonical.py73CODE
LOW…ython/testing/yatest_common/yatest/common/canonical.py142CODE
LOW…/python/testing/yatest_common/yatest/common/process.py476CODE
LOW…/python/testing/yatest_common/yatest/common/process.py694CODE
LOW…/python/testing/yatest_common/yatest/common/process.py94CODE
LOWlibrary/python/testing/yatest_lib/ya.py30CODE
LOWcontrib/tools/cython/Cython/Shadow.py420CODE
LOWcontrib/tools/cython/Cython/Distutils/extension.py14CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py99CODE
LOWcontrib/tools/cython/Cython/Debugger/libpython.py757CODE
LOWcontrib/tools/cython/Cython/Debugger/libpython.py1121CODE
LOWcontrib/tools/cython/Cython/Debugger/libpython.py1230CODE
LOWcontrib/tools/cython/Cython/Debugger/libpython.py2100CODE
LOWcontrib/tools/cython/Cython/Build/Dependencies.py877CODE
LOWcontrib/tools/cython/Cython/Build/Dependencies.py1252CODE
LOWcontrib/tools/cython/Cython/Build/Inline.py148CODE
LOWcontrib/tools/cython/Cython/Compiler/Parsing.py2924CODE
LOWcontrib/tools/cython/Cython/Compiler/Parsing.py2965CODE
LOWcontrib/tools/cython/Cython/Compiler/Symtab.py921CODE
LOWcontrib/tools/cython/Cython/Compiler/Symtab.py1751CODE
LOWcontrib/tools/cython/Cython/Compiler/Symtab.py1800CODE
LOWcontrib/tools/cython/Cython/Compiler/Symtab.py2275CODE
LOWcontrib/tools/cython/Cython/Compiler/Symtab.py2652CODE
LOWcontrib/tools/cython/Cython/Compiler/Symtab.py2759CODE
LOWcontrib/tools/cython/Cython/Compiler/Symtab.py2880CODE
LOWcontrib/tools/cython/Cython/Compiler/Dataclass.py189CODE
LOWcontrib/tools/cython/Cython/Compiler/UtilityCode.py76CODE
LOWcontrib/tools/cython/Cython/Compiler/Code.py729CODE
LOWcontrib/tools/cython/Cython/Compiler/Code.py2618CODE
LOW…trib/tools/cython/Cython/Compiler/AutoDocTransforms.py56CODE
LOW…trib/tools/cython/Cython/Compiler/AutoDocTransforms.py62CODE
LOW…trib/tools/cython/Cython/Compiler/AutoDocTransforms.py146CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py6596CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py11945CODE
LOWcontrib/tools/cython/Cython/Compiler/Builtin.py36CODE
LOWcontrib/tools/cython/Cython/Compiler/Nodes.py3211CODE
LOWcontrib/tools/cython/Cython/Compiler/PyrexTypes.py3157CODE
LOWcontrib/libs/onnx/onnx/compose.py286CODE
LOWcontrib/libs/onnx/onnx/compose.py432CODE
LOWcontrib/libs/onnx/onnx/compose.py549CODE
LOWcontrib/libs/onnx/onnx/subbyte.py109CODE
LOWcontrib/libs/onnx/onnx/numpy_helper.py242CODE
LOWcatboost/python-package/catboost/core.py6846CODE
LOWcatboost/python-package/catboost/core.py6990CODE
LOWcatboost/python-package/catboost/core.py7159CODE
LOWcatboost/python-package/catboost/core.py637CODE
LOWcatboost/python-package/catboost/core.py1268CODE
LOWcatboost/python-package/catboost/core.py2642CODE
LOWcatboost/python-package/catboost/core.py2836CODE
LOWcatboost/python-package/catboost/core.py3324CODE
LOWcatboost/python-package/catboost/core.py3373CODE
LOWcatboost/python-package/catboost/core.py3475CODE
LOWcatboost/python-package/catboost/core.py3693CODE
LOWcatboost/python-package/catboost/core.py4146CODE
LOWcatboost/python-package/catboost/core.py4430CODE
LOWcatboost/python-package/catboost/core.py4505CODE
LOWcatboost/python-package/catboost/core.py4612CODE
13 more matches not shown…
Slop Phrases17 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUMlibrary/cpp/getopt/small/posix_getopt.h3// implementation of posix getopt using last getopt for demonstration purposesCOMMENT
MEDIUMcontrib/tools/cython/Cython/Build/IpythonMagic.py122 in the user's namespace, here is a simple example that returnsSTRING
LOWcontrib/tools/cython/Cython/Compiler/Code.py575 # Don't forget to add the last utility codeCOMMENT
MEDIUM…s/detail/hypergeometric_1F1_addition_theorems_on_z.hpp250 // I'm unable to find any situation where this series isn't divergent and thereforeCOMMENT
MEDIUMcontrib/libs/freetype/include/freetype/fterrors.h78 * Here is a simple example.COMMENT
MEDIUMcontrib/libs/freetype/include/freetype/freetype.h1385 * for demonstration purposes.COMMENT
LOW…trib/libs/freetype/include/freetype/internal/ftrfork.h35 /* Don't forget to increment the number if you add a new guessing rule. */COMMENT
LOWcontrib/libs/openjpeg/t2.c584 /* don't forget to release pi */COMMENT
MEDIUMcontrib/libs/libjpeg-turbo/src/turbojpeg.h1477 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMcontrib/libs/libjpeg-turbo/src/turbojpeg.h1538 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMcontrib/libs/libjpeg-turbo/src/turbojpeg.h1600 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMcontrib/libs/libjpeg-turbo/src/turbojpeg.h1790 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMcontrib/libs/libjpeg-turbo/src/turbojpeg.h1844 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMcontrib/libs/eigen/Eigen/src/Core/util/SymbolicIndex.h19 * Here is a simple example:COMMENT
MEDIUM…libs/eigen/Eigen/src/Core/arch/AltiVec/MatrixProduct.h110 * As mentioned earlier MatrixProduct breaks complex numbers into a real vector and a complex vector so packing hasCOMMENT
MEDIUM…oost/pytest/smoke_tests/classification_tutorial_cpu.py548#You can put all possible class values in the group or you can try setting only hard negatives if there are too many labCOMMENT
MEDIUM…est/smoke_tests/categorical_features_parameters_gpu.py612#* In **multiclassification** task we should keep in mind that usually, we do not have any natural order on classes so tCOMMENT
Modern Structural Boilerplate41 hits · 41 pts
SeverityFileLineSnippetContext
LOWtools/flake8_linter/__main__.py19logger = logging.getLogger(__name__)CODE
LOWtools/black_linter/wrapper.py12logger = logging.getLogger(__name__)CODE
LOWtools/ruff_linter/wrapper.py12logger = logging.getLogger(__name__)CODE
LOWutil/memory/ut_cython/test_memory.py10__all__ = [CODE
LOWutil/digest/ut_cython/test_digest.py10__all__ = [CODE
LOWutil/stream/ut_cython/test_stream.py10__all__ = [CODE
LOWutil/folder/ut_cython/test_folder.py10__all__ = [CODE
LOWutil/system/ut_cython/test_system.py10__all__ = [CODE
LOWutil/generic/ut_cython/test_generic.py18__all__ = [CODE
LOWutil/string/ut_cython/test_string.py10__all__ = [CODE
LOWlibrary/python/strings/strings.py9logger = logging.getLogger(__name__)CODE
LOWlibrary/python/port_manager/__init__.py14logger = logging.getLogger(__name__)CODE
LOWlibrary/python/hnsw/hnsw/__init__.py2__all__ = ['EDistance', 'EVectorComponentType', 'Pool', 'Hnsw', 'HnswException', 'transform_mobius', 'HnswEstimator', 'OCODE
LOWlibrary/python/filelock/__init__.py11logger = logging.getLogger(__name__)CODE
LOWlibrary/python/testing/yatest_common/yatest/__init__.py1__all__ = ["common"]CODE
LOWlibrary/python/testing/yatest_lib/external.py14logger = logging.getLogger(__name__)CODE
LOWlibrary/python/testing/filter/filter.py7logger = logging.getLogger(__name__)CODE
LOWlibrary/python/certifi/certifi/__init__.py8__all__ = ["where", "__version__"]CODE
LOWlibrary/python/windows/__init__.py14logger = logging.getLogger(__name__)CODE
LOWlibrary/python/fs/__init__.py17logger = logging.getLogger(__name__)CODE
LOWlibrary/python/tmp/__init__.py11logger = logging.getLogger(__name__)CODE
LOWlibrary/python/cores/__init__.py16logger = logging.getLogger(__name__)CODE
LOWcontrib/tools/cython/Cython/Tempita/_looper.py21__all__ = ['looper']CODE
LOWcontrib/tools/cython/Cython/Tempita/_tempita.py41__all__ = ['TemplateError', 'Template', 'sub', 'bunch']CODE
LOWcontrib/tools/cython/Cython/Debugger/Cygdb.py23logger = logging.getLogger(__name__)CODE
LOWcontrib/tools/cython/Cython/Build/__init__.py3__all__ = ["cythonize"]CODE
LOW…cted/google/benchmark/tools/compare/gbench/__init__.py8__all__ = [] # type: ignoreCODE
LOWcontrib/libs/onnx/onnx/__init__.py7__all__ = [CODE
LOWcontrib/libs/onnx/onnx/hub.py72def set_dir(new_dir: str) -> None:CODE
LOWcontrib/libs/onnx/onnx/helper.py355def set_model_props(model: ModelProto, dict_value: dict[str, str]) -> None:CODE
LOWcontrib/libs/onnx/onnx/serialization.py9__all__ = [CODE
LOWcontrib/libs/onnx/onnx/checker.py8__all__ = [CODE
LOWcontrib/libs/onnx/onnx/defs/__init__.py6__all__ = [CODE
LOWcatboost/pytest/lib/common_helpers.py14__all__ = [CODE
LOWcatboost/python-package/catboost/metrics.py22__all__ = []CODE
LOWcatboost/python-package/catboost/datasets.py14logger = logging.getLogger(__name__)CODE
LOWcatboost/python-package/catboost/__init__.py8__all__ = [CODE
LOWcatboost/python-package/catboost/core.py96logger = logging.getLogger(__name__)CODE
LOW…oost/python-package/catboost/widget/metrics_plotter.py12logger = logging.getLogger(__name__)CODE
LOW…oost/python-package/catboost/widget/metrics_plotter.py20 def update_data(self, data: tp.Dict) -> None:CODE
LOWcatboost/python-package/catboost/eval/__init__.py6__all__ = [CODE
AI Response Leakage4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHcontrib/libs/freetype/src/sdf/ftsdf.c2955 #error "corruption. If required I will add this later."COMMENT
HIGHcontrib/libs/eigen/Eigen/src/Core/arch/SSE/PacketMath.h547 // In this implementation, we take advantage of the fact that pmin/pmax for SSECOMMENT
HIGHcontrib/libs/eigen/Eigen/src/Core/arch/SSE/PacketMath.h556 // In this implementation, we take advantage of the fact that pmin/pmax for SSECOMMENT
HIGHcontrib/libs/libunwind/src/Unwind-EHABI.cpp469 // In this implementation, the phases don't share the VRS backing store.COMMENT
TODO Padding18 hits · 24 pts
SeverityFileLineSnippetContext
LOWlibrary/cpp/regex/pire/pire/scanners/multi.h602 // TODO: implement more effective serializationCOMMENT
LOWlibrary/cpp/charset/ci_string.h65 // TODO: implement properly in TString via enum ECaseSensitivityCOMMENT
LOWcontrib/tools/cython/Cython/Compiler/Parsing.py611 # TODO: implement a faster way to join tuples than creating each one and adding themCOMMENT
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7997 # TODO: implement writable C-properties?COMMENT
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py14003 # TODO: implement this for other types.COMMENT
LOWcontrib/tools/cython_py2/Cython/Utility/AsyncGen.c64 // TODO: implement finalizer support in older Python versionsCOMMENT
LOWcontrib/libs/tbb/include/oneapi/tbb/concurrent_queue.h148 //TODO: implement support for std::allocator_traits::propagate_on_container_copy_assignmentCOMMENT
LOWcontrib/libs/tbb/include/oneapi/tbb/concurrent_queue.h158 //TODO: implement support for std::allocator_traits::propagate_on_container_move_assignmentCOMMENT
LOWcontrib/libs/tbb/include/oneapi/tbb/concurrent_queue.h189 //TODO: implement support for std::allocator_traits::propagate_on_container_swapCOMMENT
LOWcontrib/libs/tbb/include/oneapi/tbb/concurrent_queue.h428 //TODO: implement support for std::allocator_traits::propagate_on_container_copy_assignmentCOMMENT
LOWcontrib/libs/tbb/include/oneapi/tbb/concurrent_queue.h439 //TODO: implement support for std::allocator_traits::propagate_on_container_move_assignmentCOMMENT
LOWcontrib/libs/tbb/include/oneapi/tbb/concurrent_queue.h471 //TODO: implement support for std::allocator_traits::propagate_on_container_swapCOMMENT
LOWcontrib/libs/mimalloc/src/options.c450// TODO: implement ourselves to reduce dependencies on the C runtimeCOMMENT
LOW…rib/libs/flatbuffers/include/flatbuffers/flexbuffers.h128// TODO: implement proper support for 8/16bit floats, or decide not toCOMMENT
LOWcontrib/libs/flatbuffers/src/reflection.cpp326 s += "(struct)"; // TODO: implement this as well.CODE
LOWcontrib/libs/flatbuffers/src/reflection.cpp354 return "[(elements)]"; // TODO: implement this as well.CODE
LOWcontrib/libs/flatbuffers/src/reflection.cpp355 case reflection::Union: return "(union)"; // TODO: implement this as well.CODE
LOWcontrib/libs/cxxsupp/openmp/kmp_dispatch.cpp2141// TODO: implement countCOMMENT
Example Usage Blocks16 hits · 24 pts
SeverityFileLineSnippetContext
LOW…tricted/abseil-cpp/absl/strings/resize_and_overwrite.h31// Example usage:COMMENT
LOW…ted/abseil-cpp/absl/strings/internal/generic_printer.h46// Example usage:COMMENT
LOW…ted/abseil-cpp/absl/strings/internal/generic_printer.h85// Example usage:COMMENT
LOW…rib/restricted/abseil-cpp/absl/synchronization/mutex.h180 // Example usage:COMMENT
LOWcontrib/restricted/abseil-cpp/absl/hash/internal/hash.h171// Example usage:COMMENT
LOW…cted/abseil-cpp/absl/debugging/internal/vdso_support.h30// Example usage:COMMENT
LOW…ib/restricted/abseil-cpp/absl/meta/internal/requires.h30// Example usage:COMMENT
LOW…restricted/abseil-cpp/absl/base/internal/raw_logging.h39// Usage example:COMMENT
LOW…cted/abseil-cpp-tstring/y_absl/synchronization/mutex.h168 // Example usage:COMMENT
LOW…tricted/abseil-cpp-tstring/y_absl/hash/internal/hash.h114// Example usage:COMMENT
LOW…l-cpp-tstring/y_absl/debugging/internal/vdso_support.h30// Example usage:COMMENT
LOW…/abseil-cpp-tstring/y_absl/base/internal/raw_logging.h39// Usage example:COMMENT
LOWcontrib/libs/linuxvdso/original/vdso_support.h48// Example usage:COMMENT
LOWcontrib/libs/tcmalloc/tcmalloc/internal/prefetch.h50// Example usage:COMMENT
LOWcontrib/libs/protobuf-mutator/src/mutator.h34// Usage example:COMMENT
LOWcatboost/jvm-packages/tools/build_native_for_maven.py6# How to use:COMMENT
Synthetic Comment Markers3 hits · 22 pts
SeverityFileLineSnippetContext
HIGH…estricted/boost/system/include/boost/system/config.hpp38// enable dynamic or static linking as requested --------------------------------------//COMMENT
HIGHcontrib/libs/linux-headers/linux/netlink.h67#define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */COMMENT
HIGH…cccl/libcudacxx/include/cuda/std/__utility/pod_tuple.h58// heavy-weight std::tuple protocol. This code was generated with the following macros,COMMENT
Fake / Example Data14 hits · 22 pts
SeverityFileLineSnippetContext
LOWcontrib/libs/jemalloc/src/prof_recent.c85 * "placeholder"; the real recording of the allocation requires a lockCOMMENT
LOWcontrib/libs/zstd/programs/lorem.h11/* lorem ipsum generator */COMMENT
LOWcontrib/libs/zstd/programs/lorem.h17 * Generate @size bytes of compressible data using lorem ipsum generatorCOMMENT
LOWcontrib/libs/zstd/programs/benchzstd.h128 * if @compressibility < 0.0, uses the lorem ipsum generatorCOMMENT
LOWcontrib/libs/zstd/programs/README.md133If no file is provided, the benchmark will use a procedurally generated "lorem ipsum" content.CODE
LOWcontrib/libs/zstd/programs/benchzstd.c1015 name = "Lorem ipsum";CODE
LOW⚡contrib/libs/zstd/programs/lorem.c13 * This is a very simple lorem ipsum generatorCOMMENT
LOW⚡contrib/libs/zstd/programs/lorem.c20 * The resulting compression / ratio curve of the lorem ipsum generatorCOMMENT
LOW⚡contrib/libs/zstd/programs/lorem.c25 * The compression ratio achievable on the generated lorem ipsumCOMMENT
LOWcontrib/libs/zstd/programs/lorem.c240/* It's "common" for lorem ipsum generators to start with the same firstCOMMENT
LOWcontrib/libs/zstd/programs/zstdcli.c872 double compressibility = -1.0; /* lorem ipsum generator */CODE
LOW⚡catboost/pytest/test.py9008 dummy_data = np.zeros((1, test_pool.num_col()))CODE
LOW⚡catboost/pytest/test.py9009 dummy_target = np.zeros(len(dummy_data))CODE
LOW⚡catboost/pytest/test.py9010 feature_stats = model.calc_feature_statistics(dummy_data, dummy_target, plot=False)CODE
Redundant / Tautological Comments11 hits · 14 pts
SeverityFileLineSnippetContext
LOWlibrary/python/pytest/module_utils.py38 # Check if path starts with parentCOMMENT
LOW…/python/testing/yatest_common/yatest/common/process.py565 # Open file or PIPE sentinel is suppliedCOMMENT
LOWlibrary/python/runtime_py3/__res.py636 # Check if file_path is a moduleCOMMENT
LOWlibrary/python/runtime_py3/__res.py640 # Check if file_path is a packageCOMMENT
LOWcontrib/tools/cython/Cython/StringIOTree.py128 # Print the result of allmarkers in a nice human-readable form. Use it only for debugging.STRING
LOWcontrib/tools/cython/Cython/Tests/xmlrunner.py368 # Print resultsCOMMENT
LOWcontrib/tools/cython/Cython/Debugger/Cygdb.py94 # Check if the Python executable provides a symbol table.COMMENT
LOW…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py535 # Check if the Python executable provides a symbol table.STRING
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py5021 # Assign indices to temps of at least (s)size_t to allow further index calculations.COMMENT
LOW…ricted/google/benchmark/tools/compare/gbench/report.py236 # Check if we failed miserably with minimum required repetitions for utestCOMMENT
LOWcontrib/libs/onnx/onnx/external_data_helper.py205 # Open file for reading and writing at random locations ('r+b')COMMENT
Dead Code5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMcontrib/tools/cython/Cython/Debugger/libpython.py2139CODE
MEDIUMcontrib/tools/cython/Cython/Debugger/libpython.py2141CODE
MEDIUM…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py449CODE
MEDIUM…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py456CODE
MEDIUM…/cython/Cython/Debugger/Tests/test_libcython_in_gdb.py457CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHcontrib/libs/onnx/onnx/serialization.py64Get a serializer for a format. Args: fmt: The format to get a serializer for. Returns: STRING