12 Weeks, 24 Lessons, AI for All!
This report summarizes scanner evidence for microsoft/AI-For-Beginners, a Jupyter Notebook project with 70,395 GitHub stars. SynthScan examined 364,914 lines of code across 3933 source files, recording 105 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.5 (Low 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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 85 finding(s).
Are imports declared and package/API names verified? 9 finding(s).
Are wrappers, guards, and repeated structures necessary? 11 finding(s).
Which changes need focused human review? 105 finding(s).
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.
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.
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.
The scanner identified 105 distinct pattern matches across 7 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/sl/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/sk/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ur/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/sw/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/pl/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/vi/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/sv/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/he/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ms/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/km/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/da/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/mr/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/no/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ja/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/el/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/it/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/cs/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/te/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ru/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/tl/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ro/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | …anslations/zh-CN/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/uk/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/sr/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/pcm/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/pa/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | …anslations/pt-PT/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ml/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/kn/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | …anslations/zh-TW/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/my/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ar/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/hr/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | …anslations/pt-BR/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/hu/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/nl/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/bg/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/bn/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ne/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/hi/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/de/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ko/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/fi/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/id/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/fr/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/es/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/et/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/en/lessons/5-NLP/20-LangModels/README.md | 39 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/fa/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/lt/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | …anslations/zh-HK/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/ta/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | …anslations/zh-MO/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/th/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT 3](https://openai.com/research/lan | CODE |
| MEDIUM | translations/tr/lessons/5-NLP/20-LangModels/README.md | 30 | | [GPT-2](https://huggingface.co/docs/transformers/model_doc/gpt2#openai-gpt2) | [GPT-3](https://openai.com/research/lan | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | examples/04-text-sentiment.py | 192 | # Step 1: Create training data | COMMENT |
| LOW⚡ | examples/04-text-sentiment.py | 197 | # Step 2: Create and train analyzer | COMMENT |
| LOW⚡ | examples/04-text-sentiment.py | 202 | # Step 3: Test on new reviews | COMMENT |
| LOW | examples/01-hello-ai-world.py | 90 | # Step 1: Create training data | COMMENT |
| LOW⚡ | examples/01-hello-ai-world.py | 103 | # Step 2: Create and train our AI | COMMENT |
| LOW⚡ | examples/01-hello-ai-world.py | 108 | # Step 3: Test our AI with new data | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 94 | # Step 1: Multiply each input by its weight and sum them | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 97 | # Step 2: Add bias | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 100 | # Step 3: Apply activation function (sigmoid) | COMMENT |
| LOW | examples/02-simple-neural-network.py | 197 | # Step 1: Generate training data | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 209 | # Step 2: Create neuron | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 215 | # Step 3: Train the neuron | COMMENT |
| LOW | examples/02-simple-neural-network.py | 237 | # Step 4: Test the neuron | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | examples/04-text-sentiment.py | 192 | # Step 1: Create training data | COMMENT |
| LOW⚡ | examples/04-text-sentiment.py | 197 | # Step 2: Create and train analyzer | COMMENT |
| LOW⚡ | examples/04-text-sentiment.py | 202 | # Step 3: Test on new reviews | COMMENT |
| LOW | examples/01-hello-ai-world.py | 90 | # Step 1: Create training data | COMMENT |
| LOW⚡ | examples/01-hello-ai-world.py | 103 | # Step 2: Create and train our AI | COMMENT |
| LOW⚡ | examples/01-hello-ai-world.py | 108 | # Step 3: Test our AI with new data | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 94 | # Step 1: Multiply each input by its weight and sum them | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 97 | # Step 2: Add bias | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 100 | # Step 3: Apply activation function (sigmoid) | COMMENT |
| LOW | examples/02-simple-neural-network.py | 197 | # Step 1: Generate training data | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 209 | # Step 2: Create neuron | COMMENT |
| LOW⚡ | examples/02-simple-neural-network.py | 215 | # Step 3: Train the neuron | COMMENT |
| LOW | examples/02-simple-neural-network.py | 237 | # Step 4: Test the neuron | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | etc/quiz-src/qzmkjson.py | 41 | print(f"Error: {l}") | CODE |
| LOW | examples/04-text-sentiment.py | 249 | except Exception as e: | CODE |
| MEDIUM | examples/04-text-sentiment.py | 250 | print(f"Error: {e}") | CODE |
| LOW | lessons/4-ComputerVision/07-ConvNets/pytorchcv.py | 137 | except Exception: | CODE |
| MEDIUM | lessons/4-ComputerVision/07-ConvNets/pytorchcv.py | 132 | def check_image(fn): | CODE |
| LOW | lessons/4-ComputerVision/07-ConvNets/tfcv.py | 51 | except Exception: | CODE |
| MEDIUM | lessons/4-ComputerVision/07-ConvNets/tfcv.py | 46 | def check_image(fn): | CODE |
| LOW | …sons/4-ComputerVision/08-TransferLearning/pytorchcv.py | 137 | except Exception: | CODE |
| MEDIUM | …sons/4-ComputerVision/08-TransferLearning/pytorchcv.py | 132 | def check_image(fn): | CODE |
| LOW | lessons/4-ComputerVision/08-TransferLearning/tfcv.py | 51 | except Exception: | CODE |
| MEDIUM | lessons/4-ComputerVision/08-TransferLearning/tfcv.py | 46 | def check_image(fn): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | etc/quiz-src/qzmkjson.py | 7 | CODE | |
| LOW | lessons/5-NLP/16-RNN/torchnlp.py | 1 | CODE | |
| LOW | lessons/5-NLP/16-RNN/torchnlp.py | 5 | CODE | |
| LOW | lessons/5-NLP/14-Embeddings/torchnlp.py | 1 | CODE | |
| LOW | lessons/5-NLP/14-Embeddings/torchnlp.py | 5 | CODE | |
| LOW | lessons/5-NLP/17-GenerativeNetworks/torchnlp.py | 1 | CODE | |
| LOW | lessons/5-NLP/17-GenerativeNetworks/torchnlp.py | 5 | CODE | |
| LOW | lessons/5-NLP/18-Transformers/torchnlp.py | 1 | CODE | |
| LOW | lessons/5-NLP/18-Transformers/torchnlp.py | 5 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/codeql.yml | 58 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/scorecard.yml | 41 | with: | COMMENT |