测试数据存储:单文件/压缩包 #36
Replies: 6 comments
-
Are testcases not unzipped after uploading it? i.e, cms-dev supports both single upload and compressed packages because it makes easier to upload. All testcases are stored and managed separately. |
Beta Was this translation helpful? Give feedback.
-
yes, now the data stores as a single zipfile in the database.(as web server doesnt need to handle these file before), and unzipped at judge-client side. |
Beta Was this translation helpful? Give feedback.
-
Does the judge client unzip the file for each submission? |
Beta Was this translation helpful? Give feedback.
-
No, it's unzipped and cached into ~/.cache/hydro at first submission (or first submission after the testdata updated). |
Beta Was this translation helpful? Give feedback.
-
Now its unzipped and stored. (branch master, not released yet) |
Beta Was this translation helpful? Give feedback.
-
New version released. To perform this update:
The upgrade process should be starting automaticly (better to start from a terminal instead of using process manager when upgrading). If not, check configuration in control panel, update it and restart again. |
Beta Was this translation helpful? Give feedback.
-
使用压缩包可减少存储消耗,同时便于传输
但按测试点下载数据需要存储为单文件/同时Hack此类动态patch测试包的功能也倾向于使用单文件存储。
Beta Was this translation helpful? Give feedback.
All reactions