AI Slop Code RIsk Monitor

paperswithbacktest/awesome-systematic-trading

A curated list of awesome libraries, packages, strategies, books, blogs, tutorials for systematic trading.

6.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for paperswithbacktest/awesome-systematic-trading, a Python project with 14,633 GitHub stars. SynthScan examined 26,993 lines of code across 70 source files, recording 158 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 6.9 (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.

6.9
Adjusted Signal
6.9
Raw Pattern Score
100%
Time Factor
2026-09-28
Last Push
14.6K
Stars
Python
Language
27.0K
Lines of Code
70
Files
158
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 18.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 13.3/100 · LOW

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

Agent Over-Engineering Ratio 1.3/100 · LOW

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

PR Review Velocity Impact 29.9/100 · MEDIUM

Which changes need focused human review? 158 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 0MEDIUM 17LOW 141

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 158 distinct pattern matches across 10 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 Imports77 hits · 77 pts
SeverityFileLineSnippetContext
LOW…tting-against-beta-factor-in-country-equity-indexes.py11CODE
LOW…tting-against-beta-factor-in-country-equity-indexes.py12CODE
LOW…c/strategies/asset-class-momentum-rotational-system.py2CODE
LOWstatic/strategies/volatility-risk-premium-effect.py7CODE
LOWstatic/strategies/earnings-announcement-premium.py15CODE
LOW…-fundamental-fscore-and-equity-short-term-reversals.py1CODE
LOW…-fundamental-fscore-and-equity-short-term-reversals.py66CODE
LOWstatic/strategies/residual-momentum-factor.py16CODE
LOWstatic/strategies/momentum-factor-effect-in-stocks.py10CODE
LOWstatic/strategies/skewness-effect-in-commodities.py9CODE
LOW…s/12-month-cycle-in-cross-section-of-stocks-returns.py11CODE
LOW…nings-announcements-combined-with-stock-repurchases.py13CODE
LOWstatic/strategies/short-term-reversal-with-futures.py2CODE
LOWstatic/strategies/rd-expenditures-and-stock-returns.py7CODE
LOWstatic/strategies/rd-expenditures-and-stock-returns.py8CODE
LOWstatic/strategies/rd-expenditures-and-stock-returns.py8CODE
LOWstatic/strategies/rd-expenditures-and-stock-returns.py9CODE
LOW…mbining-smart-factors-momentum-and-market-portfolio.py2CODE
LOWstatic/strategies/currency-value-factor-ppp-strategy.py2CODE
LOWstatic/strategies/currency-value-factor-ppp-strategy.py58CODE
LOWstatic/strategies/asset-class-trend-following.py2CODE
LOW…trategies/market-sentiment-and-an-overnight-anomaly.py11CODE
LOWstatic/strategies/january-barometer.py5CODE
LOW…strategies/short-interest-effect-long-short-version.py7CODE
LOWstatic/strategies/dollar-carry-trade.py10CODE
LOW…etic-lending-rates-predict-subsequent-market-return.py12CODE
LOWstatic/strategies/currency-momentum-factor.py2CODE
LOWstatic/strategies/currency-momentum-factor.py52CODE
LOWstatic/strategies/asset-growth-effect.py2CODE
LOWstatic/strategies/fed-model.py9CODE
LOW…tic/strategies/term-structure-effect-in-commodities.py9CODE
LOW…tic/strategies/term-structure-effect-in-commodities.py10CODE
LOW…tic/strategies/term-structure-effect-in-commodities.py11CODE
LOW…-reversal-combined-with-volatility-effect-in-stocks.py15CODE
LOW…ic/strategies/betting-against-beta-factor-in-stocks.py12CODE
LOW…ic/strategies/betting-against-beta-factor-in-stocks.py13CODE
LOW…egies/how-to-use-lexical-density-of-company-filings.py1CODE
LOW…egies/how-to-use-lexical-density-of-company-filings.py2CODE
LOW…egies/how-to-use-lexical-density-of-company-filings.py3CODE
LOWstatic/strategies/roa-effect-within-stocks.py12CODE
LOWstatic/strategies/short-term-reversal-in-stocks.py2CODE
LOW…ategies/small-capitalization-stocks-premium-anomaly.py9CODE
LOWstatic/strategies/pairs-trading-with-country-etfs.py14CODE
LOW…tegies/return-asymmetry-effect-in-commodity-futures.py18CODE
LOW…s/momentum-factor-combined-with-asset-growth-effect.py16CODE
LOWstatic/strategies/trend-following-effect-in-stocks.py12CODE
LOWstatic/strategies/trend-following-effect-in-stocks.py13CODE
LOW…c/strategies/reversal-during-earnings-announcements.py1CODE
LOW…c/strategies/reversal-during-earnings-announcements.py4CODE
LOW…c/strategies/reversal-during-earnings-announcements.py114CODE
LOW…c/strategies/reversal-during-earnings-announcements.py116CODE
LOWstatic/strategies/option-expiration-week-effect.py6CODE
LOWstatic/strategies/payday-anomaly.py6CODE
LOWstatic/strategies/intraday-seasonality-in-bitcoin.py9CODE
LOWstatic/strategies/fx-carry-trade.py2CODE
LOWstatic/strategies/fx-carry-trade.py47CODE
LOWstatic/strategies/sector-momentum-rotational-system.py2CODE
LOW…/strategies/rebalancing-premium-in-cryptocurrencies.py14CODE
LOWstatic/strategies/consistent-momentum-strategy.py12CODE
LOWstatic/strategies/esg-factor-momentum-strategy.py2CODE
17 more matches not shown…
Deep Nesting30 hits · 30 pts
SeverityFileLineSnippetContext
LOW…tting-against-beta-factor-in-country-equity-indexes.py63CODE
LOWstatic/strategies/earnings-announcement-premium.py80CODE
LOWstatic/strategies/residual-momentum-factor.py21CODE
LOWstatic/strategies/residual-momentum-factor.py76CODE
LOWstatic/strategies/residual-momentum-factor.py123CODE
LOWstatic/strategies/residual-momentum-factor.py226CODE
LOWstatic/strategies/skewness-effect-in-commodities.py77CODE
LOW…s/12-month-cycle-in-cross-section-of-stocks-returns.py40CODE
LOW…nings-announcements-combined-with-stock-repurchases.py120CODE
LOWstatic/strategies/short-term-reversal-with-futures.py104CODE
LOW…mbining-smart-factors-momentum-and-market-portfolio.py83CODE
LOWstatic/strategies/currency-value-factor-ppp-strategy.py89CODE
LOW…trategies/market-sentiment-and-an-overnight-anomaly.py37CODE
LOWstatic/strategies/january-barometer.py24CODE
LOW…tic/strategies/term-structure-effect-in-commodities.py82CODE
LOW…-reversal-combined-with-volatility-effect-in-stocks.py134CODE
LOWstatic/strategies/pairs-trading-with-country-etfs.py19CODE
LOWstatic/strategies/pairs-trading-with-country-etfs.py78CODE
LOW…s/momentum-factor-combined-with-asset-growth-effect.py20CODE
LOW…s/momentum-factor-combined-with-asset-growth-effect.py69CODE
LOWstatic/strategies/trend-following-effect-in-stocks.py62CODE
LOW…/strategies/rebalancing-premium-in-cryptocurrencies.py57CODE
LOWstatic/strategies/esg-factor-momentum-strategy.py128CODE
LOW…tic/strategies/value-factor-effect-within-countries.py62CODE
LOWstatic/strategies/trading-wti-brent-spread.py29CODE
LOW…ies/value-and-momentum-factors-across-asset-classes.py329CODE
LOWstatic/strategies/52-weeks-high-effect-in-stocks.py141CODE
LOWstatic/strategies/paired-switching.py21CODE
LOWstatic/strategies/dispersion-trading.py58CODE
LOWscripts/update_counts.py86CODE
AI Slop Vocabulary11 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMstatic/strategies/earnings-quality-factor.py10# The fourth ratio – D/A (debt to assets) factor goes long firms with low leverage and short firms with high leverage.COMMENT
MEDIUMstatic/strategies/earnings-quality-factor.py12# (where “good” quality has a high score, so ideally a stock has low accruals, low leverage, high ROE, and high cash floCOMMENT
MEDIUMstatic/strategies/earnings-quality-factor.py164 ) # high score with low leverageCODE
MEDIUM…tting-against-beta-factor-in-country-equity-indexes.py105 # Cap long and short leverage.COMMENT
MEDIUMstatic/strategies/volatility-risk-premium-effect.py72 # Set max leverage.COMMENT
MEDIUM…ic/strategies/betting-against-beta-factor-in-stocks.py32 self.long_lvg = 1 # leverage for long portfolio calculated from average betaCODE
MEDIUM…ic/strategies/betting-against-beta-factor-in-stocks.py33 self.short_lvg = 1 # leverage for short portfolio calculated from average betaCODE
MEDIUM…ic/strategies/betting-against-beta-factor-in-stocks.py127 # cap leverageCOMMENT
MEDIUMstatic/strategies/time-series-momentum-effect.py162 ls_leverage = [] # long and short leverageCODE
MEDIUMstatic/strategies/time-series-momentum-effect.py186 leverage = min(self.leverage_cap, leverage) # cap max leverageCODE
MEDIUMstatic/strategies/momentum-in-mutual-fund-returns.py39 # Subscribe for QuantpediaETF by etf symbol, then set fee model and leverageCOMMENT
Over-Commented Block26 hits · 26 pts
SeverityFileLineSnippetContext
LOWstatic/strategies/earnings-quality-factor.py1# https://quantpedia.com/strategies/earnings-quality-factor/COMMENT
LOWstatic/strategies/earnings-announcement-premium.py1# https://quantpedia.com/strategies/earnings-announcement-premium/COMMENT
LOW…-fundamental-fscore-and-equity-short-term-reversals.py61# (negative) financial performance. A firm scores one point if it has realized a positive return-on-assets (ROA), a posiCOMMENT
LOWstatic/strategies/residual-momentum-factor.py1# https://quantpedia.com/strategies/residual-momentum-factor/COMMENT
LOW…nings-announcements-combined-with-stock-repurchases.py1# https://quantpedia.com/strategies/earnings-announcements-combined-with-stock-repurchases/COMMENT
LOWstatic/strategies/short-term-reversal-with-futures.py1# region importsCOMMENT
LOW…mbining-smart-factors-momentum-and-market-portfolio.py1# region importsCOMMENT
LOW…etic-lending-rates-predict-subsequent-market-return.py1# https://quantpedia.com/strategies/synthetic-lending-rates-predict-subsequent-market-return/COMMENT
LOW…-reversal-combined-with-volatility-effect-in-stocks.py1# https://quantpedia.com/strategies/momentum-and-reversal-combined-with-volatility-effect-in-stocks/COMMENT
LOW…egies/how-to-use-lexical-density-of-company-filings.py21 # # 5 : ('Litigious', False),COMMENT
LOW…egies/how-to-use-lexical-density-of-company-filings.py221 # self.SetHoldings(symbol, -1/short_c)COMMENT
LOWstatic/strategies/short-term-reversal-in-stocks.py1# region importsCOMMENT
LOWstatic/strategies/pairs-trading-with-country-etfs.py1# https://quantpedia.com/strategies/pairs-trading-with-country-etfs/COMMENT
LOW…tegies/return-asymmetry-effect-in-commodity-futures.py1# https://quantpedia.com/strategies/return-asymmetry-effect-in-commodity-futures/COMMENT
LOW…s/momentum-factor-combined-with-asset-growth-effect.py1# https://quantpedia.com/strategies/momentum-factor-combined-with-asset-growth-effect/COMMENT
LOW…c/strategies/reversal-during-earnings-announcements.py101#COMMENT
LOW…/strategies/rebalancing-premium-in-cryptocurrencies.py1# https://quantpedia.com/strategies/rebalancing-premium-in-cryptocurrencies/COMMENT
LOWstatic/strategies/esg-factor-momentum-strategy.py1#region importsCOMMENT
LOW…tic/strategies/value-factor-effect-within-countries.py1# https://quantpedia.com/strategies/value-factor-effect-within-countries/COMMENT
LOW…ies/value-and-momentum-factors-across-asset-classes.py201COMMENT
LOW…trategies/momentum-factor-and-style-rotation-effect.py1#region importsCOMMENT
LOWstatic/strategies/time-series-momentum-effect.py1# https://quantpedia.com/strategies/time-series-momentum-effect/COMMENT
LOWstatic/strategies/52-weeks-high-effect-in-stocks.py1# https://quantpedia.com/strategies/52-weeks-high-effect-in-stocks/COMMENT
LOWstatic/strategies/accrual-anomaly.py1# https://quantpedia.com/strategies/accrual-anomaly/COMMENT
LOWstatic/strategies/dispersion-trading.py1# https://quantpedia.com/strategies/dispersion-trading/COMMENT
LOWstatic/strategies/momentum-in-mutual-fund-returns.py1# https://quantpedia.com/strategies/momentum-in-mutual-fund-returns/COMMENT
Self-Referential Comments5 hits · 15 pts
SeverityFileLineSnippetContext
MEDIUMstatic/strategies/currency-value-factor-ppp-strategy.py48# Create an investment universe consisting of several currencies (10-20). Use the latest OECD Purchasing Power Parity fiCOMMENT
MEDIUMstatic/strategies/currency-momentum-factor.py48# Create an investment universe consisting of several currencies (10-20). Go long three currencies with the highest 12-mCOMMENT
MEDIUMstatic/strategies/fx-carry-trade.py52# Create an investment universe consisting of several currencies (10-20). Go long three currencies with the highest centCOMMENT
MEDIUM…ies/value-and-momentum-factors-across-asset-classes.py208# Create an investment universe containing investable asset classes (could be US large-cap, mid-cap stocks, US REITS, UKCOMMENT
MEDIUMstatic/strategies/momentum-effect-in-commodities.py6# Create a universe of tradable commodity futures. Rank futures performance for each commodity for the last 12 months anCOMMENT
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWstatic/strategies/earnings-quality-factor.py270CODE
LOWstatic/strategies/residual-momentum-factor.py243CODE
LOWstatic/strategies/crude-oil-predicts-equity-returns.py24CODE
Modern AI Meta-Vocabulary1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md84 - [General - Event Driven Frameworks](#general---event-driven-frameworks)CODE
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWstatic/strategies/short-term-reversal-with-futures.py86 def find_and_update_contracts(self, futures_chain, symbol) -> None:CODE
LOW…tic/strategies/term-structure-effect-in-commodities.py68 def find_and_update_contracts(self, futures_chain, symbol) -> None:CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWstatic/strategies/short-term-reversal-with-futures.py244 def update_contracts(self, near_contract: FuturesContract) -> None:CODE
LOW…tic/strategies/term-structure-effect-in-commodities.py149 def update_contracts(self, near_contract:FuturesContract, distant_contract:FuturesContract) -> None:CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…-fundamental-fscore-and-equity-short-term-reversals.py220 # Check if data has previous year's data ready.COMMENT