# -*- coding: utf-8 -*-
import io, sys, os, json, re
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8")
os.chdir(r"D:\work buddy\2026-11-05-14-15-52")
todo=json.load(open("todo_upgrade.json",encoding="utf-8"))
items=todo if isinstance(todo,list) else todo.get("items",todo.get("todo",[]))
print("todo 总数",len(items))
from collections import Counter
c=Counter(x.get("s") or x.get("school") for x in items)
print(c.most_common())
for x in items:
    sid=x.get("s") or x.get("school")
    if sid=="vanderbilt":
        print("VANDY:",x.get("en") or x.get("n"),"| deg",x.get("deg"),"| det",x.get("det"),"| url",x.get("url"))
