AI Slop Code Risk Monitor

mahmoud/boltons

SlopCodeMonitor badge for mahmoud/boltons Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

🔩 Like builtins, but boltons. 250+ constructs, recipes, and snippets which extend (and rely on nothing but) the Python standard library. Nothing like Michael Bolton.

22.1 Elevated pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for mahmoud/boltons, a Python project with 6,944 GitHub stars. SynthScan examined 28,006 lines of code across 80 source files, recording 436 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 22.1 (Elevated 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.

22.1
Adjusted Signal
22.1
Raw Pattern Score
100%
Time Factor
2026-10-25
Last Push
6.9K
Stars
Python
Language
28.0K
Lines of Code
80
Files
436
Pattern Hits
2026-10-31
Scan Date
0.47
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 45.3/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 1.8/100 · LOW

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

Agent Over-Engineering Ratio 59.0/100 · HIGH

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

PR Review Velocity Impact 68.5/100 · HIGH

Which changes need focused human review? 436 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 38MEDIUM 11LOW 387

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 436 distinct pattern matches across 13 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.

Hyper-Verbose Identifiers204 hits · 223 pts
SeverityFileLineSnippetContext
LOWboltons/cacheutils.py168 def _get_link_and_move_to_front_of_ll(self, key):CODE
LOWboltons/cacheutils.py186 def _set_key_and_add_to_front_of_ll(self, key, value):CODE
LOWboltons/cacheutils.py195 def _set_key_and_evict_last_in_ll(self, key, value):CODE
LOWboltons/tableutils.py507 def _add_horizontal_html_lines(self, lines, headers, max_depth):CODE
LOWboltons/formatutils.py82def construct_format_field_str(fname, fspec, conv):CODE
LOWboltons/formatutils.py115def infer_positional_format_args(fstr):CODE
LOWboltons/tbutils.py439 def get_formatted_exception_only(self):CODE
LOWboltons/setutils.py402 def symmetric_difference_update(self, other): # note singular 'other'CODE
LOWboltons/setutils.py608def _norm_args_notimplemented(other):CODE
LOWboltons/setutils.py816 def symmetric_difference_update(self, other):CODE
LOWboltons/timeutils.py546def _first_sunday_on_or_after(dt):CODE
LOWtests/test_jsonutils.py20def _test_reverse_iter_lines_bytes(filename, blocksize=DEFAULT_BLOCKSIZE):CODE
LOWtests/test_jsonutils.py65def test_jsonl_iterator_mid_last_line_seek_terminates(tmp_path):CODE
LOWtests/test_jsonutils.py75def test_jsonl_iterator_rel_seek_negative():CODE
LOW⚡tests/test_jsonutils.py86def test_jsonl_explicit_end_seek(tmp_path):CODE
LOW⚡tests/test_jsonutils.py95def test_jsonl_relative_seek_binary_matches_text(tmp_path):CODE
LOW⚡tests/test_jsonutils.py102def test_reverse_iter_lines_uses_file_encoding(tmp_path):CODE
LOW⚡tests/test_jsonutils.py109def test_reverse_iter_lines_uses_explicit_binary_encoding():CODE
LOW⚡tests/test_jsonutils.py116def test_reverse_iter_lines_keeps_text_stream_attached(tmp_path):CODE
LOW⚡tests/test_jsonutils.py125def test_reverse_iter_lines_leading_empty_lines():CODE
LOW⚡tests/test_jsonutils.py135def test_reverse_iter_lines_stringio():CODE
LOW⚡tests/test_jsonutils.py141def test_jsonl_iterator_text_cur_byte_pos(tmp_path):CODE
LOWtests/test_statsutils.py14def test_pearson_type_covers_kappa_ge_zero():CODE
LOWtests/test_statsutils.py30def test_pearson_type_zero_denominator():CODE
LOW⚡tests/test_statsutils.py42def test_histogram_zero_interquartile_range():CODE
LOW⚡tests/test_statsutils.py48def test_sorted_measures_keep_data_order():CODE
LOW⚡tests/test_statsutils.py56def test_clear_cache_resets_is_sorted():CODE
LOW⚡tests/test_statsutils.py66def test_format_histogram_counts_all_zero():CODE
LOWtests/test_typeutils.py21def test_get_all_subclasses_metaclass():CODE
LOWtests/test_funcutils.py90def test_once_executes_only_once():CODE
LOWtests/test_tbutils_parsed_exc.py23def test_parsed_exc_nosrcline():CODE
LOWtests/test_tbutils_parsed_exc.py65def test_parsed_exc_with_anchor():CODE
LOWtests/test_tbutils_parsed_exc.py84def test_parsed_exc_with_anchor_indented():CODE
LOWtests/test_tbutils_parsed_exc.py94def test_parsed_exc_truncated():CODE
LOWtests/test_tbutils_parsed_exc.py126def test_parsed_exc_multiline_source():CODE
LOWtests/test_timeutils.py29def test_daterange_years_step():CODE
LOWtests/test_timeutils.py49def test_daterange_with_same_start_stop():CODE
LOWtests/test_timeutils.py68def test_isoparse_fractional_seconds():CODE
LOWtests/test_timeutils.py80def test_isoparse_fraction_overprecise():CODE
LOWtests/test_timeutils.py86def test_isoparse_timezone_suffix():CODE
LOW⚡tests/test_timeutils.py100def test_dt_to_timestamp_naive_tzinfo():CODE
LOW⚡tests/test_timeutils.py109def test_parse_timedelta_rejects_garbage():CODE
LOW⚡tests/test_timeutils.py116def test_daterange_month_step_clamps_day():CODE
LOW⚡tests/test_timeutils.py123def test_daterange_step_does_not_advance():CODE
LOW⚡tests/test_timeutils.py141def test_daterange_wrong_direction():CODE
LOW⚡tests/test_timeutils.py149def test_daterange_datetime_hourly():CODE
LOW⚡tests/test_timeutils.py159def test_relative_time_defaults_to_matching_timezone():CODE
LOWtests/test_timeutils.py173def test_us_timezone_dst_fold():CODE
LOWtests/test_timeutils.py183def test_us_timezone_fromutc_sets_fold():CODE
LOWtests/test_mathutils.py132def test_empty_bits_conversions():CODE
LOWtests/test_mathutils.py144def test_empty_bits_rejects_non_hex_inputs():CODE
LOWtests/test_mathutils.py155def test_bits_rshift_past_width():CODE
LOWtests/test_listutils.py55def test_barrel_list_insert_before_start_matches_list():CODE
LOWtests/test_listutils.py154def test_barrel_list_getitem_past_end():STRING
LOWtests/test_listutils.py165def test_barrel_list_insert_at_end():STRING
LOWtests/test_listutils.py176def test_barrel_list_pop_after_tail_drained():STRING
LOWtests/test_listutils.py186def test_barrel_list_matches_list():STRING
LOWtests/test_listutils.py209def test_barrellist_slicing_matches_list():STRING
LOWtests/test_listutils.py225def test_barrellist_delete_across_multiple_barrels():STRING
LOWtests/test_listutils.py236def test_barrel_list_delete_to_end():STRING
144 more matches not shown…
Empty Error Handlers37 hits · 185 pts
SeverityFileLineSnippetContext
HIGHmisc/bench_omd.py102except KeyError:CODE
HIGHmisc/bench_omd.py62except KeyError:CODE
HIGHboltons/namedutils.py220except (AttributeError, ValueError):CODE
HIGHboltons/namedutils.py390except (AttributeError, ValueError):CODE
HIGHboltons/cacheutils.py834except KeyError:CODE
HIGHboltons/fileutils.py240except OSError:CODE
HIGHboltons/fileutils.py487except Exception:CODE
HIGHboltons/tbutils.py621except Exception:CODE
HIGHboltons/tbutils.py105except AttributeError:CODE
HIGHboltons/jsonutils.py83except (AttributeError, io.UnsupportedOperation):CODE
HIGHboltons/setutils.py271except KeyError:CODE
HIGHboltons/listutils.py405except ValueError:CODE
HIGHboltons/debugutils.py223except Exception:CODE
HIGHboltons/debugutils.py228except Exception:CODE
HIGHboltons/debugutils.py291except Exception:CODE
HIGHboltons/urlutils.py1564except ImportError:CODE
HIGHboltons/urlutils.py877except UnicodeEncodeError:CODE
HIGHboltons/ioutils.py277except Exception:CODE
HIGHboltons/ioutils.py528except Exception:CODE
HIGHboltons/ioutils.py256except Exception:CODE
HIGHboltons/ioutils.py260except Exception:CODE
HIGHboltons/funcutils.py820except (ValueError, TypeError):CODE
HIGHtests/test_listutils.py159except IndexError:CODE
HIGHtests/test_iterutils.py283except:CODE
HIGHtests/test_iterutils.py307except:CODE
HIGHtests/test_iterutils.py339except:CODE
HIGHtests/test_queueutils.py38except IndexError:CODE
HIGHtests/test_dictutils.py262except KeyError:CODE
HIGHtests/test_dictutils.py314except KeyError:CODE
HIGHtests/test_cacheutils.py119except KeyError:CODE
HIGHtests/test_cacheutils.py129except KeyError:CODE
HIGHtests/test_fileutils.py21except ValueError:CODE
HIGHtests/test_socketutils.py126except OSError:CODE
HIGHtests/test_socketutils.py155except OSError:CODE
HIGHtests/test_socketutils.py174except Timeout:CODE
HIGHtests/test_socketutils.py32except ConnectionClosed:CODE
HIGHtests/test_ioutils.py81except Exception:CODE
Excessive Try-Catch Wrapping59 hits · 70 pts
SeverityFileLineSnippetContext
LOWboltons/cacheutils.py74except Exception:CODE
LOWboltons/dictutils.py1112 except Exception as e:CODE
LOW⚡boltons/tableutils.py87 except Exception:CODE
LOW⚡boltons/tableutils.py90 except Exception:CODE
LOWboltons/tableutils.py145 except Exception:CODE
LOWboltons/tableutils.py159 except Exception:CODE
MEDIUMboltons/tableutils.py84def to_text(obj, maxlen=None):CODE
LOWboltons/iterutils.py650 except Exception as e:STRING
LOWboltons/iterutils.py1337 except Exception:CODE
LOWboltons/iterutils.py1491 except Exception:CODE
MEDIUMboltons/iterutils.py1487def _enter(path, key, value):CODE
LOWboltons/fileutils.py487 except Exception:STRING
LOWboltons/tbutils.py424 except Exception:CODE
LOWboltons/tbutils.py494 except Exception:CODE
LOWboltons/tbutils.py621 except Exception:CODE
LOWboltons/tbutils.py854 except Exception:CODE
MEDIUMboltons/tbutils.py618def _some_str(value):CODE
LOWboltons/ecoutils.py172except Exception:CODE
LOWboltons/ecoutils.py186except Exception:CODE
LOWboltons/ecoutils.py192except Exception:CODE
LOW⚡boltons/ecoutils.py206except Exception:CODE
LOW⚡boltons/ecoutils.py213except Exception:CODE
LOW⚡boltons/ecoutils.py220except Exception:CODE
LOW⚡boltons/ecoutils.py227except Exception:CODE
LOW⚡boltons/ecoutils.py234except Exception:CODE
LOW⚡boltons/ecoutils.py240except Exception:CODE
LOW⚡boltons/ecoutils.py246except Exception:CODE
LOW⚡boltons/ecoutils.py253except Exception:CODE
LOWboltons/ecoutils.py317 except Exception:CODE
LOWboltons/ecoutils.py332 except Exception:CODE
LOWboltons/excutils.py285 except Exception:CODE
MEDIUMboltons/excutils.py274def main():CODE
LOWboltons/jsonutils.py228 except Exception:CODE
LOWboltons/socketutils.py72except Exception:CODE
LOWboltons/socketutils.py360 except Exception:CODE
LOWboltons/socketutils.py411 except Exception:CODE
LOWboltons/statsutils.py625 except Exception:CODE
LOWboltons/statsutils.py830 except Exception:CODE
LOWboltons/debugutils.py206 except Exception:CODE
LOWboltons/debugutils.py223 except Exception:CODE
LOWboltons/debugutils.py228 except Exception:CODE
LOWboltons/debugutils.py256 except Exception:CODE
LOWboltons/debugutils.py291 except Exception:CODE
LOW⚡boltons/ioutils.py252 except Exception:CODE
LOW⚡boltons/ioutils.py256 except Exception:CODE
LOW⚡boltons/ioutils.py260 except Exception:CODE
LOWboltons/ioutils.py277 except Exception:CODE
LOWboltons/ioutils.py528 except Exception:CODE
MEDIUMboltons/ioutils.py338def buffer(self):CODE
LOWboltons/funcutils.py122 except Exception:CODE
LOWboltons/funcutils.py159 except Exception:CODE
LOWboltons/funcutils.py1013 except Exception:CODE
LOWtests/test_funcutils.py133 except Exception as e:CODE
MEDIUMtests/test_funcutils.py129def worker():CODE
LOWtests/test_listutils.py138 except Exception as e:STRING
LOWtests/test_tbutils.py95 except Exception as e:CODE
LOWtests/test_socketutils.py278 except Exception as e:CODE
LOWtests/test_socketutils.py403 except Exception as e:CODE
LOW⚡tests/test_ioutils.py81 except Exception:CODE
Deep Nesting56 hits · 52 pts
SeverityFileLineSnippetContext
LOWmisc/bench_omd.py38CODE
LOWboltons/cacheutils.py300CODE
LOWboltons/cacheutils.py797CODE
LOWboltons/dictutils.py287CODE
LOWboltons/dictutils.py350CODE
LOWboltons/tableutils.py337CODE
LOWboltons/tableutils.py507CODE
LOWboltons/tableutils.py536CODE
LOWboltons/iterutils.py237CODE
LOWboltons/iterutils.py512CODE
LOWboltons/iterutils.py915CODE
LOWboltons/iterutils.py1104CODE
LOWboltons/iterutils.py1128CODE
LOWboltons/iterutils.py1153CODE
LOWboltons/iterutils.py1379CODE
LOWboltons/mboxutils.py74CODE
LOWboltons/fileutils.py492CODE
LOWboltons/fileutils.py557CODE
LOWboltons/formatutils.py148CODE
LOWboltons/tbutils.py747CODE
LOWboltons/ecoutils.py417CODE
LOWboltons/jsonutils.py238CODE
LOWboltons/socketutils.py284CODE
LOWboltons/socketutils.py366CODE
LOWboltons/socketutils.py423CODE
LOWboltons/setutils.py139CODE
LOWboltons/statsutils.py452CODE
LOWboltons/debugutils.py115CODE
LOWboltons/debugutils.py141CODE
LOWboltons/urlutils.py136CODE
LOWboltons/urlutils.py374CODE
LOWboltons/urlutils.py891CODE
LOWboltons/urlutils.py478CODE
LOWboltons/urlutils.py1191CODE
LOWboltons/urlutils.py1254CODE
LOWboltons/ioutils.py238CODE
LOWboltons/ioutils.py430CODE
LOWboltons/strutils.py201CODE
LOWboltons/strutils.py807CODE
LOWboltons/strutils.py923CODE
LOWboltons/strutils.py1198CODE
LOWboltons/mathutils.py140CODE
LOWboltons/funcutils.py626CODE
LOWtests/test_listutils.py186CODE
LOWtests/test_listutils.py315CODE
LOWtests/test_socketutils.py41CODE
LOWtests/test_socketutils.py257CODE
LOWtests/test_socketutils.py386CODE
LOWtests/test_setutils.py258CODE
LOWtests/test_ioutils.py297CODE
LOWtests/test_ioutils.py307CODE
LOWtests/test_ioutils.py425CODE
LOWtests/test_ioutils.py435CODE
LOWtests/test_ioutils.py447CODE
LOWtests/test_ioutils.py461CODE
LOWtests/test_ioutils.py473CODE
Over-Commented Block42 hits · 42 pts
SeverityFileLineSnippetContext
LOWboltons/namedutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/cacheutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/pathutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/dictutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/tableutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/iterutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/mboxutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/fileutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/queueutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/formatutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/tbutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/typeutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/ecoutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/excutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/excutils.py21# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORCOMMENT
LOWboltons/deprutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/jsonutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/socketutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/socketutils.py761COMMENT
LOWboltons/setutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/statsutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/listutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/debugutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/urlutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/easterutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/ioutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/ioutils.py21# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORCOMMENT
LOWboltons/strutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/mathutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/timeutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/gcutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/funcutils.py1# Copyright (c) 2013, Mahmoud HashemiCOMMENT
LOWboltons/funcutils.py801 def get_invocation_str(self, target=None):COMMENT
LOWdocs/conf.py1#COMMENT
LOWdocs/conf.py121html_theme = 'sphinx_rtd_theme'COMMENT
LOWdocs/conf.py141# html_theme_path = ['_themes', '/home/docs/checkouts/readthedocs.org/readthedocs/templates/sphinx']COMMENT
LOWdocs/conf.py161# so a file named "default.css" will overwrite the builtin "default.css".COMMENT
LOWdocs/conf.py181# template names.COMMENT
LOWdocs/conf.py201COMMENT
LOWdocs/conf.py221# implements a search results scorer. If empty, the default will be used.COMMENT
LOWdocs/conf.py241}COMMENT
LOWdocs/conf.py301COMMENT
Modern Structural Boilerplate15 hits · 16 pts
SeverityFileLineSnippetContext
LOWboltons/namedutils.py55__all__ = ['namedlist', 'namedtuple']CODE
LOWboltons/pathutils.py48__all__ = [CODE
LOWboltons/dictutils.py83__all__ = ['MultiDict', 'OMD', 'OrderedMultiDict', 'OneToOne', 'ManyToMany', 'subdict', 'FrozenDict']CODE
LOW⚡boltons/tableutils.py81__all__ = ['Table']CODE
LOWboltons/fileutils.py46__all__ = ['mkdir_p', 'atomic_save', 'AtomicSaver', 'FilePerms',CODE
LOWboltons/queueutils.py83__all__ = ['PriorityQueue', 'BasePriorityQueue',CODE
LOWboltons/formatutils.py72__all__ = ['DeferredValue', 'get_format_args', 'tokenize_format_str',CODE
LOWboltons/tbutils.py67__all__ = ['ExceptionInfo', 'TracebackInfo', 'Callpoint',CODE
LOWboltons/excutils.py43__all__ = ['ExceptionCauseMixin']CODE
LOWboltons/jsonutils.py48__all__ = ['JSONLIterator', 'reverse_iter_lines']CODE
LOWboltons/setutils.py55__all__ = ['IndexedSet', 'complement']CODE
LOWboltons/listutils.py53__all__ = ['BList', 'BarrelList']CODE
LOWboltons/debugutils.py47__all__ = ['pdb_on_signal', 'pdb_on_exception', 'wrap_trace']CODE
LOWboltons/strutils.py53__all__ = ['camel2under', 'under2camel', 'slugify', 'split_punct_ws',CODE
LOWboltons/gcutils.py65__all__ = ['get_all', 'GCToggler', 'toggle_gc', 'toggle_gc_postcollect']CODE
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWmisc/bench_omd.py5CODE
LOWboltons/iterutils.py45CODE
LOWboltons/ecoutils.py185CODE
LOWboltons/ecoutils.py238CODE
LOWboltons/strutils.py38CODE
LOWboltons/funcutils.py47CODE
LOWtests/test_listutils.py1CODE
Self-Referential Comments3 hits · 7 pts
SeverityFileLineSnippetContext
MEDIUMboltons/jsonutils.py76 # This function is a bit of a pain because it attempts to be byte/text agnosticCOMMENT
MEDIUMboltons/mathutils.py31"""This module provides useful math functions on top of Python'sSTRING
MEDIUMdocs/conf.py5# This file is execfile()d with the current directory set to itsCOMMENT
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWmisc/table_html_app.py26CODE
LOWboltons/urlutils.py525CODE
LOWboltons/mathutils.py223CODE
LOWboltons/funcutils.py56CODE
LOWboltons/funcutils.py453CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHboltons/timeutils.py179Robustly parses a short text description of a time period into a :class:`datetime.timedelta`. Supports weeks, days, STRING
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtests/test_tableutils.py6 [1, 'John Doe'],CODE
LOWtests/test_tableutils.py11 assert 'John Doe' in repr(t1)CODE
LOWtests/test_tableutils.py32 data_dicts = [{'id': 1, 'name': 'John Doe'},CODE
AI Slop Vocabulary2 hits · 2 pts
SeverityFileLineSnippetContext
MEDIUMboltons/statsutils.py334 """The trimean is a robust measure of central tendency, like theSTRING
LOWboltons/strutils.py225 singular = word[:-1] # or just return word?CODE
Slop Phrases2 hits · 2 pts
SeverityFileLineSnippetContext
MEDIUMboltons/iterutils.py1450 Here's a simple example that finds all integers:STRING
LOWboltons/queueutils.py95 custom subclass behavior. (Don't forget to useSTRING