Compare commits
1 Commits
9bd3001c85
...
a03c1d8cf5
Author | SHA1 | Date | |
---|---|---|---|
a03c1d8cf5 |
|
@ -149,7 +149,6 @@ class Case(BaseModel):
|
|||
True, validation_alias=AliasChoices("copy-in-cwd", "copy_in_cwd")
|
||||
)
|
||||
limit: Limit = Limit()
|
||||
score: int = 0
|
||||
diff: ParserDiff = ParserDiff()
|
||||
|
||||
|
||||
|
|
|
@ -276,7 +276,7 @@ def fix_diff(
|
|||
|
||||
|
||||
def get_unspecified_cases(
|
||||
task_root: Path, task_path: Path, cases: Dict[str, task.DictCase]
|
||||
task_root: Path, task_path: Path, cases: Dict[str, task.Case]
|
||||
) -> List[str]:
|
||||
testcases = set()
|
||||
for testcases_path in (task_root / task_path).parent.glob("**/*.in"):
|
||||
|
@ -306,7 +306,7 @@ def get_unspecified_cases(
|
|||
|
||||
|
||||
def get_stdin_stdout(
|
||||
task_root: Path, task_path: Path, case_name: str, case: task.DictCase
|
||||
task_root: Path, task_path: Path, case_name: str, case: task.Case
|
||||
) -> Tuple[result.Stdin, Optional[str]]:
|
||||
case_stdout_name = case.out_ if case.out_ else f"{case_name}.out"
|
||||
stdin: result.Stdin = result.MemoryFile(content="")
|
||||
|
|
Loading…
Reference in New Issue
Block a user