W6:变式自校验(verify)+严档(原题做对先换一道,变式做对才算)(267 测试)

This commit is contained in:
dsh
2026-11-24 20:19:20 +08:00
parent 5fcbe086fd
commit dfc9656eb2
14 changed files with 371 additions and 12 deletions
+2 -1
View File
@@ -282,7 +282,8 @@ def _migrate(conn: sqlite3.Connection) -> None:
"guardians": {"phone": "TEXT"},
"papers": {"clean_path": "TEXT", "image_path": "TEXT"},
# 小狮的形态与「今天喂过没有」要跨设备一致,所以落库(原来只在浏览器算出来)
"children": {"pet_stage": "INTEGER NOT NULL DEFAULT 0", "pet_fed_at": "TEXT"},
"children": {"pet_stage": "INTEGER NOT NULL DEFAULT 0", "pet_fed_at": "TEXT",
"strict_variant": "INTEGER NOT NULL DEFAULT 0"},
}
for table, cols in want.items():
ensure_columns(conn, table, cols)