# -*- coding: utf-8 -*-
import io, sys, os, json, re, urllib.request, ssl, time
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"))
idx=open("index_main.html",encoding="utf-8").read()
prog=idx[idx.find("const PROGRAMS="):idx.find("const CATD=")]
catd=idx[idx.find("const CATD="):idx.find("const VERIFIED_DETAILS=")]
targets=[t for t in todo if t["s"] in ("geo","vanderbilt")]
for t in targets:
    inprog=t["det"] in prog; incatd=t["det"] in catd
    print(f'{t["s"]:11} {t.get("deg",""):6} {t["en"][:42]:42} PROG={inprog} CATD={incatd}\n    {t["url"]}')
