# -*- coding: utf-8 -*-
import json, pathlib, sys, io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8", errors="replace")
BASE = pathlib.Path(r"D:\work buddy\2026-11-05-14-15-52"); OUT = BASE / "_r346_specs"
s = json.loads((OUT / "nyu-cs-courant-ms.json").read_text(encoding="utf-8"))
plan = next(c for c in s["cards"] if c["key"] == "plan")
plan["rows"].append({"k": "申请材料清单", "v": "公告页：成绩单、标化成绩（如要求）、申请人陈述、简历（CV）、推荐信，以及不可退的申请费；材料统一经 GSAS 在线申请提交"})
(OUT / "nyu-cs-courant-ms.json").write_text(json.dumps(s, ensure_ascii=False, indent=2), encoding="utf-8")
print("ok")
