mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-26 09:24:35 +01:00
Add basic memory challenge (#57)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import os
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict
|
||||
|
||||
import pytest
|
||||
@@ -17,8 +16,7 @@ class TestWriteFile(BasicChallenge):
|
||||
def test_method(self, config: Dict[str, Any]) -> None:
|
||||
self.setup_challenge(config)
|
||||
|
||||
workspace = Path(os.getcwd()) / config["workspace"]
|
||||
files_contents = self.open_files(workspace, self.data.ground.files)
|
||||
files_contents = self.open_files(config["workspace"], self.data.ground.files)
|
||||
|
||||
scores = []
|
||||
for file_content in files_contents:
|
||||
|
||||
Reference in New Issue
Block a user