Repository Analysis

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.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of VowpalWabbit/vowpal_wabbit, a C++ project with 8,706 GitHub stars. SynthScan v2.0 examined 139,373 lines of code across 987 source files, recording 585 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 5.3 places this repository in the Low AI signal band.

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

5.3
Adjusted Score
5.3
Raw Score
100%
Time Factor
2026-08-26
Last Push
8.7K
Stars
C++
Language
139.4K
Lines of Code
987
Files
585
Pattern Hits
2026-08-29
Scan Date
0.02
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 3HIGH 15MEDIUM 45LOW 522

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 585 distinct pattern matches across 19 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 Block301 hits · 288 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
241 more matches not shown…
Hyper-Verbose Identifiers91 hits · 85 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
LOWpython/tests/test_pyvw.py578def test_runparser_cmd_string():STRING
LOWpython/tests/test_pyvw.py584def test_runparser_cmd_string_short():STRING
LOWpython/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
LOWpython/tests/test_DFtoVW.py22def test_no_label_rename_feature():CODE
LOWpython/tests/test_DFtoVW.py28def test_no_label_multiple_features():CODE
LOWpython/tests/test_DFtoVW.py36def test_namespace_with_value_but_no_name():CODE
LOWpython/tests/test_DFtoVW.py44def test_from_column_names_constructor():CODE
LOWpython/tests/test_DFtoVW.py52def test_from_column_names_no_label_constructor():CODE
LOWpython/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…
Decorative Section Separators27 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMdemo/recall_tree/wikipara/WikiExtractor.py18# =============================================================================COMMENT
MEDIUMdemo/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
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 Comments9 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMdemo/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/dotnet_nugets.yml176 # 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 Wrapping10 hits · 15 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
LOWpython/tests/e2e_v2/test_helper.py87 except Exception as error:CODE
LOWpython/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
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
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
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdemo/random-noise/distrib.r6# Usage:COMMENT
LOWutl/maven-central-bundle.sh10# Usage:COMMENT
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