{
  "name": "数学专业模拟器",
  "description": "模拟大学数学专业4年全流程，从选课到毕业，体验数学专业学生的真实生活",
  "start_node": "y1_welcome",
  "nodes": {
    "y1_welcome": {
      "id": "y1_welcome",
      "year": 1,
      "stage": "入学",
      "character": "辅导员",
      "scene": "恭喜你被理想大学数学系录取！站在校门口，你深吸一口气——接下来的四年，你将与数字、公式和证明为伴。\n\n辅导员走过来，递给你一本《新生手册》：\"欢迎来到数学系！大一最重要的是打好基础。现在你需要选课了。\"",
      "choices": [
        {"text": "主要精力攻数学分析（实数理论、极限、微积分）", "next": "y1_analysis", "effects": {"gpa": 2, "interest": 1, "skill": 1}, "hint": "数学分析是基础中的基础"},
        {"text": "高等代数先行（矩阵、线性空间、特征值）", "next": "y1_algebra", "effects": {"gpa": 1, "interest": 2, "skill": 2}, "hint": "代数锻炼抽象思维"},
        {"text": "解析几何 + 编程入门双修", "next": "y1_geometry", "effects": {"gpa": 1, "interest": 1, "skill": 3}, "hint": "几何直观 + 计算能力"}
      ]
    },
    "y1_analysis": {
      "id": "y1_analysis",
      "year": 1,
      "stage": "大一上学期",
      "character": "数学分析教授",
      "scene": "数学分析课上，教授在黑板上写满了ε-δ语言的定义。\"极限是微积分的核心，而ε-δ语言是理解极限的关键——它告诉你什么叫'无限接近'。\"\n\n下课后，一个高年级学长找你：\"数学建模竞赛要不要组队？大一就能参加，而且非常有趣！\"",
      "effects": {"gpa": 1},
      "choices": [
        {"text": "参加建模竞赛！边学边实战", "next": "y1_modeling", "effects": {"gpa": 1, "interest": 3, "skill": 2}, "hint": "建模是用数学解决真实问题的第一步"},
        {"text": "先夯实基础，多刷分析题", "next": "y1_foundation", "effects": {"gpa": 3, "interest": 0, "skill": 1}, "hint": "扎实的基础走得更远"}
      ]
    },
    "y1_algebra": {
      "id": "y1_algebra",
      "year": 1,
      "stage": "大一上学期",
      "character": "高代老师",
      "scene": "\"线性空间不仅是向量，它背后有一套完整的结构理论。\" 高代老师的课让你感受到抽象思维的魅力。\n\n期中考试后，你的成绩不错。学生会数学社团在招新——\"我们每周有数学讲座和讨论班，来吗？\"",
      "effects": {"gpa": 2},
      "choices": [
        {"text": "加入社团！认识更多数学同好", "next": "y1_club", "effects": {"gpa": 0, "interest": 3, "skill": 1}, "hint": "圈子很重要"},
        {"text": "一个人深度学习群论初步", "next": "y1_group_theory", "effects": {"gpa": 2, "interest": 1, "skill": 2}, "hint": "群论是现代数学的门槛"}
      ]
    },
    "y1_geometry": {
      "id": "y1_geometry",
      "year": 1,
      "stage": "大一上学期",
      "character": "编程课助教",
      "scene": "解析几何课上，你发现用Python画三维曲面图特别炫酷！助教看了你的代码：\"不错啊，有兴趣学数值计算吗？用计算机解偏微分方程是很有前途的方向。\"\n\n你的编程基础让你在两个方向间纠结。",
      "effects": {"gpa": 2},
      "choices": [
        {"text": "深入数值计算方向", "next": "y1_numerical", "effects": {"gpa": 1, "interest": 2, "skill": 3}, "hint": "计算数学是热门交叉方向"},
        {"text": "先回到纯数学，几何为主", "next": "y1_pure_geo", "effects": {"gpa": 2, "interest": 1, "skill": 1}, "hint": "纯几何培养直觉"}
      ]
    },
    "y1_foundation": {
      "id": "y1_foundation",
      "year": 1,
      "stage": "大一下学期",
      "character": "导师",
      "scene": "一个学期的苦练让你的数学分析功底非常扎实。期末成绩出来，你排名前5%。\n\n导师找到你：\"基础很好，大二可以提前接触一些研究内容了。你对哪个方向感兴趣？\"",
      "effects": {"gpa": 3},
      "choices": [
        {"text": "概率论与统计方向", "next": "y2_probability", "effects": {"gpa": 0, "interest": 2, "skill": 1}},
        {"text": "继续深挖分析学（实变/复变）", "next": "y2_analysis_adv", "effects": {"gpa": 2, "interest": 0, "skill": 2}},
        {"text": "尝试交叉学科（AI/数据科学）", "next": "y2_cross", "effects": {"gpa": 0, "interest": 3, "skill": 3}}
      ]
    },
    "y1_club": {
      "id": "y1_club",
      "year": 1,
      "stage": "大一下学期",
      "character": "社团主席",
      "scene": "社团每周的讨论班让你的视野大开——原来数学有这么多有趣的分支！你第一次听说了拓扑学、图论、密码学……\n\n你开始思考大二的选择方向。",
      "effects": {"gpa": 1, "interest": 3},
      "choices": [
        {"text": "对抽象代数产生兴趣", "next": "y2_algebra_adv", "effects": {"gpa": 0, "interest": 2, "skill": 2}},
        {"text": "对数学建模产生兴趣", "next": "y2_modeling", "effects": {"gpa": 0, "interest": 2, "skill": 3}},
        {"text": "对AI和数学交叉感兴趣", "next": "y2_ml_math", "effects": {"gpa": 0, "interest": 3, "skill": 2}}
      ]
    },
    "y1_group_theory": {
      "id": "y1_group_theory",
      "year": 1,
      "stage": "大一下学期",
      "character": "自学笔记",
      "scene": "你花了一个寒假啃完了《近世代数导论》。群论让你着迷——特别是群作用、Sylow定理。\n\n开学后，代数老师看了你的笔记：\"不错，你对代数有感觉。大二要不要深入研究？\"",
      "effects": {"gpa": 2, "interest": 1},
      "choices": [
        {"text": "跟着老师做代数研究", "next": "y2_algebra_research", "effects": {"gpa": 1, "interest": 2, "skill": 2}},
        {"text": "代数+密码学双修", "next": "y2_crypto", "effects": {"gpa": 0, "interest": 3, "skill": 3}},
        {"text": "回归基础课，全面发展", "next": "y2_balanced", "effects": {"gpa": 2, "interest": 0, "skill": 1}}
      ]
    },
    "y1_numerical": {
      "id": "y1_numerical",
      "year": 1,
      "stage": "大一下学期",
      "character": "计算数学教授",
      "scene": "数值计算课上，你第一次接触了有限元方法。\"用计算机模拟物理现象——这是计算数学最迷人的地方。\"\n\n期末考试结束，你的编程能力得到了认可。教授邀请你加入他的暑期研究项目。",
      "effects": {"gpa": 2, "interest": 2},
      "choices": [
        {"text": "加入暑期研究：计算流体力学", "next": "y2_cfd", "effects": {"gpa": 1, "interest": 2, "skill": 3}},
        {"text": "专心算法与数据结构", "next": "y2_algorithms", "effects": {"gpa": 1, "interest": 0, "skill": 3}},
        {"text": "回归理论：偏微分方程理论", "next": "y2_pde", "effects": {"gpa": 2, "interest": 1, "skill": 2}}
      ]
    },
    "y1_pure_geo": {
      "id": "y1_pure_geo",
      "year": 1,
      "stage": "大一下学期",
      "character": "几何老师",
      "scene": "\"欧几里得的《几何原本》影响了人类两千年的思维方式。\" 你在几何课上感受到了数学之美。不过，你开始怀疑：纯几何的方向会不会太窄？",
      "effects": {"gpa": 2, "interest": 2},
      "choices": [
        {"text": "坚持几何，走上纯数道路", "next": "y2_geometry_pure", "effects": {"gpa": 1, "interest": 2, "skill": 2}},
        {"text": "几何+计算机图形学", "next": "y2_cg", "effects": {"gpa": 0, "interest": 3, "skill": 3}},
        {"text": "转向概率统计方向", "next": "y2_probability", "effects": {"gpa": 1, "interest": 2, "skill": 1}}
      ]
    },
    "y1_modeling": {
      "id": "y1_modeling",
      "year": 1,
      "stage": "大一下学期",
      "character": "建模竞赛队友",
      "scene": "数学建模竞赛让你第一次用数学解决真实问题——你所在的队伍用微分方程模拟疫情传播，获了省二等奖！\n\n你发现：\"原来数学真的可以改变世界！\"",
      "effects": {"gpa": 1, "interest": 3},
      "choices": [
        {"text": "继续参加更多竞赛", "next": "y2_competition", "effects": {"gpa": 0, "interest": 2, "skill": 3}},
        {"text": "转做数据科学研究", "next": "y2_data_science", "effects": {"gpa": 0, "interest": 3, "skill": 2}},
        {"text": "回归理论，但保持建模兴趣", "next": "y2_modeling_theory", "effects": {"gpa": 2, "interest": 1, "skill": 1}}
      ]
    },
    "y2_probability": {
      "id": "y2_probability",
      "year": 2,
      "stage": "大二",
      "character": "概率论教授",
      "scene": "\"概率论不是在赌场赢钱，而是在不确定中寻找确定性。\" 大二的专业课让你更深入地理解了随机过程。\n\n你开始思考大三的方向选择。",
      "effects": {"gpa": 2, "interest": 1},
      "choices": [
        {"text": "纯数学方向（测度论、随机分析）", "next": "y3_pure_prob", "effects": {"gpa": 2, "interest": 0, "skill": 2}},
        {"text": "统计学方向（机器学习、数据分析）", "next": "y3_ml_stats", "effects": {"gpa": 0, "interest": 3, "skill": 3}},
        {"text": "金融数学方向", "next": "y3_finance", "effects": {"gpa": 1, "interest": 2, "skill": 2}}
      ]
    },
    "y2_analysis_adv": {
      "id": "y2_analysis_adv",
      "year": 2,
      "stage": "大二",
      "character": "实变函数教授",
      "scene": "\"实变函数是通往现代分析的必经之路。\" 你沉浸在Lebesgue积分和泛函分析中，虽然难，但很上瘾。\n\n大三选方向时，你的分析功底给了你很多选择。",
      "effects": {"gpa": 2, "interest": 0},
      "choices": [
        {"text": "继续分析学（调和分析、算子理论）", "next": "y3_analysis", "effects": {"gpa": 2, "interest": 1, "skill": 2}},
        {"text": "分析+应用：偏微分方程", "next": "y3_pde", "effects": {"gpa": 1, "interest": 2, "skill": 3}},
        {"text": "分析+AI：优化理论", "next": "y3_optimization", "effects": {"gpa": 0, "interest": 3, "skill": 3}}
      ]
    },
    "y2_cross": {
      "id": "y2_cross",
      "year": 2,
      "stage": "大二",
      "character": "数据科学老师",
      "scene": "你选了计算机系的机器学习课，发现数学基础对你帮助巨大——SVM的核方法就是泛函分析的应用！\n\n大三面临方向选择。",
      "effects": {"gpa": 1, "interest": 3},
      "choices": [
        {"text": "AI研究方向（深度学习理论）", "next": "y3_dl_theory", "effects": {"gpa": 0, "interest": 3, "skill": 3}},
        {"text": "回到数学与统计交叉", "next": "y3_ml_stats", "effects": {"gpa": 1, "interest": 2, "skill": 2}},
        {"text": "纯数+代码双修", "next": "y3_comp_math", "effects": {"gpa": 1, "interest": 1, "skill": 3}}
      ]
    },
    "y2_algebra_adv": {
      "id": "y2_algebra_adv",
      "year": 2,
      "stage": "大二",
      "character": "代数教授",
      "scene": "\"群、环、域——代数结构之美，只有深入才能体会。\" 你在交换代数和Galois理论上花了很多时间。\n\n大三选方向。",
      "effects": {"gpa": 2, "interest": 1},
      "choices": [
        {"text": "纯代数研究方向", "next": "y3_algebra", "effects": {"gpa": 2, "interest": 1, "skill": 2}},
        {"text": "代数+数论/密码学", "next": "y3_number_theory", "effects": {"gpa": 1, "interest": 2, "skill": 1}},
        {"text": "代数+计算机（编码理论）", "next": "y3_coding", "effects": {"gpa": 0, "interest": 2, "skill": 3}}
      ]
    },
    "y2_modeling": {
      "id": "y2_modeling",
      "year": 2,
      "stage": "大二",
      "character": "建模教练",
      "scene": "你继续参加建模竞赛，这次拿了国赛一等奖！\"数学建模是连接理论与现实的桥梁。\"\n\n大三方向选择。",
      "effects": {"gpa": 1, "interest": 3},
      "choices": [
        {"text": "运筹学与优化", "next": "y3_or", "effects": {"gpa": 1, "interest": 2, "skill": 3}},
        {"text": "数据科学与统计", "next": "y3_ml_stats", "effects": {"gpa": 0, "interest": 3, "skill": 2}},
        {"text": "计算数学", "next": "y3_comp_math", "effects": {"gpa": 1, "interest": 1, "skill": 3}}
      ]
    },
    "y2_ml_math": {
      "id": "y2_ml_math",
      "year": 2,
      "stage": "大二",
      "character": "AI导师",
      "scene": "你开始系统学习机器学习理论——信息论、凸优化、概率图模型。数学系背景让你在理解算法原理时得心应手。\n\n大三方向。",
      "effects": {"gpa": 1, "interest": 3},
      "choices": [
        {"text": "深度学习理论方向", "next": "y3_dl_theory", "effects": {"gpa": 0, "interest": 3, "skill": 3}},
        {"text": "统计机器学习", "next": "y3_ml_stats", "effects": {"gpa": 1, "interest": 2, "skill": 2}},
        {"text": "强化学习+博弈论", "next": "y3_rl", "effects": {"gpa": 0, "interest": 3, "skill": 2}}
      ]
    },
    "y2_balanced": {
      "id": "y2_balanced",
      "year": 2,
      "stage": "大二",
      "character": "学业导师",
      "scene": "你选择了全面发展路线——专业课均衡，成绩稳定在前20%。虽然没有特别突出的方向，但知识面很广。\n\n大三选方向时，你有很多选择。",
      "effects": {"gpa": 2, "interest": 0},
      "choices": [
        {"text": "应用数学（建模+计算）", "next": "y3_or", "effects": {"gpa": 0, "interest": 2, "skill": 3}},
        {"text": "统计与数据分析", "next": "y3_ml_stats", "effects": {"gpa": 0, "interest": 3, "skill": 2}},
        {"text": "纯数学（择一深入）", "next": "y3_analysis", "effects": {"gpa": 2, "interest": 0, "skill": 2}},
        {"text": "教育数学（教师资格）", "next": "y3_edu", "effects": {"gpa": 0, "interest": 2, "skill": 1}}
      ]
    },
    "y3_pure_prob": {
      "id": "y3_pure_prob",
      "year": 3,
      "stage": "大三",
      "character": "随机分析教授",
      "scene": "\"随机微分方程+测度论——这是现代金融数学的理论基础。\" 大三的专业课越来越深入。\n\n大四将至，你该为未来做决定了。",
      "effects": {"gpa": 2, "interest": 1},
      "choices": [
        {"text": "保研/考研——继续深造纯数学", "next": "y4_grad_pure", "effects": {"gpa": 2, "interest": 1, "skill": 1}},
        {"text": "量化金融实习", "next": "y4_quant_finance", "effects": {"gpa": 0, "interest": 2, "skill": 3}},
        {"text": "转数据科学实习", "next": "y4_ds_intern", "effects": {"gpa": 0, "interest": 3, "skill": 2}}
      ]
    },
    "y3_ml_stats": {
      "id": "y3_ml_stats",
      "year": 3,
      "stage": "大三",
      "character": "数据科学家",
      "scene": "\"数学+代码=超级武器。\" 你在Kaggle竞赛中拿了银牌——数学背景让你在特征工程和模型理解上远超纯CS选手。\n\n大四将至。",
      "effects": {"gpa": 0, "interest": 3},
      "choices": [
        {"text": "AI公司实习——算法岗", "next": "y4_ai_intern", "effects": {"gpa": 0, "interest": 2, "skill": 3}},
        {"text": "读研——机器学习理论方向", "next": "y4_grad_ml", "effects": {"gpa": 1, "interest": 2, "skill": 1}},
        {"text": "创业——数学教育产品", "next": "y4_startup", "effects": {"gpa": 0, "interest": 3, "skill": 2}}
      ]
    },
    "y3_finance": {
      "id": "y3_finance",
      "year": 3,
      "stage": "大三",
      "character": "金融数学教授",
      "scene": "\"Black-Scholes方程改变了华尔街——而它的核心就是随机微积分。\" 金融数学课让你看到了数学在现实世界的力量。\n\n大四将至。",
      "effects": {"gpa": 1, "interest": 2},
      "choices": [
        {"text": "券商/基金量化实习", "next": "y4_quant_intern", "effects": {"gpa": 0, "interest": 2, "skill": 3}},
        {"text": "读研——金融工程方向", "next": "y4_grad_fe", "effects": {"gpa": 1, "interest": 2, "skill": 1}},
        {"text": "回归技术：数据科学", "next": "y4_ds_intern", "effects": {"gpa": 0, "interest": 3, "skill": 2}}
      ]
    },
    "y3_analysis": {
      "id": "y3_analysis",
      "year": 3,
      "stage": "大三",
      "character": "分析学教授",
      "scene": "\"调和分析是最优美的数学领域之一。\" 你在泛函分析和偏微分方程上花了大量时间。\n\n大四将至。",
      "effects": {"gpa": 2, "interest": 1},
      "choices": [
        {"text": "保研分析方向——做学术", "next": "y4_grad_pure", "effects": {"gpa": 2, "interest": 1, "skill": 1}},
        {"text": "转做应用：科学计算", "next": "y4_scientific", "effects": {"gpa": 1, "interest": 2, "skill": 3}},
        {"text": "考教师资格证", "next": "y4_teacher", "effects": {"gpa": 0, "interest": 2, "skill": 1}}
      ]
    },
    "y3_pde": {
      "id": "y3_pde",
      "year": 3,
      "stage": "大三",
      "character": "PDE教授",
      "scene": "\"Navier-Stokes方程是千禧年七大数学难题之一。\" 你用数值方法解偏微分方程，模拟流体、热传导等物理现象。\n\n大四将至。",
      "effects": {"gpa": 2, "interest": 2},
      "choices": [
        {"text": "科研院所——计算流体力学", "next": "y4_scientific", "effects": {"gpa": 1, "interest": 2, "skill": 3}},
        {"text": "读研——应用数学", "next": "y4_grad_applied", "effects": {"gpa": 1, "interest": 2, "skill": 1}},
        {"text": "工业界——CAE仿真工程师", "next": "y4_engineer", "effects": {"gpa": 0, "interest": 1, "skill": 3}}
      ]
    },
    "y3_optimization": {
      "id": "y3_optimization",
      "year": 3,
      "stage": "大三",
      "character": "优化理论教授",
      "scene": "\"凸优化是机器学习的数学基石。\" 你在最优化理论和算法上取得了很好的成绩。\n\n大四将至。",
      "effects": {"gpa": 1, "interest": 3},
      "choices": [
        {"text": "AI Lab实习——深度学习", "next": "y4_ai_intern", "effects": {"gpa": 0, "interest": 3, "skill": 3}},
        {"text": "读研——运筹学/优化方向", "next": "y4_grad_or", "effects": {"gpa": 1, "interest": 1, "skill": 2}},
        {"text": "供应链/物流行业", "next": "y4_logistics", "effects": {"gpa": 0, "interest": 1, "skill": 3}}
      ]
    },
    "y3_dl_theory": {
      "id": "y3_dl_theory",
      "year": 3,
      "stage": "大三",
      "character": "AI教授",
      "scene": "\"为什么深度学习有效？这个问题需要数学来回答。\" 你的论文研究了神经网络的泛化理论——用数学理解AI。\n\n大四将至。",
      "effects": {"gpa": 1, "interest": 3},
      "choices": [
        {"text": "顶级AI公司实习", "next": "y4_ai_intern", "effects": {"gpa": 0, "interest": 2, "skill": 3}},
        {"text": "读研——AI理论方向", "next": "y4_grad_ml", "effects": {"gpa": 1, "interest": 2, "skill": 2}},
        {"text": "海外申请PhD", "next": "y4_phd", "effects": {"gpa": 2, "interest": 3, "skill": 1}}
      ]
    },
    "y3_comp_math": {
      "id": "y3_comp_math",
      "year": 3,
      "stage": "大三",
      "character": "计算数学教授",
      "scene": "\"科学计算是连接数学理论与工程实践的桥梁。\" 你掌握了有限元、快速算法等核心技能。\n\n大四将至。",
      "effects": {"gpa": 1, "interest": 1},
      "choices": [
        {"text": "科技公司——科学计算岗位", "next": "y4_engineer", "effects": {"gpa": 0, "interest": 1, "skill": 3}},
        {"text": "读研——计算数学", "next": "y4_grad_applied", "effects": {"gpa": 1, "interest": 2, "skill": 1}},
        {"text": "转AI/数据方向", "next": "y4_ai_intern", "effects": {"gpa": 0, "interest": 3, "skill": 2}}
      ]
    },
    "y3_or": {
      "id": "y3_or",
      "year": 3,
      "stage": "大三",
      "character": "运筹学教授",
      "scene": "\"线性规划、整数规划、随机规划——运筹学是数学中最'有用'的分支之一。\" 你爱上了优化问题的求解过程。\n\n大四将至。",
      "effects": {"gpa": 1, "interest": 2},
      "choices": [
        {"text": "物流/供应链公司实习", "next": "y4_logistics", "effects": {"gpa": 0, "interest": 1, "skill": 3}},
        {"text": "读研——运筹学方向", "next": "y4_grad_or", "effects": {"gpa": 1, "interest": 2, "skill": 1}},
        {"text": "转算法工程师", "next": "y4_engineer", "effects": {"gpa": 0, "interest": 2, "skill": 3}}
      ]
    },
    "y3_number_theory": {
      "id": "y3_number_theory",
      "year": 3,
      "stage": "大三",
      "character": "数论教授",
      "scene": "\"RSA加密的安全性依赖于大整数分解的困难性——这是数论最实际的应用。\" 你被数论的深度吸引。\n\n大四将至。",
      "effects": {"gpa": 2, "interest": 2},
      "choices": [
        {"text": "读研——数论/代数几何", "next": "y4_grad_pure", "effects": {"gpa": 2, "interest": 1, "skill": 1}},
        {"text": "信息安全/密码学方向", "next": "y4_security", "effects": {"gpa": 0, "interest": 2, "skill": 3}},
        {"text": "数学教育——中学竞赛教练", "next": "y4_teacher", "effects": {"gpa": 0, "interest": 2, "skill": 1}}
      ]
    },
    "y3_coding": {
      "id": "y3_coding",
      "year": 3,
      "stage": "大三",
      "character": "编码理论教授",
      "scene": "\"纠错码让你的WiFi信号在噪音中也能解码信息——这是代数与工程的完美结合。\"\n\n大四将至。",
      "effects": {"gpa": 1, "interest": 2},
      "choices": [
        {"text": "通信公司——信号处理/编码", "next": "y4_engineer", "effects": {"gpa": 0, "interest": 2, "skill": 3}},
        {"text": "读研——信息论/编码", "next": "y4_grad_applied", "effects": {"gpa": 1, "interest": 2, "skill": 1}},
        {"text": "转信息安全方向", "next": "y4_security", "effects": {"gpa": 0, "interest": 3, "skill": 2}}
      ]
    },
    "y3_edu": {
      "id": "y3_edu",
      "year": 3,
      "stage": "大三",
      "character": "教育学教授",
      "scene": "你参加了师范方向的课程，在教学实践中发现自己很喜欢站上讲台的感觉。\n\n\"让下一代爱上数学——这也许是最有意义的数学工作之一。\"\n\n大四将至。",
      "effects": {"gpa": 1, "interest": 2},
      "choices": [
        {"text": "考编制——中学数学教师", "next": "y4_teacher", "effects": {"gpa": 0, "interest": 2, "skill": 1}},
        {"text": "读研——数学教育研究", "next": "y4_grad_edu", "effects": {"gpa": 1, "interest": 2, "skill": 1}},
        {"text": "教育科技公司", "next": "y4_edtech", "effects": {"gpa": 0, "interest": 3, "skill": 2}}
      ]
    },
    "y4_grad_pure": {
      "id": "y4_grad_pure",
      "year": 4,
      "stage": "毕业",
      "character": "毕业典礼",
      "scene": "你选择继续深造纯数学。这条路很长，但很纯粹。当你站在数学的某个分支的边界上时，那种'人类智慧所能触及的极限'的感觉是任何应用都无法替代的。\n\n【结局：纯粹之路】",
      "end": true,
      "ending_type": "pure_math",
      "choices": []
    },
    "y4_ai_intern": {
      "id": "y4_ai_intern",
      "year": 4,
      "stage": "毕业",
      "character": "AI公司HR",
      "scene": "你的数学背景+编程能力让你在AI行业如鱼得水。当你解释Transformer里的注意力机制为什么work的时候，同事们都觉得你是'魔法师'。\n\n【结局：AI时代的数学家】",
      "end": true,
      "ending_type": "ai",
      "choices": []
    },
    "y4_quant_finance": {
      "id": "y4_quant_finance",
      "year": 4,
      "stage": "毕业",
      "character": "量化团队",
      "scene": "你加入了量化交易团队。随机微积分+统计+编程——你在大学学的一切都用上了。看着策略在实盘中跑出正收益，那种感觉比考试拿满分还爽。\n\n【结局：华尔街的数学家】",
      "end": true,
      "ending_type": "finance",
      "choices": []
    },
    "y4_grad_ml": {
      "id": "y4_grad_ml",
      "year": 4,
      "stage": "毕业",
      "character": "未来的导师",
      "scene": "你保研到了机器学习理论方向。\"理解深度学习为什么有效，是这个时代最令人兴奋的数学问题之一。\"\n\n【结局：AI理论探索者】",
      "end": true,
      "ending_type": "research",
      "choices": []
    },
    "y4_startup": {
      "id": "y4_startup",
      "year": 4,
      "stage": "毕业",
      "character": "创业伙伴",
      "scene": "你拉了几个同学一起创业——用AI+数学教育算法，做个性化学习推荐。投资人问你的优势是什么，你说：\"我理解教育背后的数学结构。\"\n\n【结局：教育创业家】",
      "end": true,
      "ending_type": "startup",
      "choices": []
    },
    "y4_teacher": {
      "id": "y4_teacher",
      "year": 4,
      "stage": "毕业",
      "character": "校长",
      "scene": "你成为了一名高中数学老师。第一堂课上，你给学生们讲：\"数学不是解题技巧，是理解世界的语言。\"\n\n课后有学生偷偷跟你说：\"老师，我第一次觉得数学有点意思。\"\n\n【结局：播种者——你正在点燃下一代对数学的热情】",
      "end": true,
      "ending_type": "teacher",
      "choices": []
    },
    "y4_scientific": {
      "id": "y4_scientific",
      "year": 4,
      "stage": "毕业",
      "character": "研究所导师",
      "scene": "你进入了国家级科学计算中心。用超级计算机模拟天气、设计新药、优化飞机机翼——你的数学每天都在解决真实的工程问题。\n\n【结局：科学计算工程师】",
      "end": true,
      "ending_type": "engineer",
      "choices": []
    },
    "y4_engineer": {
      "id": "y4_engineer",
      "year": 4,
      "stage": "毕业",
      "character": "技术总监",
      "scene": "你拿到了大厂算法工程师的offer。面试时你用一个数学定理优化了他们的推荐算法，面试官当场表示：\"我们需要你这样懂数学的人。\"\n\n【结局：技术精英——数学让你成为不可替代的工程师】",
      "end": true,
      "ending_type": "engineer",
      "choices": []
    },
    "y4_logistics": {
      "id": "y4_logistics",
      "year": 4,
      "stage": "毕业",
      "character": "运营总监",
      "scene": "你在物流公司的运筹优化岗工作。用整数规划算法优化配送路线，每年为公司节省上千万成本。\n\n【结局：运筹帷幄——数学优化真实世界】",
      "end": true,
      "ending_type": "engineer",
      "choices": []
    },
    "y4_security": {
      "id": "y4_security",
      "year": 4,
      "stage": "毕业",
      "character": "安全专家",
      "scene": "你进入了信息安全领域。密码学、同态加密、零知识证明——这些用到了你学过的群论、数论和椭圆曲线。\n\n【结局：数字世界的守护者】",
      "end": true,
      "ending_type": "security",
      "choices": []
    },
    "y4_phd": {
      "id": "y4_phd",
      "year": 4,
      "stage": "毕业",
      "character": "海外导师邮件",
      "scene": "你收到了MIT的PhD offer！导师的研究方向是\"深度学习的数学理论\"。你把录取邮件看了三遍才相信是真的。\n\n【结局：攀登数学之巅——世界顶级学府向你敞开大门】",
      "end": true,
      "ending_type": "research",
      "choices": []
    },
    "y4_grad_applied": {
      "id": "y4_grad_applied",
      "year": 4,
      "stage": "毕业",
      "character": "研究生导师",
      "scene": "你选择继续读应用数学的研究生。\"数学是工具，真正有意思的是用这个工具去解决别人解决不了的问题。\"\n\n【结局：应用数学研究者】",
      "end": true,
      "ending_type": "research",
      "choices": []
    },
    "y4_grad_or": {
      "id": "y4_grad_or",
      "year": 4,
      "stage": "毕业",
      "character": "运筹学教授",
      "scene": "你保研到了运筹学与控制论方向。\"优化无处不在——从供应链到航空调度，从金融到医疗。\"\n\n【结局：优化世界的数学家】",
      "end": true,
      "ending_type": "research",
      "choices": []
    },
    "y4_grad_fe": {
      "id": "y4_grad_fe",
      "year": 4,
      "stage": "毕业",
      "character": "金融工程教授",
      "scene": "你进入了金融工程的研究生项目。随机分析+数值方法+Python——金融数学是数学最'富有'的应用方向。\n\n【结局：金融工程师——用数学理解市场】",
      "end": true,
      "ending_type": "finance",
      "choices": []
    },
    "y4_grad_edu": {
      "id": "y4_grad_edu",
      "year": 4,
      "stage": "毕业",
      "character": "教育研究导师",
      "scene": "你选择在数学教育领域深耕。你的研究课题是\"如何用游戏化方法激发中小学生的数学兴趣\"——你的数学背景让研究比纯教育学背景的同学更有深度。\n\n【结局：改变数学教育的探索者】",
      "end": true,
      "ending_type": "teacher",
      "choices": []
    },
    "y4_edtech": {
      "id": "y4_edtech",
      "year": 4,
      "stage": "毕业",
      "character": "EdTech公司HR",
      "scene": "你加入了一家教育科技公司，负责智能题库的数学引擎开发。你把高等数学的知识结构用在了K12题库的标签体系上，产品经理惊呼：\"这太优雅了！\"\n\n【结局：教育科技——让数学学习更聪明】",
      "end": true,
      "ending_type": "startup",
      "choices": []
    },
    "y4_ds_intern": {
      "id": "y4_ds_intern",
      "year": 4,
      "stage": "毕业",
      "character": "数据团队",
      "scene": "你最终选择了数据科学方向。你的数学背景让你在统计建模、实验设计和因果推断方面远超普通数据从业者。\n\n【结局：用数据讲故事的数学家】",
      "end": true,
      "ending_type": "ai",
      "choices": []
    },
    "y4_quant_intern": {
      "id": "y4_quant_intern",
      "year": 4,
      "stage": "毕业",
      "character": "量化团队",
      "scene": "你在券商量化部门实习期间，用协整理论改进了一个配对交易策略，夏普比率提升了30%。团队直接给你发了return offer。\n\n【结局：资本市场中的数学家】",
      "end": true,
      "ending_type": "finance",
      "choices": []
    },
    "y2_cfd": {"id": "y2_cfd", "year": 2, "stage": "大二", "character": "计算流体力学教授",
      "scene": "暑期研究了计算流体力学——用数值方法模拟湍流。你第一次感受到超级计算机和数学结合的力量。\n\n大三方向选择。",
      "effects": {"gpa": 1, "interest": 2},
      "choices": [{"text": "继续计算数学", "next": "y3_comp_math", "effects": {"gpa": 1, "interest": 2, "skill": 2}}, {"text": "偏微分方程理论", "next": "y3_pde", "effects": {"gpa": 2, "interest": 1, "skill": 1}}]
    },
    "y2_algorithms": {"id": "y2_algorithms", "year": 2, "stage": "大二", "character": "算法老师",
      "scene": "你选修了计算机系的算法课，动态规划、图算法让你着迷。你的数学背景在分析算法复杂度时帮助很大。\n\n大三方向。",
      "effects": {"gpa": 1, "interest": 1},
      "choices": [{"text": "算法+AI方向", "next": "y3_dl_theory", "effects": {"gpa": 0, "interest": 3, "skill": 3}}, {"text": "数值算法方向", "next": "y3_comp_math", "effects": {"gpa": 1, "interest": 2, "skill": 2}}]
    },
    "y2_pde": {"id": "y2_pde", "year": 2, "stage": "大二", "character": "PDE老师",
      "scene": "\"热方程、波动方程、拉普拉斯方程——偏微分方程描述了我们周围的一切物理现象。\"\n\n大三方向。",
      "effects": {"gpa": 2, "interest": 1},
      "choices": [{"text": "应用：科学计算", "next": "y3_pde", "effects": {"gpa": 1, "interest": 2, "skill": 3}}, {"text": "理论：泛函分析", "next": "y3_analysis", "effects": {"gpa": 2, "interest": 1, "skill": 1}}]
    },
    "y2_geometry_pure": {"id": "y2_geometry_pure", "year": 2, "stage": "大二", "character": "几何教授",
      "scene": "\"微分几何是爱因斯坦广义相对论的数学语言。\" 你被几何之美深深吸引。\n\n大三方向。",
      "effects": {"gpa": 2, "interest": 2},
      "choices": [{"text": "纯几何/拓扑方向", "next": "y3_analysis", "effects": {"gpa": 2, "interest": 2, "skill": 1}}, {"text": "几何+物理方向", "next": "y3_pde", "effects": {"gpa": 1, "interest": 3, "skill": 2}}]
    },
    "y2_cg": {"id": "y2_cg", "year": 2, "stage": "大二", "character": "图形学教授",
      "scene": "\"计算机图形学的核心是线性代数和微分几何——你做3D渲染的时候其实在用数学！\"\n\n大三方向。",
      "effects": {"gpa": 0, "interest": 3},
      "choices": [{"text": "图形学+AI渲染", "next": "y3_dl_theory", "effects": {"gpa": 0, "interest": 3, "skill": 3}}, {"text": "游戏引擎开发", "next": "y3_comp_math", "effects": {"gpa": 0, "interest": 2, "skill": 3}}]
    },
    "y2_competition": {"id": "y2_competition", "year": 2, "stage": "大二", "character": "竞赛队友",
      "scene": "你继续参加各种数学竞赛和建模比赛，获奖证书攒了一堆。实战经验让你的应用能力飞速提升。\n\n大三方向。",
      "effects": {"gpa": 0, "interest": 3},
      "choices": [{"text": "数据科学方向", "next": "y3_ml_stats", "effects": {"gpa": 0, "interest": 3, "skill": 2}}, {"text": "运筹学方向", "next": "y3_or", "effects": {"gpa": 1, "interest": 2, "skill": 3}}]
    },
    "y2_data_science": {"id": "y2_data_science", "year": 2, "stage": "大二", "character": "数据科学家",
      "scene": "你开始系统学习数据科学——Python、SQL、机器学习框架。数学背景让你比纯CS出身的同学理解得更深。\n\n大三方向。",
      "effects": {"gpa": 0, "interest": 3},
      "choices": [{"text": "AI/深度学习方向", "next": "y3_dl_theory", "effects": {"gpa": 0, "interest": 3, "skill": 3}}, {"text": "统计建模方向", "next": "y3_ml_stats", "effects": {"gpa": 1, "interest": 2, "skill": 2}}]
    },
    "y2_modeling_theory": {"id": "y2_modeling_theory", "year": 2, "stage": "大二", "character": "导师",
      "scene": "你决定打好理论基础——毕竟好的模型需要好的数学直觉。你把时间花在实分析和概率论上。\n\n大三方向。",
      "effects": {"gpa": 2, "interest": 0},
      "choices": [{"text": "应用：PDE建模", "next": "y3_pde", "effects": {"gpa": 1, "interest": 2, "skill": 2}}, {"text": "统计方向", "next": "y3_ml_stats", "effects": {"gpa": 0, "interest": 2, "skill": 2}}]
    },
    "y2_algebra_research": {"id": "y2_algebra_research", "year": 2, "stage": "大二", "character": "代数教授",
      "scene": "你跟着教授做了一个关于有限群的暑期研究项目。第一次写数学论文的感觉很奇妙。\n\n大三方向。",
      "effects": {"gpa": 2, "interest": 2},
      "choices": [{"text": "纯代数研究", "next": "y3_algebra", "effects": {"gpa": 2, "interest": 1, "skill": 2}}, {"text": "代数+密码学", "next": "y3_number_theory", "effects": {"gpa": 1, "interest": 2, "skill": 2}}]
    },
    "y2_crypto": {"id": "y2_crypto", "year": 2, "stage": "大二", "character": "密码学教授",
      "scene": "\"比特币的核心是椭圆曲线密码学——这是代数几何的一个应用。\" 密码学让你看到了代数在实际中的力量。\n\n大三方向。",
      "effects": {"gpa": 0, "interest": 3},
      "choices": [{"text": "信息安全/密码学", "next": "y3_number_theory", "effects": {"gpa": 1, "interest": 2, "skill": 2}}, {"text": "区块链技术", "next": "y3_coding", "effects": {"gpa": 0, "interest": 3, "skill": 3}}]
    },
    "y3_algebra": {"id": "y3_algebra", "year": 3, "stage": "大三", "character": "代数教授",
      "scene": "\"代数几何是数学中最深奥的分支之一。\" 你在交换代数和代数曲线上投入大量时间。\n\n大四将至。",
      "effects": {"gpa": 2, "interest": 1},
      "choices": [{"text": "读研——代数/数论", "next": "y4_grad_pure", "effects": {"gpa": 2, "interest": 1, "skill": 1}}, {"text": "转向密码学应用", "next": "y4_security", "effects": {"gpa": 0, "interest": 2, "skill": 3}}]
    },
    "y3_rl": {"id": "y3_rl", "year": 3, "stage": "大三", "character": "强化学习教授",
      "scene": "\"强化学习的数学基础是马尔可夫决策过程和动态规划。\" 你用数学严格地证明了算法的收敛性。\n\n大四将至。",
      "effects": {"gpa": 0, "interest": 3},
      "choices": [{"text": "AI Lab实习", "next": "y4_ai_intern", "effects": {"gpa": 0, "interest": 2, "skill": 3}}, {"text": "读研——RL理论", "next": "y4_grad_ml", "effects": {"gpa": 1, "interest": 2, "skill": 2}}]
    },
    "y2_crypto": {"id": "y2_crypto_dup", "year": 2, "stage": "大二", "character": "密码学教授",
      "scene": "\"密码学是纯数学最实用的应用。\" 你学了RSA、椭圆曲线、格密码。\n\n大三方向。",
      "effects": {"gpa": 0, "interest": 3},
      "choices": [{"text": "信息安全继续", "next": "y3_number_theory", "effects": {"gpa": 1, "interest": 2, "skill": 2}}, {"text": "AI安全方向", "next": "y3_dl_theory", "effects": {"gpa": 0, "interest": 3, "skill": 3}}]
    }
  }
}
