AI Slop Code RIsk Monitor

coleifer/peewee

a small, expressive orm -- supports postgresql, mysql, sqlite, now with asyncio

23.6 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for coleifer/peewee, a Python project with 11,992 GitHub stars. SynthScan examined 75,758 lines of code across 141 source files, recording 1351 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 23.6 (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.

23.6
Adjusted Signal
23.6
Raw Pattern Score
100%
Time Factor
2026-10-07
Last Push
12.0K
Stars
Python
Language
75.8K
Lines of Code
141
Files
1.4K
Pattern Hits
2026-10-12
Scan Date
0.57
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 37.7/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 18.7/100 · LOW

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

Agent Over-Engineering Ratio 58.4/100 · HIGH

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

PR Review Velocity Impact 75.5/100 · CRITICAL

Which changes need focused human review? 1351 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 2HIGH 79MEDIUM 184LOW 1086

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 1351 distinct pattern matches across 14 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 Identifiers808 hits · 567 pts
SeverityFileLineSnippetContext
LOWpeewee.py3212 def _generate_name_from_fields(self, model, fields):CODE
LOWpeewee.py3233def _truncate_constraint_name(constraint, maxlen=64):CODE
LOWpeewee.py3983 def _build_on_conflict_target(self, on_conflict):CODE
LOWpeewee.py3999 def _build_on_conflict_update(self, on_conflict, query):CODE
LOWpeewee.py4428 def unregister_window_function(self, name):CODE
LOWpeewee.py8054 def _populate_unsaved_relations(self, field_dict):CODE
LOWpeewee.py8391 def _get_model_cursor_wrapper(self, cursor):CODE
LOWpeewee.py8506 def _get_model_cursor_wrapper(self, cursor):CODE
LOWpeewee.py8742 def _get_model_cursor_wrapper(self, cursor):CODE
LOWtests/sqlcipher_ext.py51 def test_good_and_bad_passphrases(self):CODE
LOWtests/sqlcipher_ext.py111 def test_configuration_via_pragma(self):CODE
LOW⚡tests/prefetch_tests.py727 def test_prefetch_unrelated_model_error(self):CODE
LOW⚡tests/prefetch_tests.py736 def test_prefetch_empty_subqueries_passthrough(self):CODE
LOW⚡tests/prefetch_tests.py743 def test_prefetch_materialize_unsupported(self):CODE
LOWtests/prefetch_tests.py163 def test_prefetch_reverse_with_parent_join(self):CODE
LOWtests/prefetch_tests.py184 def test_prefetch_multi_depth(self):CODE
LOWtests/prefetch_tests.py226 def test_prefetch_multi_depth_no_join(self):CODE
LOWtests/prefetch_tests.py258 def test_prefetch_with_group_by(self):CODE
LOWtests/prefetch_tests.py316 def test_prefetch_adjacency_list(self):CODE
LOWtests/prefetch_tests.py359 def test_prefetch_specific_model(self):CODE
LOWtests/prefetch_tests.py393 def test_multiple_foreign_keys(self):CODE
LOWtests/prefetch_tests.py481 def test_prefetch_through_manytomany(self):CODE
LOWtests/prefetch_tests.py530 def test_prefetch_mark_dirty_regression(self):CODE
LOWtests/prefetch_tests.py697 def test_join_prefetch_multiple_fks(self):CODE
LOWtests/signals.py62 def test_save_positional_force_insert(self):CODE
LOWtests/signals.py160 def test_subclass_instance_receive_signals(self):CODE
LOWtests/test_utils.py49 def test_assert_query_count_decorator(self):CODE
LOWtests/test_utils.py68 def test_assert_query_count_ctx_mgr(self):CODE
LOWtests/pwasyncio_stress.py150async def test_connection_isolation():CODE
LOW⚡tests/models.py2069 def test_empty_insert_lands_defaults(self):CODE
LOW⚡tests/models.py2076 def test_default_present_on_create(self):CODE
LOW⚡tests/models.py2081 def test_defaults_from_cursor(self):CODE
LOW⚡tests/models.py7499 def test_model_graph_no_refs_no_backrefs_error(self):CODE
LOW⚡tests/models.py7503 def test_metadata_table_setter_error(self):CODE
LOW⚡tests/models.py7507 def test_metadata_table_deleter_resets(self):CODE
LOW⚡tests/models.py7515 def test_get_database_instance(self):CODE
LOWtests/models.py132 def test_column_field_translation(self):CODE
LOWtests/models.py176 def test_insert_many_defaults_nullable(self):CODE
LOWtests/models.py270 def test_bulk_create_batching(self):CODE
LOWtests/models.py294 def test_bulk_create_composite_key(self):CODE
LOWtests/models.py385 def test_populate_unsaved_relations(self):CODE
LOWtests/models.py439 def test_bulk_update_foreign_key(self):CODE
LOWtests/models.py471 def test_bulk_update_integrityerror(self):CODE
LOWtests/models.py513 def test_bulk_update_apply_dbvalue(self):CODE
LOWtests/models.py638 def test_model_select_get_or_none(self):CODE
LOWtests/models.py684 def test_get_or_create_self_referential_fk(self):CODE
LOWtests/models.py692 def test_get_or_create_defaults(self):CODE
LOWtests/models.py862 def test_join_empty_intermediate_model(self):CODE
LOWtests/models.py891 def test_join_empty_relations(self):CODE
LOWtests/models.py942 def test_join_outer_no_related(self):CODE
LOWtests/models.py961 def test_join_outer_unselected_lazy_load(self):CODE
LOWtests/models.py976 def test_join_outer_selected_miss_cached(self):CODE
LOWtests/models.py991 def test_join_outer_unselected_null_fk(self):CODE
LOWtests/models.py1000 def test_join_outer_unselected_intermediate(self):CODE
LOWtests/models.py1014 def test_join_same_model_twice(self):CODE
LOWtests/models.py1043 def test_join_multi_fk_rhs_predicate(self):CODE
LOWtests/models.py1109 def test_alias_query_constructors(self):CODE
LOWtests/models.py1127 def test_join_expression_attribute_name(self):CODE
LOWtests/models.py1324 def test_join_from_cte_to_model(self):CODE
LOWtests/models.py1353 def test_subquery_emulate_window(self):CODE
748 more matches not shown…
Decorative Section Separators138 hits · 450 pts
SeverityFileLineSnippetContext
MEDIUMtests/prefetch_tests.py23# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/prefetch_tests.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/prefetch_tests.py61# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py63# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py549# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py551# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py684# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py686# ===========================================================================COMMENT
MEDIUM⚡tests/models.py7739# ===========================================================================COMMENT
MEDIUM⚡tests/models.py7741# ===========================================================================COMMENT
MEDIUMtests/models.py40# ===========================================================================COMMENT
MEDIUMtests/models.py42# ===========================================================================COMMENT
MEDIUMtests/models.py2857# ===========================================================================COMMENT
MEDIUMtests/models.py2859# ===========================================================================COMMENT
MEDIUMtests/models.py3787# ===========================================================================COMMENT
MEDIUMtests/models.py3789# ===========================================================================COMMENT
MEDIUMtests/models.py4803# ===========================================================================COMMENT
MEDIUMtests/models.py4805# ===========================================================================COMMENT
MEDIUMtests/models.py5240# ===========================================================================COMMENT
MEDIUMtests/models.py5242# ===========================================================================COMMENT
MEDIUMtests/models.py5839# ===========================================================================COMMENT
MEDIUMtests/models.py5841# ===========================================================================COMMENT
MEDIUMtests/models.py6905# ===========================================================================COMMENT
MEDIUMtests/models.py6907# ===========================================================================COMMENT
MEDIUMtests/models.py7043# ===========================================================================COMMENT
MEDIUMtests/models.py7045# ===========================================================================COMMENT
MEDIUMtests/models.py7949# ===========================================================================COMMENT
MEDIUMtests/models.py7951# ===========================================================================COMMENT
MEDIUM⚡tests/fields.py802# ===========================================================================COMMENT
MEDIUM⚡tests/fields.py804# ===========================================================================COMMENT
MEDIUMtests/fields.py46# ===========================================================================COMMENT
MEDIUMtests/fields.py48# ===========================================================================COMMENT
MEDIUMtests/fields.py182# ===========================================================================COMMENT
MEDIUMtests/fields.py184# ===========================================================================COMMENT
MEDIUMtests/fields.py302# ===========================================================================COMMENT
MEDIUMtests/fields.py304# ===========================================================================COMMENT
MEDIUMtests/fields.py1098# ===========================================================================COMMENT
MEDIUMtests/fields.py1100# ===========================================================================COMMENT
MEDIUMtests/fields.py1532# ===========================================================================COMMENT
MEDIUMtests/fields.py1534# ===========================================================================COMMENT
MEDIUMtests/fields.py1811# ===========================================================================COMMENT
MEDIUMtests/fields.py1813# ===========================================================================COMMENT
MEDIUMtests/fields.py2424# ===========================================================================COMMENT
MEDIUMtests/fields.py2426# ===========================================================================COMMENT
MEDIUMtests/fields.py2690# ===========================================================================COMMENT
MEDIUMtests/fields.py2692# ===========================================================================COMMENT
MEDIUMtests/fields.py2904# ===========================================================================COMMENT
MEDIUMtests/fields.py2906# ===========================================================================COMMENT
MEDIUMtests/manytomany.py11# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/manytomany.py13# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/manytomany.py43# ===========================================================================COMMENT
MEDIUMtests/manytomany.py45# ===========================================================================COMMENT
MEDIUMtests/manytomany.py383# ===========================================================================COMMENT
MEDIUMtests/manytomany.py385# ===========================================================================COMMENT
MEDIUMtests/manytomany.py562# ===========================================================================COMMENT
MEDIUMtests/manytomany.py564# ===========================================================================COMMENT
MEDIUMtests/manytomany.py672# ===========================================================================COMMENT
MEDIUMtests/manytomany.py674# ===========================================================================COMMENT
MEDIUM⚡tests/results.py165# ===========================================================================COMMENT
MEDIUM⚡tests/results.py167# ===========================================================================COMMENT
78 more matches not shown…
Empty Error Handlers48 hits · 240 pts
SeverityFileLineSnippetContext
HIGHpeewee.py45except ImportError:CODE
HIGHpeewee.py2416except IndexError:CODE
HIGHpeewee.py3091except self.DefaultValuesException:CODE
HIGHpeewee.py6184except (TypeError, ValueError):CODE
HIGHpeewee.py6189except ValueError:CODE
HIGHpeewee.py7984except DoesNotExist:CODE
HIGHpeewee.py8480except self.model.DoesNotExist:CODE
HIGHpeewee.py8184except (TypeError, ValueError):CODE
HIGHpeewee.py3250except (TypeError, ValueError):CODE
HIGHpeewee.py8779except Exception:CODE
HIGHpeewee.py2995except KeyError: passCODE
HIGHtests/pwasyncio_stress.py82except ValueError:CODE
HIGHtests/models.py7750except Exception as exc:CODE
HIGHtests/transactions.py86except ValueError:CODE
HIGHtests/transactions.py134except ValueError:CODE
HIGHtests/transactions.py229except ValueError:CODE
HIGHtests/transactions.py379except ValueError:CODE
HIGHtests/transactions.py471except ValueError:CODE
HIGHtests/transactions.py369except ValueError:CODE
HIGHtests/transactions.py406except ValueError:CODE
HIGHtests/transactions.py402except ValueError:CODE
HIGHtests/pwasyncio.py1209except Abort:CODE
HIGHtests/pwasyncio.py1318except RuntimeError:CODE
HIGHtests/pwasyncio.py1831except ValueError:CODE
HIGHtests/pwasyncio.py938except (InterfaceError, OperationalError, ProgrammingError,CODE
HIGHtests/pwasyncio.py1757except ValueError:CODE
HIGHtests/pwasyncio.py2128except ValueError:CODE
HIGHtests/pwasyncio.py1744except ValueError:CODE
HIGHtests/pwasyncio.py1804except ValueError:CODE
HIGHtests/migrations.py40except ImportError:CODE
HIGHtests/base.py317except:CODE
HIGHtests/schema.py1232except:CODE
HIGHexamples/hexastore.py3except ImportError:CODE
HIGHexamples/twitter/app.py260except IntegrityError:CODE
HIGHplayhouse/db_url.py98except ImportError:CODE
HIGHplayhouse/db_url.py106except ImportError:CODE
HIGHplayhouse/db_url.py115except ImportError:CODE
HIGHplayhouse/db_url.py128except ImportError:CODE
HIGHplayhouse/db_url.py146except ImportError:CODE
HIGHplayhouse/db_url.py62except ValueError:CODE
HIGHplayhouse/pwasyncio.py132except LookupError:CODE
HIGHplayhouse/pwasyncio.py1104except Exception:CODE
HIGHplayhouse/pwasyncio.py158except RuntimeError:CODE
HIGHplayhouse/pwasyncio.py1090except Exception:CODE
HIGHplayhouse/pwasyncio.py1164except Exception:CODE
HIGHplayhouse/dataset.py264except self.model_class.DoesNotExist:CODE
HIGHplayhouse/sqlite_udf.py168except:CODE
HIGHplayhouse/postgres_ext.py20except ImportError:CODE
Cross-Language Confusion31 hits · 172 pts
SeverityFileLineSnippetContext
HIGHpeewee.py6449 # stored JSON null, the same cases `== None` matches.COMMENT
HIGHpeewee.py578 self.push()CODE
HIGHpeewee.py703 self.alias_manager.push()CODE
HIGHpeewee.py4908 for name, null, dt, df, ft, ident in cursor.fetchall()]CODE
HIGHpeewee.py5173 for name, null, dt, df, ft, extra in cursor.fetchall():CODE
HIGHpeewee.py5180 name, dt, null, name in pks, table, df, ft,CODE
HIGHtests/fields.py2043 self.assertFalse(Photo.album.null)CODE
HIGHtests/fields.py2048 self.assertTrue(Photo.alt_album.null)CODE
HIGHtests/manytomany.py71 self.assertFalse(note_field.null)CODE
HIGHtests/manytomany.py75 self.assertFalse(user_field.null)CODE
HIGH⚡tests/reflection.py125 self.assertFalse(relmodel.col_types.null)CODE
HIGH⚡tests/reflection.py126 self.assertTrue(relmodel.col_types_nullable.null)CODE
HIGHtests/json_field.py911 L = JM.select(JM.data.length()).scalar()CODE
HIGHtests/db_tests.py480 self.database.execute_sql('create table foo (data text not null)')CODE
HIGHtests/db_tests.py500 self.database.execute_sql('create table foo (data text not null)')CODE
HIGHtests/db_tests.py649 data = [(c.name, c.null, c.primary_key, c.table)CODE
HIGHtests/db_tests.py658 data = [(c.name, c.null, c.primary_key, c.table)CODE
HIGHtests/postgres.py869 query = BJson.select(curr.length()).tuples()CODE
HIGH⚡tests/postgres.py1211 self.assertEqual(JDoc.select(JDoc.data.length()).scalar(), 3)CODE
HIGH⚡tests/postgres.py1212 self.assertEqual(JBDoc.select(JBDoc.data.length()).scalar(), 3)CODE
HIGH⚡tests/migrations.py235 self.assertFalse(column.null)CODE
HIGHtests/migrations.py253 self.assertFalse(column.null)CODE
HIGHtests/migrations.py617 self.assertFalse(karma.null)CODE
HIGH⚡tests/sql.py3772 am.push()CODE
HIGH⚡tests/sql.py3787 am.push()CODE
HIGHtests/schema_diff.py837 # converges (unique) or silently comes out NOT NULL (null).STRING
HIGHtests/schema_diff.py851 self.assertTrue(columns['editor_id'].null)STRING
HIGHtests/schema_diff.py852 self.assertFalse(columns['user_id'].null)STRING
HIGHplayhouse/reflection.py228 nullable=column_data.null,CODE
HIGHplayhouse/dataset.py474 # CSV has no null, treat empty as NULL for non-text fields.COMMENT
HIGHplayhouse/migrate.py350 # present and the field is non-null, then we need to first add theCOMMENT
Unused Imports131 hits · 116 pts
SeverityFileLineSnippetContext
LOWbench.py1CODE
LOWpwiz.py9CODE
LOWpwiz.py12CODE
LOWruntests.py84CODE
LOWtests/sqlcipher_ext.py6CODE
LOWtests/sqlcipher_ext.py7CODE
LOWtests/prefetch_tests.py8CODE
LOWtests/signals.py1CODE
LOWtests/test_utils.py4CODE
LOWtests/pwasyncio_stress.py7CODE
LOWtests/models.py5CODE
LOWtests/models.py7CODE
LOWtests/models.py9CODE
LOWtests/models.py10CODE
LOWtests/models.py37CODE
LOWtests/fields.py18CODE
LOWtests/fields.py20CODE
LOWtests/base_models.py1CODE
LOWtests/db_url.py1CODE
LOWtests/manytomany.py5CODE
LOWtests/results.py6CODE
LOWtests/results.py12CODE
LOWtests/apsw_ext.py4CODE
LOWtests/shortcuts.py4CODE
LOWtests/shortcuts.py5CODE
LOWtests/hybrid.py1CODE
LOWtests/hybrid.py2CODE
LOWtests/reflection.py5CODE
LOWtests/reflection.py6CODE
LOWtests/json_field.py3CODE
LOWtests/transactions.py10CODE
LOWtests/pydantic_utils.py1CODE
LOWtests/pydantic_utils.py10CODE
LOWtests/pwasyncio.py2CODE
LOWtests/pwasyncio.py13CODE
LOWtests/pwasyncio.py15CODE
LOWtests/pwasyncio.py16CODE
LOWtests/sqliteq.py12CODE
LOWtests/pwiz_integration.py7CODE
LOWtests/pwiz_integration.py8CODE
LOWtests/with_related_tests.py1CODE
LOWtests/with_related_tests.py7CODE
LOWtests/sqlite.py5CODE
LOWtests/sqlite.py6CODE
LOWtests/sqlite.py25CODE
LOWtests/cockroachdb.py4CODE
LOWtests/cockroachdb.py5CODE
LOWtests/dataset.py9CODE
LOWtests/dataset.py16CODE
LOWtests/mysql_ext.py3CODE
LOWtests/db_tests.py15CODE
LOWtests/cysqlite_ext.py6CODE
LOWtests/cysqlite_ext.py7CODE
LOWtests/sqlite_changelog.py3CODE
LOWtests/sqlite_changelog.py9CODE
LOWtests/postgres.py8CODE
LOWtests/postgres.py10CODE
LOWtests/migrations.py11CODE
LOWtests/migrations.py13CODE
LOWtests/flask_utils.py5CODE
71 more matches not shown…
Self-Referential Comments27 hits · 76 pts
SeverityFileLineSnippetContext
MEDIUMpeewee.py1107 # Define the table and its alias.COMMENT
MEDIUMpeewee.py7723 # Create a repr and error class before finalizing.COMMENT
MEDIUMpeewee.py8299 # Define the table and its alias.COMMENT
MEDIUMtests/models.py3060 # Create the subquery.COMMENT
MEDIUMtests/models.py5025 # Define the recursive terms.COMMENT
MEDIUMtests/sqlite.py201 # Create a row using the given test value. Verify we can read the valueCOMMENT
MEDIUMtests/dataset.py95 # Create a new dataset instance with views enabled.COMMENT
MEDIUMtests/dataset.py639 # Create a new table and load all data into it.COMMENT
MEDIUMtests/dataset.py708 # Create a new table and load all data into it.COMMENT
MEDIUMtests/migrations.py198 # Create a new tag model to represent the fields we added.COMMENT
MEDIUMtests/migrations.py563 # Create a unique index on first and last names.COMMENT
MEDIUMtests/migrations.py625 # Create a new tag model to represent the fields we added.COMMENT
MEDIUMtests/migrations.py641 # Create a unique index.COMMENT
MEDIUMtests/migrations.py1039 # Create a temporary table with the renamed column.COMMENT
MEDIUM⚡tests/sql.py1430 # Create an outer query and do grouping.COMMENT
MEDIUMtests/pool.py130 # Create a test database with a very short stale timeout.COMMENT
MEDIUMtests/pool.py148 # Create a test database with a very short stale timeout.COMMENT
MEDIUM⚡tests/schema.py1304 # Create a fake database that supports TRUNCATE.COMMENT
MEDIUMdocs/conf.py6# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMexamples/anomaly_detection.py17# Create a user-defined aggregate function suitable for computing the standardCOMMENT
MEDIUMexamples/blog/app.py41# Create a Flask WSGI app and configure it using values from the module.COMMENT
MEDIUMplayhouse/sqliteq.py223 # Create the writer thread, optionally starting it.COMMENT
MEDIUM⚡playhouse/migrate.py88 # Create an index on the `pub_date` column.STRING
MEDIUM⚡playhouse/migrate.py91 # Create a multi-column index on the `pub_date` and `status` fields.STRING
MEDIUM⚡playhouse/migrate.py94 # Create a unique index on the category and title fields.STRING
MEDIUMplayhouse/migrate.py846 # Create a mapping of original columns to new columns.STRING
MEDIUMplayhouse/migrate.py875 # Create the new table.STRING
Excessive Try-Catch Wrapping60 hits · 64 pts
SeverityFileLineSnippetContext
MEDIUMpeewee.py303def __getattr__(self, attr):CODE
MEDIUMpeewee.py4036def rows_affected(self, cursor):CODE
MEDIUMpeewee.py4965def get_binary_type(self):CODE
LOWpeewee.py3921 except Exception as exc:CODE
LOWpeewee.py4277 except Exception:CODE
LOWpeewee.py4634 except Exception:CODE
LOWpeewee.py4648 except Exception:CODE
LOWpeewee.py5115 except Exception:CODE
LOWpeewee.py5364 except Exception:CODE
LOWpeewee.py5399 except Exception:CODE
LOWpeewee.py6129 except Exception:CODE
LOWpeewee.py8779 except Exception:CODE
MEDIUMruntests.py118 print('Error: could not import asyncio stress test: %s' % exc)CODE
LOWtests/pwasyncio_stress.py91 except Exception as exc:CODE
MEDIUMtests/models.py5907def run_in_thread():CODE
MEDIUMtests/models.py7747def tearDown(self):CODE
LOW⚡tests/models.py7750 except Exception as exc:CODE
LOWtests/models.py5916 except Exception as exc:CODE
MEDIUMtests/pwasyncio.py828def asyncSetUp(self):CODE
LOWtests/pwasyncio.py833 except Exception as exc:CODE
MEDIUMtests/db_tests.py976def connect_close():CODE
MEDIUMtests/db_tests.py1000def run(n):CODE
LOW⚡tests/db_tests.py1004 except Exception as exc:CODE
LOWtests/db_tests.py983 except Exception as exc:CODE
MEDIUMtests/pool.py534def worker(n):CODE
MEDIUMtests/pool.py590def worker():CODE
LOWtests/pool.py543 except Exception as exc:CODE
LOWtests/pool.py598 except Exception as exc:CODE
LOWtests/base.py211 except Exception as exc:CODE
MEDIUMtests/base.py208def assertRaisesCtx(self, exceptions):CODE
LOWplayhouse/shortcuts.py266 except Exception as exc:CODE
MEDIUMplayhouse/shortcuts.py263def _reconnect(self, func, *args, **kwargs):CODE
MEDIUMplayhouse/pwasyncio.py167def _safe_release(self, conn):CODE
MEDIUMplayhouse/pwasyncio.py194def reset(self):CODE
MEDIUMplayhouse/pwasyncio.py476def is_closed(self):CODE
MEDIUMplayhouse/pwasyncio.py823def cleanup():CODE
LOWplayhouse/pwasyncio.py170 except Exception:CODE
LOWplayhouse/pwasyncio.py260 except Exception as exc:CODE
LOWplayhouse/pwasyncio.py282 except Exception:CODE
LOWplayhouse/pwasyncio.py376 except Exception:CODE
LOWplayhouse/pwasyncio.py388 except Exception:CODE
LOWplayhouse/pwasyncio.py753 except Exception:CODE
LOWplayhouse/pwasyncio.py767 except Exception:CODE
LOWplayhouse/pwasyncio.py1007 except Exception:CODE
LOWplayhouse/pwasyncio.py1035 except Exception:CODE
LOWplayhouse/pwasyncio.py1090 except Exception:CODE
LOWplayhouse/pwasyncio.py1104 except Exception:CODE
LOWplayhouse/pwasyncio.py1157 except Exception:CODE
LOWplayhouse/pwasyncio.py1164 except Exception:CODE
LOWplayhouse/pwasyncio.py1277 except Exception:CODE
LOWplayhouse/sqliteq.py181 except Exception as execute_err:CODE
LOWplayhouse/cysqlite_ext.py85 except Exception:CODE
LOWplayhouse/migrations.py588 except Exception as exc:STRING
LOWplayhouse/pool.py144 except Exception:CODE
LOWplayhouse/pool.py256 except Exception:CODE
LOWplayhouse/pool.py258 except Exception:CODE
LOWplayhouse/pool.py272 except Exception:CODE
LOWplayhouse/pool.py306 except Exception:CODE
MEDIUMplayhouse/pool.py141def _close_raw(self, conn):CODE
MEDIUMplayhouse/pool.py294def _is_closed(self, conn):CODE
Deep Nesting81 hits · 58 pts
SeverityFileLineSnippetContext
LOWpeewee.py776CODE
LOWpeewee.py8510CODE
LOWpeewee.py9002CODE
LOWpeewee.py9483CODE
LOWpeewee.py1862CODE
LOWpeewee.py2173CODE
LOWpeewee.py2484CODE
LOWpeewee.py2823CODE
LOWpeewee.py2910CODE
LOWpeewee.py3043CODE
LOWpeewee.py3862CODE
LOWpeewee.py4023CODE
LOWpeewee.py4558CODE
LOWpeewee.py4974CODE
LOWpeewee.py6087CODE
LOWpeewee.py7572CODE
LOWpeewee.py7646CODE
LOWpeewee.py7826CODE
LOWpeewee.py7895CODE
LOWpeewee.py7925CODE
LOWpeewee.py8119CODE
LOWpeewee.py8374CODE
LOWpeewee.py8484CODE
LOWpeewee.py8560CODE
LOWpeewee.py8571CODE
LOWpeewee.py8756CODE
LOWpeewee.py8796CODE
LOWpeewee.py9170CODE
LOWtests/prefetch_tests.py184CODE
LOWtests/prefetch_tests.py226CODE
LOWtests/prefetch_tests.py359CODE
LOWtests/prefetch_tests.py481CODE
LOWtests/prefetch_tests.py530CODE
LOWtests/prefetch_tests.py582CODE
LOWtests/pwasyncio_stress.py30CODE
LOWtests/models.py3205CODE
LOWtests/models.py3347CODE
LOWtests/json_field.py702CODE
LOWtests/transactions.py141CODE
LOWtests/transactions.py356CODE
LOWtests/transactions.py387CODE
LOWtests/transactions.py391CODE
LOWtests/with_related_tests.py338CODE
LOWtests/dataset.py376CODE
LOWtests/mysql_ext.py44CODE
LOWtests/db_tests.py128CODE
LOWtests/db_tests.py672CODE
LOWtests/base.py25CODE
LOWexamples/graph.py54CODE
LOWexamples/blog/app.py183CODE
LOWplayhouse/db_url.py25CODE
LOWplayhouse/shortcuts.py13CODE
LOWplayhouse/shortcuts.py132CODE
LOWplayhouse/reflection.py878CODE
LOWplayhouse/reflection.py196CODE
LOWplayhouse/reflection.py307CODE
LOWplayhouse/reflection.py554CODE
LOWplayhouse/reflection.py612CODE
LOWplayhouse/reflection.py750CODE
LOWplayhouse/reflection.py764CODE
21 more matches not shown…
Hallucination Indicators2 hits · 25 pts
SeverityFileLineSnippetContext
CRITICAL⚡tests/pwasyncio.py2409 self.assertFalse(self.db._state.conn.conn.is_in_transaction())CODE
CRITICALexamples/blog/static/js/jquery-1.11.0.min.js4},a,b,arguments.length>1)},show:function(){return Wb(this,!0)},hide:function(){return Wb(this)},toggle:function(a){returCODE
Over-Commented Block12 hits · 12 pts
SeverityFileLineSnippetContext
LOWpeewee.py2501 # If this compound select query is being used inside anCOMMENT
LOWdocs/conf.py1# -*- coding: utf-8 -*-COMMENT
LOWdocs/conf.py21#sys.path.insert(0, os.path.abspath('.'))COMMENT
LOWdocs/conf.py61# for a list of supported languages.COMMENT
LOWdocs/conf.py81# unit titles (such as .. function::).COMMENT
LOWdocs/conf.py121#html_theme_path = ['_themes']COMMENT
LOWdocs/conf.py141# so a file named "default.css" will overwrite the builtin "default.css".COMMENT
LOWdocs/conf.py161COMMENT
LOWdocs/conf.py181# contain a <link> tag referring to it. The value of this option must be theCOMMENT
LOWdocs/conf.py201# (source start file, target name, title, author, documentclass [howto/manual]).COMMENT
LOWplayhouse/sqlite_udf.py521COMMENT
LOWplayhouse/sqlite_udf.py541 # x002 -- rows with phrase0 in col0 at least onceCOMMENT
Modern Structural Boilerplate4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpeewee.py73__all__ = [CODE
LOWplayhouse/migrations.py46__all__ = ['Migration', 'MigrationError', 'Runner', 'run', 'template']CODE
LOWplayhouse/schema_diff.py36__all__ = ['IndexDiff', 'SchemaDiff', 'diff_models']CODE
LOWplayhouse/fts_parser.py40__all__ = ['parse']CODE
AI Structural Patterns6 hits · 4 pts
SeverityFileLineSnippetContext
LOWpeewee.py1801CODE
LOWpeewee.py2564CODE
LOWpeewee.py5661CODE
LOWpeewee.py6659CODE
LOWpeewee.py7337CODE
LOWplayhouse/shortcuts.py13CODE
AI Slop Vocabulary2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/models.py2389 # If we just set the pk and try to save, peewee issues an update whichCOMMENT
LOW⚡tests/fields.py2174 # Otherwise we just return None.COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/json_field.py282 JM.create(data={'k': 'placeholder'}, ident='t')CODE