Repository Analysis

coleifer/peewee

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

23.5 Moderate AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of coleifer/peewee, a Python project with 11,981 GitHub stars. SynthScan v2.0 examined 68,762 lines of code across 135 source files, recording 1260 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 23.5 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).

23.5
Adjusted Score
23.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
12.0K
Stars
Python
Language
68.8K
Lines of Code
135
Files
1.3K
Pattern Hits
2026-07-14
Scan Date
0.20
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 2HIGH 25MEDIUM 207LOW 1026

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 1260 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.

Decorative Section Separators166 hits · 550 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.py2369# ===========================================================================COMMENT
MEDIUMtests/models.py2371# ===========================================================================COMMENT
MEDIUMtests/models.py2874# ===========================================================================COMMENT
MEDIUMtests/models.py2876# ===========================================================================COMMENT
MEDIUMtests/models.py3651# ===========================================================================COMMENT
MEDIUMtests/models.py3653# ===========================================================================COMMENT
MEDIUMtests/models.py4067# ===========================================================================COMMENT
MEDIUMtests/models.py4069# ===========================================================================COMMENT
MEDIUMtests/models.py4618# ===========================================================================COMMENT
MEDIUMtests/models.py4620# ===========================================================================COMMENT
MEDIUMtests/models.py5200# ===========================================================================COMMENT
MEDIUMtests/models.py5202# ===========================================================================COMMENT
MEDIUMtests/models.py5338# ===========================================================================COMMENT
MEDIUMtests/models.py5340# ===========================================================================COMMENT
MEDIUMtests/models.py6040# ===========================================================================COMMENT
MEDIUMtests/models.py6042# ===========================================================================COMMENT
MEDIUMtests/models.py6236# ===========================================================================COMMENT
MEDIUMtests/models.py6238# ===========================================================================COMMENT
MEDIUMtests/fields.py802# ===========================================================================COMMENT
MEDIUMtests/fields.py804# ===========================================================================COMMENT
MEDIUMtests/fields.py2351# ===========================================================================COMMENT
MEDIUMtests/fields.py2353# ===========================================================================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.py1045# ===========================================================================COMMENT
MEDIUMtests/fields.py1047# ===========================================================================COMMENT
MEDIUMtests/fields.py1464# ===========================================================================COMMENT
MEDIUMtests/fields.py1466# ===========================================================================COMMENT
MEDIUMtests/fields.py1673# ===========================================================================COMMENT
MEDIUMtests/fields.py1675# ===========================================================================COMMENT
MEDIUMtests/fields.py2665# ===========================================================================COMMENT
MEDIUMtests/fields.py2667# ===========================================================================COMMENT
MEDIUMtests/fields.py2878# ===========================================================================COMMENT
MEDIUMtests/fields.py2880# ===========================================================================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
106 more matches not shown…
Hyper-Verbose Identifiers693 hits · 511 pts
SeverityFileLineSnippetContext
LOWpeewee.py3093 def _generate_name_from_fields(self, model, fields):CODE
LOWpeewee.py3114def _truncate_constraint_name(constraint, maxlen=64):CODE
LOWpeewee.py3843 def _build_on_conflict_update(self, on_conflict, query):CODE
LOWpeewee.py4245 def unregister_window_function(self, name):CODE
LOWpeewee.py7846 def _populate_unsaved_relations(self, field_dict):CODE
LOWpeewee.py8188 def _get_model_cursor_wrapper(self, cursor):CODE
LOWpeewee.py8303 def _get_model_cursor_wrapper(self, cursor):CODE
LOWpeewee.py8532 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.py1834 def test_empty_insert_lands_defaults(self):CODE
LOWtests/models.py1841 def test_default_present_on_create(self):CODE
LOWtests/models.py1846 def test_defaults_from_cursor(self):CODE
LOWtests/models.py3855 def test_recursive_cte_docs_example(self):CODE
LOWtests/models.py7202 def test_safe_python_value_catches_error(self):CODE
LOWtests/models.py7211 def test_safe_python_value_passes_through_success(self):CODE
LOWtests/models.py7220 def test_bound_models_context_restores_db(self):CODE
LOWtests/models.py7234 def test_save_raises_when_no_fields_to_update(self):CODE
LOWtests/models.py7244 def test_model_graph_no_refs_no_backrefs_error(self):CODE
LOWtests/models.py7248 def test_metadata_table_setter_error(self):CODE
LOWtests/models.py7252 def test_metadata_table_deleter_resets(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.py527 def test_bulk_update_apply_dbvalue(self):CODE
LOWtests/models.py652 def test_model_select_get_or_none(self):CODE
LOWtests/models.py698 def test_get_or_create_self_referential_fk(self):CODE
LOWtests/models.py706 def test_get_or_create_defaults(self):CODE
LOWtests/models.py876 def test_join_empty_intermediate_model(self):CODE
LOWtests/models.py905 def test_join_empty_relations(self):CODE
LOWtests/models.py956 def test_join_outer_no_related(self):CODE
LOWtests/models.py975 def test_join_same_model_twice(self):CODE
LOWtests/models.py1053 def test_alias_query_constructors(self):CODE
LOWtests/models.py1071 def test_join_expression_attribute_name(self):CODE
LOWtests/models.py1268 def test_join_from_cte_to_model(self):CODE
LOWtests/models.py1297 def test_subquery_emulate_window(self):CODE
LOWtests/models.py1346 def test_subquery_alias_selection(self):CODE
LOWtests/models.py1370 def test_subquery_in_select_expression(self):CODE
633 more matches not shown…
Unused Imports196 hits · 163 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.py12CODE
LOWtests/reflection.py17CODE
LOWtests/reflection.py18CODE
LOWtests/json_field.py3CODE
LOWtests/json_field.py17CODE
LOWtests/transactions.py17CODE
LOWtests/transactions.py19CODE
LOWtests/pydantic_utils.py1CODE
LOWtests/pydantic_utils.py9CODE
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 Confusion25 hits · 148 pts
SeverityFileLineSnippetContext
HIGHpeewee.py3231 # when it exists with stored JSON null) - matches the "only-if-COMMENT
HIGHpeewee.py3451 # when it exists with stored JSON null).COMMENT
HIGHpeewee.py554 self.push()CODE
HIGHpeewee.py676 self.alias_manager.push()CODE
HIGHpeewee.py4716 for name, null, dt, df, ft, ident in cursor.fetchall()]CODE
HIGHpeewee.py4969 for name, null, dt, df, ft, extra in cursor.fetchall():CODE
HIGHpeewee.py4976 name, dt, null, name in pks, table, df, ft,CODE
HIGHtests/fields.py1830 self.assertFalse(Photo.album.null)CODE
HIGHtests/fields.py1835 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.py127 self.assertFalse(relmodel.col_types.null)CODE
HIGHtests/reflection.py128 self.assertTrue(relmodel.col_types_nullable.null)CODE
HIGHtests/json_field.py874 L = JM.select(JM.data.length()).scalar()CODE
HIGHtests/db_tests.py323 self.database.execute_sql('create table foo (data text not null)')CODE
HIGHtests/db_tests.py515 data = [(c.name, c.null, c.primary_key, c.table)CODE
HIGHtests/db_tests.py524 data = [(c.name, c.null, c.primary_key, c.table)CODE
HIGHtests/postgres.py1249 self.assertEqual(JDoc.select(JDoc.data.length()).scalar(), 3)CODE
HIGHtests/postgres.py1250 self.assertEqual(JBDoc.select(JBDoc.data.length()).scalar(), 3)CODE
HIGHtests/postgres.py858 query = BJson.select(curr.length()).tuples()CODE
HIGHtests/sql.py3291 am.push()CODE
HIGHtests/sql.py3306 am.push()CODE
HIGHplayhouse/reflection.py230 nullable=column_data.null,CODE
HIGHplayhouse/migrate.py234 field_null, field.null = field.null, TrueCODE
HIGHplayhouse/migrate.py316 # present and the field is non-null, then we need to first add theCOMMENT
Self-Referential Comments31 hits · 90 pts
SeverityFileLineSnippetContext
MEDIUMpeewee.py1078 # Define the table and its alias.COMMENT
MEDIUMpeewee.py7513 # Create a repr and error class before finalizing.COMMENT
MEDIUMpeewee.py8096 # Define the table and its alias.COMMENT
MEDIUMtests/pwasyncio_stress.py174 # Create a userCOMMENT
MEDIUMtests/pwasyncio_stress.py214 # Create a small poolCOMMENT
MEDIUMtests/models.py3856 # Define the base case of our recursive CTE. This will be categories thatCOMMENT
MEDIUMtests/models.py3866 # Define the recursive terms.COMMENT
MEDIUMtests/models.py2624 # Create the subquery.COMMENT
MEDIUMtests/sqlite.py197 # 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.py599 # Create a new table and load all data into it.COMMENT
MEDIUMtests/dataset.py668 # Create a new table and load all data into it.COMMENT
MEDIUMtests/migrations.py185 # Create a new tag model to represent the fields we added.COMMENT
MEDIUMtests/migrations.py474 # Create a unique index on first and last names.COMMENT
MEDIUMtests/migrations.py489 # Create a new tag model to represent the fields we added.COMMENT
MEDIUMtests/migrations.py505 # Create a unique index.COMMENT
MEDIUMtests/migrations.py877 # Create a temporary table with the renamed column.COMMENT
MEDIUMtests/sql.py1113 # Create an outer query and do grouping.COMMENT
MEDIUMtests/pool.py129 # Create a test database with a very short stale timeout.COMMENT
MEDIUMtests/pool.py147 # Create a test database with a very short stale timeout.COMMENT
MEDIUMtests/schema.py1208 # 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
MEDIUMexamples/blog/app.py94 # Create a row in the FTSEntry table with the post content. This willCOMMENT
MEDIUMplayhouse/sqliteq.py223 # Create the writer thread, optionally starting it.COMMENT
MEDIUMplayhouse/migrate.py84 # Create an index on the `pub_date` column.STRING
MEDIUMplayhouse/migrate.py87 # Create a multi-column index on the `pub_date` and `status` fields.STRING
MEDIUMplayhouse/migrate.py90 # Create a unique index on the category and title fields.STRING
MEDIUMplayhouse/migrate.py770 # Create a mapping of original columns to new columns.STRING
MEDIUMplayhouse/migrate.py799 # Create the new table.STRING
Deep Nesting80 hits · 58 pts
SeverityFileLineSnippetContext
LOWpeewee.py749CODE
LOWpeewee.py8307CODE
LOWpeewee.py8778CODE
LOWpeewee.py9247CODE
LOWpeewee.py1822CODE
LOWpeewee.py2134CODE
LOWpeewee.py2408CODE
LOWpeewee.py2717CODE
LOWpeewee.py2805CODE
LOWpeewee.py2929CODE
LOWpeewee.py3746CODE
LOWpeewee.py4382CODE
LOWpeewee.py4777CODE
LOWpeewee.py5885CODE
LOWpeewee.py7321CODE
LOWpeewee.py7370CODE
LOWpeewee.py7436CODE
LOWpeewee.py7612CODE
LOWpeewee.py7681CODE
LOWpeewee.py7716CODE
LOWpeewee.py7912CODE
LOWpeewee.py8171CODE
LOWpeewee.py8281CODE
LOWpeewee.py8357CODE
LOWpeewee.py8368CODE
LOWpeewee.py8441CODE
LOWpeewee.py8546CODE
LOWpeewee.py8581CODE
LOWpeewee.py8955CODE
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.py2769CODE
LOWtests/fields.py2097CODE
LOWtests/json_field.py701CODE
LOWtests/transactions.py145CODE
LOWtests/transactions.py342CODE
LOWtests/transactions.py373CODE
LOWtests/transactions.py377CODE
LOWtests/with_related_tests.py259CODE
LOWtests/dataset.py364CODE
LOWtests/mysql_ext.py56CODE
LOWtests/db_tests.py118CODE
LOWtests/db_tests.py538CODE
LOWtests/base.py24CODE
LOWexamples/graph.py54CODE
LOWexamples/blog/app.py195CODE
LOWplayhouse/db_url.py25CODE
LOWplayhouse/shortcuts.py13CODE
LOWplayhouse/shortcuts.py130CODE
LOWplayhouse/reflection.py885CODE
LOWplayhouse/reflection.py198CODE
LOWplayhouse/reflection.py309CODE
LOWplayhouse/reflection.py568CODE
LOWplayhouse/reflection.py626CODE
LOWplayhouse/reflection.py750CODE
20 more matches not shown…
Excessive Try-Catch Wrapping39 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUMpeewee.py289def __getattr__(self, attr):CODE
MEDIUMpeewee.py4637def last_insert_id(self, cursor, query_type=None):CODE
LOWpeewee.py4094 except Exception:CODE
LOWpeewee.py4909 except Exception:CODE
LOWpeewee.py5170 except Exception:CODE
LOWpeewee.py5209 except Exception:CODE
LOWpeewee.py5927 except Exception:CODE
LOWpeewee.py8568 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.py813def asyncSetUp(self):CODE
LOWtests/pwasyncio.py818 except Exception as exc:CODE
MEDIUMtests/pool.py609def worker():CODE
LOWtests/pool.py559 except Exception as exc:CODE
LOWtests/pool.py617 except Exception as exc:CODE
LOWtests/pool.py767 except Exception as exc:CODE
LOWtests/base.py208 except Exception as exc:CODE
MEDIUMtests/base.py205def assertRaisesCtx(self, exceptions):CODE
MEDIUMtests/schema.py1088def tearDown(self):CODE
LOWtests/schema.py1126 except Exception as exc:CODE
LOWplayhouse/shortcuts.py262 except Exception as exc:CODE
MEDIUMplayhouse/shortcuts.py259def _reconnect(self, func, *args, **kwargs):CODE
LOWplayhouse/pwasyncio.py298 except Exception:CODE
LOWplayhouse/pwasyncio.py309 except Exception:CODE
LOWplayhouse/pwasyncio.py686 except Exception:CODE
LOWplayhouse/pwasyncio.py704 except Exception:CODE
LOWplayhouse/pwasyncio.py902 except Exception:CODE
LOWplayhouse/pwasyncio.py957 except Exception:CODE
LOWplayhouse/pwasyncio.py971 except Exception:CODE
LOWplayhouse/pwasyncio.py1021 except Exception:CODE
LOWplayhouse/pwasyncio.py1026 except Exception:CODE
LOWplayhouse/pwasyncio.py1068 except Exception:CODE
LOWplayhouse/pwasyncio.py1073 except Exception:CODE
LOWplayhouse/pwasyncio.py1149 except Exception:CODE
MEDIUMplayhouse/pwasyncio.py736def cleanup():CODE
LOWplayhouse/sqliteq.py181 except Exception as execute_err:CODE
LOWplayhouse/cysqlite_ext.py90 except Exception:CODE
LOWplayhouse/pool.py153 except Exception:CODE
MEDIUMplayhouse/pool.py150def _close_raw(self, conn):CODE
Hallucination Indicators2 hits · 25 pts
SeverityFileLineSnippetContext
CRITICALtests/pwasyncio.py2289 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
AI Structural Patterns6 hits · 4 pts
SeverityFileLineSnippetContext
LOWpeewee.py1763CODE
LOWpeewee.py2469CODE
LOWpeewee.py5475CODE
LOWpeewee.py6450CODE
LOWpeewee.py7131CODE
LOWplayhouse/shortcuts.py13CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpeewee.py72__all__ = [CODE
LOWplayhouse/pwasyncio.py34logger = logging.getLogger(__name__)CODE
AI Slop Vocabulary2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/models.py2107 # If we just set the pk and try to save, peewee issues an update whichCOMMENT
LOWtests/fields.py1946 # Otherwise we just return None.COMMENT
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtests/json_field.py290 JM.create(data={'k': 'placeholder'}, ident='t')CODE