AI Slop Code RIsk Monitor

microsoft/generative-ai-for-beginners

21 Lessons, Get Started Building with Generative AI

7.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for microsoft/generative-ai-for-beginners, a Jupyter Notebook project with 121,122 GitHub stars. SynthScan examined 537,011 lines of code across 2470 source files, recording 1135 pattern matches distributed across 14 syntactic categories. The legacy adjusted pattern signal is 7.8 (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.

7.8
Adjusted Signal
7.8
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
121.1K
Stars
Jupyter Notebook
Language
537.0K
Lines of Code
2.5K
Files
1.1K
Pattern Hits
2026-10-12
Scan Date
0.23
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 11.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 24.0/100 · LOW

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

PR Review Velocity Impact 35.7/100 · MEDIUM

Which changes need focused human review? 1135 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 573MEDIUM 369LOW 193

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

Cross-File Repetition558 hits · 2790 pts
SeverityFileLineSnippetContext
HIGH05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/sl/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/sk/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ur/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/sw/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/pl/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/sv/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/he/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ms/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/km/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/da/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/mr/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/no/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ja/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/el/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/it/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/cs/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/te/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ru/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/tl/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ro/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/zh-CN/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/uk/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/sr/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/pcm/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/pa/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/pt-PT/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ml/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/kn/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/zh-TW/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/my/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ar/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/hr/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/pt-BR/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/hu/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/nl/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/bg/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/bn/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ne/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/hi/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/de/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ko/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/fi/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/id/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/fr/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/es/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/et/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/fa/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/lt/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/zh-HK/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/ta/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/zh-MO/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/th/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGHtranslations/tr/05-advanced-prompts/README.md0<h1>books api</h1> <p>a prototype api for retrieving books.</p>STRING
HIGH20-mistral/README.md0context information is below. --------------------- {retrieved_chunks} --------------------- given the context informatiSTRING
HIGHtranslations/sl/20-mistral/README.md0context information is below. --------------------- {retrieved_chunks} --------------------- given the context informatiSTRING
HIGHtranslations/sk/20-mistral/README.md0context information is below. --------------------- {retrieved_chunks} --------------------- given the context informatiSTRING
HIGHtranslations/ur/20-mistral/README.md0context information is below. --------------------- {retrieved_chunks} --------------------- given the context informatiSTRING
HIGHtranslations/sw/20-mistral/README.md0context information is below. --------------------- {retrieved_chunks} --------------------- given the context informatiSTRING
HIGHtranslations/pl/20-mistral/README.md0context information is below. --------------------- {retrieved_chunks} --------------------- given the context informatiSTRING
498 more matches not shown…
Modern AI Meta-Vocabulary365 hits · 1091 pts
SeverityFileLineSnippetContext
MEDIUM10-building-low-code-ai-applications/README.md75[Microsoft Copilot Studio](https://learn.microsoft.com/microsoft-copilot-studio/fundamentals-what-is-copilot-studio?WT.mCODE
MEDIUM20-mistral/README.md33### RAG Example using Mistral Large 2COMMENT
MEDIUM02-exploring-and-comparing-different-llms/README.md163### Retrieval Augmented Generation (RAG)COMMENT
MEDIUM15-rag-and-vector-databases/README.md1# Retrieval Augmented Generation (RAG) and Vector DatabasesCOMMENT
MEDIUM15-rag-and-vector-databases/README.md41## Retrieval Augmented Generation (RAG)COMMENT
MEDIUM15-rag-and-vector-databases/README.md237## Use Cases for using RAG (Retrieval Augmented Generation) and vector databasesCOMMENT
MEDIUMtranslations/sl/20-mistral/README.md33### Primer RAG z uporabo Mistral Large 2COMMENT
MEDIUM…sl/02-exploring-and-comparing-different-llms/README.md164### Retrieval Augmented Generation (RAG)COMMENT
MEDIUMtranslations/sl/15-rag-and-vector-databases/README.md1# Generiranje z nadgradnjo pridobivanja (RAG) in vektorske baze podatkovCOMMENT
MEDIUMtranslations/sl/15-rag-and-vector-databases/README.md41## Generiranje z nadgradnjo pridobivanja (RAG)COMMENT
MEDIUMtranslations/sl/15-rag-and-vector-databases/README.md45### Kako delujejo RAG (Generiranje z nadgradnjo pridobivanja)COMMENT
MEDIUMtranslations/sl/15-rag-and-vector-databases/README.md69### Zakaj uporabljati RAG?COMMENT
MEDIUMtranslations/sl/15-rag-and-vector-databases/README.md237## Primeri uporabe RAG (Generiranje z nadgradnjo pridobivanja) in vektorskih baz podatkovCOMMENT
MEDIUMtranslations/sk/20-mistral/README.md33### Príklad RAG s použitím Mistral Large 2COMMENT
MEDIUM…sk/02-exploring-and-comparing-different-llms/README.md164### Retrieval Augmented Generation (RAG)COMMENT
MEDIUMtranslations/sk/15-rag-and-vector-databases/README.md1# Retrieval Augmented Generation (RAG) a vektorové databázyCOMMENT
MEDIUMtranslations/sk/15-rag-and-vector-databases/README.md41## Retrieval Augmented Generation (RAG)COMMENT
MEDIUMtranslations/sk/15-rag-and-vector-databases/README.md45### Ako fungujú RAG (Retrieval Augmented Generation)COMMENT
MEDIUMtranslations/sk/15-rag-and-vector-databases/README.md69### Prečo používať RAG?COMMENT
MEDIUMtranslations/sk/15-rag-and-vector-databases/README.md237## Príklady využitia RAG (Retrieval Augmented Generation) a vektorových databázCOMMENT
MEDIUMtranslations/ur/20-mistral/README.md33### میسٹرال لارجر 2 کا استعمال کرتے ہوئے RAG کی مثالCOMMENT
MEDIUM…ur/02-exploring-and-comparing-different-llms/README.md164### ریٹریول آگمینٹڈ جنریشن (RAG)COMMENT
MEDIUMtranslations/ur/15-rag-and-vector-databases/README.md1# بازیافت سے تقویت یافتہ تخلیق (RAG) اور ویکٹر ڈیٹا بیسزCOMMENT
MEDIUMtranslations/ur/15-rag-and-vector-databases/README.md41## بازیافت سے تقویت یافتہ تخلیق (RAG)COMMENT
MEDIUMtranslations/ur/15-rag-and-vector-databases/README.md237## RAG (بازیافت سے تقویت یافتہ تخلیق) اور ویکٹر ڈیٹا بیسز کے استعمال کے معاملاتCOMMENT
MEDIUMtranslations/sw/20-mistral/README.md33### Mfano wa RAG ukitumia Mistral Large 2COMMENT
MEDIUM…sw/02-exploring-and-comparing-different-llms/README.md164### Uzalishaji Ulioboreshwa Kwa Marejeleo (RAG)COMMENT
MEDIUMtranslations/sw/15-rag-and-vector-databases/README.md1# Uundaji Ulioboreshwa kwa Kupata Taarifa (RAG) na Hifadhidata za VectorCOMMENT
MEDIUMtranslations/sw/15-rag-and-vector-databases/README.md41## Uundaji Ulioboreshwa kwa Kupata Taarifa (RAG)COMMENT
MEDIUMtranslations/sw/15-rag-and-vector-databases/README.md45### Jinsi RAG (Uundaji Ulioboreshwa kwa Kupata Taarifa) inavyofanya kaziCOMMENT
MEDIUMtranslations/sw/15-rag-and-vector-databases/README.md69### Kwa nini utumie RAG?COMMENT
MEDIUMtranslations/sw/15-rag-and-vector-databases/README.md237## Matumizi ya RAG (Uundaji Ulioboreshwa kwa Kupata Taarifa) na hifadhidata za vectorCOMMENT
MEDIUMtranslations/pl/20-mistral/README.md33### Przykład RAG z użyciem Mistral Large 2COMMENT
MEDIUM…pl/02-exploring-and-comparing-different-llms/README.md164### Retrieval Augmented Generation (RAG)COMMENT
MEDIUMtranslations/pl/15-rag-and-vector-databases/README.md1# Generowanie Wzbogacone o Wyszukiwanie (RAG) i Bazy Danych WektorowychCOMMENT
MEDIUMtranslations/pl/15-rag-and-vector-databases/README.md41## Generowanie Wzbogacone o Wyszukiwanie (RAG)COMMENT
MEDIUMtranslations/pl/15-rag-and-vector-databases/README.md45### Jak działają RAG (Generowanie Wzbogacone o Wyszukiwanie)COMMENT
MEDIUMtranslations/pl/15-rag-and-vector-databases/README.md69### Dlaczego warto używać RAG?COMMENT
MEDIUMtranslations/pl/15-rag-and-vector-databases/README.md237## Przypadki użycia RAG (Generowanie Wzbogacone o Wyszukiwanie) i baz danych wektorowychCOMMENT
MEDIUMtranslations/vi/20-mistral/README.md33### Ví dụ RAG sử dụng Mistral Large 2COMMENT
MEDIUM…vi/02-exploring-and-comparing-different-llms/README.md164### Tạo sinh tăng cường truy xuất (RAG)COMMENT
MEDIUMtranslations/vi/15-rag-and-vector-databases/README.md1# Tạo sinh tăng cường truy xuất (RAG) và cơ sở dữ liệu vectorCOMMENT
MEDIUMtranslations/vi/15-rag-and-vector-databases/README.md41## Tạo sinh tăng cường truy xuất (RAG)COMMENT
MEDIUMtranslations/vi/15-rag-and-vector-databases/README.md45### Cách RAG (Tạo sinh tăng cường truy xuất) hoạt độngCOMMENT
MEDIUMtranslations/vi/15-rag-and-vector-databases/README.md69### Tại sao bạn nên dùng RAG?COMMENT
MEDIUMtranslations/vi/15-rag-and-vector-databases/README.md237## Các trường hợp sử dụng RAG (Tạo sinh tăng cường truy xuất) và cơ sở dữ liệu vectorCOMMENT
MEDIUMtranslations/sv/20-mistral/README.md33### RAG-exempel med Mistral Large 2COMMENT
MEDIUM…sv/02-exploring-and-comparing-different-llms/README.md164### Retrieval Augmented Generation (RAG)COMMENT
MEDIUMtranslations/sv/15-rag-and-vector-databases/README.md1# Retrieval Augmented Generation (RAG) och vektordatabaserCOMMENT
MEDIUMtranslations/sv/15-rag-and-vector-databases/README.md41## Retrieval Augmented Generation (RAG)COMMENT
MEDIUMtranslations/sv/15-rag-and-vector-databases/README.md45### Hur RAG (Retrieval Augmented Generation) fungerarCOMMENT
MEDIUMtranslations/sv/15-rag-and-vector-databases/README.md69### Varför skulle man använda RAG?COMMENT
MEDIUMtranslations/sv/15-rag-and-vector-databases/README.md237## Användningsområden för att använda RAG (Retrieval Augmented Generation) och vektordatabaserCOMMENT
MEDIUMtranslations/he/20-mistral/README.md33### דוגמה ל-RAG באמצעות Mistral Large 2COMMENT
MEDIUM…he/02-exploring-and-comparing-different-llms/README.md164### Retrieval Augmented Generation (RAG)COMMENT
MEDIUMtranslations/he/15-rag-and-vector-databases/README.md1# יצירה מוגברת על ידי שליפה (RAG) ומסדי נתונים וקטורייםCOMMENT
MEDIUMtranslations/he/15-rag-and-vector-databases/README.md41## יצירה מוגברת על ידי שליפה (RAG)COMMENT
MEDIUMtranslations/he/15-rag-and-vector-databases/README.md237## מקרים לשימוש ב-RAG ומסדי נתונים וקטורייםCOMMENT
MEDIUMtranslations/ms/20-mistral/README.md33### Contoh RAG menggunakan Mistral Large 2COMMENT
MEDIUM…ms/02-exploring-and-comparing-different-llms/README.md164### Retrieval Augmented Generation (RAG)COMMENT
305 more matches not shown…
Excessive Try-Catch Wrapping115 hits · 115 pts
SeverityFileLineSnippetContext
LOW_gen_lesson09_images.py66except Exception as e: # pylint: disable=broad-exceptCODE
LOW…ing-search-applications/scripts/transcript_download.py109 except Exception as exception:CODE
LOW…ch-applications/scripts/transcript_enrich_summaries.py143 except Exception as e:CODE
LOWdocs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWdocs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/sl/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/sl/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/sk/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/sk/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/ur/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/ur/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/sw/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/sw/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/pl/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/pl/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/vi/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/vi/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/sv/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/sv/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/he/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/he/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/ms/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/ms/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/km/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/km/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/da/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/da/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/mr/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/mr/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/no/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/no/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/ja/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/ja/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/el/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/el/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/it/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/it/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/cs/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/cs/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/te/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/te/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/ru/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/ru/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/tl/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/tl/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/ro/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/ro/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/zh-CN/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/zh-CN/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/uk/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/uk/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/sr/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/sr/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/pcm/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/pcm/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/pa/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/pa/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/pt-PT/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
LOWtranslations/pt-PT/docs/SECURITY_GUIDELINES.md212except Exception as e:CODE
LOWtranslations/ml/docs/SECURITY_GUIDELINES.md198 except Exception:CODE
55 more matches not shown…
Docstring Block Structure11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHshared/python/input_validation.py14 Validate and convert string input to an integer within bounds. Args: value: The string value to validaSTRING
HIGHshared/python/input_validation.py53 Validate and sanitize text input. Args: value: The string value to validate. max_length: MaximSTRING
HIGHshared/python/input_validation.py97 Sanitize user input intended for use in LLM prompts. This function removes potentially dangerous characters anSTRING
HIGHshared/python/input_validation.py155 Validate an email address format. Args: email: The email address to validate. Returns: ThSTRING
HIGHshared/python/input_validation.py179 Validate a URL format. Args: url: The URL to validate. require_https: If True, only allow HTTPSTRING
HIGHshared/python/env_utils.py12 Get a required environment variable or raise an error with helpful message. Args: var_name: The name oSTRING
HIGHshared/python/env_utils.py39 Validate that multiple environment variables are set. Args: *var_names: Variable names to check. STRING
HIGHshared/python/api_utils.py18 Make an HTTP request with proper timeout and error handling. Args: url: The URL to request. meSTRING
HIGHshared/python/api_utils.py57 Create an OpenAI client with proper configuration. Args: api_key: Optional API key. If not provided, rSTRING
HIGHshared/python/api_utils.py95 Create an Azure OpenAI (Microsoft Foundry) client with proper configuration. The client targets the Azure OpenSTRING
HIGHshared/python/api_utils.py148 Download an image from a URL and save it to disk. Args: url: The URL of the image to download. STRING
Hyper-Verbose Identifiers28 hits · 38 pts
SeverityFileLineSnippetContext
LOW…earch-applications/scripts/transcript_enrich_bucket.py84def append_text_to_previous_segment(text):CODE
LOW…earch-applications/scripts/transcript_enrich_bucket.py108def parse_json_vtt_transcript(vtt, metadata):CODE
LOWtests/test_api_utils.py22 def test_returns_response_on_success(self, monkeypatch):CODE
LOW⚡tests/test_api_utils.py48 def test_missing_key_raises_value_error(self, monkeypatch):CODE
LOW⚡tests/test_api_utils.py56 def test_missing_endpoint_raises_value_error(self, monkeypatch):CODE
LOW⚡tests/test_api_utils.py63 def test_missing_key_raises_value_error(self, monkeypatch):CODE
LOWtests/test_input_validation.py21 def test_below_minimum_raises(self):CODE
LOWtests/test_input_validation.py25 def test_above_maximum_raises(self):CODE
LOWtests/test_input_validation.py41 def test_empty_not_allowed_raises(self):CODE
LOWtests/test_input_validation.py45 def test_empty_allowed_returns_empty(self):CODE
LOW⚡tests/test_input_validation.py58 def test_plain_text_unchanged(self):CODE
LOW⚡tests/test_input_validation.py61 def test_removes_template_injection(self):CODE
LOW⚡tests/test_input_validation.py66 def test_removes_variable_substitution(self):CODE
LOW⚡tests/test_input_validation.py74 def test_removes_javascript_url(self):CODE
LOW⚡tests/test_input_validation.py85 def test_only_invalid_characters_raises(self):CODE
LOW⚡tests/test_input_validation.py91 def test_valid_email_lowercased(self):CODE
LOW⚡tests/test_input_validation.py97 def test_invalid_email_raises(self, bad):CODE
LOW⚡tests/test_input_validation.py106 def test_http_rejected_when_https_required(self):CODE
LOW⚡tests/test_input_validation.py110 def test_http_allowed_when_not_required(self):CODE
LOW⚡tests/test_env_utils.py12def test_get_required_env_returns_value(monkeypatch):CODE
LOW⚡tests/test_env_utils.py17def test_get_required_env_missing_raises(monkeypatch):CODE
LOW⚡tests/test_env_utils.py23def test_get_required_env_empty_raises(monkeypatch):CODE
LOW⚡tests/test_env_utils.py29def test_get_required_env_includes_description(monkeypatch):CODE
LOW⚡tests/test_env_utils.py35def test_validate_env_vars_returns_mapping(monkeypatch):CODE
LOW⚡tests/test_env_utils.py42def test_validate_env_vars_reports_all_missing(monkeypatch):CODE
LOW⚡tests/test_env_utils.py52def test_get_env_with_default_uses_default(monkeypatch):CODE
LOW⚡tests/test_env_utils.py57def test_get_env_with_default_uses_value(monkeypatch):CODE
LOWshared/python/api_utils.py91def create_azure_openai_client(CODE
Structural Annotation Overuse21 hits · 29 pts
SeverityFileLineSnippetContext
LOW⚡18-fine-tuning/README.md78### Step 1: Pick a training techniqueCOMMENT
LOW⚡18-fine-tuning/README.md88### Step 2: Pick a training tierCOMMENT
LOW⚡18-fine-tuning/README.md96### Step 3: Choose a base modelCOMMENT
LOW11-integrating-with-function-calling/README.md202### Step 1 - creating messagesSTRING
LOW11-integrating-with-function-calling/README.md214### Step 2 - creating functionsSTRING
LOW11-integrating-with-function-calling/README.md265### Step 3 - Making the function callSTRING
LOW.github/skills/azure-openai-to-responses/SKILL.md91## Step 0: Client migration (prerequisite)COMMENT
LOW.github/skills/azure-openai-to-responses/SKILL.md118## Step 1: Detect legacy call sitesCOMMENT
LOW.github/skills/azure-openai-to-responses/SKILL.md133## Step 2: Apply migrationCOMMENT
LOW⚡translations/pcm/18-fine-tuning/README.md78### Step 1: Choose training techniqueCOMMENT
LOW⚡translations/pcm/18-fine-tuning/README.md88### Step 2: Choose training tierCOMMENT
LOW⚡translations/pcm/18-fine-tuning/README.md96### Step 3: Choose base modelCOMMENT
LOW…ons/pcm/11-integrating-with-function-calling/README.md202### Step 1 - create messagesSTRING
LOW…ons/pcm/11-integrating-with-function-calling/README.md214### Step 2 - create functionsSTRING
LOW…ons/pcm/11-integrating-with-function-calling/README.md265### Step 3 - Make function callSTRING
LOW⚡translations/en/18-fine-tuning/README.md78### Step 1: Pick a training techniqueCOMMENT
LOW⚡translations/en/18-fine-tuning/README.md88### Step 2: Pick a training tierCOMMENT
LOW⚡translations/en/18-fine-tuning/README.md96### Step 3: Choose a base modelCOMMENT
LOW…ions/en/11-integrating-with-function-calling/README.md202### Step 1 - creating messagesSTRING
LOW…ions/en/11-integrating-with-function-calling/README.md214### Step 2 - creating functionsSTRING
LOW…ions/en/11-integrating-with-function-calling/README.md265### Step 3 - Making the function callSTRING
Synthetic Comment Markers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH12-designing-ux-for-ai-applications/README.md64When AI helps inform decisions such as imparting knowledge to future generations, it is critical for teachers and parentCODE
HIGH13-securing-ai-applications/README.md114Data security, governance, and compliance are critical for any organization that wants to leverage the power of data andCODE
HIGH…tions/en/12-designing-ux-for-ai-applications/README.md64When AI helps inform decisions such as imparting knowledge to future generations, it is critical for teachers and parentCODE
HIGHtranslations/en/13-securing-ai-applications/README.md114Data security, governance, and compliance are critical for any organization that wants to leverage the power of data andCODE
Unused Imports18 hits · 18 pts
SeverityFileLineSnippetContext
LOWshared/python/__init__.py8CODE
LOWshared/python/__init__.py8CODE
LOWshared/python/__init__.py8CODE
LOWshared/python/__init__.py13CODE
LOWshared/python/__init__.py13CODE
LOWshared/python/__init__.py14CODE
LOWshared/python/__init__.py14CODE
LOWshared/python/__init__.py14CODE
LOW09-building-image-applications/python/aoai-app.py1CODE
LOW09-building-image-applications/python/oai-app.py3CODE
LOW09-building-image-applications/python/oai-app.py4CODE
LOW09-building-image-applications/python/aoai-solution.py1CODE
LOW06-text-generation-apps/python/oai-study-buddy.py2CODE
LOW06-text-generation-apps/python/oai-history-bot.py2CODE
LOW06-text-generation-apps/python/oai-app-recipe.py2CODE
LOW06-text-generation-apps/python/oai-app.py2CODE
LOW06-text-generation-apps/python/githubmodels-app.py3CODE
LOW06-text-generation-apps/python/githubmodels-app.py3CODE
Self-Referential Comments4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUM…ing-search-applications/scripts/transcript_download.py135# Create a request object with the playlist ID and the max resultsCOMMENT
MEDIUM09-building-image-applications/python/aoai-app.py24 # Create an image by using the image generation APICOMMENT
MEDIUM09-building-image-applications/python/oai-app.py21 # Create an image by using the image generation APICOMMENT
MEDIUM09-building-image-applications/python/aoai-solution.py44 # Create an image by using the image generation APISTRING
Modern Structural Boilerplate7 hits · 7 pts
SeverityFileLineSnippetContext
LOW…-search-applications/scripts/transcript_enrich_lite.py9logger = logging.getLogger(__name__)CODE
LOW…ing-search-applications/scripts/transcript_download.py17logger = logging.getLogger(__name__)CODE
LOW…h-applications/scripts/transcript_enrich_embeddings.py40logger = logging.getLogger(__name__)CODE
LOW…ch-applications/scripts/transcript_enrich_summaries.py37logger = logging.getLogger(__name__)CODE
LOW…earch-applications/scripts/transcript_enrich_bucket.py16logger = logging.getLogger(__name__)CODE
LOW…arch-applications/scripts/transcript_enrich_speaker.py23logger = logging.getLogger(__name__)CODE
LOWshared/python/__init__.py20__all__ = [CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…ing-search-applications/scripts/transcript_download.py146 # Iterate over the items in the response and append the video IDs to the listCOMMENT
Fake / Example Data1 hit · 2 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_input_validation.py92 assert validate_email("User@Example.COM") == "user@example.com"CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…earch-applications/scripts/transcript_enrich_bucket.py108CODE
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.devcontainer/post-create.sh1#!/bin/bashCOMMENT