FSDS SOTA 2026 DSAI + EDAI Textbook
Governance ~6 phút đọc 1 Mermaid Diagrams

Authoring Standards & Textbook Specification (FSDS-SOTA-2026)

Quy chuẩn 5 Trụ cột học thuật–hệ thống và tích hợp Deep-Dive.

This document governs how every chapter, special-topic deep dive, runnable code artifact, and hands-on lab inside Track 1 (DSAI) and Track 2 (EDAI) is authored in Phase 2+.
Pedagogical Benchmark: University-level mathematical & systems rigor (MSc AI & Data Engineering @ UCL style) combined with 2026 Frontier Research & Principal-Level Production Engineering.


1. Mandatory 5-Pillar Structure for Every Textbook Chapter#

Every authored chapter file (ch-XX-*.md) MUST contain the following five standardized sections:

Pillar 1 — First-Principles Mathematical & Theoretical Rigor#

  • Derive core objectives, loss functions, estimators, or system invariants from first principles (no hand-waving).
  • Include explicit asymptotic time/space complexity bounds, memory footprints (e.g., KV cache bytes per token, parameter/optimizer/activation memory), and hardware Roofline Model (compute-bound vs. memory-bandwidth-bound operational intensity) where applicable.
  • Call out assumptions, identifiability conditions, numerical stability traps (log-sum-exp, precision loss in bf16/fp8), and failure regimes.

Pillar 2 — Production Systems Architecture#

  • Provide at least one clear Mermaid architecture/sequence/dataflow diagram illustrating control plane, data plane, and failure boundaries.
  • Specify explicit latency, throughput, memory, and cost budgets (e.g., TTFT, TPOT, p99 end-to-end SLA, storage IOPS, network all-reduce/all-to-all bandwidth).
  • Document failure modes, backpressure mechanisms, idempotency, security boundaries, and rollback strategies.

Pillar 3 — Modern 2026 Tech Stack & Runnable Code Standards#

  • Python Environment (3.12+ & uv): Python 3.12+ managed via uv (D:\FSDS-SOTA-Curriculum\.venv + pyproject.toml + uv.lock), linted/formatted with ruff, type-checked strictly (mypy / pyright).
  • Core DS/ML/DL Stack: numpy, polars / pandas, scikit-learn, scipy, lightgbm, xgboost, catboost, optuna, shap, torch (PyTorch 2.x, torch.compile, bf16/fp8), triton, transformers, dspy, pydantic v2, econml / dowhy, tabpfn.
  • Core Data/Infra/Serving Stack: fastapi, httpx, sqlalchemy, pytest, hypothesis, docker / podman, kafka (KRaft), debezium, delta-lake / pyiceberg, trino, duckdb, pyspark, pyflink, clickhouse, feast, airflow, datahub, vllm, sglang, tensorrt-llm, kubernetes, helm, kserve, kubeflow, terraform / opentofu, ansible, mlflow, dvc, opentelemetry, prometheus, grafana, evidently, langfuse.
  • Code Rules: Zero comment-only code blocks or pseudo-code disguised as runnable code. Every Pillar 3 script/module must be executable, include type annotations, explicit seeding/reproducibility, clear docstrings, and zero hardcoded secrets.

Pillar 4 — Hands-On Industrial Lab (Two-Tier Architecture) & Leakage-Proof Evaluation Rubric#

  • Two-Tier Lab Architecture: Every labs/ workspace combines:
    • Tier 1 (Reference Core): Pure Python / numpy algorithmic implementation from first principles running deterministically offline without network dependencies.
    • Tier 2 (SOTA Parity): Full compatibility with Python 3.12+ .venv / uv SOTA libraries (scikit-learn, scipy, polars, xgboost, lightgbm, catboost, shap, optuna, httpx, sqlalchemy, etc.). AST security tests MUST NEVER ban legitimate SOTA DS/ML/Infra libraries; they ONLY ban unsafe deserialization (pickle, joblib, cloudpickle, dill, shelve, marshal).
  • Each module/part pairs with a runnable labs/ workspace containing:
    • README.md (100% Vietnamese problem statement, business/engineering constraints, CLI commands, and acceptance thresholds).
    • Reproducible environment definition (pyproject.toml, optional uv.lock or docker-compose.yml / Makefile).
    • Reference implementation, CLI benchmark exporting artifacts/*.json, and automated verification test suite (pytest + data/latency/leakage assertions).
  • Anti-Leakage & Evaluation Checklist (Mandatory for Track 1):
    • Temporal or group-aware splitting verified before any scaling, imputation, target encoding, or feature selection.
    • Calibration (ECE, Brier score) and business cost-matrix optimization reported alongside ranking metrics (PR-AUC, ROC-AUC, NDCG).
  • Production Readiness Checklist (Mandatory for Track 2):
    • Liveness/readiness probes, graceful shutdown, resource limits, structured OpenTelemetry traces/metrics, and reproducible load/benchmark scripts (Locust/k6 or vLLM/SGLang goodput sweeps).

Pillar 5 — SOTA Literature Reading List & Mastery Exercises#

  • Curate 3–6 seminal + recent (2024–2026) papers or engineering RFCs per chapter with exact citation titles and why each matters.
  • Include multi-step Conceptual Proofs/Derivations, System Design Trade-Off Scenarios, and Debugging/Failure-Analysis Drills, each with an explicit Grading Rubric.

2. Deep-Dive Special Article Integration Standard#

The 35 Proposed Deep-Dive Articles (03-35-special-topics-extracted.md) are first-class chapters or dedicated deep-dive sections (never footnotes). Each Deep-Dive must include:

  1. Concrete Failure Case: Why naive industry practice fails in production or research.
  2. Quantitative / Formal Model: Exact equations, decision-theoretic cost formulations, or hardware latency equations.
  3. Controlled Ablation / Empirical Experiment: Minimal runnable script or benchmark specification reproducing the insight.
  4. Production Decision Playbook: Actionable rule-of-thumb table stating when to use X vs. Y under explicit constraints.

3. Language, Repository & Formatting Conventions#

  • 100% Vietnamese Authorship: ALL textbook chapters (ch-XX-*.md) AND ALL Lab Guides (labs/*/README.md) MUST be written in Vietnamese, keeping standard English technical terms in parentheses or inline code.
  • Paths & Links: Use relative paths inside sibling chapter docs or file:///D:/FSDS-SOTA-Curriculum/... with forward slashes in documentation indexes; every local link MUST resolve cleanly via platform/manifest.py:resolve_repo_link(strict=True).
  • Encoding: UTF-8 everywhere (\n LF line endings).
  • Math & Code Separation: Use KaTeX-compatible $...$ (inline) and $$...$$ (display) strictly for mathematical formulas; escape literal currency $ as \$ in Markdown prose; never mix backtick spans and LaTeX delimiters ambiguously.
  • Markdown Lists & Tables: Ensure clean GFM lists (avoid ambiguous nesting/indentation), escape literal pipes | inside Markdown table cells as \|, and validate rendered HTML via platform/md_renderer.py.
  • Diagrams: Valid Mermaid (flowchart LR/TD, sequenceDiagram, stateDiagram-v2, classDiagram, erDiagram), quoting node labels containing parentheses/brackets (id["Label (Detail)"]).
  • Preservation of Source Heritage: Every original FSDS module bullet, domain use-case, and lab from 00-source-extraction/ must remain explicitly traceable inside the SOTA chapter tables.

4. Wave-Based Multi-Stream Execution, 5-Stage Workflow & Quality Gates#

All authoring proceeds via complete vertical unit slices (T1-P1-U01, T1-P1-U02, ...) executed sequentially or in Wave-Based Multi-Stream Parallelism with strict directory isolation per stream (_research/ch-XX/, ch-XX-*.md, labs/<lab-dir>/, widgets/<unit>.js, content/<unit>/quiz_and_hints.json). Each unit passes through the 5-Stage Pipeline governed by AGENTS.md and .agents/skills/author-curriculum-unit/SKILL.md:

Mermaid Architecture Diagram
100%
flowchart LR
    S1["Stage 1: Base Knowledge Research (research)"] --> S4["Stage 4: Curated Blueprint Synthesis (curriculum-synthesizer)"]
    S2["Stage 2: Advanced & SOTA Research (research)"] --> S4
    S3["Stage 3: Industry Tips & Real-Product Cases (research)"] --> S4
    S4 --> S5A["Stage 5A: Textbook Chapter & Widgets (self)"]
    S4 --> S5B["Stage 5B: Two-Tier Lab & Pytest (production-lab-engineer)"]
    S5A --> V["Stage 5C: Centralized Integration, Quality Gates & Dist Build"]
    S5B --> V
  1. Stages 1–3 (Parallel): Three independent research subagents collect Base Knowledge, 2024–2026 SOTA advances, and real-product industry case studies into <part>/_research/ch-XX/{01-base-knowledge.md, 02-advanced-sota.md, 03-industry-cases.md}.
  2. Stage 4 (Sequential Gate): curriculum-synthesizer reconciles terminology, notation, Mermaid architectures, and the chapter–lab API contract into <part>/_research/ch-XX/04-curated-blueprint.md.
  3. Stages 5A & 5B (Parallel Authoring with Strict File Isolation): self authors the 5-pillar Vietnamese Markdown textbook chapter with <!-- fsds-widget:... --> simulation hooks, interactive JS widgets, and quiz_and_hints.json, while production-lab-engineer builds and verifies the Two-Tier runnable lab package (README.md in Vietnamese + pytest + CLI benchmarks + artifacts/*.json).
  4. Stage 5C (Centralized Integration & Mandatory Quality Gates): After all streams in the wave pass local verification, the Coordinator registers units in platform/manifest.py, updates test_web_platform.py and README.md trackers, runs ruff check, node --check, md_renderer link/list checks, D:\FSDS-SOTA-Curriculum\.venv\Scripts\python.exe platform/build_site.py, and pytest across ALL labs and platform/tests.