Quality_evaluation/stuff/StepTrace.py
Aleksandr Dubchak 98d5e90894 mind2web
2026-04-23 00:04:11 +03:00

23 lines
No EOL
429 B
Python

from dataclasses import dataclass
from typing import Optional
@dataclass
class StepTrace:
step_no: int
timestamp: float
thought: Optional[str]
action_type: str
action_target: Optional[str]
action_value: Optional[str]
url_before: Optional[str]
url_after: Optional[str]
screenshot_before: Optional[str]
screenshot_after: Optional[str]
success: bool
error: Optional[str] = None