# MathLab 配置文件 # 教材路径(支持 PDF 或 Markdown) textbook_path: "/home/zhn/ai/textbook" textbooks: - name: "统计学习方法" path: "统计学习方法_李航.pdf" phase: 1 topics: - "感知机" - "KNN" - "朴素贝叶斯" - "EM 算法" - "HMM" - name: "动手学深度学习" path: "d2l-en.pdf" phase: 2 topics: - "计算图" - "自动微分" - "张量运算" - "反向传播" - name: "Reinforcement Learning 数学基础" path: "rl-math.pdf" phase: 3 topics: - "状态空间" - "MDP" - "动态规划" # Git 仓库配置 gogs_url: "https://gogs.example.com/user/mathlab.git" git_branch: "main" # 定时任务配置(Cron 表达式) cron: batch_compilation: "0 10 * * 6" # 每周六 10:00 批处理 daily_deploy: "0 14 * * *" # 每天 14:00 部署 # 输出目录 output: staging: "./staging" courseware: "./courseware" exercises: "./exercises" tests: "./tests" # PDF 转 Markdown 工具 pdf_converter: "pdftotext" # 或 "marker_single" # 通知配置 notification: enabled: true channel: "feishu" template: "👾 今天的靶机已部署!知识点:{topic}。请从 Gogs 拉取代码,跑通 `pytest` 击溃它。"