config.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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://code.indigofloyd.space/ClawLab/mathlab.git"
  31. git_branch: "master"
  32. gogs_username: "OpenClaw"
  33. gogs_password: "OpenClaw123456"
  34. # 定时任务配置(Cron 表达式)
  35. cron:
  36. batch_compilation: "0 10 * * 6" # 每周六 10:00 批处理
  37. daily_deploy: "0 14 * * *" # 每天 14:00 部署
  38. # 输出目录
  39. output:
  40. staging: "./staging"
  41. courseware: "./courseware"
  42. exercises: "./exercises"
  43. tests: "./tests"
  44. # PDF 转 Markdown 工具
  45. pdf_converter: "pdftotext" # 或 "marker_single"
  46. # 通知配置
  47. notification:
  48. enabled: true
  49. channel: "feishu"
  50. template: "👾 今天的靶机已部署!知识点:{topic}。请从 Gogs 拉取代码,跑通 `pytest` 击溃它。"