Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /snowcell-cloud_Snowcode /evaluation /integration_tests /tests /base.py
| from abc import ABC, abstractmethod | |
| from pydantic import BaseModel | |
| from openhands.events.event import Event | |
| from openhands.runtime.base import Runtime | |
| class TestResult(BaseModel): | |
| success: bool | |
| reason: str | None = None | |
| class BaseIntegrationTest(ABC): | |
| """Base class for integration tests.""" | |
| INSTRUCTION: str | |
| def initialize_runtime(cls, runtime: Runtime) -> None: | |
| """Initialize the runtime for the test to run.""" | |
| pass | |
| def verify_result(cls, runtime: Runtime, histories: list[Event]) -> TestResult: | |
| """Verify the result of the test. | |
| This method will be called after the agent performs the task on the runtime. | |
| """ | |
| pass | |
Xet Storage Details
- Size:
- 775 Bytes
- Xet hash:
- 4d7a38024894ed7e9c3ae901197bdb6bea7f55c8cb15f249415dc8b2dfb87b8f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.