MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / Status

Class Status

trinity/explorer/workflow_runner.py:23–34  ·  view source on GitHub ↗

Status of the task running result.

Source from the content-addressed store, hash-verified

21
22@dataclass(frozen=True)
23class Status:
24 """Status of the task running result."""
25
26 completed_runs: int
27 total_runs: int
28 metrics: List[Dict[str, float]]
29 # A list of metric dictionaries, where each dictionary is from a single run.
30 message: Optional[str] = None
31
32 @property
33 def ok(self) -> bool:
34 return self.completed_runs == self.total_runs
35
36
37@dataclass(frozen=True)

Callers 5

run_with_retryMethod · 0.90
_build_task_resultMethod · 0.90
_build_statusFunction · 0.90
run_taskMethod · 0.85

Calls

no outgoing calls

Tested by 1

_build_statusFunction · 0.72