MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / Stats

Class Stats

src/benchmark/types.py:47–57  ·  view source on GitHub ↗

Data model for benchmark statistics

Source from the content-addressed store, hash-verified

45 extra: Optional[Dict[str, Any]] = Field(default_factory=dict, description="Additional metadata or intermediate evaluation metrics")
46
47class Stats(BaseModel):
48 """Data model for benchmark statistics"""
49 model_config = ConfigDict(arbitrary_types_allowed=True, extra="allow")
50
51 accuracy: float = Field(default=0.0, description="Overall accuracy score")
52 total: int = Field(default=0, description="Total number of tasks")
53 correct: int = Field(default=0, description="Number of correct tasks")
54 wrong: int = Field(default=0, description="Number of wrong tasks")
55 times: Dict[str, float] = Field(default_factory=dict, description="Time taken for each task (task_id -> seconds)")
56 average_time: float = Field(default=0.0, description="Average time per task in seconds")
57 extra: Dict[str, Any] = Field(default_factory=dict, description="Additional statistics or information")
58
59class Benchmark(BaseModel):
60 """Base class for all benchmark systems"""

Callers 5

statsMethod · 0.90
statsMethod · 0.90
statsMethod · 0.90
statsMethod · 0.90
statsMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected