Repository Analysis

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.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of catboost/catboost, a C++ project with 9,025 GitHub stars. SynthScan v2.0 examined 5,051,149 lines of code across 21317 source files, recording 24547 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 4.7 places this repository in the Likely human-written 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).

4.7
Adjusted Score
4.7
Raw Score
100%
Time Factor
2026-07-12
Last Push
9.0K
Stars
C++
Language
5.1M
Lines of Code
21.3K
Files
24.5K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

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

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

Severity Breakdown

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

CRITICAL 8HIGH 42MEDIUM 206LOW 24291

Directory Score Breakdown

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

Pattern Findings

The scanner identified 24547 distinct pattern matches across 24 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.

Over-Commented Block21367 hits · 20577 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
LOWCPP_STYLE_GUIDE.md501COMMENT
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
21307 more matches not shown…
Hyper-Verbose Identifiers1720 hits · 1223 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_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.py149 def pytest_ya_summarize_error(self, report):CODE
LOWlibrary/python/pytest/plugins/ya.py154def pytest_ya_summarize_error(report):CODE
LOWlibrary/python/pytest/plugins/ya.py332def _graceful_shutdown_on_log(should_exit):CODE
LOWlibrary/python/pytest/plugins/ya.py473def pytest_collection_modifyitems(items, config):CODE
LOWlibrary/python/pytest/plugins/ya.py608def pytest_runtest_makereport(item, call):CODE
LOWlibrary/python/pytest/plugins/ya.py650def 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
LOWlibrary/python/pytest/plugins/conftests.py92def pytest_load_initial_conftests(early_config):CODE
LOWlibrary/python/pytest/plugins/conftests.py133 def _ya_register_non_initial_conftests():CODE
LOWlibrary/python/pytest/plugins/conftests.py144 def _ya_register_non_initial_conftests():CODE
LOWlibrary/python/hnsw/ut/test.py79def test_work_with_empty_index():CODE
LOWlibrary/python/hnsw/ut/test.py87def test_index_with_empty_storage():CODE
LOWlibrary/python/hnsw/ut/test.py94def test_index_with_storage_of_one():CODE
1660 more matches not shown…
Deep Nesting532 hits · 388 pts
SeverityFileLineSnippetContext
LOWconanfile.py23CODE
LOWtools/flake8_linter/__main__.py90CODE
LOWtools/cpp_style_checker/wrapper.py66CODE
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.py473CODE
LOWlibrary/python/pytest/plugins/ya.py608CODE
LOWlibrary/python/pytest/plugins/ya.py108CODE
LOWlibrary/python/pytest/plugins/ya.py609CODE
LOWlibrary/python/pytest/plugins/ya.py703CODE
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
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 · 252 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.py6798 # Essentially, if the signature matches PyObject_VectorcallMethodCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py7753 # Essentially it does:COMMENT
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7684 # simple case, just add all entriesCOMMENT
LOWcontrib/tools/cython/Cython/Compiler/Scanning.py692 # 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.h564// If it ever becomes possible to detect [[gsl::Owner]], we should leverage it:COMMENT
MEDIUMcontrib/restricted/abseil-cpp/absl/meta/type_traits.h608// If it ever becomes possible to detect [[gsl::Pointer]], we should leverageCOMMENT
MEDIUMcontrib/restricted/abseil-cpp/absl/meta/type_traits.h633// 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.h852// SS routine for robust estimation of variance-covariance matrixCOMMENT
MEDIUMcontrib/libs/intel/mkl/include/mkl_vsl_functions.h779// 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 · 213 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.py4235#------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ModuleNode.py4239#------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py746#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py750#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py811#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py815#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py820#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py824#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py829#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py834#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py903#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py907#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py915#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py925#------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py1095 #------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py1101 #------------------------------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/TypeSlots.py1118 #-------------------------------------------------------------------------COMMENT
MEDIUMcontrib/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
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py1319#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py1323#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py8331#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py8335#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py2033#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py2037#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py2880#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py2884#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py3741#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py3745#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py3947#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py3951#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py4005#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py4009#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py11156#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py11160#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py12150#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py12154#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py14385#-------------------------------------------------------------------COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py14394#-------------------------------------------------------------------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.py281#------------------------------------------------------------------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.py2363 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2388 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2418 code.putln("if (likely(ret && ret != Py_NotImplemented)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/ModuleNode.py2544 "if (!v && PyErr_ExceptionMatches(PyExc_AttributeError)) {")CODE
HIGHcontrib/tools/cython/Cython/Compiler/TypeSlots.py1087 EmptySlot("tp_vectorcall", ifdef="!CYTHON_COMPILING_IN_PYPY || PYPY_VERSION_NUM >= 0x07030800"),CODE
HIGHcontrib/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.py7159 f"{Naming.quick_temp_cname} == NULL && PyErr_Occurred()",CODE
HIGHcontrib/tools/cython/Cython/Compiler/ExprNodes.py11059 " 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.py6288 assert results_fold_count.equals(results_nfold)CODE
HIGHcatboost/python-package/ut/medium/test.py6699 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.py192 _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.py884 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/ya.py938 except Exception as e:CODE
LOWlibrary/python/pytest/plugins/ya.py1055 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
LOWcontrib/tools/cython/Cython/Debugger/libpython.py934 except Exception:CODE
LOWcontrib/tools/cython/Cython/Debugger/libpython.py1954 except Exception:CODE
MEDIUMcontrib/tools/cython/Cython/Debugger/libpython.py265def safe_tp_name(self):CODE
MEDIUMcontrib/tools/cython/Cython/Debugger/libpython.py1344def safe_name(self):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.py4051def _find_special_codec_name(self, encoding):CODE
LOWcontrib/tools/cython/Cython/Compiler/Optimize.py4334 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.py2144def compile_time_value(self, denv):CODE
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py12159def matmul_operator(a, b):CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py1219 except Exception:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py4066 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py5547 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py5972 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py6038 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py6262 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7279 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7509 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7579 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py7796 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py9068 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py9505 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py9649 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py9700 except Exception as e:CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py11198 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.h523 // NOTE: This function should only be called when converting to an associatedCOMMENT
LOWcontrib/restricted/abseil-cpp/absl/status/status.h614 // 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
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp172 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp198 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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.c1811 // 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
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/f2s.cpp172 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxx/src/ryu/d2s.cpp198 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxxmsvc/src/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/f2s.cpp170 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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
LOWcontrib/libs/cxxsupp/libcxxcuda11/src/ryu/d2s.cpp197 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWcontrib/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 · 58 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.py2200 # 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.py3035 # 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.py1002 # This method is called during the analyse_expressionsCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py6280 # Create a call node for C property access.COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py7911 # Create a temporary entry describing the unbound C method in `entry`COMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py7968 # Create a corresponding NameNode from this node and complete theCOMMENT
MEDIUMcontrib/tools/cython/Cython/Compiler/ExprNodes.py10558 # 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 · 56 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.py2611CODE
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.py6595CODE
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py11947CODE
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.py6746CODE
LOWcatboost/python-package/catboost/core.py6890CODE
LOWcatboost/python-package/catboost/core.py7056CODE
LOWcatboost/python-package/catboost/core.py608CODE
LOWcatboost/python-package/catboost/core.py1239CODE
LOWcatboost/python-package/catboost/core.py2590CODE
LOWcatboost/python-package/catboost/core.py2784CODE
LOWcatboost/python-package/catboost/core.py3260CODE
LOWcatboost/python-package/catboost/core.py3309CODE
LOWcatboost/python-package/catboost/core.py3411CODE
LOWcatboost/python-package/catboost/core.py3629CODE
LOWcatboost/python-package/catboost/core.py4082CODE
LOWcatboost/python-package/catboost/core.py4366CODE
LOWcatboost/python-package/catboost/core.py4441CODE
LOWcatboost/python-package/catboost/core.py4548CODE
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.h597 // 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.py7996 # TODO: implement writable C-properties?COMMENT
LOWcontrib/tools/cython/Cython/Compiler/ExprNodes.py14005 # 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
LOWcontrib/libs/zstd/programs/lorem.c13 * This is a very simple lorem ipsum generatorCOMMENT
LOWcontrib/libs/zstd/programs/lorem.c20 * The resulting compression / ratio curve of the lorem ipsum generatorCOMMENT
LOWcontrib/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
LOWcatboost/pytest/test.py9008 dummy_data = np.zeros((1, test_pool.num_col()))CODE
LOWcatboost/pytest/test.py9009 dummy_target = np.zeros(len(dummy_data))CODE
LOWcatboost/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.py5020 # 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