All checks were successful
build / build (push) Successful in 2m1s
- added support for subfolders - complete the duplication for `*.toml` file, now ta only need to specify the param for the specific one. default values are hardcoded - all testcases should be named as `casei.in/out`, with no interactions in their name in each of the subfolders, (for hidden cases and non-hidden cases, just change position and run again) Co-authored-by: Boming Zhang <bomingzh@sjtu.edu.cn> Reviewed-on: #13 Reviewed-by: 张泊明518370910136 <bomingzh@sjtu.edu.cn> Co-authored-by: jon-lee <jon-lee@sjtu.edu.cn> Co-committed-by: jon-lee <jon-lee@sjtu.edu.cn>
16 lines
501 B
Python
16 lines
501 B
Python
from pathlib import Path
|
|
|
|
from joj3_config_generator.models.common import Memory, Time
|
|
|
|
DEFAULT_CPU_LIMIT = Time("1s")
|
|
DEFAULT_MEMORY_LIMIT = Memory("256m")
|
|
DEFAULT_FILE_LIMIT = Memory("32m")
|
|
DEFAULT_CASE_SCORE = 5
|
|
|
|
JOJ3_CONFIG_ROOT = Path("/home/tt/.config/joj")
|
|
TEAPOT_CONFIG_ROOT = Path("/home/tt/.config/teapot")
|
|
CACHE_ROOT = Path("/home/tt/.cache")
|
|
JOJ3_LOG_PATH = CACHE_ROOT / "joj3.log"
|
|
TEAPOT_LOG_PATH = CACHE_ROOT / "joint-teapot-debug.log"
|
|
ACTOR_CSV_PATH = JOJ3_CONFIG_ROOT / "students.csv"
|