AI Slop Code RIsk Monitor

tqdm/tqdm

:zap: A Fast, Extensible Progress Bar for Python and CLI

35.2 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for tqdm/tqdm, a Python project with 31,353 GitHub stars. SynthScan examined 10,576 lines of code across 94 source files, recording 212 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 35.2 (High 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.

35.2
Adjusted Signal
35.2
Raw Pattern Score
100%
Time Factor
2026-10-05
Last Push
31.4K
Stars
Python
Language
10.6K
Lines of Code
94
Files
212
Pattern Hits
2026-10-12
Scan Date
0.37
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 36.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 39.1/100 · MEDIUM

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

Agent Over-Engineering Ratio 66.9/100 · HIGH

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

PR Review Velocity Impact 85.1/100 · CRITICAL

Which changes need focused human review? 212 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 0HIGH 35MEDIUM 8LOW 169

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 212 distinct pattern matches across 12 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.

Empty Error Handlers22 hits · 110 pts
SeverityFileLineSnippetContext
HIGHtqdm/std.py70except (ImportError, OSError): # pragma: no coverCODE
HIGHtqdm/std.py570except TypeError:CODE
HIGHtqdm/std.py700except KeyError:CODE
HIGHtqdm/std.py908except TypeError:CODE
HIGHtqdm/cli.py23except TqdmTypeError:CODE
HIGHtqdm/utils.py81except ModuleNotFoundError:CODE
HIGHtqdm/utils.py64except Exception: # nosec B110CODE
HIGHtqdm/utils.py73except KeyError: # keep unconverted (`str`)CODE
HIGHtqdm/utils.py185except ReferenceError:CODE
HIGHtqdm/utils.py192except ReferenceError:CODE
HIGHtqdm/notebook.py61except ImportError:CODE
HIGHtqdm/notebook.py132except ValueError:CODE
HIGHtqdm/notebook.py33except ImportError:CODE
HIGHtqdm/contrib/logging.py10except ImportError:CODE
HIGHtqdm/contrib/__init__.py60except ImportError:CODE
HIGHtqdm/contrib/__init__.py39except (OSError, ValueError):CODE
HIGHtqdm/contrib/itertools.py19except (TypeError, AttributeError):CODE
HIGHtqdm/contrib/itertools.py29except (TypeError, AttributeError):CODE
HIGHtqdm/contrib/itertools.py41except (TypeError, AttributeError):CODE
HIGHtqdm/contrib/itertools.py57except (TypeError, AttributeError):CODE
HIGHtqdm/contrib/itertools.py72except (TypeError, AttributeError):CODE
HIGHtqdm/contrib/itertools.py88except (TypeError, AttributeError):CODE
Hyper-Verbose Identifiers47 hits · 58 pts
SeverityFileLineSnippetContext
LOWtests/tests_tqdm.py326def test_native_string_io_for_default_file(monkeypatch):CODE
LOWtests/tests_tqdm.py335def test_unicode_string_io_for_specified_file():CODE
LOWtests/tests_tqdm.py351def test_iterate_over_csv_rows(tmp_file):CODE
LOWtests/tests_tqdm.py622def test_smoothed_dynamic_min_iters(caperr):CODE
LOWtests/tests_tqdm.py650def test_smoothed_dynamic_min_iters_with_min_interval(caperr):CODE
LOWtests/tests_tqdm.py805def test_close_after_stream_closed(tmp_file):CODE
LOWtests/tests_tqdm.py1296def test_deprecation_exception(tmp_file):CODE
LOWtests/tests_rich.py17def test_rich_fraction_column_no_total():CODE
LOW⚡tests/tests_contrib_logging.py48 def test_should_call_tqdm_write(self, logger, messages):CODE
LOW⚡tests/tests_contrib_logging.py53 def test_should_call_handle_error_if_exception_was_thrown(self, logger, monkeypatch):CODE
LOW⚡tests/tests_contrib_logging.py63 def test_should_not_swallow_certain_exceptions(self, logger, exception_class):CODE
LOW⚡tests/tests_contrib_logging.py71 def test_should_return_none_for_no_handlers(self):CODE
LOW⚡tests/tests_contrib_logging.py74 def test_should_return_none_without_stream_handler(self):CODE
LOW⚡tests/tests_contrib_logging.py78 def test_should_return_none_for_stream_handler_not_stdout_or_stderr(self):CODE
LOW⚡tests/tests_contrib_logging.py82 def test_should_return_stream_handler_if_stream_is_stdout(self):CODE
LOW⚡tests/tests_contrib_logging.py86 def test_should_return_stream_handler_if_stream_is_stderr(self):CODE
LOW⚡tests/tests_contrib_logging.py92 def test_should_add_and_remove_tqdm_handler(self, logger):CODE
LOW⚡tests/tests_contrib_logging.py98 def test_should_remove_and_restore_console_handlers(self, logger):CODE
LOW⚡tests/tests_contrib_logging.py107 def test_should_inherit_console_logger_formatter(self, logger):CODE
LOW⚡tests/tests_contrib_logging.py115 def test_should_inherit_console_handler_filters(self, logger, messages):CODE
LOWtests/tests_contrib_logging.py128 def test_should_not_remove_stream_handlers_not_for_stdout_or_stderr(self, logger):CODE
LOW⚡tests/tests_contrib_logging.py139 def test_should_add_and_remove_handler_from_root_logger_by_default(self):CODE
LOW⚡tests/tests_contrib_logging.py147 def test_should_add_and_remove_handler_from_custom_logger(self, logger):CODE
LOW⚡tests/tests_contrib_logging.py155 def test_should_not_fail_with_logger_without_console_handler(self, logger):CODE
LOW⚡tests/tests_contrib_logging.py161 def test_should_format_message(self, logger, messages):CODE
LOW⚡tests/tests_contrib_logging.py169 def test_use_root_logger_by_default_and_write_to_custom_tqdm(self, messages):CODE
LOW⚡tests/tests_pandas.py21def test_pandas_rolling_expanding(caperr):CODE
LOWtests/tests_pandas.py95def test_pandas_groupby_apply(caperr):CODE
LOWtests/tests_pandas.py137def test_pandas_apply_args_deprecation(caperr):CODE
LOWtests/tests_concurrent.py33def test_concurrent_map_unknown_len(mapper, caperr):CODE
LOWtests/tests_concurrent.py73def test_interpreter_map_lock(tmp_path):CODE
LOWtests/tests_perf.py166def test_manual_basic_overhead():CODE
LOWtests/tests_perf.py239def test_manual_overhead_hard():CODE
LOWtests/tests_perf.py260def test_iter_overhead_simplebar_hard():CODE
LOWtests/tests_perf.py282def test_manual_overhead_simplebar_hard():CODE
LOWtests/tests_itertools.py77def test_combinations_with_replacement(caperr):CODE
LOWtests/tests_synchronisation.py45def _monitor_pretest_posttest():CODE
LOWtests/tests_synchronisation.py100def test_monitoring_and_cleanup(fake_sleep):CODE
LOWtests/tests_synchronisation.py186def test_monitor_atexit_does_not_deadlock_on_stuck_get_lock():CODE
LOWtests/tests_notebook.py4def test_notebook_disabled_description():CODE
LOW⚡tqdm/keras.py114 def _implements_train_batch_hooks():CODE
LOW⚡tqdm/keras.py118 def _implements_test_batch_hooks():CODE
LOW⚡tqdm/keras.py122 def _implements_predict_batch_hooks():CODE
LOWtqdm/contrib/logging.py35def _is_console_logging_handler(handler):CODE
LOWtqdm/contrib/logging.py40def _get_first_found_console_logging_handler(handlers):CODE
LOWtqdm/contrib/itertools.py67def combinations_with_replacement(iterable, r, total=None, tqdm_class=tqdm_auto, **kwargs):CODE
LOWexamples/redirect_print.py22def std_out_err_redirect_tqdm():CODE
Unused Imports55 hits · 55 pts
SeverityFileLineSnippetContext
LOWtests/tests_tqdm.py17CODE
LOWtests/tests_main.py40CODE
LOWtqdm/_main.py3CODE
LOWtqdm/_main.py4CODE
LOWtqdm/_tqdm_gui.py3CODE
LOWtqdm/_tqdm_gui.py4CODE
LOWtqdm/_tqdm_notebook.py3CODE
LOWtqdm/_tqdm_notebook.py4CODE
LOWtqdm/__init__.py1CODE
LOWtqdm/__init__.py1CODE
LOWtqdm/__init__.py2CODE
LOWtqdm/__init__.py3CODE
LOWtqdm/__init__.py4CODE
LOWtqdm/__init__.py5CODE
LOWtqdm/__init__.py6CODE
LOWtqdm/__init__.py6CODE
LOWtqdm/__init__.py6CODE
LOWtqdm/__init__.py6CODE
LOWtqdm/__init__.py6CODE
LOWtqdm/__init__.py6CODE
LOWtqdm/__init__.py6CODE
LOWtqdm/__init__.py9CODE
LOWtqdm/utils.py80CODE
LOWtqdm/_tqdm.py3CODE
LOWtqdm/_tqdm.py4CODE
LOWtqdm/autonotebook.py33CODE
LOWtqdm/autonotebook.py33CODE
LOWtqdm/autonotebook.py31CODE
LOWtqdm/autonotebook.py31CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/_utils.py4CODE
LOWtqdm/contrib/logging.py9CODE
LOWtqdm/contrib/logging.py9CODE
LOWtqdm/contrib/logging.py9CODE
LOWtqdm/contrib/logging.py9CODE
LOWtqdm/contrib/bells.py18CODE
LOWtqdm/contrib/bells.py20CODE
LOWtqdm/contrib/bells.py22CODE
LOWtqdm/contrib/bells.py24CODE
LOWexamples/include_no_requirements.py3CODE
Cross-Language Confusion10 hits · 50 pts
SeverityFileLineSnippetContext
HIGH⚡tests/tests_pandas.py28 assert res1.equals(res2)CODE
HIGH⚡tests/tests_pandas.py32 assert res3.equals(res4)CODE
HIGHtests/tests_pandas.py44 assert res1.equals(res2)CODE
HIGHtests/tests_pandas.py48 assert res3.equals(res4)CODE
HIGHtests/tests_pandas.py67 assert res1.equals(res2)CODE
HIGHtests/tests_pandas.py73 assert res1.equals(res2)CODE
HIGHtests/tests_pandas.py86 assert res3.equals(res4)CODE
HIGHtests/tests_pandas.py108 assert res1.equals(res2)CODE
HIGHexamples/tqdm_requests.py14 The local file path in which to save the url [default: /dev/null].STRING
HIGHexamples/tqdm_wget.py20 The local file path in which to save the url [default: /dev/null].STRING
Excessive Try-Catch Wrapping22 hits · 24 pts
SeverityFileLineSnippetContext
LOWtests/tests_perf.py70 except Exception:CODE
LOWtqdm/asyncio.py83 except Exception as e: # noqa: BLE001CODE
MEDIUMtqdm/asyncio.py80def wrap_awaitable(i, f):CODE
LOWtqdm/std.py673 except Exception as e: # pragma: nocoverCODE
LOWtqdm/cli.py239 except Exception:STRING
LOWtqdm/utils.py64 except Exception: # nosec B110CODE
LOWtqdm/utils.py240 except Exception:CODE
LOWtqdm/utils.py243 except Exception:CODE
LOWtqdm/utils.py275 except Exception:CODE
MEDIUMtqdm/utils.py235def _is_utf(encoding):CODE
MEDIUMtqdm/utils.py270def inner(fp):CODE
LOWtqdm/autonotebook.py30except Exception:CODE
LOWtqdm/contrib/telegram.py48 except Exception as e:CODE
LOWtqdm/contrib/telegram.py74 except Exception as e:CODE
LOWtqdm/contrib/telegram.py85 except Exception as e:CODE
LOWtqdm/contrib/discord.py51 except Exception as e:CODE
LOWtqdm/contrib/discord.py78 except Exception as e:CODE
LOWtqdm/contrib/discord.py90 except Exception as e:CODE
LOWtqdm/contrib/slack.py35 except Exception as e:CODE
LOWtqdm/contrib/slack.py53 except Exception as e:CODE
LOWtqdm/contrib/utils_worker.py34 except Exception as e:CODE
LOWexamples/redirect_print.py29 except Exception as exc:CODE
Modern Structural Boilerplate23 hits · 23 pts
SeverityFileLineSnippetContext
LOWtqdm/_monitor.py6__all__ = ["TMonitor", "TqdmSynchronisationWarning"]CODE
LOWtqdm/keras.py14__all__ = ['TqdmCallback']CODE
LOWtqdm/asyncio.py16__all__ = ['tqdm_asyncio', 'tarange', 'tqdm', 'trange']CODE
LOWtqdm/std.py26__all__ = ['tqdm', 'trange',CODE
LOWtqdm/__init__.py11__all__ = ['tqdm', 'tqdm_gui', 'trange', 'tgrange', 'tqdm_pandas',CODE
LOWtqdm/rich.py18__all__ = ['tqdm_rich', 'trrange', 'tqdm', 'trange']CODE
LOWtqdm/tk.py19__all__ = ['tqdm_tk', 'ttkrange', 'tqdm', 'trange']CODE
LOWtqdm/cli.py13__all__ = ["main"]CODE
LOWtqdm/dask.py8__all__ = ['TqdmCallback']CODE
LOWtqdm/_tqdm_pandas.py4__all__ = ['tqdm_pandas']CODE
LOWtqdm/autonotebook.py38__all__ = ["tqdm", "trange"]CODE
LOWtqdm/notebook.py65__all__ = ['tqdm_notebook', 'tnrange', 'tqdm', 'trange']CODE
LOWtqdm/gui.py21__all__ = ['tqdm_gui', 'tgrange', 'tqdm', 'trange']CODE
LOWtqdm/auto.py40__all__ = ["tqdm", "trange"]CODE
LOWtqdm/contrib/concurrent.py12__all__ = ['thread_map', 'process_map', 'interpreter_map']CODE
LOWtqdm/contrib/bells.py13__all__ = ['tqdm', 'trange']CODE
LOWtqdm/contrib/telegram.py21__all__ = ['TelegramIO', 'tqdm_telegram', 'ttgrange', 'tqdm', 'trange']CODE
LOWtqdm/contrib/discord.py23__all__ = ['DiscordIO', 'tqdm_discord', 'tdrange', 'tqdm', 'trange']CODE
LOWtqdm/contrib/__init__.py13__all__ = ['tenumerate', 'tzip', 'tmap']CODE
LOWtqdm/contrib/slack.py23__all__ = ['SlackIO', 'tqdm_slack', 'tsrange', 'tqdm', 'trange']CODE
LOWtqdm/contrib/itertools.py10__all__ = [CODE
LOWtqdm/contrib/utils_worker.py10__all__ = ['MonoWorker']CODE
LOWexamples/include_no_requirements.py11__all__ = ['tqdm']CODE
Deep Nesting18 hits · 18 pts
SeverityFileLineSnippetContext
LOWtests/tests_tqdm.py124CODE
LOWtests/tests_tqdm.py1460CODE
LOWtqdm/_monitor.py62CODE
LOWtqdm/asyncio.py23CODE
LOWtqdm/std.py368CODE
LOWtqdm/std.py774CODE
LOWtqdm/std.py960CODE
LOWtqdm/std.py1166CODE
LOWtqdm/std.py1203CODE
LOWtqdm/std.py855CODE
LOWtqdm/std.py856CODE
LOWtqdm/cli.py55CODE
LOWtqdm/cli.py156CODE
LOWtqdm/utils.py34CODE
LOWtqdm/utils.py53CODE
LOWtqdm/contrib/logging.py47CODE
LOWtqdm/contrib/concurrent.py107CODE
LOWexamples/7zx.py38CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtqdm/asyncio.py0ipython/jupyter notebook progress bar decorator for iterators. includes a default `range` iterator printing to `stderr`.STRING
HIGHtqdm/std.py0ipython/jupyter notebook progress bar decorator for iterators. includes a default `range` iterator printing to `stderr`.STRING
HIGHtqdm/notebook.py0ipython/jupyter notebook progress bar decorator for iterators. includes a default `range` iterator printing to `stderr`.STRING
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtests/tests_rlock.py28 # Creating a progress bar should initialize the lockCOMMENT
MEDIUMtests/tests_rlock.py33 # Creating a progress bar again should reuse the lockCOMMENT
MEDIUMtqdm/notebook.py219 # Initialize parent class + avoid printing by using gui=TrueCOMMENT
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtqdm/std.py800 >>> # Now you can use `progress_apply` instead of `apply`STRING
MEDIUMexamples/pandas_progress_apply.py12# Now you can use `progress_apply` instead of `apply`COMMENT
LOWexamples/tqdm_wget.py34 Don't forget to close() or __exit__()STRING
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtests/tests_perf.py79CODE
LOWtqdm/std.py463CODE
LOWtqdm/std.py960CODE
LOWtqdm/contrib/concurrent.py107CODE
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/tests_tqdm.py201 # bar gets choppedCOMMENT
LOWexamples/pandas_progress_apply.py21# def inner(df, func, *args, **kwargs):COMMENT