peop1eTHU
peop1eTHU
Hi! While preparing the benchmark, I compared the current task Dockerfiles and build contexts with the Docker Hub images referenced by the tasks. The Docker Hub tag, digest, manifest, and...
我的目标是使用插件添加一种赛制(例如 codeforces 赛制), 所以我在插件中向 ContestModel.RULES 添加了一个元素。 但 ContestEditHandler.postUpdate 的这个装饰器 `@param('rule', Types.Range(Object.keys(contest.RULES).filter((i) => !contest.RULES[i].hidden)))` 由于代码被加载时 ContestModel.RULES 中还没有我加入的新元素,所以 Types.Range 中没有我的新赛制, 加载插件后也不会被更新(因为创建装饰器时 Object.keys 创建了 RULES 的 keys 的复制), 导致在将一个 contest 设置为新赛制时报错 `server [E]...