Learn it. Build it. Ship it for others.
This report presents the forensic synthetic code analysis of rohitg00/ai-engineering-from-scratch, a Python project with 50,598 GitHub stars. SynthScan v2.0 examined 485,274 lines of code across 2641 source files, recording 4978 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 16.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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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.
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.
The scanner identified 4978 distinct pattern matches across 20 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/translate_lessons.py | 165 | # ── NLLB-200: free, key-less, runs in the CI runner ────────────────────────── | COMMENT |
| MEDIUM | site/figures-capstone-g.js | 44 | // ── 24: plan-execute-replan — a failed step hands the cursor back ────────── | COMMENT |
| MEDIUM | site/figures-capstone-g.js | 135 | // ── 26: sandbox path jail — traversal bounces off the root fence ─────────── | COMMENT |
| MEDIUM | site/figures-capstone-g.js | 185 | // ── 29: end-to-end harness — one run token weaving through four strata ───── | COMMENT |
| MEDIUM | site/figures-capstone-g.js | 220 | // ── 41: eval pipeline — four gauges fold into one report ─────────────────── | COMMENT |
| MEDIUM | site/figures-capstone-g.js | 264 | // ── 48: DDP collectives — gradients meet in the middle, mean returns ─────── | COMMENT |
| MEDIUM | site/figures-capstone-g.js | 400 | // ── 52: experiment runner — two meters on the child, one kill path ───────── | COMMENT |
| MEDIUM | site/figures-capstone-g.js | 454 | // ── 53: result evaluator — per-seed differences carry the verdict ────────── | COMMENT |
| MEDIUM | site/figures-infra4.js | 58 | // ── i4-platform-lanes: PTU reserved lane vs shared on-demand lane ────────── | COMMENT |
| MEDIUM | site/figures-infra4.js | 97 | // ── i4-otel-glue: gateway spans fan out through OTel to two backends ─────── | COMMENT |
| MEDIUM | site/figures-infra4.js | 146 | // ── i4-canary-ramp: shadow mirror first, then gated traffic steps ────────── | COMMENT |
| MEDIUM | site/figures-infra4.js | 194 | // ── i4-incident-agents: supervisor fans out to agents, human gate acts ───── | COMMENT |
| MEDIUM | site/figures-nlp3.js | 32 | // ── pos-tagger: grammatical tags drop onto tokens one by one ──────────────── | COMMENT |
| MEDIUM | site/figures-nlp3.js | 56 | // ── dependency-arcs: labeled head→dependent arcs draw themselves ──────────── | COMMENT |
| MEDIUM | site/figures-nlp3.js | 80 | // ── qa-span: an answer span sweeps and highlights inside a passage ────────── | COMMENT |
| MEDIUM | site/figures-nlp3.js | 103 | // ── summarize-collapse: a long bar collapses into a short summary bar ──────── | COMMENT |
| MEDIUM | site/figures-nlp3.js | 129 | // ── topic-drift: scattered words drift into colored topic clusters ────────── | COMMENT |
| MEDIUM | site/figures-nlp3.js | 153 | // ── coref-links: pronoun mentions animate links back to one entity ────────── | COMMENT |
| MEDIUM | site/figures-nlp3.js | 176 | // ── nli-router: a premise/hypothesis pair routes to one of three labels ───── | COMMENT |
| MEDIUM | site/figures-nlp3.js | 233 | // ── constrained-decoder: invalid tokens get masked to -inf each step ──────── | COMMENT |
| MEDIUM | site/figures-systems3.js | 38 | // ── masked-diffusion-unmask (Show-o): masked grid fills in over steps ────── | COMMENT |
| MEDIUM | site/figures-systems3.js | 72 | // ── any-to-any-stream (MIO): four modality tokens merge into one stream ───── | COMMENT |
| MEDIUM | site/figures-systems3.js | 112 | // ── video-diffusion-denoise (Sora-style): noisy frame strip sharpens ─────── | COMMENT |
| MEDIUM | site/figures-systems3.js | 182 | // ── agentic-rag-loop: retrieve → reason → act cycle ──────────────────────── | COMMENT |
| MEDIUM | site/figures-systems3.js | 222 | // ── mcp-nxm-collapse: N hosts × M servers → one protocol hub ─────────────── | COMMENT |
| MEDIUM | site/figures-agents3.js | 29 | // ── htn-tree-expand: a task tree decomposing node by node ────────────────── | COMMENT |
| MEDIUM | site/figures-agents3.js | 68 | // ── workflow-chain: prompt chaining links lighting up in sequence ────────── | COMMENT |
| MEDIUM | site/figures-agents3.js | 97 | // ── actor-mailbox: messages flying into actor inboxes, async ─────────────── | COMMENT |
| MEDIUM | site/figures-agents3.js | 162 | // ── computer-use-cursor: a cursor gliding across a mock UI ───────────────── | COMMENT |
| MEDIUM | site/figures-agents3.js | 186 | // ── voice-pipeline: a waveform morphing into a text token ────────────────── | COMMENT |
| MEDIUM | site/figures-agents3.js | 221 | // ── injection-hijack: a malicious token glowing red, hijacking flow ──────── | COMMENT |
| MEDIUM | site/figures-agents3.js | 256 | // ── failure-cascade: an error tumbling down a chain of agents ────────────── | COMMENT |
| MEDIUM | site/figures-capstone-c.js | 79 | // ── 34: transformer block — two residual bypasses skip the sublayers ──────── | COMMENT |
| MEDIUM | site/figures-capstone-c.js | 173 | // ── 37: weight remapping — pretrained names rewired into local names ──────── | COMMENT |
| MEDIUM | site/figures-foundations2.js | 24 | // ── data-augmentation: one source image, four transformed copies ─────────── | COMMENT |
| MEDIUM | site/figures-foundations2.js | 87 | // ── transfer-learning: freeze a pretrained backbone, train the head ──────── | COMMENT |
| MEDIUM | site/figures-foundations2.js | 121 | // ── batchnorm-inference: batch stats in training vs running averages ─────── | COMMENT |
| MEDIUM | site/figures-foundations2.js | 160 | // ── ctc-collapse: per-frame chars collapse to a transcript ───────────────── | COMMENT |
| MEDIUM | site/figures-foundations2.js | 205 | // ── mfcc-pipeline: spectrogram → mel → log → DCT → keep N coeffs ──────────── | COMMENT |
| MEDIUM | site/figures-foundations2.js | 244 | // ── autoencoder-bottleneck: reconstruction quality vs latent dim ─────────── | COMMENT |
| MEDIUM | site/figures-foundations2.js | 297 | // ── normalizing-flow: invertible map, base → target, log-det Jacobian ────── | COMMENT |
| MEDIUM | site/figures-foundations2.js | 342 | // ── score-matching: score vector field and Langevin sampling steps ───────── | COMMENT |
| MEDIUM | site/figures-setup.js | 69 | // ── s0-env-stack: the four-layer dev stack assembles bottom-up ──────────── | COMMENT |
| MEDIUM | site/figures-setup.js | 95 | // ── s0-commit-dag: a commit DAG grows, a branch merges back to main ─────── | COMMENT |
| MEDIUM | site/figures-setup.js | 125 | // ── s0-gpu-dispatch: the same matmul batch on CPU vs GPU lanes ──────────── | COMMENT |
| MEDIUM | site/figures-setup.js | 168 | // ── s0-secret-inject: the key flows from .env into the request header ───── | COMMENT |
| MEDIUM | site/figures-setup.js | 422 | // ── s0-process-fork: the process tree forks down to your training run ───── | COMMENT |
| MEDIUM | site/figures-setup.js | 468 | // ── s0-flame-hot: the profile widens on the real bottleneck ─────────────── | COMMENT |
| MEDIUM | site/figures-frontier.js | 159 | // ── world-model-rollout: imagine future states with a learned model ──────── | COMMENT |
| MEDIUM | site/figures-frontier.js | 243 | // ── pass-at-k: pass@k = 1 - (1-p)^k rises toward 1 as k grows ─────────────── | COMMENT |
| MEDIUM | site/figures-frontier.js | 279 | // ── eval-harness-matrix: tasks x variants grid, aggregate per variant ────── | COMMENT |
| MEDIUM | site/figures-frontier.js | 332 | // ── canary-rollout: traffic split, error rate, rollback trigger ──────────── | COMMENT |
| MEDIUM | site/figures-alignment4.js | 87 | // ── bias: identical resumes, one scorer, unequal scores ───────────────────── | COMMENT |
| MEDIUM | site/figures-alignment4.js | 133 | // ── fairness: three criteria, unequal base rates, pick two ────────────────── | COMMENT |
| MEDIUM | site/figures-alignment4.js | 163 | // ── differential privacy: clip each gradient, then add calibrated noise ───── | COMMENT |
| MEDIUM | site/figures-alignment4.js | 212 | // ── watermarking: green-list bias at sampling, z-score at detection ───────── | COMMENT |
| MEDIUM | site/figures-alignment4.js | 250 | // ── EU AI Act: obligations arrive in dated waves ──────────────────────────── | COMMENT |
| MEDIUM | site/figures-alignment4.js | 281 | // ── EchoLeak: zero-click packet crosses the org trust boundary ────────────── | COMMENT |
| MEDIUM | site/figures-alignment4.js | 316 | // ── cards: dataset, model, and system scopes telescope outward ────────────── | COMMENT |
| MEDIUM | site/figures-alignment4.js | 381 | // ── moderation: input, model, output layers each get a turn ───────────────── | COMMENT |
| 657 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/test_translate_workflow.py | 101 | def test_trigger_and_manual_scope_remain_phase_only(self) -> None: | CODE |
| LOW | scripts/test_translate_workflow.py | 110 | def test_manual_phase_rejects_traversal_that_resolves_to_a_directory(self) -> None: | CODE |
| LOW | scripts/test_translate_workflow.py | 141 | def test_publisher_uses_retryable_detached_worktree(self) -> None: | CODE |
| LOW | scripts/test_translate_workflow.py | 153 | def test_rejected_bootstrap_push_retries_and_cleans_registration(self) -> None: | CODE |
| LOW | scripts/test_translate_workflow.py | 204 | def test_commit_failure_never_reports_publish_success(self) -> None: | CODE |
| LOW | scripts/install_skills.py | 300 | def validate_output_directory(output_dir: Path) -> None: | CODE |
| LOW | scripts/install_skills.py | 480 | def _ensure_safe_destination_parent(target_root: Path, parent: Path) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 49 | def test_phase_and_lesson_are_derived_after_the_phases_segment(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 56 | def test_installer_discovers_one_bundle_from_its_skill_entrypoint(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 94 | def test_bundle_file_lists_share_sorted_posix_order(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 119 | def test_installer_copies_the_complete_bundle_to_one_skill_directory(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 160 | def test_failed_forced_bundle_swap_restores_the_previous_directory(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 205 | def test_flat_skill_keeps_all_existing_layouts_and_skill_conversion(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 244 | def test_bundle_targets_resolve_for_every_layout(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 274 | def test_duplicate_flat_and_bundle_names_choose_the_flat_artifact_once(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 317 | def test_installer_rejects_bundle_symlinks_before_writing_any_artifact(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 344 | def test_installer_rejects_bundle_file_symlink_swap_at_open_boundary(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 394 | def test_installer_rejects_flat_file_symlink_swap_at_open_boundary(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 435 | def test_forced_flat_install_replaces_destination_symlink_not_its_target(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 464 | def test_installer_rejects_symlinked_layout_parent(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 498 | def test_installer_rejects_a_bundle_reached_through_an_escaping_parent_symlink(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 525 | def test_installer_rejects_a_flat_only_escaping_outputs_parent(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 552 | def test_installer_rejects_an_in_repository_outputs_directory_symlink(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 580 | def test_installer_rejects_a_direct_flat_artifact_symlink(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 604 | def test_dry_run_rejects_unsafe_bundle_before_previewing_it(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 633 | def test_discovery_rejects_symlinked_bundle_before_reading_skill_file(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 658 | def test_discovery_ignores_unrecognized_symlinked_file_entries(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 680 | def test_cli_reports_an_unsafe_bundle_without_a_traceback(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 708 | def test_cli_rejects_an_artifact_name_that_escapes_the_target(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 730 | def test_catalog_surfaces_bundle_metadata_files_and_skill_entrypoint_once(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 797 | def test_catalog_rejects_a_bundle_that_resolves_outside_the_repository(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 818 | def test_catalog_rejects_a_flat_only_escaping_outputs_parent(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 843 | def test_catalog_rejects_an_in_repository_outputs_directory_symlink(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 869 | def test_catalog_rejects_a_direct_flat_artifact_symlink(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 891 | def test_manifest_describes_the_single_artifact_that_was_installed(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 927 | def test_manifest_includes_bundle_entrypoint_root_and_files(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 967 | def test_manifest_uses_cached_bundle_files_after_install(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 1006 | def test_manifest_atomically_replaces_symlink_without_touching_target(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 1022 | def test_manifest_rejects_symlinked_target_directory(self) -> None: | CODE |
| LOW | scripts/test_skill_artifact_bundles.py | 1042 | def test_mcp_tutor_migrates_legacy_state_and_skill_mirrors_match(self) -> None: | CODE |
| LOW | scripts/audit_certifications.py | 161 | def check_fenced_code_languages(audit: Audit, path: Path, text: str) -> None: | CODE |
| LOW | scripts/audit_certifications.py | 414 | def check_assessment_question( | CODE |
| LOW | scripts/audit_certifications.py | 738 | def check_ai_native_learning_surface(audit: Audit, actual_lessons: set[str]) -> None: | CODE |
| LOW | scripts/_lib.py | 25 | def _resolve_within_repository( | CODE |
| LOW | scripts/_lib.py | 41 | def validate_repository_directory( | CODE |
| LOW⚡ | site/lesson.html | 2772 | function learningPathPrerequisiteLabel(path) { | CODE |
| LOW⚡ | site/lesson.html | 2778 | function unmetLearningPathPrerequisites(entry) { | CODE |
| LOW⚡ | site/lesson.html | 2787 | function learningPathPrerequisiteChecks(entry) { | CODE |
| LOW⚡ | site/lesson.html | 2893 | function linkUnmetLearningPathCheckIds(link) { | CODE |
| LOW⚡ | site/lesson.html | 2901 | function linkUnmetLearningPathPrerequisitePaths(link) { | CODE |
| LOW⚡ | site/lesson.html | 2909 | function linkHasUnmetLearningPathPrerequisite(link) { | CODE |
| LOW⚡ | site/lesson.html | 2915 | function syncLearningPathGateLinks() { | CODE |
| LOW⚡ | site/lesson.html | 2927 | function findLearningPathConfirmButton(checkId) { | CODE |
| LOW⚡ | site/lesson.html | 2935 | function findLearningPathPrerequisiteCallout(paths) { | CODE |
| LOW⚡ | site/lesson.html | 2945 | function ensureLearningPathPrerequisiteCallout(link) { | CODE |
| LOW | site/lesson.html | 2701 | function certificationTrackContains(track, path) { | CODE |
| LOW | site/lesson.html | 2715 | function certificationContextTrack() { | CODE |
| LOW | site/lesson.html | 2798 | function learningPathPrerequisitePaths(entry) { | CODE |
| LOW | site/lesson.html | 2813 | function learningPathGateAttributes(entry) { | CODE |
| LOW | site/lesson.html | 2825 | function learningPathPreflightDefinitions() { | CODE |
| 1752 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/start-learning/SKILL.md | 105 | ## Step 1: The interview (3 questions, keep it short) | COMMENT |
| LOW | .claude/skills/start-learning/SKILL.md | 119 | ## Step 2: Placement | COMMENT |
| LOW | .claude/skills/start-learning/SKILL.md | 137 | ## Step 3: Write LEARNING.md | COMMENT |
| LOW | .claude/skills/start-learning/SKILL.md | 171 | ## Step 4: Hand off | COMMENT |
| LOW⚡ | .claude/skills/check-understanding/SKILL.md | 54 | ### Step 1: Resolve the Phase | COMMENT |
| LOW⚡ | .claude/skills/check-understanding/SKILL.md | 58 | ### Step 2: Read the Phase Content | COMMENT |
| LOW⚡ | .claude/skills/check-understanding/SKILL.md | 64 | ### Step 3: Generate 8 Questions | COMMENT |
| LOW | .claude/skills/check-understanding/SKILL.md | 86 | ### Step 4: Present Questions One at a Time | COMMENT |
| LOW | .claude/skills/check-understanding/SKILL.md | 103 | ### Step 5: Track and Score | COMMENT |
| LOW | .claude/skills/check-understanding/SKILL.md | 109 | ### Step 6: Show Results | COMMENT |
| LOW | .claude/skills/check-understanding/SKILL.md | 129 | ### Step 7: Wrong Answer Breakdown | COMMENT |
| LOW | .claude/skills/check-understanding/SKILL.md | 141 | ### Step 8: What Next? | COMMENT |
| LOW⚡ | …lessons/24-rag-retrieval-and-data-pipelines/docs/en.md | 234 | ### Step 1: Normalize Tokens | COMMENT |
| LOW⚡ | …lessons/24-rag-retrieval-and-data-pipelines/docs/en.md | 240 | ### Step 2: Chunk With Stable Identity | COMMENT |
| LOW⚡ | …lessons/24-rag-retrieval-and-data-pipelines/docs/en.md | 246 | ### Step 3: Exclude Inactive Sources Before Indexing | COMMENT |
| LOW⚡ | …lessons/24-rag-retrieval-and-data-pipelines/docs/en.md | 252 | ### Step 4: Score Transparently | COMMENT |
| LOW⚡ | …lessons/24-rag-retrieval-and-data-pipelines/docs/en.md | 258 | ### Step 5: Return Provenance | COMMENT |
| LOW⚡ | …lessons/24-rag-retrieval-and-data-pipelines/docs/en.md | 264 | ### Step 6: Evaluate the Retriever | COMMENT |
| LOW | …ons/04-context-knowledge-memory-and-caching/docs/en.md | 148 | ### Step 1: Inventory the context | COMMENT |
| LOW | …ons/04-context-knowledge-memory-and-caching/docs/en.md | 164 | ### Step 2: Create a source registry | COMMENT |
| LOW | …ons/04-context-knowledge-memory-and-caching/docs/en.md | 182 | ### Step 3: Design retrieval with abstention | COMMENT |
| LOW | …ons/04-context-knowledge-memory-and-caching/docs/en.md | 195 | ### Step 4: Budget the prompt | COMMENT |
| LOW | …ons/04-context-knowledge-memory-and-caching/docs/en.md | 207 | ### Step 5: Establish maintenance | COMMENT |
| LOW⚡ | …s/32-architect-professional-system-capstone/docs/en.md | 225 | ### Step 1: Encode Requirements | COMMENT |
| LOW⚡ | …s/32-architect-professional-system-capstone/docs/en.md | 230 | ### Step 2: Encode Decisions | COMMENT |
| LOW⚡ | …s/32-architect-professional-system-capstone/docs/en.md | 236 | ### Step 3: Encode Controls | COMMENT |
| LOW⚡ | …s/32-architect-professional-system-capstone/docs/en.md | 242 | ### Step 4: Evaluate Gates | COMMENT |
| LOW⚡ | …s/32-architect-professional-system-capstone/docs/en.md | 248 | ### Step 5: Make the Release Decision | COMMENT |
| LOW⚡ | …6-production-observability-latency-and-cost/docs/en.md | 243 | ### Step 1: Represent One Task Trajectory | COMMENT |
| LOW⚡ | …6-production-observability-latency-and-cost/docs/en.md | 250 | ### Step 2: Aggregate Without Hiding Failure | COMMENT |
| LOW⚡ | …6-production-observability-latency-and-cost/docs/en.md | 256 | ### Step 3: Compare Variants | COMMENT |
| LOW⚡ | …6-production-observability-latency-and-cost/docs/en.md | 261 | ### Step 4: Evaluate Service Objectives | COMMENT |
| LOW | …lessons/05-output-evaluation-and-validation/docs/en.md | 191 | ### Step 1: Define release gates | COMMENT |
| LOW | …lessons/05-output-evaluation-and-validation/docs/en.md | 203 | ### Step 2: Build a validation record | COMMENT |
| LOW | …lessons/05-output-evaluation-and-validation/docs/en.md | 239 | ### Step 3: Separate generation and review | COMMENT |
| LOW | …lessons/05-output-evaluation-and-validation/docs/en.md | 253 | ### Step 4: Calibrate graders | COMMENT |
| LOW | …lessons/05-output-evaluation-and-validation/docs/en.md | 259 | ### Step 5: Close the loop | COMMENT |
| LOW | …/31-architect-foundations-scenario-capstone/docs/en.md | 153 | ### Step 1: Choose one primary lens | COMMENT |
| LOW | …/31-architect-foundations-scenario-capstone/docs/en.md | 170 | ### Step 2: Complete the architecture packet | COMMENT |
| LOW | …/31-architect-foundations-scenario-capstone/docs/en.md | 183 | ### Step 3: Encode the packet as JSON | COMMENT |
| LOW | …/31-architect-foundations-scenario-capstone/docs/en.md | 212 | ### Step 4: Run failure-first tests | COMMENT |
| LOW | …/31-architect-foundations-scenario-capstone/docs/en.md | 232 | ### Step 5: Transfer across all six lenses | COMMENT |
| LOW | …/31-architect-foundations-scenario-capstone/docs/en.md | 258 | ### Step 6: Defend tradeoffs | COMMENT |
| LOW | …/31-architect-foundations-scenario-capstone/docs/en.md | 268 | ### Step 7: Conduct independent review | COMMENT |
| LOW | …lessons/03-prompting-and-task-decomposition/docs/en.md | 147 | ### Step 1: Write the acceptance card | COMMENT |
| LOW | …lessons/03-prompting-and-task-decomposition/docs/en.md | 164 | ### Step 2: Create a source hierarchy | COMMENT |
| LOW | …lessons/03-prompting-and-task-decomposition/docs/en.md | 179 | ### Step 3: Design the stages | COMMENT |
| LOW | …lessons/03-prompting-and-task-decomposition/docs/en.md | 193 | ### Step 4: Add uncertainty behavior | COMMENT |
| LOW | …lessons/03-prompting-and-task-decomposition/docs/en.md | 205 | ### Step 5: Test adversarial cases | COMMENT |
| LOW | …ns/06-governance-safety-and-responsible-use/docs/en.md | 192 | ### Step 1: Write a use-case card | COMMENT |
| LOW | …ns/06-governance-safety-and-responsible-use/docs/en.md | 209 | ### Step 2: Create a control map | COMMENT |
| LOW | …ns/06-governance-safety-and-responsible-use/docs/en.md | 222 | ### Step 3: Design the approval packet | COMMENT |
| LOW | …ns/06-governance-safety-and-responsible-use/docs/en.md | 236 | ### Step 4: Run a threat workshop | COMMENT |
| LOW | …ssons/07-workflow-design-and-human-handoffs/docs/en.md | 197 | ### Step 1: Map one real case | COMMENT |
| LOW | …ssons/07-workflow-design-and-human-handoffs/docs/en.md | 210 | ### Step 2: Score candidate interventions | COMMENT |
| LOW | …ssons/07-workflow-design-and-human-handoffs/docs/en.md | 224 | ### Step 3: Write the future-state contract | COMMENT |
| LOW | …ssons/07-workflow-design-and-human-handoffs/docs/en.md | 228 | ### Step 4: Build the handoff packet | COMMENT |
| LOW | …ssons/07-workflow-design-and-human-handoffs/docs/en.md | 247 | ### Step 5: Pilot in shadow mode | COMMENT |
| LOW | …end-to-end-architecture-and-value-tradeoffs/docs/en.md | 275 | ### Step 1: Draw Three Candidates | COMMENT |
| LOW | …end-to-end-architecture-and-value-tradeoffs/docs/en.md | 280 | ### Step 2: Score Explicit Tradeoffs | COMMENT |
| 1179 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/link_check.py | 29 | CODE | |
| LOW | scripts/build_catalog.py | 50 | CODE | |
| LOW | scripts/test_translate_workflow.py | 4 | CODE | |
| LOW | scripts/scaffold_workbench.py | 26 | CODE | |
| LOW | scripts/check_readme_counts.py | 28 | CODE | |
| LOW | scripts/audit_lessons.py | 12 | CODE | |
| LOW | scripts/install_skills.py | 27 | CODE | |
| LOW | scripts/test_skill_artifact_bundles.py | 4 | CODE | |
| LOW | scripts/lesson_run.py | 30 | CODE | |
| LOW | scripts/audit_certifications.py | 9 | CODE | |
| LOW | scripts/backfill_certification_references.py | 9 | CODE | |
| LOW | scripts/_lib.py | 11 | CODE | |
| LOW | scripts/debias_certification_questions.py | 14 | CODE | |
| LOW | …-business-discovery-requirements-and-slas/code/main.py | 3 | CODE | |
| LOW | …ssons/24-rag-retrieval-and-data-pipelines/code/main.py | 8 | CODE | |
| LOW | …s/04-context-knowledge-memory-and-caching/code/main.py | 7 | CODE | |
| LOW | …ons/01-claude-product-and-model-landscape/code/main.py | 7 | CODE | |
| LOW | …-agent-sdk-sessions-subagents-and-context/code/main.py | 3 | CODE | |
| LOW | …evals-testing-debugging-and-observability/code/main.py | 7 | CODE | |
| LOW | …32-architect-professional-system-capstone/code/main.py | 8 | CODE | |
| LOW | …/claude/lessons/00-certification-strategy/code/main.py | 7 | CODE | |
| LOW | …production-observability-latency-and-cost/code/main.py | 8 | CODE | |
| LOW | …ssons/05-output-evaluation-and-validation/code/main.py | 7 | CODE | |
| LOW | …de/lessons/29-associate-workflow-capstone/code/main.py | 8 | CODE | |
| LOW | …29-associate-workflow-capstone/code/tests/test_main.py | 3 | CODE | |
| LOW | …1-architect-foundations-scenario-capstone/code/main.py | 8 | CODE | |
| LOW | …-foundations-scenario-capstone/code/tests/test_main.py | 3 | CODE | |
| LOW | …lessons/30-developer-application-capstone/code/main.py | 7 | CODE | |
| LOW | …0-reliable-extraction-batch-and-reviewers/code/main.py | 3 | CODE | |
| LOW | …ssons/03-prompting-and-task-decomposition/code/main.py | 7 | CODE | |
| LOW | …ude/lessons/10-tool-use-and-agentic-loops/code/main.py | 7 | CODE | |
| LOW | …/06-governance-safety-and-responsible-use/code/main.py | 7 | CODE | |
| LOW | …ons/07-workflow-design-and-human-handoffs/code/main.py | 7 | CODE | |
| LOW | …sons/11-mcp-server-design-and-integration/code/main.py | 7 | CODE | |
| LOW | …ude/lessons/12-claude-agent-sdk-and-hooks/code/main.py | 7 | CODE | |
| LOW | …d-to-end-architecture-and-value-tradeoffs/code/main.py | 3 | CODE | |
| LOW | …sons/15-claude-code-for-development-teams/code/main.py | 3 | CODE | |
| LOW | …ssons/13-application-security-and-secrets/code/main.py | 7 | CODE | |
| LOW | …enterprise-governance-compliance-and-hitl/code/main.py | 3 | CODE | |
| LOW | …08-messages-api-and-application-lifecycle/code/main.py | 7 | CODE | |
| LOW | …9-structured-output-and-defensive-parsing/code/main.py | 7 | CODE | |
| LOW | …19-claude-code-memory-rules-skills-and-ci/code/main.py | 3 | CODE | |
| LOW | …/outputs/migration-review-skill/scripts/check_scope.py | 3 | CODE | |
| LOW | …ns/02-model-selection-and-token-economics/code/main.py | 8 | CODE | |
| LOW | …ontracts-errors-and-progressive-discovery/code/main.py | 3 | CODE | |
| LOW | …keholder-communication-adrs-and-lifecycle/code/main.py | 3 | CODE | |
| LOW | …-multi-agent-orchestration-and-delegation/code/main.py | 3 | CODE | |
| LOW | …on-protocols-identity-and-least-privilege/code/main.py | 8 | CODE | |
| LOW | …ext-reliability-provenance-and-escalation/code/main.py | 3 | CODE | |
| LOW | …peech-and-audio/04-speech-recognition-asr/code/main.py | 9 | CODE | |
| LOW | …speech-and-audio/10-audio-language-models/code/main.py | 10 | CODE | |
| LOW | …-audio/05-whisper-architecture-finetuning/code/main.py | 9 | CODE | |
| LOW | …ses/06-speech-and-audio/07-text-to-speech/code/main.py | 10 | CODE | |
| LOW | …llm-engineering/14-model-context-protocol/code/main.py | 9 | CODE | |
| LOW | …ases/11-llm-engineering/15-prompt-caching/code/main.py | 14 | CODE | |
| LOW | …ases/11-llm-engineering/15-prompt-caching/code/main.py | 16 | CODE | |
| LOW | …m-engineering/16-langgraph-state-machines/code/main.py | 23 | CODE | |
| LOW | …1-llm-engineering/10-evaluation/code/eval_framework.py | 1 | CODE | |
| LOW | …1-llm-engineering/10-evaluation/code/eval_framework.py | 6 | CODE | |
| LOW | …-engineering/17-agent-framework-tradeoffs/code/main.py | 12 | CODE | |
| 616 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | site/figures-systems3.js | 182 | // ── agentic-rag-loop: retrieve → reason → act cycle ──────────────────────── | COMMENT |
| MEDIUM | site/figures-autoswarm5.js | 61 | // ── a5-scaffold-delta: one model feeds two scaffolds; the score bars land | COMMENT |
| MEDIUM | site/data.js | 2119 | "url": "https://github.com/rohitg00/ai-engineering-from-scratch/tree/main/phases/11-llm-engineering/12-guardrail | CODE |
| MEDIUM | site/data.js | 2926 | "url": "https://github.com/rohitg00/ai-engineering-from-scratch/tree/main/phases/14-agent-engineering/26-failure | CODE |
| MEDIUM | glossary/myths.md | 69 | ## "Bigger context window = better" | COMMENT |
| MEDIUM | glossary/terms.md | 1544 | ### RAG (Retrieval-Augmented Generation) | COMMENT |
| MEDIUM | …rtifications/claude/assessments/ccdv-f/diagnostic.json | 317 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", | CODE |
| MEDIUM | certifications/claude/assessments/ccdv-f/mock-01.json | 488 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", | CODE |
| MEDIUM | certifications/claude/assessments/ccdv-f/mock-01.json | 865 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", | CODE |
| MEDIUM | certifications/claude/assessments/ccdv-f/mock-01.json | 931 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", | CODE |
| MEDIUM | certifications/claude/assessments/ccdv-f/mock-01.json | 975 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", | CODE |
| MEDIUM | certifications/claude/assessments/ccdv-f/mock-01.json | 997 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", | CODE |
| MEDIUM | certifications/claude/assessments/ccdv-f/mock-01.json | 1018 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", | CODE |
| MEDIUM | …rtifications/claude/assessments/ccao-f/diagnostic.json | 70 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations" | CODE |
| MEDIUM | certifications/claude/assessments/ccao-f/mock-01.json | 177 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations" | CODE |
| MEDIUM | certifications/claude/assessments/ccao-f/mock-01.json | 241 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-hallucinations" | CODE |
| MEDIUM | certifications/claude/assessments/ccao-f/mock-01.json | 1051 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-prompt-leak" | CODE |
| MEDIUM | certifications/claude/assessments/ccar-p/mock-01.json | 961 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", | CODE |
| MEDIUM | certifications/claude/assessments/ccar-p/mock-01.json | 1124 | "https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/mitigate-jailbreaks", | CODE |
| MEDIUM | …lessons/24-rag-retrieval-and-data-pipelines/docs/en.md | 1 | # RAG, Retrieval, and Data Pipelines | COMMENT |
| MEDIUM | …lessons/24-rag-retrieval-and-data-pipelines/docs/en.md | 34 | ### RAG Is a Data System | COMMENT |
| MEDIUM | …4-evals-testing-debugging-and-observability/docs/en.md | 331 | - [Create strong empirical evaluations](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/incr | CODE |
| MEDIUM | …s/32-architect-professional-system-capstone/docs/en.md | 96 | ### 5. Knowledge and RAG Design | COMMENT |
| MEDIUM | …ystem-capstone/outputs/architecture-packet-template.md | 37 | ## 5. RAG and Knowledge | COMMENT |
| MEDIUM | …stem-capstone/outputs/reference-architecture-packet.md | 34 | ## 5. RAG and Knowledge | COMMENT |
| MEDIUM | …lessons/05-output-evaluation-and-validation/docs/en.md | 351 | - [Anthropic: Reduce hallucinations](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce- | CODE |
| MEDIUM | …/31-architect-foundations-scenario-capstone/docs/en.md | 72 | #### Gate 1: Agentic architecture and orchestration | COMMENT |
| MEDIUM | …ns/06-governance-safety-and-responsible-use/docs/en.md | 331 | - [Anthropic: Reduce prompt leak](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-pro | CODE |
| MEDIUM | …lessons/13-application-security-and-secrets/docs/en.md | 339 | - [Mitigate jailbreaks and prompt injections](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrail | CODE |
| MEDIUM | …lessons/13-application-security-and-secrets/docs/en.md | 340 | - [Reduce prompt leak](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/reduce-prompt-leak) | CODE |
| MEDIUM | …/09-structured-output-and-defensive-parsing/docs/en.md | 356 | - [Increase output consistency](https://platform.claude.com/docs/en/test-and-evaluate/strengthen-guardrails/increase-con | CODE |
| MEDIUM | …peech-and-audio/08-voice-cloning-conversion/docs/en.md | 77 | ### Step 2: zero-shot clone with F5-TTS | COMMENT |
| MEDIUM | phases/11-llm-engineering/07-advanced-rag/docs/en.md | 1 | # Advanced RAG (Chunking, Reranking, Hybrid Search) | COMMENT |
| MEDIUM | phases/11-llm-engineering/07-advanced-rag/docs/en.md | 534 | - [Asai et al., "Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection" (ICLR 2024)](https://ar | CODE |
| MEDIUM | …ineering/07-advanced-rag/outputs/skill-advanced-rag.md | 10 | # Advanced RAG Pattern | COMMENT |
| MEDIUM | …ineering/07-advanced-rag/outputs/skill-advanced-rag.md | 21 | ## When to upgrade from basic RAG | COMMENT |
| MEDIUM | phases/11-llm-engineering/06-rag/docs/en.md | 1 | # RAG (Retrieval-Augmented Generation) | COMMENT |
| MEDIUM | phases/11-llm-engineering/06-rag/docs/en.md | 28 | ### The RAG Pattern | COMMENT |
| MEDIUM | phases/11-llm-engineering/06-rag/docs/en.md | 58 | ### Why RAG Beats Fine-Tuning | COMMENT |
| MEDIUM | phases/11-llm-engineering/06-rag/docs/en.md | 277 | ### Step 5: The Complete RAG Pipeline | COMMENT |
| MEDIUM | …1-llm-engineering/06-rag/outputs/skill-rag-pipeline.md | 10 | # RAG Pipeline Pattern | COMMENT |
| MEDIUM | …1-llm-engineering/06-rag/outputs/skill-rag-pipeline.md | 21 | ## When to use RAG | COMMENT |
| MEDIUM | …1-llm-engineering/06-rag/outputs/skill-rag-pipeline.md | 28 | ## When NOT to use RAG | COMMENT |
| MEDIUM | …s/11-llm-engineering/05-context-engineering/docs/en.md | 548 | ### RAG as Context Engineering | COMMENT |
| MEDIUM | phases/11-llm-engineering/12-guardrails/code/main.ts | 3 | // code/guardrails.py and the OWASP LLM defense-in-depth pattern. | COMMENT |
| MEDIUM | phases/11-llm-engineering/12-guardrails/code/main.ts | 6 | // https://github.com/presidio-oss/hai-guardrails | COMMENT |
| MEDIUM⚡ | phases/11-llm-engineering/12-guardrails/docs/en.md | 836 | # Install: pip install guardrails-ai | COMMENT |
| MEDIUM⚡ | phases/11-llm-engineering/12-guardrails/docs/en.md | 838 | # import guardrails as gd | COMMENT |
| MEDIUM⚡ | phases/11-llm-engineering/12-guardrails/docs/en.md | 839 | # from guardrails.hub import DetectPII, ToxicLanguage, CompetitorCheck | COMMENT |
| MEDIUM | phases/11-llm-engineering/12-guardrails/docs/en.md | 856 | Guardrails AI has 50+ validators on their hub. Install validators individually: `guardrails hub install hub://guardrails | CODE |
| MEDIUM | phases/11-llm-engineering/12-guardrails/docs/en.md | 896 | - [NeMo Guardrails Documentation](https://docs.nvidia.com/nemo/guardrails/) -- NVIDIA's guide to implementing programmab | CODE |
| MEDIUM | …ring/12-guardrails/outputs/skill-guardrail-patterns.md | 14 | ## When to add guardrails | COMMENT |
| MEDIUM | phases/11-llm-engineering/13-production-app/docs/en.md | 1165 | - [Eugene Yan, "Patterns for Building LLM-based Systems"](https://eugeneyan.com/writing/llm-patterns/) -- architectural | CODE |
| MEDIUM | …ions-to-advanced/23-chunking-strategies-rag/docs/en.md | 1 | # Chunking Strategies for RAG | COMMENT |
| MEDIUM | …undations-to-advanced/13-question-answering/docs/en.md | 61 | ### Step 2: a retrieval-augmented pipeline (sketch) | COMMENT |
| MEDIUM | …undations-to-advanced/13-question-answering/docs/en.md | 96 | ### Step 3: generative with RAG | COMMENT |
| MEDIUM | …foundations-to-advanced/18-multilingual-nlp/docs/en.md | 58 | ### Step 1: zero-shot cross-lingual classification | COMMENT |
| MEDIUM | …foundations-to-advanced/18-multilingual-nlp/docs/en.md | 111 | ### Step 3: few-shot fine-tuning strategy | COMMENT |
| MEDIUM | …to-advanced/14-information-retrieval-search/docs/en.md | 174 | ### The hard-won lessons from 2026 production RAG | COMMENT |
| MEDIUM | …tions-to-advanced/21-nli-textual-entailment/docs/en.md | 76 | ### Step 2: zero-shot classification | COMMENT |
| 63 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/build_readme_i18n.py | 52 | CODE | |
| LOW | scripts/link_check.py | 115 | CODE | |
| LOW | scripts/link_check.py | 278 | CODE | |
| LOW | scripts/debias_quizzes.py | 117 | CODE | |
| LOW | scripts/build_book.py | 109 | CODE | |
| LOW | scripts/check_readme_counts.py | 213 | CODE | |
| LOW | scripts/install_skills.py | 90 | CODE | |
| LOW | scripts/install_skills.py | 390 | CODE | |
| LOW | scripts/test_skill_artifact_bundles.py | 160 | CODE | |
| LOW | scripts/test_skill_artifact_bundles.py | 344 | CODE | |
| LOW | scripts/test_skill_artifact_bundles.py | 394 | CODE | |
| LOW | scripts/audit_certifications.py | 321 | CODE | |
| LOW | scripts/audit_certifications.py | 541 | CODE | |
| LOW | scripts/audit_certifications.py | 665 | CODE | |
| LOW | scripts/backfill_certification_references.py | 62 | CODE | |
| LOW | …s/04-context-knowledge-memory-and-caching/code/main.py | 18 | CODE | |
| LOW | …ssons/05-output-evaluation-and-validation/code/main.py | 24 | CODE | |
| LOW | …1-architect-foundations-scenario-capstone/code/main.py | 89 | CODE | |
| LOW | …sons/11-mcp-server-design-and-integration/code/main.py | 569 | CODE | |
| LOW | …ude/lessons/12-claude-agent-sdk-and-hooks/code/main.py | 46 | CODE | |
| LOW | …ude/lessons/12-claude-agent-sdk-and-hooks/code/main.py | 129 | CODE | |
| LOW | …08-messages-api-and-application-lifecycle/code/main.py | 227 | CODE | |
| LOW | …9-structured-output-and-defensive-parsing/code/main.py | 51 | CODE | |
| LOW | …/outputs/migration-review-skill/scripts/check_scope.py | 10 | CODE | |
| LOW | …audio/06-speaker-recognition-verification/code/main.py | 135 | CODE | |
| LOW | …peech-and-audio/04-speech-recognition-asr/code/main.py | 27 | CODE | |
| LOW | …ech-and-audio/12-voice-assistant-pipeline/code/main.py | 69 | CODE | |
| LOW | …ses/06-speech-and-audio/07-text-to-speech/code/main.py | 53 | CODE | |
| LOW | …ch-and-audio/02-spectrograms-mel-features/code/main.py | 85 | CODE | |
| LOW | …llm-engineering/14-model-context-protocol/code/main.py | 146 | CODE | |
| LOW | …m-engineering/16-langgraph-state-machines/code/main.py | 117 | CODE | |
| LOW | …gineering/09-function-calling/code/function_calling.py | 200 | CODE | |
| LOW | …es/11-llm-engineering/08-fine-tuning-lora/code/lora.py | 35 | CODE | |
| LOW | …1-llm-engineering/10-evaluation/code/eval_framework.py | 300 | CODE | |
| LOW | …/11-llm-engineering/03-structured-outputs/code/main.py | 10 | CODE | |
| LOW | …/11-llm-engineering/03-structured-outputs/code/main.py | 121 | CODE | |
| LOW | …es/11-llm-engineering/04-embeddings/code/embeddings.py | 109 | CODE | |
| LOW | …m-engineering/13-production-app/code/production_app.py | 374 | CODE | |
| LOW | …ering/01-prompt-engineering/code/prompt_engineering.py | 321 | CODE | |
| LOW | …13-debugging-neural-networks/code/debug_neural_nets.py | 140 | CODE | |
| LOW | …s/03-deep-learning-core/10-mini-framework/code/main.py | 373 | CODE | |
| LOW | …eep-learning-core/01-the-perceptron/code/perceptron.py | 12 | CODE | |
| LOW | …eep-learning-core/01-the-perceptron/code/perceptron.py | 132 | CODE | |
| LOW | …-learning-core/09-learning-rate-schedules/code/main.py | 76 | CODE | |
| LOW | …-learning-core/09-learning-rate-schedules/code/main.py | 148 | CODE | |
| LOW | …/03-deep-learning-core/03-backpropagation/code/main.py | 188 | CODE | |
| LOW | …ep-learning-core/08-weight-initialization/code/main.py | 64 | CODE | |
| LOW | …ep-learning-core/08-weight-initialization/code/main.py | 126 | CODE | |
| LOW | …ep-learning-core/08-weight-initialization/code/main.py | 157 | CODE | |
| LOW | …ep-learning-core/08-weight-initialization/code/main.py | 166 | CODE | |
| LOW | …ns-to-advanced/23-chunking-strategies-rag/code/main.py | 36 | CODE | |
| LOW | …ations-to-advanced/07-pos-tagging-parsing/code/main.py | 52 | CODE | |
| LOW | …s-to-advanced/03-word-embeddings-word2vec/code/main.py | 22 | CODE | |
| LOW | …s-to-advanced/06-named-entity-recognition/code/main.py | 6 | CODE | |
| LOW | …s-to-advanced/06-named-entity-recognition/code/main.py | 20 | CODE | |
| LOW | …s-to-advanced/06-named-entity-recognition/code/main.py | 43 | CODE | |
| LOW | …dations-to-advanced/12-text-summarization/code/main.py | 20 | CODE | |
| LOW | …foundations-to-advanced/15-topic-modeling/code/main.py | 13 | CODE | |
| LOW | …ons-to-advanced/04-glove-fasttext-subword/code/main.py | 13 | CODE | |
| LOW | …ons-to-advanced/24-coreference-resolution/code/main.py | 27 | CODE | |
| 149 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ering/01-prompt-engineering/code/prompt_engineering.py | 418 | 'Output: {"sentiment": "negative", "food": null, "service": "negative"}' | CODE |
| HIGH | phases/13-tools-and-protocols/14-mcp-apps/code/main.py | 97 | if (event.origin !== hostOrigin || !event.data || event.data.jsonrpc !== "2.0") return; | CODE |
| HIGH | phases/13-tools-and-protocols/14-mcp-apps/code/main.py | 98 | if (event.data.id === 0 && event.data.result) {{ | CODE |
| HIGH | …00-setup-and-tooling/01-dev-environment/code/verify.py | 111 | return "Run `sudo apt-get update && sudo apt-get install -y git`, then `git --version`." | CODE |
| HIGH | …00-setup-and-tooling/01-dev-environment/code/verify.py | 124 | "Run `fnm install 22 && fnm use 22`, then `node --version`.", | CODE |
| HIGH | …formers-deep-dive/16-speculative-decoding/code/main.py | 136 | print("=== acceptance rate vs KL(q || p) ===") | CODE |
| HIGH⚡ | …h-foundations/14-norms-and-distances/code/distances.py | 375 | print(f" KL(P || Q) = {kl_pq:.4f} nats") | CODE |
| HIGH⚡ | …h-foundations/14-norms-and-distances/code/distances.py | 376 | print(f" KL(Q || P) = {kl_qp:.4f} nats") | CODE |
| HIGH⚡ | …h-foundations/14-norms-and-distances/code/distances.py | 386 | print(f" KL(P || Q) = {kl_divergence(p2, q2):.4f} nats") | CODE |
| HIGH⚡ | …h-foundations/14-norms-and-distances/code/distances.py | 387 | print(f" KL(Q || P) = {kl_divergence(q2, p2):.4f} nats") | CODE |
| HIGH | …tions/09-information-theory/code/information_theory.py | 225 | print(f" KL(true || good): {kl_good:.4f} bits") | CODE |
| HIGH | …tions/09-information-theory/code/information_theory.py | 226 | print(f" KL(true || bad): {kl_bad:.4f} bits") | CODE |
| HIGH | …tions/09-information-theory/code/information_theory.py | 240 | print(f" KL(P || Q) = {kl_divergence(p, q):.4f} bits") | CODE |
| HIGH | …tions/09-information-theory/code/information_theory.py | 241 | print(f" KL(Q || P) = {kl_divergence(q, p):.4f} bits") | CODE |
| HIGH | …one-projects/05-autonomous-research-agent/code/main.py | 136 | tree.push(root) | CODE |
| HIGH⚡ | …one-projects/05-autonomous-research-agent/code/main.py | 160 | tree.push(ch) | CODE |
| HIGH | …s-systems/10-claude-code-permission-modes/code/main.py | 161 | Action("shell", "git add /tmp/secrets.txt && git push"), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | phases/11-llm-engineering/07-advanced-rag/code/main.py | 0 | acme corp refund policy. all standard plan customers are eligible for a full refund within 30 days of purchase. enterpri | STRING |
| HIGH | phases/11-llm-engineering/06-rag/code/main.py | 0 | acme corp refund policy. all standard plan customers are eligible for a full refund within 30 days of purchase. enterpri | STRING |
| HIGH | …es/11-llm-engineering/04-embeddings/code/embeddings.py | 0 | acme corp refund policy. all standard plan customers are eligible for a full refund within 30 days of purchase. enterpri | STRING |
| HIGH | phases/11-llm-engineering/07-advanced-rag/code/main.py | 0 | acme corp product overview. acme corp offers three product tiers: starter, professional, and enterprise. the starter pla | STRING |
| HIGH | phases/11-llm-engineering/06-rag/code/main.py | 0 | acme corp product overview. acme corp offers three product tiers: starter, professional, and enterprise. the starter pla | STRING |
| HIGH | …es/11-llm-engineering/04-embeddings/code/embeddings.py | 0 | acme corp product overview. acme corp offers three product tiers: starter, professional, and enterprise. the starter pla | STRING |
| HIGH | phases/11-llm-engineering/07-advanced-rag/code/main.py | 0 | acme corp security practices. acme corp maintains soc 2 type ii compliance and undergoes annual third-party security aud | STRING |
| HIGH | phases/11-llm-engineering/06-rag/code/main.py | 0 | acme corp security practices. acme corp maintains soc 2 type ii compliance and undergoes annual third-party security aud | STRING |
| HIGH | …es/11-llm-engineering/04-embeddings/code/embeddings.py | 0 | acme corp security practices. acme corp maintains soc 2 type ii compliance and undergoes annual third-party security aud | STRING |
| HIGH | phases/11-llm-engineering/07-advanced-rag/code/main.py | 0 | acme corp api documentation. the acme api uses rest with json request and response bodies. authentication is via bearer | STRING |
| HIGH | phases/11-llm-engineering/06-rag/code/main.py | 0 | acme corp api documentation. the acme api uses rest with json request and response bodies. authentication is via bearer | STRING |
| HIGH | …es/11-llm-engineering/04-embeddings/code/embeddings.py | 0 | acme corp api documentation. the acme api uses rest with json request and response bodies. authentication is via bearer | STRING |
| HIGH | phases/11-llm-engineering/07-advanced-rag/code/main.py | 0 | acme corp uptime and reliability. acme corp guarantees 99.9% uptime for professional plans and 99.99% uptime for enterpr | STRING |
| HIGH | phases/11-llm-engineering/06-rag/code/main.py | 0 | acme corp uptime and reliability. acme corp guarantees 99.9% uptime for professional plans and 99.99% uptime for enterpr | STRING |
| HIGH | …es/11-llm-engineering/04-embeddings/code/embeddings.py | 0 | acme corp uptime and reliability. acme corp guarantees 99.9% uptime for professional plans and 99.99% uptime for enterpr | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/link_check.py | 258 | except Exception as exc: | CODE |
| LOW | scripts/link_check.py | 343 | except Exception as exc: | CODE |
| LOW | scripts/install_skills.py | 424 | except Exception: | CODE |
| LOW | scripts/install_skills.py | 525 | except Exception: | CODE |
| LOW | …evals-testing-debugging-and-observability/code/main.py | 62 | except Exception as exc: | CODE |
| LOW | …ude/lessons/10-tool-use-and-agentic-loops/code/main.py | 217 | except Exception as exc: | CODE |
| LOW | …sons/11-mcp-server-design-and-integration/code/main.py | 183 | except Exception: | CODE |
| LOW | …08-messages-api-and-application-lifecycle/code/main.py | 137 | except Exception as exc: # Tool failures become model-visible results. | CODE |
| LOW | …llm-engineering/14-model-context-protocol/code/main.py | 204 | except Exception: | CODE |
| LOW | …llm-engineering/14-model-context-protocol/code/main.py | 232 | except Exception: | CODE |
| LOW | …llm-engineering/14-model-context-protocol/code/main.py | 275 | except Exception: | CODE |
| LOW | …m-engineering/16-langgraph-state-machines/code/main.py | 57 | except Exception as exc: | CODE |
| LOW | …gineering/09-function-calling/code/function_calling.py | 31 | except Exception as e: | CODE |
| LOW | …gineering/09-function-calling/code/function_calling.py | 129 | except Exception as e: | CODE |
| LOW | …ases/11-llm-engineering/09-function-calling/docs/en.md | 220 | except Exception as e: | CODE |
| LOW | …ases/11-llm-engineering/09-function-calling/docs/en.md | 302 | except Exception as e: | CODE |
| LOW | …engineering/02-few-shot-cot/code/advanced_prompting.py | 326 | except Exception as e: | CODE |
| LOW | …-permissions-sandboxes-and-trust/code/sandbox/probe.py | 15 | except Exception as error: | CODE |
| LOW | …s-and-protocols/07-building-an-mcp-server/code/main.py | 355 | except Exception as exc: | CODE |
| LOW | …ools-and-protocols/18-mcp-auth-production/code/main.py | 488 | except Exception: | CODE |
| LOW | …ent-engineering/02-rewoo-plan-and-execute/code/main.py | 43 | except Exception as e: | CODE |
| LOW | …t-engineering/42-agent-workbench-capstone/code/main.py | 547 | except Exception as exc: | CODE |
| LOW | …tputs/agent-workbench-pack/scripts/generate_handoff.py | 112 | except Exception as exc: | CODE |
| LOW | …nt-engineering/10-skill-libraries-voyager/code/main.py | 100 | except Exception as e: | CODE |
| LOW | …/14-agent-engineering/17-claude-agent-sdk/code/main.py | 100 | except Exception as e: | CODE |
| LOW | …gent-engineering/34-repo-memory-and-state/code/main.py | 108 | except Exception: | CODE |
| LOW | …ineering/06-tool-use-and-function-calling/code/main.py | 134 | except Exception as e: | CODE |
| LOW | …-agent-engineering/14-autogen-actor-model/code/main.py | 67 | except Exception as e: | CODE |
| LOW | …es/14-agent-engineering/01-the-agent-loop/code/main.py | 52 | except Exception as e: | CODE |
| LOW | …es/14-agent-engineering/01-the-agent-loop/code/main.py | 62 | except Exception as e: | CODE |
| LOW | …ineering/07-memory-virtual-context-memgpt/code/main.py | 136 | except Exception as e: | CODE |
| LOW | …00-setup-and-tooling/01-dev-environment/code/verify.py | 94 | except Exception as exc: | CODE |
| LOW | …i-agent-and-swarms/08-role-specialization/code/main.py | 75 | except Exception as e: | CODE |
| LOW | …i-agent-and-swarms/08-role-specialization/code/main.py | 84 | except Exception as e: | CODE |
| MEDIUM | …gent-and-swarms/07-society-of-mind-debate/code/main.py | 94 | print(f"Error vs truth: {abs(control_mean - TRUE_ANSWER):.2f}") | CODE |
| LOW | …tch/09-constitutional-ai-self-improvement/code/main.py | 80 | except Exception: | CODE |
| LOW | …tch/09-constitutional-ai-self-improvement/code/main.py | 137 | except Exception: | CODE |
| LOW | …ratch/09-constitutional-ai-self-improvement/docs/en.md | 220 | except Exception: | CODE |
| LOW | …ojects/60-projection-layer-modality-align/code/main.py | 36 | except Exception: | CODE |
| LOW⚡ | …projects/15-constitutional-safety-harness/code/main.py | 33 | except Exception: | CODE |
| LOW | …tone-projects/13-mcp-server-with-registry/code/main.py | 288 | except Exception as exc: | CODE |
| LOW | …stone-projects/42-large-corpus-downloader/code/main.py | 355 | except Exception: | CODE |
| LOW | …apstone-projects/43-hdf5-tokenized-corpus/code/main.py | 273 | except Exception: | CODE |
| LOW | …apstone-projects/43-hdf5-tokenized-corpus/code/main.py | 277 | except Exception: | CODE |
| LOW | …apstone-projects/43-hdf5-tokenized-corpus/code/main.py | 292 | except Exception: | CODE |
| MEDIUM | …apstone-projects/43-hdf5-tokenized-corpus/code/main.py | 140 | def __exit__(self, exc_type, exc, tb) -> None: | CODE |
| LOW | …one-projects/24-plan-execute-control-flow/code/main.py | 156 | except Exception as exc: | CODE |
| LOW | …-capstone-projects/56-iteration-scheduler/code/main.py | 202 | except Exception as exc: | CODE |
| LOW | …-capstone-projects/56-iteration-scheduler/code/main.py | 264 | except Exception: | CODE |
| LOW | …tone-projects/23-function-call-dispatcher/code/main.py | 190 | except Exception as exc: | CODE |
| LOW | …tone-projects/23-function-call-dispatcher/code/main.py | 240 | except Exception as exc: | CODE |
| LOW | …s/19-capstone-projects/49-lm-eval-harness/code/main.py | 96 | except Exception: | CODE |
| LOW | …s/19-capstone-projects/49-lm-eval-harness/code/main.py | 225 | except Exception: | CODE |
| LOW | …s/19-capstone-projects/49-lm-eval-harness/code/main.py | 237 | except Exception: | CODE |
| LOW | …stone-projects/22-jsonrpc-stdio-transport/code/main.py | 150 | except Exception as exc: | CODE |
| LOW | …capstone-projects/48-distributed-fsdp-ddp/code/main.py | 278 | except Exception as exc: | CODE |
| LOW | …capstone-projects/48-distributed-fsdp-ddp/code/main.py | 338 | except Exception: | CODE |
| LOW | …-projects/81-end-to-end-distributed-train/code/main.py | 387 | except Exception: | CODE |
| LOW | …-projects/01-terminal-native-coding-agent/code/main.py | 214 | except Exception as exc: | CODE |
| LOW | …one-projects/83-prompt-injection-detector/code/main.py | 87 | except Exception: | CODE |
| 9 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …s/19-capstone-projects/59-vit-transformer/code/main.py | 226 | grad_norm = enc2.front.patch.proj.weight.grad.norm().item() | CODE |
| CRITICAL | …9-capstone-projects/36-training-loop-eval/code/main.py | 159 | block.attn.out_proj.weight.data.mul_(scale) | CODE |
| CRITICAL | …9-capstone-projects/36-training-loop-eval/code/main.py | 160 | block.mlp.fc2.weight.data.mul_(scale) | CODE |
| CRITICAL⚡ | …9-capstone-projects/35-gpt-model-assembly/code/main.py | 156 | block.attn.out_proj.weight.data.mul_(scale) | CODE |
| CRITICAL⚡ | …9-capstone-projects/35-gpt-model-assembly/code/main.py | 157 | block.mlp.fc2.weight.data.mul_(scale) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/translate.yml | 1 | name: translate | COMMENT |
| LOW | …ases/11-llm-engineering/09-function-calling/docs/en.md | 561 | COMMENT | |
| LOW | …ases/11-llm-engineering/09-function-calling/docs/en.md | 581 | # }, | COMMENT |
| LOW | …ases/11-llm-engineering/09-function-calling/docs/en.md | 601 | # {"role": "user", "content": "Weather in Tokyo?"}, | COMMENT |
| LOW | …ases/11-llm-engineering/09-function-calling/docs/en.md | 621 | # tools=[{ | COMMENT |
| LOW | …ases/11-llm-engineering/09-function-calling/docs/en.md | 641 | # max_tokens=1024, | COMMENT |
| LOW | …ases/11-llm-engineering/09-function-calling/docs/en.md | 661 | # from mcp import ClientSession, StdioServerParameters | COMMENT |
| LOW | phases/11-llm-engineering/10-evaluation/docs/en.md | 741 | # promptfooconfig.yaml: | COMMENT |
| LOW | phases/11-llm-engineering/10-evaluation/docs/en.md | 761 | # | COMMENT |
| LOW | phases/11-llm-engineering/10-evaluation/docs/en.md | 781 | # | COMMENT |
| LOW | phases/11-llm-engineering/10-evaluation/docs/en.md | 801 | # | COMMENT |
| LOW | phases/11-llm-engineering/12-guardrails/docs/en.md | 761 | # model="omni-moderation-latest", | COMMENT |
| LOW | phases/11-llm-engineering/12-guardrails/docs/en.md | 781 | # from transformers import AutoTokenizer, AutoModelForCausalLM | COMMENT |
| LOW | phases/11-llm-engineering/12-guardrails/docs/en.md | 801 | # NeMo Guardrails uses Colang -- a DSL for defining conversational rails. | COMMENT |
| LOW | phases/11-llm-engineering/12-guardrails/docs/en.md | 821 | # user ask about banking | COMMENT |
| LOW | phases/11-llm-engineering/12-guardrails/docs/en.md | 841 | # guard = gd.Guard().use_many( | COMMENT |
| LOW | …es/11-llm-engineering/03-structured-outputs/docs/en.md | 421 | print(f" Output: {json.dumps(result)}") | COMMENT |
| LOW | …es/11-llm-engineering/03-structured-outputs/docs/en.md | 441 | # response = client.beta.chat.completions.parse( | COMMENT |
| LOW | …es/11-llm-engineering/03-structured-outputs/docs/en.md | 461 | # client = anthropic.Anthropic() | COMMENT |
| LOW | …es/11-llm-engineering/03-structured-outputs/docs/en.md | 481 | ``` | COMMENT |
| LOW | phases/11-llm-engineering/13-production-app/docs/en.md | 1021 | ### FastAPI Server (Production Deployment) | COMMENT |
| LOW | phases/11-llm-engineering/13-production-app/docs/en.md | 1041 | # stream: bool = False | COMMENT |
| LOW | phases/11-llm-engineering/13-production-app/docs/en.md | 1061 | # @app.get("/v1/costs") | COMMENT |
| LOW | phases/11-llm-engineering/13-production-app/docs/en.md | 1081 | ```python | COMMENT |
| LOW | phases/11-llm-engineering/13-production-app/docs/en.md | 1101 | # async with client.messages.stream( | COMMENT |
| LOW | …es/11-llm-engineering/01-prompt-engineering/docs/en.md | 881 | COMMENT | |
| LOW | …es/11-llm-engineering/01-prompt-engineering/docs/en.md | 901 | # | COMMENT |
| LOW | …es/11-llm-engineering/01-prompt-engineering/docs/en.md | 921 | # "role": "user", | COMMENT |
| LOW | …es/11-llm-engineering/01-prompt-engineering/docs/en.md | 941 | # | COMMENT |
| LOW | …es/11-llm-engineering/01-prompt-engineering/docs/en.md | 961 | ```python | COMMENT |
| LOW | phases/11-llm-engineering/11-caching-cost/docs/en.md | 761 | # | COMMENT |
| LOW | phases/11-llm-engineering/11-caching-cost/docs/en.md | 781 | COMMENT | |
| LOW | phases/11-llm-engineering/11-caching-cost/docs/en.md | 801 | # print(f"Completion tokens: {response.usage.completion_tokens}") | COMMENT |
| LOW | phases/11-llm-engineering/11-caching-cost/docs/en.md | 821 | # "model": "gpt-4o-mini", | COMMENT |
| LOW | phases/11-llm-engineering/11-caching-cost/docs/en.md | 841 | # import numpy as np | COMMENT |
| LOW | …tools-and-protocols/01-the-tool-interface/code/main.ts | 1 | // Phase 13 Lesson 01 — the tool interface, in TypeScript. | COMMENT |
| LOW | …es/13-tools-and-protocols/19-a2a-protocol/code/main.ts | 1 | // Phase 13 Lesson 19 — A2A agent-to-agent protocol, in TypeScript. | COMMENT |
| LOW | …-engineering/13-langgraph-stateful-graphs/code/main.ts | 1 | // Phase 14 Lesson 13 — LangGraph-shaped stateful graph, in TypeScript. | COMMENT |
| LOW | …ineering/06-tool-use-and-function-calling/code/main.ts | 1 | // Phase 14 Lesson 06 — tool use and function calling, in TypeScript. | COMMENT |
| LOW | …es/14-agent-engineering/01-the-agent-loop/code/main.ts | 1 | // Phase 14 Lesson 01 — toy ReAct agent loop, in TypeScript. | COMMENT |
| LOW | …/00-setup-and-tooling/10-terminal-and-shell/docs/en.md | 241 | COMMENT | |
| LOW | phases/10-llms-from-scratch/11-quantization/docs/en.md | 781 | # from transformers import AutoTokenizer | COMMENT |
| LOW | phases/10-llms-from-scratch/11-quantization/docs/en.md | 801 | # pip install autoawq | COMMENT |
| LOW | phases/10-llms-from-scratch/10-evaluation/docs/en.md | 421 | The standard tool for running benchmarks on any model. | COMMENT |
| LOW | …jects/03-realtime-voice-assistant/code/ts/src/index.ts | 1 | // Capstone 19/03: realtime voice web client (multi-file TypeScript). | COMMENT |
| LOW | …s/01-terminal-native-coding-agent/code/ts/src/index.ts | 1 | // Capstone 19/01: terminal-native coding agent harness (multi-file TypeScript). | COMMENT |
| LOW | …one-projects/02-rag-over-codebase/code/ts/src/index.ts | 1 | // Capstone 19/02: code RAG query API (multi-file TypeScript). | COMMENT |
| LOW | …utonomous-systems/16-checkpoints-rollback/code/main.py | 101 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/lessons/13-application-security-and-secrets/quiz.json | 22 | "Inside encrypted tool arguments generated by Claude for each authorized request", | CODE |
| HIGH | …llms-from-scratch/06-instruction-tuning-sft/docs/en.md | 25 | Stanford Alpaca proved you don't need millions of examples. In March 2023, they fine-tuned Llama 7B on just 52,000 instr | CODE |
| HIGH | …llms-from-scratch/06-instruction-tuning-sft/docs/en.md | 61 | Simple and widely used. The `input` field is optional -- many instructions don't need additional context. Stanford relea | CODE |
| HIGH | …modal-ai/05-llava-visual-instruction-tuning/docs/en.md | 3 | > LLaVA (April 2023) is the most copied multimodal architecture on the planet. It replaced BLIP-2's Q-Former with a 2-la | CODE |
| HIGH | …modal-ai/05-llava-visual-instruction-tuning/docs/en.md | 168 | | ShareGPT4V | "Better captions" | 1M dense captions generated by GPT-4V, used for higher-quality alignment | | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …oundations/05-chain-rule-and-autodiff/code/autodiff.py | 210 | CODE | |
| LOW | …-math-foundations/21-graph-theory/code/graph_theory.py | 150 | CODE | |
| LOW | …-llms-from-scratch/05-scaling-distributed/code/main.py | 85 | CODE | |
| LOW | …pstone-projects/58-vision-encoder-patches/code/main.py | 102 | CODE | |
| LOW | …-capstone-projects/56-iteration-scheduler/code/main.py | 117 | CODE | |
| LOW | …19-capstone-projects/34-transformer-block/code/main.py | 111 | CODE | |
| LOW | …pstone-projects/47-checkpoint-save-resume/code/main.py | 366 | CODE | |
| LOW | …s/19-capstone-projects/59-vit-transformer/code/main.py | 103 | CODE | |
| LOW | …capstone-projects/48-distributed-fsdp-ddp/code/main.py | 294 | CODE | |
| LOW | …/85-content-classifier-integration/code/classifiers.py | 148 | CODE | |
| LOW | …9-capstone-projects/35-gpt-model-assembly/code/main.py | 91 | CODE | |
| LOW | …04-computer-vision/14-vision-transformers/code/main.py | 40 | CODE | |
| LOW | …odal-ai/04-flamingo-gated-cross-attention/code/main.py | 86 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/scaffold-lesson.sh | 77 | ### Step 1: [name] | COMMENT |
| LOW | scripts/scaffold-lesson.sh | 85 | ### Step 2: [name] | COMMENT |
| LOW⚡ | …s/15-autonomous-systems/11-browser-agents/code/main.py | 91 | # Step 1: fetch. Apply sanitizer if enabled. | COMMENT |
| LOW⚡ | …s/15-autonomous-systems/11-browser-agents/code/main.py | 97 | # Step 2: "read" the combined context. In a real stack, URL fragment | COMMENT |
| LOW⚡ | …s/15-autonomous-systems/11-browser-agents/code/main.py | 101 | # Step 3: decide what to post. | COMMENT |
| LOW | …s/15-autonomous-systems/11-browser-agents/code/main.py | 117 | # Step 4: R/W boundary check. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …1-llm-engineering/10-evaluation/code/eval_framework.py | 259 | reference_output="I cannot provide instructions for illegal activities.", | CODE |
| MEDIUM | phases/11-llm-engineering/12-guardrails/code/main.ts | 327 | return { response: "I cannot provide that response. Let me help you differently.", report }; | CODE |
| MEDIUM | …es/11-llm-engineering/12-guardrails/code/guardrails.py | 341 | return "I apologize, but I cannot provide that response. Let me help you differently.", report | CODE |
| MEDIUM | …m-engineering/13-production-app/code/production_app.py | 352 | "Let me know if you need more detail on any specific aspect." | CODE |
| MEDIUM | …m-engineering/13-production-app/code/production_app.py | 493 | result["text"] = "I cannot provide that response as it was flagged by our safety system." | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …ne-projects/27-eval-harness-fixture-tasks/code/main.py | 332 | # The harness | COMMENT |
| MEDIUM⚡ | …e-projects/29-end-to-end-coding-task-demo/code/main.py | 32 | # Minimal harness primitives, copied with intent from lessons 25-28. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …-engineering/13-langgraph-stateful-graphs/code/main.py | 41 | def set_entry(self, name: str) -> None: | CODE |
| LOW | …tooling/12-debugging-and-profiling/code/debug_tools.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | …nd-swarms/17-generative-agents-simulation/code/main.py | 53 | def update_plan(self, tick: int) -> None: | CODE |
| LOW | …pstone-projects/66-reranker-cross-encoder/code/main.py | 35 | def _set_seed(seed: int = SEED) -> None: | CODE |
| LOW | …19-capstone-projects/34-transformer-block/code/main.py | 195 | def _set_eval_mode(stack: BlockStack) -> None: | CODE |
| LOW | …apstone-projects/45-gradient-clipping-amp/code/main.py | 183 | def set_loss_fn(self, fn: Callable[[torch.Tensor, torch.Tensor], torch.Tensor]) -> None: | CODE |
| LOW | …apstone-projects/45-gradient-clipping-amp/code/main.py | 186 | def set_lr(self, lr: float) -> None: | CODE |
| LOW | …/19-capstone-projects/44-cosine-lr-warmup/code/main.py | 150 | def set_lr(self, lr: float) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …m-engineering/13-production-app/code/production_app.py | 445 | async def handle_request(self, user_id, query, template_name="general_chat", variables=None): | CODE |
| LOW | …t-engineering/19-benchmarks-swebench-gaia/code/main.py | 34 | def run_task(task: Task) -> TaskResult: | CODE |
| LOW | …rms/24-evaluation-coordination-benchmarks/code/main.py | 42 | def run_task(system: SystemSim, task_id: str, seen: bool, rng: random.Random) -> TaskResult: | CODE |
| LOW | …s/19-capstone-projects/49-lm-eval-harness/code/main.py | 289 | def run_task( | CODE |
| LOW | …odal-ai/25-multimodal-agents-computer-use/code/main.py | 87 | def run_task(task: Task) -> dict: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …engineering/02-few-shot-cot/code/advanced_prompting.py | 510 | client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY", "your-api-key")) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …-tools-and-protocols/04-structured-output/code/main.py | 143 | "customer": "Acme Corp", | CODE |
| LOW | …dal-ai/05-llava-visual-instruction-tuning/code/main.py | 76 | "placeholder": placeholder, | CODE |
| LOW | …utonomous-systems/14-kill-switches-canaries/docs/en.md | 97 | 1. Run `code/main.py`. Confirm the circuit breaker fires on turn 5 (fifth identical call) and the canary fires on turn 9 | CODE |