mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
update migrate script
This commit is contained in:
parent
cc857e65d9
commit
93c8b9a2ba
@ -64,6 +64,7 @@ def get_test_case_score(test_case_id):
|
||||
info = json.load(info_file)
|
||||
test_case_score = []
|
||||
for test_case in info["test_cases"].values():
|
||||
test_case["stripped_output_md5"] = test_case.pop("striped_output_md5")
|
||||
test_case_score.append({"input_name": test_case["input_name"],
|
||||
"output_name": test_case.get("output_name", "-"),
|
||||
"score": 0})
|
||||
Loading…
Reference in New Issue
Block a user