Compare commits

..

1 Commits

Author SHA1 Message Date
a03c1d8cf5
chore: simpler models
Some checks failed
build / trigger-build-image (push) Blocked by required conditions
build / build (push) Has been cancelled
build / build (pull_request) Successful in 3m24s
build / trigger-build-image (pull_request) Has been skipped
2025-06-21 12:25:33 -04:00
2 changed files with 2 additions and 3 deletions

View File

@ -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()

View File

@ -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="")