Repository Analysis

coleifer/peewee

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

22.7 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of coleifer/peewee, a Python project with 11,984 GitHub stars. SynthScan v2.0 examined 75,484 lines of code across 140 source files, recording 1386 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 22.7 places this repository in the Moderate 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).

22.7
Adjusted Score
22.7
Raw Score
100%
Time Factor
2026-08-29
Last Push
12.0K
Stars
Python
Language
75.5K
Lines of Code
140
Files
1.4K
Pattern Hits
2026-08-29
Scan Date
0.22
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

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

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 2HIGH 29MEDIUM 215LOW 1140

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

Hyper-Verbose Identifiers794 hits · 572 pts
SeverityFileLineSnippetContext
LOWpeewee.py3209 def _generate_name_from_fields(self, model, fields):CODE
LOWpeewee.py3230def _truncate_constraint_name(constraint, maxlen=64):CODE
LOWpeewee.py3976 def _build_on_conflict_target(self, on_conflict):CODE
LOWpeewee.py3992 def _build_on_conflict_update(self, on_conflict, query):CODE
LOWpeewee.py4420 def unregister_window_function(self, name):CODE
LOWpeewee.py8068 def _populate_unsaved_relations(self, field_dict):CODE
LOWpeewee.py8405 def _get_model_cursor_wrapper(self, cursor):CODE
LOWpeewee.py8520 def _get_model_cursor_wrapper(self, cursor):CODE
LOWpeewee.py8756 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
LOWtests/prefetch_tests.py746 def test_prefetch_unrelated_model_error(self):CODE
LOWtests/prefetch_tests.py755 def test_prefetch_empty_subqueries_passthrough(self):CODE
LOWtests/prefetch_tests.py762 def test_prefetch_materialize_unsupported(self):CODE
LOWtests/prefetch_tests.py180 def test_prefetch_reverse_with_parent_join(self):CODE
LOWtests/prefetch_tests.py201 def test_prefetch_multi_depth(self):CODE
LOWtests/prefetch_tests.py243 def test_prefetch_multi_depth_no_join(self):CODE
LOWtests/prefetch_tests.py275 def test_prefetch_with_group_by(self):CODE
LOWtests/prefetch_tests.py333 def test_prefetch_adjacency_list(self):CODE
LOWtests/prefetch_tests.py376 def test_prefetch_specific_model(self):CODE
LOWtests/prefetch_tests.py410 def test_multiple_foreign_keys(self):CODE
LOWtests/prefetch_tests.py498 def test_prefetch_through_manytomany(self):CODE
LOWtests/prefetch_tests.py547 def test_prefetch_mark_dirty_regression(self):CODE
LOWtests/prefetch_tests.py715 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.py61 def test_assert_query_count_decorator(self):CODE
LOWtests/test_utils.py80 def test_assert_query_count_ctx_mgr(self):CODE
LOWtests/pwasyncio_stress.py160async def test_connection_isolation():CODE
LOWtests/models.py1945 def test_empty_insert_lands_defaults(self):CODE
LOWtests/models.py1952 def test_default_present_on_create(self):CODE
LOWtests/models.py1957 def test_defaults_from_cursor(self):CODE
LOWtests/models.py7886 def test_safe_python_value_catches_error(self):CODE
LOWtests/models.py7895 def test_safe_python_value_passes_through_success(self):CODE
LOWtests/models.py7904 def test_bound_models_context_restores_db(self):CODE
LOWtests/models.py7918 def test_save_raises_when_no_fields_to_update(self):CODE
LOWtests/models.py7928 def test_model_graph_no_refs_no_backrefs_error(self):CODE
LOWtests/models.py7932 def test_metadata_table_setter_error(self):CODE
LOWtests/models.py7936 def test_metadata_table_deleter_resets(self):CODE
LOWtests/models.py7944 def test_get_database_instance(self):CODE
LOWtests/models.py137 def test_column_field_translation(self):CODE
LOWtests/models.py197 def test_insert_many_defaults_nullable(self):CODE
LOWtests/models.py291 def test_bulk_create_batching(self):CODE
LOWtests/models.py315 def test_bulk_create_composite_key(self):CODE
LOWtests/models.py406 def test_populate_unsaved_relations(self):CODE
LOWtests/models.py460 def test_bulk_update_foreign_key(self):CODE
LOWtests/models.py492 def test_bulk_update_integrityerror(self):CODE
LOWtests/models.py534 def test_bulk_update_apply_dbvalue(self):CODE
LOWtests/models.py659 def test_model_select_get_or_none(self):CODE
LOWtests/models.py705 def test_get_or_create_self_referential_fk(self):CODE
LOWtests/models.py713 def test_get_or_create_defaults(self):CODE
LOWtests/models.py883 def test_join_empty_intermediate_model(self):CODE
LOWtests/models.py912 def test_join_empty_relations(self):CODE
LOWtests/models.py963 def test_join_outer_no_related(self):CODE
LOWtests/models.py982 def test_join_same_model_twice(self):CODE
LOWtests/models.py1011 def test_join_multi_fk_rhs_predicate(self):CODE
LOWtests/models.py1079 def test_alias_query_constructors(self):CODE
LOWtests/models.py1097 def test_join_expression_attribute_name(self):CODE
LOWtests/models.py1294 def test_join_from_cte_to_model(self):CODE
LOWtests/models.py1323 def test_subquery_emulate_window(self):CODE
734 more matches not shown…
Decorative Section Separators170 hits · 560 pts
SeverityFileLineSnippetContext
MEDIUMtests/prefetch_tests.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/prefetch_tests.py32# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/prefetch_tests.py77# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py79# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py566# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py568# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py702# ===========================================================================COMMENT
MEDIUMtests/prefetch_tests.py704# ===========================================================================COMMENT
MEDIUMtests/models.py46# ===========================================================================COMMENT
MEDIUMtests/models.py48# ===========================================================================COMMENT
MEDIUMtests/models.py2545# ===========================================================================COMMENT
MEDIUMtests/models.py2547# ===========================================================================COMMENT
MEDIUMtests/models.py3050# ===========================================================================COMMENT
MEDIUMtests/models.py3052# ===========================================================================COMMENT
MEDIUMtests/models.py3864# ===========================================================================COMMENT
MEDIUMtests/models.py3866# ===========================================================================COMMENT
MEDIUMtests/models.py4288# ===========================================================================COMMENT
MEDIUMtests/models.py4290# ===========================================================================COMMENT
MEDIUMtests/models.py4905# ===========================================================================COMMENT
MEDIUMtests/models.py4907# ===========================================================================COMMENT
MEDIUMtests/models.py5529# ===========================================================================COMMENT
MEDIUMtests/models.py5531# ===========================================================================COMMENT
MEDIUMtests/models.py5667# ===========================================================================COMMENT
MEDIUMtests/models.py5669# ===========================================================================COMMENT
MEDIUMtests/models.py6369# ===========================================================================COMMENT
MEDIUMtests/models.py6371# ===========================================================================COMMENT
MEDIUMtests/models.py6565# ===========================================================================COMMENT
MEDIUMtests/models.py6567# ===========================================================================COMMENT
MEDIUMtests/fields.py802# ===========================================================================COMMENT
MEDIUMtests/fields.py804# ===========================================================================COMMENT
MEDIUMtests/fields.py2379# ===========================================================================COMMENT
MEDIUMtests/fields.py2381# ===========================================================================COMMENT
MEDIUMtests/fields.py59# ===========================================================================COMMENT
MEDIUMtests/fields.py61# ===========================================================================COMMENT
MEDIUMtests/fields.py206# ===========================================================================COMMENT
MEDIUMtests/fields.py208# ===========================================================================COMMENT
MEDIUMtests/fields.py327# ===========================================================================COMMENT
MEDIUMtests/fields.py329# ===========================================================================COMMENT
MEDIUMtests/fields.py1057# ===========================================================================COMMENT
MEDIUMtests/fields.py1059# ===========================================================================COMMENT
MEDIUMtests/fields.py1492# ===========================================================================COMMENT
MEDIUMtests/fields.py1494# ===========================================================================COMMENT
MEDIUMtests/fields.py1701# ===========================================================================COMMENT
MEDIUMtests/fields.py1703# ===========================================================================COMMENT
MEDIUMtests/fields.py2693# ===========================================================================COMMENT
MEDIUMtests/fields.py2695# ===========================================================================COMMENT
MEDIUMtests/fields.py2906# ===========================================================================COMMENT
MEDIUMtests/fields.py2908# ===========================================================================COMMENT
MEDIUMtests/base_models.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py45# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py52# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py65# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py72# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py78# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py188# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py195# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py203# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py211# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/base_models.py6# ---------------------------------------------------------------------------COMMENT
110 more matches not shown…
Unused Imports196 hits · 162 pts
SeverityFileLineSnippetContext
LOWbench.py1CODE
LOWpwiz.py9CODE
LOWpwiz.py12CODE
LOWruntests.py87CODE
LOWtests/sqlcipher_ext.py6CODE
LOWtests/sqlcipher_ext.py7CODE
LOWtests/prefetch_tests.py13CODE
LOWtests/signals.py1CODE
LOWtests/test_utils.py1CODE
LOWtests/test_utils.py6CODE
LOWtests/pwasyncio_stress.py7CODE
LOWtests/models.py5CODE
LOWtests/models.py9CODE
LOWtests/models.py10CODE
LOWtests/models.py13CODE
LOWtests/models.py43CODE
LOWtests/fields.py32CODE
LOWtests/fields.py34CODE
LOWtests/base_models.py1CODE
LOWtests/db_url.py1CODE
LOWtests/manytomany.py15CODE
LOWtests/manytomany.py20CODE
LOWtests/results.py13CODE
LOWtests/results.py18CODE
LOWtests/apsw_ext.py1CODE
LOWtests/apsw_ext.py4CODE
LOWtests/shortcuts.py3CODE
LOWtests/shortcuts.py4CODE
LOWtests/hybrid.py1CODE
LOWtests/hybrid.py2CODE
LOWtests/reflection.py2CODE
LOWtests/reflection.py6CODE
LOWtests/reflection.py7CODE
LOWtests/reflection.py13CODE
LOWtests/reflection.py18CODE
LOWtests/reflection.py19CODE
LOWtests/json_field.py3CODE
LOWtests/json_field.py17CODE
LOWtests/transactions.py17CODE
LOWtests/transactions.py19CODE
LOWtests/pydantic_utils.py1CODE
LOWtests/pydantic_utils.py10CODE
LOWtests/pwasyncio.py2CODE
LOWtests/pwasyncio.py13CODE
LOWtests/pwasyncio.py15CODE
LOWtests/pwasyncio.py16CODE
LOWtests/sqliteq.py2CODE
LOWtests/sqliteq.py5CODE
LOWtests/sqliteq.py14CODE
LOWtests/pwiz_integration.py1CODE
LOWtests/pwiz_integration.py8CODE
LOWtests/pwiz_integration.py9CODE
LOWtests/pwiz_integration.py14CODE
LOWtests/__init__.py1CODE
LOWtests/__init__.py2CODE
LOWtests/__init__.py8CODE
LOWtests/__init__.py9CODE
LOWtests/__init__.py10CODE
LOWtests/__init__.py11CODE
LOWtests/__init__.py12CODE
136 more matches not shown…
Cross-Language Confusion29 hits · 160 pts
SeverityFileLineSnippetContext
HIGHpeewee.py574 self.push()CODE
HIGHpeewee.py699 self.alias_manager.push()CODE
HIGHpeewee.py4906 for name, null, dt, df, ft, ident in cursor.fetchall()]CODE
HIGHpeewee.py5172 for name, null, dt, df, ft, extra in cursor.fetchall():CODE
HIGHpeewee.py5179 name, dt, null, name in pks, table, df, ft,CODE
HIGHtests/fields.py1858 self.assertFalse(Photo.album.null)CODE
HIGHtests/fields.py1863 self.assertTrue(Photo.alt_album.null)CODE
HIGHtests/manytomany.py116 self.assertFalse(note_field.null)CODE
HIGHtests/manytomany.py120 self.assertFalse(user_field.null)CODE
HIGHtests/reflection.py136 self.assertFalse(relmodel.col_types.null)CODE
HIGHtests/reflection.py137 self.assertTrue(relmodel.col_types_nullable.null)CODE
HIGHtests/json_field.py904 L = JM.select(JM.data.length()).scalar()CODE
HIGHtests/db_tests.py403 self.database.execute_sql('create table foo (data text not null)')CODE
HIGHtests/db_tests.py595 data = [(c.name, c.null, c.primary_key, c.table)CODE
HIGHtests/db_tests.py604 data = [(c.name, c.null, c.primary_key, c.table)CODE
HIGHtests/postgres.py1307 self.assertEqual(JDoc.select(JDoc.data.length()).scalar(), 3)CODE
HIGHtests/postgres.py1308 self.assertEqual(JBDoc.select(JBDoc.data.length()).scalar(), 3)CODE
HIGHtests/postgres.py875 query = BJson.select(curr.length()).tuples()CODE
HIGHtests/migrations.py236 self.assertFalse(column.null)CODE
HIGHtests/migrations.py254 self.assertFalse(column.null)CODE
HIGHtests/migrations.py617 self.assertFalse(karma.null)CODE
HIGHtests/sql.py3827 am.push()CODE
HIGHtests/sql.py3842 am.push()CODE
HIGHtests/schema_diff.py769 # converges (unique) or silently comes out NOT NULL (null).STRING
HIGHtests/schema_diff.py783 self.assertTrue(columns['editor_id'].null)STRING
HIGHtests/schema_diff.py784 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.py352 # present and the field is non-null, then we need to first add theCOMMENT
Self-Referential Comments30 hits · 84 pts
SeverityFileLineSnippetContext
MEDIUMpeewee.py1103 # Define the table and its alias.COMMENT
MEDIUMpeewee.py7737 # Create a repr and error class before finalizing.COMMENT
MEDIUMpeewee.py8313 # Define the table and its alias.COMMENT
MEDIUMtests/pwasyncio_stress.py174 # Create a userCOMMENT
MEDIUMtests/pwasyncio_stress.py214 # Create a small poolCOMMENT
MEDIUMtests/models.py2800 # Create the subquery.COMMENT
MEDIUMtests/models.py4075 # Define the base case of our recursive CTE. This will be categories thatCOMMENT
MEDIUMtests/models.py4087 # Define the recursive terms.COMMENT
MEDIUMtests/sqlite.py243 # Create a row using the given test value. Verify we can read the valueCOMMENT
MEDIUMtests/dataset.py98 # Create a new dataset instance with views enabled.COMMENT
MEDIUMtests/dataset.py642 # Create a new table and load all data into it.COMMENT
MEDIUMtests/dataset.py711 # Create a new table and load all data into it.COMMENT
MEDIUMtests/migrations.py199 # 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.py1013 # Create a temporary table with the renamed column.COMMENT
MEDIUMtests/sql.py1477 # Create an outer query and do grouping.COMMENT
MEDIUMtests/pool.py131 # Create a test database with a very short stale timeout.COMMENT
MEDIUMtests/pool.py149 # Create a test database with a very short stale timeout.COMMENT
MEDIUMtests/schema.py1255 # 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
MEDIUMplayhouse/migrate.py88 # Create an index on the `pub_date` column.STRING
MEDIUMplayhouse/migrate.py91 # Create a multi-column index on the `pub_date` and `status` fields.STRING
MEDIUMplayhouse/migrate.py94 # Create a unique index on the category and title fields.STRING
MEDIUMplayhouse/migrate.py848 # Create a mapping of original columns to new columns.STRING
MEDIUMplayhouse/migrate.py877 # Create the new table.STRING
Excessive Try-Catch Wrapping54 hits · 64 pts
SeverityFileLineSnippetContext
MEDIUMpeewee.py299def __getattr__(self, attr):CODE
MEDIUMpeewee.py4029def rows_affected(self, cursor):CODE
MEDIUMpeewee.py4962def get_binary_type(self):CODE
LOWpeewee.py3914 except Exception as exc:CODE
LOWpeewee.py4269 except Exception:CODE
LOWpeewee.py4630 except Exception:CODE
LOWpeewee.py4644 except Exception:CODE
LOWpeewee.py5112 except Exception:CODE
LOWpeewee.py5363 except Exception:CODE
LOWpeewee.py5398 except Exception:CODE
LOWpeewee.py6129 except Exception:CODE
LOWpeewee.py8792 except Exception: passCODE
MEDIUMruntests.py123 print('Error: could not import asyncio stress test: %s' % exc)CODE
LOWtests/pwasyncio_stress.py93 except Exception as exc:CODE
MEDIUMtests/pwasyncio.py831def asyncSetUp(self):CODE
LOWtests/pwasyncio.py836 except Exception as exc:CODE
MEDIUMtests/pool.py611def worker():CODE
LOWtests/pool.py561 except Exception as exc:CODE
LOWtests/pool.py619 except Exception as exc:CODE
LOWtests/pool.py769 except Exception as exc:CODE
LOWtests/base.py209 except Exception as exc:CODE
MEDIUMtests/base.py206def assertRaisesCtx(self, exceptions):CODE
MEDIUMtests/schema.py1135def tearDown(self):CODE
LOWtests/schema.py1173 except Exception as exc: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.py94 except Exception:CODE
LOWplayhouse/migrations.py584 except Exception as exc:STRING
LOWplayhouse/pool.py144 except Exception:CODE
LOWplayhouse/pool.py249 except Exception:CODE
LOWplayhouse/pool.py251 except Exception:CODE
LOWplayhouse/pool.py265 except Exception:CODE
LOWplayhouse/pool.py299 except Exception:CODE
MEDIUMplayhouse/pool.py141def _close_raw(self, conn):CODE
MEDIUMplayhouse/pool.py287def _is_closed(self, conn):CODE
Deep Nesting81 hits · 58 pts
SeverityFileLineSnippetContext
LOWpeewee.py772CODE
LOWpeewee.py8524CODE
LOWpeewee.py9006CODE
LOWpeewee.py9478CODE
LOWpeewee.py1853CODE
LOWpeewee.py2164CODE
LOWpeewee.py2483CODE
LOWpeewee.py2820CODE
LOWpeewee.py2907CODE
LOWpeewee.py3040CODE
LOWpeewee.py3856CODE
LOWpeewee.py4016CODE
LOWpeewee.py4554CODE
LOWpeewee.py4971CODE
LOWpeewee.py6087CODE
LOWpeewee.py7586CODE
LOWpeewee.py7660CODE
LOWpeewee.py7840CODE
LOWpeewee.py7909CODE
LOWpeewee.py7939CODE
LOWpeewee.py8133CODE
LOWpeewee.py8388CODE
LOWpeewee.py8498CODE
LOWpeewee.py8574CODE
LOWpeewee.py8585CODE
LOWpeewee.py8770CODE
LOWpeewee.py8805CODE
LOWpeewee.py9175CODE
LOWtests/prefetch_tests.py201CODE
LOWtests/prefetch_tests.py243CODE
LOWtests/prefetch_tests.py376CODE
LOWtests/prefetch_tests.py498CODE
LOWtests/prefetch_tests.py547CODE
LOWtests/prefetch_tests.py600CODE
LOWtests/pwasyncio_stress.py30CODE
LOWtests/models.py2945CODE
LOWtests/fields.py2125CODE
LOWtests/json_field.py710CODE
LOWtests/transactions.py145CODE
LOWtests/transactions.py360CODE
LOWtests/transactions.py391CODE
LOWtests/transactions.py395CODE
LOWtests/with_related_tests.py337CODE
LOWtests/dataset.py379CODE
LOWtests/mysql_ext.py56CODE
LOWtests/db_tests.py118CODE
LOWtests/db_tests.py618CODE
LOWtests/base.py24CODE
LOWexamples/graph.py54CODE
LOWexamples/blog/app.py183CODE
LOWplayhouse/db_url.py25CODE
LOWplayhouse/shortcuts.py13CODE
LOWplayhouse/shortcuts.py132CODE
LOWplayhouse/reflection.py897CODE
LOWplayhouse/reflection.py196CODE
LOWplayhouse/reflection.py307CODE
LOWplayhouse/reflection.py564CODE
LOWplayhouse/reflection.py622CODE
LOWplayhouse/reflection.py760CODE
LOWplayhouse/reflection.py774CODE
21 more matches not shown…
Hallucination Indicators2 hits · 25 pts
SeverityFileLineSnippetContext
CRITICALtests/pwasyncio.py2416 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 Block17 hits · 14 pts
SeverityFileLineSnippetContext
LOWtests/base_models.py1from peewee import *COMMENT
LOWtests/base_models.py41# Exercises: ForeignKeyField('self'), CharField as primary_key, nullableCOMMENT
LOWtests/base_models.py61 from_person = ForeignKeyField(Person, backref='relations')COMMENT
LOWtests/base_models.py81# This is the most heavily used model group in the test suite (~66 TestCaseCOMMENT
LOWtests/base_models.py141 sample = ForeignKeyField(Sample, backref='metadata')COMMENT
LOWtests/base_models.py201COMMENT
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.py45__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.py1792CODE
LOWpeewee.py2563CODE
LOWpeewee.py5661CODE
LOWpeewee.py6669CODE
LOWpeewee.py7351CODE
LOWplayhouse/shortcuts.py13CODE
AI Slop Vocabulary2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/models.py2278 # If we just set the pk and try to save, peewee issues an update whichCOMMENT
LOWtests/fields.py1974 # Otherwise we just return None.COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/json_field.py292 JM.create(data={'k': 'placeholder'}, ident='t')CODE