K1 Draft 2 Revision Notes
This batch contains 36 tutorials, one core concept per article. The original knowledge-graph IDs, prerequisite links, and cross-references are preserved; article numbers serve as lookup identifiers rather than a mandatory strict reading order. In the mathematics section, you can read Derivatives before Gradients; library tutorials can be paired with their corresponding math nodes.
Draft 2 revision date: 2026-10-14. Each tutorial includes a "Practical Boundaries" section clarifying common misinterpretations, a "Concept Check" question for self-testing after reading, and a "Verification & Reproduction" section linking directly to the captured run logs.
Outputs labeled "Captured output" (Draft 1 record) inside tutorial bodies preserve the original environment and numerical values from Draft 1 rather than being regenerated in this pass. Where examples were updated and re-executed during this revision pass on Windows / CPython 3.12.14, they use the current pass output with full logs archived in the verification directory. Benchmark timings, stochastic outputs, file paths, and exact exception wording may vary across environments; the pedagogical assertions are the invariants to verify.
Running the primary examples: install dependencies compatible with the target script first, then run python examples/<script_name>.py. For the static type-error example, run python -m mypy examples/24b_type_errors.py, which is expected to report two type errors. Version checks remain inside the example scripts; the current verification environment did not execute code branches specific to new Python 3.14/3.15 APIs.
Latest PyPI release versions and the versions tested in this pass are listed side by side in the root verification report. Because Streamlit 1.65.0 requires pyarrow<26 (this pass tested PyArrow 25.0.1), avoid installing every latest package version into a single flat environment without checking version constraints first.
Index files: 00-index.md, article-verification-table.md, and pending-followup-checklist.md. The primary source of truth for Draft 2 remains editable Markdown; the mobile-friendly HTML bundle combines prose, code, and diagrams—loading math formulas and Mermaid diagrams when online while keeping text, code, and embedded SVG figures readable offline.
Related Tutorials
- Programming Paradigms
- Imperative Programming
- Declarative Programming
- Functional Programming
- Object-Oriented Programming (OOP)
- Design Patterns
- SOLID Principles
- Clean Code
- Code Smells
- Refactoring
- Documentation
- Code Review
- Debugging
- Breakpoints and Interactive Debuggers
- Stack Traces and Tracebacks
- Exception Handling
- Logging
- Names, Objects, and References
- Mutable vs. Immutable Objects
- Iterators and Iterables
- Generators
- Decorators
- Context Managers and the with Statement
- Type Hints
- Asynchronous Programming with async / await
- Multiprocessing
- Threading, the GIL, and Free-Threaded Python
- NumPy: The Foundation of Numerical Computing
- Pandas: Tabular Data Analysis (3.x)
- Polars: High-Performance DataFrames (2.x)
- OpenPyXL: Reading and Writing Excel Files
- PyArrow: Columnar In-Memory Format and Parquet
- Matplotlib: The Foundational Plotting Library for Python
- Seaborn: Statistical Data Visualization
- Plotly: Interactive Charts (7.x)
- Streamlit: Building Data Apps Rapidly in Pure Python