fix(test): update scrapers
This commit is contained in:
parent
7d8d00c5ad
commit
e7ba6b4bb4
4 changed files with 37 additions and 14 deletions
|
|
@ -235,8 +235,10 @@ class CSESScraper(BaseScraper):
|
|||
tests = []
|
||||
timeout_ms, memory_mb, interactive = 0, 0, False
|
||||
|
||||
combined_input = "\n".join(t.input for t in tests)
|
||||
combined_expected = "\n".join(t.expected for t in tests)
|
||||
combined_input = "\n".join(t.input for t in tests) if tests else ""
|
||||
combined_expected = (
|
||||
"\n".join(t.expected for t in tests) if tests else ""
|
||||
)
|
||||
|
||||
return {
|
||||
"problem_id": pid,
|
||||
|
|
@ -250,6 +252,7 @@ class CSESScraper(BaseScraper):
|
|||
"timeout_ms": timeout_ms,
|
||||
"memory_mb": memory_mb,
|
||||
"interactive": interactive,
|
||||
"multi_test": False,
|
||||
}
|
||||
|
||||
tasks = [run_one(p.id) for p in problems]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue