config.yaml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. # MathLab 配置文件
  2. # 教材路径(支持 PDF 或 Markdown)
  3. textbook_path: "/mnt/ai/textbooks"
  4. textbooks:
  5. - name: "统计学习方法"
  6. path: "lihang-code"
  7. phase: 1
  8. topics:
  9. - "第 02 章 感知机"
  10. - "第 03 章 k 近邻法"
  11. - "第 04 章 朴素贝叶斯"
  12. - "第 09 章 EM 算法及其推广"
  13. - "第 10 章 隐马尔可夫模型"
  14. - name: "动手学深度学习"
  15. path: "d2l-zh"
  16. phase: 2
  17. topics:
  18. - "chapter_deep-learning-computation"
  19. - "chapter_convolutional-neural-networks"
  20. - "chapter_attention-mechanisms"
  21. - name: "Reinforcement Learning 数学基础"
  22. path: "Book-Mathematical-Foundation-of-Reinforcement-Learning"
  23. phase: 3
  24. topics:
  25. - "3 - Chapter 1 Basic Concepts.pdf"
  26. - "3 - Chapter 2 State Values and Bellman Equation.pdf"
  27. - "3 - Chapter 3 Optimal State Values and Bellman Optimality Equation.pdf"
  28. - "3 - Chapter 4 Value Iteration and Policy Iteration.pdf"
  29. # Git 仓库配置
  30. gogs_url: "https://gogs.example.com/user/mathlab.git"
  31. git_branch: "main"
  32. # 定时任务配置(Cron 表达式)
  33. cron:
  34. batch_compilation: "0 10 * * 6" # 每周六 10:00 批处理
  35. daily_deploy: "0 14 * * *" # 每天 14:00 部署
  36. # 输出目录
  37. output:
  38. staging: "./staging"
  39. courseware: "./courseware"
  40. exercises: "./exercises"
  41. tests: "./tests"
  42. # PDF 转 Markdown 工具
  43. pdf_converter: "pdftotext" # 或 "marker_single"
  44. # 通知配置
  45. notification:
  46. enabled: true
  47. channel: "feishu"
  48. template: "👾 今天的靶机已部署!知识点:{topic}。请从 Gogs 拉取代码,跑通 `pytest` 击溃它。"