AI Slop Code RIsk Monitor

VowpalWabbit/vowpal_wabbit

Vowpal Wabbit is a machine learning system which pushes the frontier of machine learning with techniques such as online, hashing, allreduce, reductions, learning2search, active, and interactive learning.

5.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for VowpalWabbit/vowpal_wabbit, a C++ project with 8,728 GitHub stars. SynthScan examined 142,218 lines of code across 1000 source files, recording 618 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 5.9 (Moderate 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.

5.9
Adjusted Signal
5.9
Raw Pattern Score
100%
Time Factor
2026-09-28
Last Push
8.7K
Stars
C++
Language
142.2K
Lines of Code
1.0K
Files
618
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 18.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.0/100 · LOW

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

Agent Over-Engineering Ratio 9.1/100 · LOW

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

PR Review Velocity Impact 27.1/100 · MEDIUM

Which changes need focused human review? 618 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 3HIGH 30MEDIUM 52LOW 533

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 618 distinct pattern matches across 20 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 Block310 hits · 298 pts
SeverityFileLineSnippetContext
LOWdemo/mnist/pixelngrams.cpp1#include <cmath>COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1#!/usr/bin/pythonCOMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py21# This file is part of Tanl.COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py81# The namespace used for module definitionsCOMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py141COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py581 # name is defined by their ordinal position (1, 2, 3, ...).COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py601 # "{{t|a|b|c|2=B}}" is equivalent to "{{t|a|B|c}}".COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py741 else:COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py761COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py881 # If double opening braces are followed by triple closing braces orCOMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1201 # Leading colon by itself implies main namespace, so strip this colonCOMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1441# """Expand templates invoking MediaWiki API"""COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1641# e1_img = re.compile("([%s]+)\\|(.*)" % tc, re.S | re.D)COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1661# charset = wgContLang.linkPrefixCharset()COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1681# line = text[cur:m.start()]COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1701# if m: # page with normal label or altCOMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1721# if m:COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1741COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1761# if might_be_img { # if this is actually an invalid linkCOMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1781# label += '[[' + next_lineCOMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1801# # [[Lista d''e paise d''o munno]] . <a href="...">Lista d''e paise d''o munno</a>COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1821# if ns == NS_FILE:COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1841COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1861# # LinkHolderArray::doVariants() to allow batching the existence checks necessaryCOMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1881COMMENT
LOWdemo/recall_tree/wikipara/WikiExtractor.py1981 # # removeHTMLtags()) should not be included inCOMMENT
LOWdemo/random-noise/x-vs-y.r1#!/usr/bin/Rscript --vanillaCOMMENT
LOWtest/repeat.py1import subprocessCOMMENT
LOWpython/vowpalwabbit/pyvw.py1981 # f = featureCOMMENT
LOWpython/docs/source/conf.py61#COMMENT
LOW…spanning_tree/include/vw/spanning_tree/spanning_tree.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/ccb_label.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/vw_math.h1#pragma onceCOMMENT
LOWvowpalwabbit/core/include/vw/core/example.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/table_formatter.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/cost_sensitive.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/parse_dispatch_loop.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/reduction_features.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/learner.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/learner.h101COMMENT
LOWvowpalwabbit/core/include/vw/core/learner.h121/// learner is created, the function objects are bound to the data object, and theCOMMENT
LOWvowpalwabbit/core/include/vw/core/learner.h161 /// \param i This is the offset used for the feature_width in this call. If usingCOMMENT
LOWvowpalwabbit/core/include/vw/core/parser.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/guard.h101 T _value_to_swap;COMMENT
LOWvowpalwabbit/core/include/vw/core/guard.h121/// }COMMENT
LOWvowpalwabbit/core/include/vw/core/guard.h141///COMMENT
LOWvowpalwabbit/core/include/vw/core/guard.h161/// do_thing_with_widget(my_widget);COMMENT
LOWvowpalwabbit/core/include/vw/core/guard.h181///COMMENT
LOWvowpalwabbit/core/include/vw/core/global_data.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/global_data.h21#include <array>COMMENT
LOWvowpalwabbit/core/include/vw/core/model_utils.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/vw.h21COMMENT
LOW…lwabbit/core/include/vw/core/array_parameters_sparse.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOW…it/core/include/vw/core/interaction_generation_state.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/interactions.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/thread_pool.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOW…bit/core/include/vw/core/confidence_sequence_utility.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOW…bit/core/include/vw/core/confidence_sequence_utility.h41COMMENT
LOWvowpalwabbit/core/include/vw/core/object_pool.h1// Copyright (c) by respective owners including Yahoo!, Microsoft, andCOMMENT
LOWvowpalwabbit/core/include/vw/core/object_pool.h21# pragma warning(disable : 5308) // C5308 in VS2022+COMMENT
250 more matches not shown…
Decorative Section Separators33 hits · 90 pts
SeverityFileLineSnippetContext
MEDIUM⚡demo/recall_tree/wikipara/WikiExtractor.py18# =============================================================================COMMENT
MEDIUM⚡demo/recall_tree/wikipara/WikiExtractor.py20# =============================================================================COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py4# =============================================================================COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py34# =============================================================================COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py63# ===========================================================================COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py137# =========================================================================COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py171# ------------------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py331# ======================================================================COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py443# ======================================================================COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py520 # ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py799# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1029# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1041# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1166# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1232# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1436# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1448# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1512# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1584# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1912# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py2026# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py2259# ------------------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py2331# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py2606# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py2658# ----------------------------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/DocGenerator.py5# -------------------------------------------------COMMENT
MEDIUMdemo/recall_tree/wikipara/DocGenerator.py7# -------------------------------------------------COMMENT
MEDIUMutl/post-release.sh57# ---------------------------------------------------------------------------COMMENT
MEDIUMutl/post-release.sh59# ---------------------------------------------------------------------------COMMENT
MEDIUMutl/post-release.sh73# ---------------------------------------------------------------------------COMMENT
MEDIUMutl/post-release.sh75# ---------------------------------------------------------------------------COMMENT
MEDIUMutl/post-release.sh87# ---------------------------------------------------------------------------COMMENT
MEDIUMutl/post-release.sh89# ---------------------------------------------------------------------------COMMENT
Hyper-Verbose Identifiers91 hits · 84 pts
SeverityFileLineSnippetContext
LOWtest/run_tests_model_gen_and_load.py88def try_get_workspace_or_none(CODE
LOWtest/run_tests_model_gen_and_load.py108def generate_model_and_weights(CODE
LOWtest/run_tests.py129 def wait_for_completion_get_success(self, id: int) -> bool:CODE
LOWtest/run_tests.py640def find_spanning_tree_binary(CODE
LOWtest/run_tests.py684def find_or_use_user_supplied_path(CODE
LOWtest/run_tests.py732def calculate_test_to_run_explicitly(CODE
LOWtest/run_tests.py757def convert_tests_for_flatbuffers(CODE
LOWtest/runtests_flatbuffer_converter.py56 def get_flatbuffer_file_names(self):CODE
LOWtest/runtests_flatbuffer_converter.py73 def replace_filename_in_stderr(self):CODE
LOWtest/tools/fuzzing/fuzz.py34def find_or_use_user_supplied_path(CODE
LOWpython/vowpalwabbit/pyvw.py323def get_label_class_from_enum(CODE
LOWpython/vowpalwabbit/dftovw.py976 def check_columns_type_and_values(self):CODE
LOWpython/tests/test_vwconfig.py5def helper_options_to_list_strings(config):CODE
LOWpython/tests/test_vwconfig.py62def test_experimental_option_value():CODE
LOWpython/tests/test_cb.py81def test_getting_started_example_cb():CODE
LOWpython/tests/test_cb.py85def test_getting_started_example_legacy_cb():CODE
LOWpython/tests/test_cb.py155def helper_getting_started_example(which_cb):CODE
LOWpython/tests/test_cb.py224def test_getting_started_example_with():CODE
LOWpython/tests/test_pyvw.py65def test_scalar_prediction_type():CODE
LOWpython/tests/test_pyvw.py74def test_scalars_prediction_type():CODE
LOWpython/tests/test_pyvw.py85def test_multiclass_prediction_type():CODE
LOWpython/tests/test_pyvw.py95def test_csoaa_ldf_scalars_prediction_type():CODE
LOWpython/tests/test_pyvw.py114def test_action_scores_prediction_type():CODE
LOWpython/tests/test_pyvw.py125def test_action_probs_prediction_type():CODE
LOWpython/tests/test_pyvw.py134def test_multilabel_prediction_type():CODE
LOWpython/tests/test_pyvw.py321def test_command_line_with_space_and_escape_kwargs():CODE
LOWpython/tests/test_pyvw.py335def test_command_line_using_arg_list():CODE
LOWpython/tests/test_pyvw.py357def test_command_line_with_double_space_in_str():CODE
LOWpython/tests/test_pyvw.py363def test_keys_with_list_of_values():CODE
LOWpython/tests/test_pyvw.py811def test_get_log_raises_when_logging_disabled():CODE
LOWpython/tests/test_pyvw.py821def test_get_driver_output_returns_training_stats():CODE
LOWpython/tests/test_pyvw.py836def test_get_driver_output_raises_when_logging_disabled():CODE
LOWpython/tests/test_pyvw.py846def test_get_log_output_returns_logger_messages():CODE
LOWpython/tests/test_pyvw.py857def test_get_log_output_raises_when_logging_disabled():CODE
LOWpython/tests/test_pyvw.py867def test_get_log_combines_channels():CODE
LOWpython/tests/test_pyvw.py884def test_get_log_preserves_empty_lines():CODE
LOWpython/tests/test_pyvw.py899def test_logging_with_cb_explore():CODE
LOWpython/tests/test_pyvw.py912def test_logging_average_loss_parseable():CODE
LOW⚡python/tests/test_pyvw.py578def test_runparser_cmd_string():STRING
LOW⚡python/tests/test_pyvw.py584def test_runparser_cmd_string_short():STRING
LOW⚡python/tests/test_pyvw.py590def test_not_runparser_cmd_string():STRING
LOWpython/tests/test_pyvw.py411def test_learn_predict_multiline():STRING
LOWpython/tests/test_pyvw.py495def test_example_namespace_id():STRING
LOWpython/tests/test_pyvw.py536def test_example_features_dict():STRING
LOWpython/tests/test_pyvw.py558def test_example_features_dict_long_long_index():STRING
LOWpython/tests/test_pyvw.py684def test_constructor_exception_is_safe():STRING
LOWpython/tests/test_pyvw.py735def test_merge_models_with_base():STRING
LOWpython/tests/test_pyvw.py778def test_get_explore_eval_stats():STRING
LOWpython/tests/test_pyvw.py796def test_get_log_returns_output():STRING
LOWpython/tests/test_ccb.py6def count_weights_from_readable_model_file_for_equiv_test(file_name):CODE
LOWpython/tests/test_ccb.py14def test_ccb_single_slot_and_cb_equivalence_no_slot_features():CODE
LOWpython/tests/test_ccb.py67def test_ccb_single_slot_and_cb_non_equivalence_with_slot_features():STRING
LOWpython/tests/test_ccb.py116def test_ccb_non_slot_none_outcome():STRING
LOW⚡python/tests/test_DFtoVW.py22def test_no_label_rename_feature():CODE
LOW⚡python/tests/test_DFtoVW.py28def test_no_label_multiple_features():CODE
LOW⚡python/tests/test_DFtoVW.py36def test_namespace_with_value_but_no_name():CODE
LOW⚡python/tests/test_DFtoVW.py44def test_from_column_names_constructor():CODE
LOW⚡python/tests/test_DFtoVW.py52def test_from_column_names_no_label_constructor():CODE
LOW⚡python/tests/test_DFtoVW.py60def test_feature_column_renaming_and_tag():CODE
LOWpython/tests/test_DFtoVW.py102def test_dirty_colname_feature():CODE
31 more matches not shown…
Empty Error Handlers15 hits · 75 pts
SeverityFileLineSnippetContext
HIGHsetup.py148except (ImportError, AttributeError):CODE
HIGHtest/tools/fuzzing/fuzz.py117except FileExistsError:CODE
HIGHtest/tools/fuzzing/fuzz.py123except FileExistsError:CODE
HIGHpython/vowpalwabbit/dftovw.py926except AttributeError:CODE
HIGHpython/vowpalwabbit/dftovw.py934except AttributeError:CODE
HIGHpython/tests/test_pyvw.py687except:CODE
HIGHpython/tests/test_pyvw.py933except ValueError:CODE
HIGHpython/tests/conftest.py16except RuntimeError:CODE
HIGHpython/tests/e2e_v2/test_helper.py38except ImportError:CODE
HIGHpython/tests/e2e_v2/test_helper.py40except AttributeError:CODE
HIGHpython/tests/e2e_v2/test_helper.py53except ImportError:CODE
HIGHpython/tests/e2e_v2/test_helper.py55except AttributeError:CODE
HIGHpython/tests/e2e_v2/test_core.py88except (FileNotFoundError, OSError):CODE
HIGHpython/tests/e2e_v2/assert_job.py103except:CODE
HIGHutl/vw-hyperopt.py511except:CODE
Deep Nesting55 hits · 50 pts
SeverityFileLineSnippetContext
LOWsetup.py101CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py803CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py875CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py1321CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py1515CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py1592CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py2155CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py2338CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py2409CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py2664CODE
LOWdemo/recall_tree/wikipara/DocGenerator.py10CODE
LOWdemo/cats/utility/preprocess_data.py13CODE
LOWdemo/cats/utility/get_offline_results.py49CODE
LOWdemo/cats/utility/get_online_results.py42CODE
LOWdemo/cats/utility/get_online_results.py146CODE
LOWdemo/cats/utility/get_online_results.py164CODE
LOWdemo/dependencyparsing/evaluate.py63CODE
LOWdemo/ocr/ocr2vw.py20CODE
LOWdemo/advertising/naive_baseline.py24CODE
LOWtest/run_tests_model_gen_and_load.py233CODE
LOWtest/run_tests_model_gen_and_load.py363CODE
LOWtest/save_resume_test.py51CODE
LOWtest/run_tests.py57CODE
LOWtest/run_tests.py223CODE
LOWtest/run_tests.py382CODE
LOWtest/run_tests.py398CODE
LOWtest/run_tests.py916CODE
LOWtest/run_tests.py1015CODE
LOWtest/run_tests.py60CODE
LOWtest/runtest_coverage.py42CODE
LOWtest/runtest_coverage.py52CODE
LOWtest/runtest_coverage.py62CODE
LOWtest/tools/fuzzing/fuzz.py17CODE
LOWtest/tools/fuzzing/fuzz.py74CODE
LOWpython/vowpalwabbit/pyvw.py616CODE
LOWpython/vowpalwabbit/pyvw.py730CODE
LOWpython/vowpalwabbit/pyvw.py901CODE
LOWpython/vowpalwabbit/pyvw.py1623CODE
LOWpython/vowpalwabbit/pyvw.py904CODE
LOWpython/vowpalwabbit/sklearn.py686CODE
LOWpython/tests/test_vwconfig.py5CODE
LOWpython/tests/test_vwconfig.py62CODE
LOWpython/tests/test_pyvw.py912CODE
LOWpython/tests/distributionally_robust_data.py6CODE
LOWpython/tests/test_tutorial.py48CODE
LOWpython/tests/crminustwo.py244CODE
LOWpython/tests/e2e_v2/test_core.py50CODE
LOWpython/tests/e2e_v2/cb_cont/reward_functions.py9CODE
LOWpython/tests/e2e_v2/cb/data_generation.py13CODE
LOWpython/tests/e2e_v2/cb/reward_functions.py9CODE
LOWbig_tests/testCode/ocr2vw.py21CODE
LOWutl/active_interactor.py221CODE
LOWutl/vw-hyperopt.py120CODE
LOWutl/vw-hyperopt.py208CODE
LOWutl/vw-hyperopt.py399CODE
Unused Imports53 hits · 48 pts
SeverityFileLineSnippetContext
LOWdemo/recall_tree/wikipara/WikiExtractor.py51CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py58CODE
LOWdemo/recall_tree/wikipara/WikiExtractor.py58CODE
LOWdemo/recall_tree/wikipara/makeparadata.py9CODE
LOWdemo/recall_tree/wikipara/DocGenerator.py3CODE
LOWdemo/advertising/naive_baseline.py3CODE
LOWdemo/dbpedia/eval.py3CODE
LOWtest/run_tests_model_gen_and_load.py28CODE
LOWtest/run_tests_model_gen_and_load.py28CODE
LOWtest/run_tests_model_gen_and_load.py28CODE
LOWtest/run_tests_model_gen_and_load.py28CODE
LOWtest/run_tests_model_gen_and_load.py28CODE
LOWtest/run_tests_model_gen_and_load.py28CODE
LOWtest/run_tests_model_gen_and_load.py28CODE
LOWtest/tools/fuzzing/fuzz.py5CODE
LOWtest/tools/fuzzing/fuzz.py6CODE
LOWpython/vowpalwabbit/pyvw.py4CODE
LOWpython/vowpalwabbit/__init__.py70CODE
LOWpython/vowpalwabbit/__init__.py77CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/__init__.py78CODE
LOWpython/vowpalwabbit/sklearn_vw.py10CODE
LOWpython/vowpalwabbit/sklearn.py9CODE
LOWpython/tests/conftest.py11CODE
LOWpython/tests/distributionally_robust_data.py129CODE
LOWpython/tests/distributionally_robust_data.py166CODE
LOWpython/tests/test_distributionally_robust.py2CODE
LOWpython/tests/test_distributionally_robust.py2CODE
LOWpython/docs/source/conf.py12CODE
LOWvowpalwabbit/core/tests/hyperopt_test.py2CODE
Docstring Block Structure8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHpython/vowpalwabbit/pyvw.py297Get specified type of prediction from example .. deprecated:: 9.0.0 Use :py:meth:`~vowpalwabbit.Example.getSTRING
HIGHpython/vowpalwabbit/pyvw.py552Returns a collection of examples for a multiline example learner or a single example for a single example learneSTRING
HIGHpython/vowpalwabbit/pyvw.py2067Get prediction object from this example. Args: prediction_type: - If None, the labeSTRING
HIGHpython/vowpalwabbit/sklearn.py748Predict probabilities for each class. Args: X : {array-like, sparse matrix}, shape = (n_samples, n_STRING
HIGHpython/vowpalwabbit/sklearn.py792Convert array or sparse matrix to Vowpal Wabbit format Args: x : {array-like, sparse matrix}, shape (n_samSTRING
HIGHpython/vowpalwabbit/dftovw.py61Returns the column defined in attribute 'colname' from the dataframe 'df'. Args: df: The dataframe STRING
HIGHpython/vowpalwabbit/dftovw.py724Build DFtoVW instance using column names only. .. deprecated:: 9.2.0 Use :meth:`DFtoVW.fromSTRING
HIGHpython/vowpalwabbit/dftovw.py773Build DFtoVW instance using column names only. Compared to :meth:`DFtoVW.from_colnames`, this method allows for y and laSTRING
Synthetic Comment Markers5 hits · 38 pts
SeverityFileLineSnippetContext
HIGHcs/cs/Properties/AssemblyInfo.cs3// This code was generated by a tool.COMMENT
HIGHcs/cs_console/Properties/AssemblyInfo.cs3// This code was generated by a tool.COMMENT
HIGHcs/common/Properties/AssemblyInfo.cs3// This code was generated by a tool.COMMENT
HIGHcs/cs_json/Properties/AssemblyInfo.cs3// This code was generated by a tool.COMMENT
HIGHcs/cs_parallel/Properties/AssemblyInfo.cs3// This code was generated by a tool.COMMENT
Self-Referential Comments10 hits · 33 pts
SeverityFileLineSnippetContext
MEDIUM⚡demo/recall_tree/wikipara/WikiExtractor.py21# This file is part of Tanl.COMMENT
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py1400 # This function is used in some pages to construct linksCOMMENT
MEDIUMtest/repeat.py5# This file is used to test some race conditions.COMMENT
MEDIUMtest/tools/fuzzing/fuzz.py120 # Create a temporary working directory for any output files VW producesCOMMENT
MEDIUMpython/vowpalwabbit/pyvw.py2158 # Create the merged vw object and wrap it in a WorkspaceCOMMENT
MEDIUMpython/tests/e2e_v2/test_helper.py19 # Create a dictionary to hold the variable valuesCOMMENT
MEDIUM⚡…ests/e2e_v2/classification/classification_functions.py8 # Define the number of divisions for each featureCOMMENT
MEDIUM.github/workflows/release.yml3# Creating the GitHub release was a manual step, and 9.11.3 is what that costs: the versionCOMMENT
MEDIUM.github/workflows/dotnet_nugets.yml222 # Create the combined package on WindowsCOMMENT
MEDIUMutl/active_interactor.py265 # Create a socketCOMMENT
Hallucination Indicators3 hits · 30 pts
SeverityFileLineSnippetContext
CRITICALcs/vw.net/VowpalWabbitBase.cs118 byte[] argumentsBytes = Vw.Net.Native.NativeMethods.StringEncoding.GetBytes(arguments);CODE
CRITICALcs/vw.net/VowpalWabbitBase.cs359 byte[] argumentsBytes = Vw.Net.Native.NativeMethods.StringEncoding.GetBytes(args);CODE
CRITICALcs/vw.net/VowpalWabbitBase.cs398 byte[] filenameBytes = Vw.Net.Native.NativeMethods.StringEncoding.GetBytes(filename);CODE
Excessive Try-Catch Wrapping11 hits · 16 pts
SeverityFileLineSnippetContext
LOWdemo/cats/utility/srm.py106 except Exception as err:CODE
LOWtest/run_tests_model_gen_and_load.py225 except Exception as e:CODE
LOWtest/run_tests.py885 except Exception as e:CODE
LOWtest/run_tests.py1316 except Exception:CODE
LOW⚡python/tests/e2e_v2/test_helper.py87 except Exception as error:CODE
LOW⚡python/tests/e2e_v2/test_helper.py102 except Exception as error:CODE
MEDIUM…hon/docs/cmd_options_template/generate_cmdline_docs.py51 print(f"Error: extra_info['options'] keys not used: {unused_options}")CODE
MEDIUM…hon/docs/cmd_options_template/generate_cmdline_docs.py56 print(f"Error: extra_info['groups'] keys not used: {unused_groups}")CODE
LOWutl/verify-release.py104 except Exception:CODE
MEDIUMutl/version_number.py16 debug_print("Error: Git repository is shallow!")CODE
MEDIUMutl/version_number.py32 debug_print("Error: 'git describe' output did not match regex!")CODE
AI Slop Vocabulary4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMvowpalwabbit/core/include/vw/core/gen_cs_example.h156 // this implements the doubly robust methodCOMMENT
MEDIUM…palwabbit/core/include/vw/core/reductions/cb/cb_algs.h63// doubly robust estimateCOMMENT
MEDIUM…palwabbit/core/include/vw/core/reductions/cb/cb_algs.h84// doubly robust estimateCOMMENT
MEDIUMcs/cs_json/Serializer/JsonTypeInspector.cs135 // leverage optimized pathCOMMENT
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHdemo/recall_tree/wikipara/WikiExtractor.py1863# if ns != NS_SPECIAL and nt.equals(self.mTitle) and !nt.hasFragment():COMMENT
HIGHpython/tests/test_ccb.py256 assert q_weights.equals(automl_champ_weights)STRING
Redundant / Tautological Comments6 hits · 8 pts
SeverityFileLineSnippetContext
LOWdemo/recall_tree/wikipara/WikiExtractor.py1357 # Check if the last item had no = sign, thus specifying the default caseCOMMENT
LOWtest/sender_test.py61 # Check if daemon failed.COMMENT
LOWpython/tests/e2e_v2/assert_job.py21 # Check if the majority of elements are closeCOMMENT
LOWpython/tests/e2e_v2/slate/assert_job.py6 # Check if the majority of elements are closeCOMMENT
LOWpython/docs/source/conf.py172 # Check if we have a non-ipynb file, but an ipynb of same name existsCOMMENT
LOWscripts/arm_diagnostic.sh20# Check if we're on ARM64COMMENT
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWdemo/random-noise/distrib.r6# Usage:COMMENT
LOWutl/maven-central-bundle.sh10# Usage:COMMENT
LOWutl/post-release.sh12# Usage:COMMENT
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpython/vowpalwabbit/sklearn.py63CODE
LOWpython/vowpalwabbit/dftovw.py368CODE
LOWpython/vowpalwabbit/dftovw.py421CODE
LOWpython/tests/e2e_v2/test_helper.py26CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpython/vowpalwabbit/pyvw.py1763 def set_label_string(self, string: str) -> None:CODE
LOWpython/vowpalwabbit/__init__.py43__all__ = [CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMpython/tests/test_sklearn_vw.py70CODE
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtest/tools/fuzzing/fuzz.py16# in one, make sure to update the otherCOMMENT
TODO Padding1 hit · 1 pts
SeverityFileLineSnippetContext
LOWutl/vw-hyperopt.py445 ): # TODO: implement parallel search with MongoTrialsCODE