Result of a monkey test run.
| 14 | |
| 15 | @dataclass |
| 16 | class MonkeyResult: |
| 17 | """Result of a monkey test run.""" |
| 18 | |
| 19 | total_actions: int = 0 |
| 20 | errors: list[dict[str, Any]] = field(default_factory=list) |
| 21 | actions: list[dict[str, Any]] = field(default_factory=list) |
| 22 | seed: int = 0 |
| 23 | duration_ms: int = 0 |
| 24 | |
| 25 | |
| 26 | def _should_stop(action_count: int, count: int | None, start: float, duration: float | None) -> bool: |