dev #10
|
@ -2,7 +2,7 @@ from typing import List
|
|||
|
||||
from joj3_config_generator.processers.repo import getHealthcheckConfig, getTeapotConfig
|
||||
from joj3_config_generator.processers.task import (
|
||||
fix_comment,
|
||||
fix_dummy,
|
||||
fix_diff,
|
||||
fix_keyword,
|
||||
fix_result_detail,
|
||||
|
|
|
@ -3,19 +3,7 @@ import shlex
|
|||
import socket
|
||||
from pathlib import Path
|
||||
|
||||
from joj3_config_generator.models import (
|
||||
Cmd,
|
||||
CmdFile,
|
||||
ExecutorConfig,
|
||||
ExecutorWithConfig,
|
||||
ParserConfig,
|
||||
Repo,
|
||||
ResultConfig,
|
||||
Stage,
|
||||
StageConfig,
|
||||
Task,
|
||||
TeapotConfig,
|
||||
)
|
||||
from joj3_config_generator.models import repo, result, task
|
||||
|
||||
|
||||
def getGradingRepoName() -> str:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import shlex
|
||||
jon-lee marked this conversation as resolved
|
||||
from typing import Tuple
|
||||
jon-lee marked this conversation as resolved
张泊明518370910136
commented
Some Some `with_.update` is still using raw dict, not model with `model_dump`.
|
||||
|
||||
from joj3_config_generator.models import joj1, repo, result, task
|
||||
from joj3_config_generator.models import result, task
|
||||
|
||||
|
||||
def remove_nulls(d: result.Config) -> result.Config:
|
||||
|
|
|
@ -1233,10 +1233,10 @@
|
|||
]
|
||||
},
|
||||
"teapot": {
|
||||
"logPath": "/home/tt/.cache/joint-teapot-debug.log",
|
||||
"scoreboardPath": "scoreboard.csv",
|
||||
"failedTablePath": "failed-table.md",
|
||||
"gradingRepoName": "",
|
||||
"logPath": "p2-m3-joint-teapot-debug.log",
|
||||
"scoreboardPath": "p2-m3-scoreboard.csv",
|
||||
"failedTablePath": "p2-m3-failed-table.md",
|
||||
"gradingRepoName": "Nuvole-joj",
|
||||
"skipIssue": false,
|
||||
"skipScoreboard": false,
|
||||
"skipFailedTable": false
|
||||
|
|
Loading…
Reference in New Issue
Block a user
Path should not be relative to
JOJ3_CONFIG_ROOT
in this file, should be relative totask.toml
dirI reckon you said things is relative to
JOJ3_CONFIG_ROOT
in JTC before. we have atask.type
intask.toml
to mend the pathconfig.path
is relative toJOJ3_CONFIG_ROOT
.could you explain further? I m not quite sure my understanding is clear.
In
joj3_config_generator/models/task.py
,Config.path
is relative toJOJ3_CONFIG_ROOT
, sotask.toml
will located atJOJ3_CONFIG_ROOT / task_conf.path
in JTC.