- 518370910136
- https://boyanzh.site
-
FOCS maintainer for almost everything.
- Joined on
2021-05-21
No. Just do not append it to the return value and log a warning.
If case*.out will always be used in diff parser, we want to ensure it exists to form a valid case.
We need another pydantic model for auto detected cases. Fields in these cases can be none, which means they are not set and should use with_.default
values.
Should be applied to other locations in transformers/task.py
What if the with_.default.cpu_limit
is not the same as DEFAULT_CPU_LIMIT
? Why do we need to set these fields to none?
Should be removed. It should be fixed from JOJ3 side. Also in InputFile = Union[LocalFile, MemoryFile, PreparedFile, Symlink, None]
Could you check if problem 1 persists in the latest JOJ3 (after runner-images is built)?
good idea, maybe we can also have DEFAULT_CLOCK_LIMIT_MULTIPLIER
why not
class ParserDiff(BaseModel):
output: Outputs = Outputs()
default_score: int = DEFAULT_CASE_SCORE