AI Slop Code RIsk Monitor

AnswerDotAI/fasthtml

The fastest way to create an HTML app

10.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for AnswerDotAI/fasthtml, a Jupyter Notebook project with 7,052 GitHub stars. SynthScan examined 21,110 lines of code across 77 source files, recording 203 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 10.6 (Moderate 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.

10.6
Adjusted Signal
10.6
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
7.1K
Stars
Jupyter Notebook
Language
21.1K
Lines of Code
77
Files
203
Pattern Hits
2026-10-12
Scan Date
0.12
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 5.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 31.1/100 · MEDIUM

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

Agent Over-Engineering Ratio 11.8/100 · LOW

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

PR Review Velocity Impact 45.7/100 · MEDIUM

Which changes need focused human review? 203 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 9MEDIUM 5LOW 189

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

Unused Imports157 hits · 140 pts
SeverityFileLineSnippetContext
LOWdemo/main.py1CODE
LOWtools/mk_pyi.py2CODE
LOWhtmxv4_migration/hx_multipart_timelapse.py1CODE
LOWhtmxv4_migration/hx_multipart_timelapse.py5CODE
LOW…migration/compat_hx_tests/v2_incompatible_v4_events.py1CODE
LOW…_migration/compat_hx_tests/v4_incompatible_v2_attrs.py1CODE
LOWhtmxv4_migration/compat_hx_tests/v2_compatible.py1CODE
LOW…migration/compat_hx_tests/v4_incompatible_v2_events.py1CODE
LOWhtmxv4_migration/compat_hx_tests/v4_compatible.py1CODE
LOW…_migration/compat_hx_tests/v2_incompatible_v4_attrs.py1CODE
LOWnbs/explains/stripe_otp.py9CODE
LOWnbs/tutorials/01_quickdraw.py1CODE
LOWnbs/tutorials/hello_world.py1CODE
LOWnbs/tutorials/02_quickdraw.py1CODE
LOWnbs/tutorials/03_quickdraw.py1CODE
LOWtests/test_toaster.py1CODE
LOWexamples/todos2.py1CODE
LOWexamples/adv_app_strip.py1CODE
LOWexamples/adv_app_strip.py2CODE
LOWexamples/adv_app_strip.py3CODE
LOWexamples/user_app.py3CODE
LOWexamples/user_app.py4CODE
LOWexamples/basic_ws.py2CODE
LOWexamples/todos3.py2CODE
LOWexamples/adv_app.py6CODE
LOWexamples/adv_app.py7CODE
LOWexamples/adv_app.py8CODE
LOWexamples/chat_ws.py1CODE
LOWexamples/minimal.py2CODE
LOWexamples/minimal.py3CODE
LOWexamples/todos4.py1CODE
LOWexamples/todos4.py2CODE
LOWexamples/todos1.py1CODE
LOWfasthtml/starlette.py1CODE
LOWfasthtml/starlette.py2CODE
LOWfasthtml/starlette.py3CODE
LOWfasthtml/starlette.py4CODE
LOWfasthtml/starlette.py5CODE
LOWfasthtml/starlette.py6CODE
LOWfasthtml/starlette.py6CODE
LOWfasthtml/starlette.py6CODE
LOWfasthtml/starlette.py6CODE
LOWfasthtml/starlette.py6CODE
LOWfasthtml/starlette.py7CODE
LOWfasthtml/starlette.py8CODE
LOWfasthtml/starlette.py9CODE
LOWfasthtml/starlette.py9CODE
LOWfasthtml/starlette.py9CODE
LOWfasthtml/starlette.py9CODE
LOWfasthtml/starlette.py9CODE
LOWfasthtml/starlette.py9CODE
LOWfasthtml/starlette.py10CODE
LOWfasthtml/starlette.py10CODE
LOWfasthtml/starlette.py10CODE
LOWfasthtml/starlette.py10CODE
LOWfasthtml/starlette.py11CODE
LOWfasthtml/starlette.py12CODE
LOWfasthtml/starlette.py13CODE
LOWfasthtml/starlette.py14CODE
LOWfasthtml/starlette.py14CODE
97 more matches not shown…
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHnbs/tutorials/03_quickdraw.py41 if (data && Object.keys(data).length > 0) {{CODE
HIGHfasthtml/xtend.py126 const p = _p ? me(_p) : null;CODE
HIGHfasthtml/pico.py90 elt = "(event.detail.ctx?.sourceElement || event.detail.elt)"CODE
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHfasthtml/live_reload.py31except WebSocketDisconnect: passCODE
HIGHfasthtml/core.py663except StopAsyncIteration: passCODE
HIGHfasthtml/jupyter.py20except ImportError: passCODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHnbs/llms-ctx-full.txt0import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js"; proc_htmx('.markdown', e => e.innerhtml STRING
HIGHnbs/llms-ctx.txt0import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js"; proc_htmx('.markdown', e => e.innerhtml STRING
HIGHexamples/adv_app.py0import { marked } from "https://cdn.jsdelivr.net/npm/marked/lib/marked.esm.js"; proc_htmx('.markdown', e => e.innerhtml STRING
Modern Structural Boilerplate12 hits · 12 pts
SeverityFileLineSnippetContext
LOWnbs/explains/stripe_otp.py4__all__ = ['DOMAIN_URL', 'app_nm', 'price_list', 'price', 'bware', 'app', 'rt', 'WEBHOOK_SECRET', 'db', 'payments',CODE
LOWfasthtml/live_reload.py5__all__ = ["FastHTMLWithLiveReload"]CODE
LOWfasthtml/js.py8__all__ = ['marked_imp', 'npmcdn', 'light_media', 'dark_media', 'MarkdownJS', 'KatexMarkdownJS', 'HighlightJS', 'SortablCODE
LOWfasthtml/xtend.py8__all__ = ['sid_scr', 'A', 'AX', 'Form', 'Hidden', 'CheckboxX', 'Script', 'Style', 'double_braces', 'undouble_braces',CODE
LOWfasthtml/core.py48__all__ = ['empty', 'htmx_hdrs', 'fh_cfg', 'htmx_resps', 'DEF_MAXPART', 'htmx_exts', 'htmxsrc', 'htmx4src', 'fhjsscr', 'CODE
LOWfasthtml/fastapp.py8__all__ = ['fast_app']CODE
LOWfasthtml/cli.py4__all__ = ['railway_link', 'railway_deploy']CODE
LOWfasthtml/pico.py8__all__ = ['picocss', 'picolink', 'picocondcss', 'picocondlink', 'set_pico_cls', 'Card', 'Group', 'Search', 'Grid', 'DiaCODE
LOWfasthtml/svg.py8__all__ = ['g', 'svg_inb', 'Svg', 'ft_svg', 'Rect', 'Circle', 'Ellipse', 'transformd', 'Line', 'Polyline', 'Polygon', 'TCODE
LOWfasthtml/components.py8__all__ = ['named', 'html_attrs', 'hx_attrs', 'hx_attrs_4only', 'hx_evts', 'hx_evts_4only', 'js_evts', 'hx_attrs_annotatCODE
LOWfasthtml/oauth.py8__all__ = ['log', 'http_patterns', 'GoogleAppClient', 'GitHubAppClient', 'HuggingFaceClient', 'DiscordAppClient',CODE
LOWfasthtml/jupyter.py8__all__ = ['nb_serve', 'nb_serve_async', 'show', 'render_ft', 'htmx_config_port', 'JupyUvi', 'JupyUviAsync', 'HTMX', 'wsCODE
AI Structural Patterns7 hits · 7 pts
SeverityFileLineSnippetContext
LOWfasthtml/xtend.py90CODE
LOWfasthtml/core.py1011CODE
LOWfasthtml/core.py687CODE
LOWfasthtml/fastapp.py27CODE
LOWfasthtml/svg.py105CODE
LOWfasthtml/oauth.py231CODE
LOWfasthtml/jupyter.py123CODE
Slop Phrases3 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMexamples/pep8_app.py45# The `FastHTML` class is a subclass of `Starlette`, so you can use any parameters that `Starlette` accepts.COMMENT
MEDIUMexamples/adv_app.py41# The `FastHTML` class is a subclass of `Starlette`, so you can use any parameters that `Starlette` accepts. In additionSTRING
MEDIUMexamples/adv_app.py67 # fasttag objects are callable. Calling them adds children and attributes to the tag. Therefore you can use them likSTRING
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOWCHANGELOG.md361 });COMMENT
LOWnbs/llms-ctx-full.txt2521 Input(id='pwd', type='password', placeholder='Password'),COMMENT
LOWnbs/llms-ctx.txt2501 # You can also use plain HTML strings in handlers and headers, which will be auto-escaped, unless you use `Safe(...sCOMMENT
LOWexamples/adv_app.py61# This function handles GET and POST requests to the `/login` path, because the name of the function automatically becomCOMMENT
Fake / Example Data4 hits · 3 pts
SeverityFileLineSnippetContext
LOWnbs/llms-ctx-full.txt256user_profile_path = profile.to(email="user@example.com") # '/profile?email=user%40example.com'CODE
LOWnbs/llms-ctx-full.txt3209 username = "John Doe"STRING
LOWnbs/llms-ctx-full.txt3249app.state.ADMIN_EMAIL = 'admin@example.org'STRING
LOWnbs/llms-ctx.txt242user_profile_path = profile.to(email="user@example.com") # '/profile?email=user%40example.com'CODE
Self-Referential Comments2 hits · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/adv_app.py61# This function handles GET and POST requests to the `/login` path, because the name of the function automatically becomSTRING
MEDIUMfasthtml/cli.py35 mount:bool_arg=True # Create a mounted volume at /app/data?CODE
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWnbs/explains/stripe_otp.py103 except Exception as e:CODE
LOWnbs/explains/stripe_otp.py179 except Exception as e: return P(f"Refund failed: {str(e)}")CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtests/test_toaster.py48def test_get_toaster_with_typehint():CODE
LOWtests/test_toaster.py55def test_toast_container_in_response():CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWfasthtml/components.py148CODE