eval::metric_store::EvalMetrics
More...
Public Functions
|
Name |
| Dict[str, Any] |
to_dict(self self) |
Public Attributes
Detailed Description
class eval::metric_store::EvalMetrics;
Single-run evaluation metrics for a specialist (Phase 2: D-14).
All fields are required for schema validation. ``gates_passed`` maps
gate name -> ``{"passed": bool, "threshold": float, "value": float}``.
Public Functions Documentation
function to_dict
Dict[str, Any] to_dict(
self self
)
Return dict suitable for JSON serialization (alias for asdict).```
## Public Attributes Documentation
### variable niche
```python
static str niche;
variable timestamp_utc
static str timestamp_utc;
variable num_samples
variable perplexity
variable bleu_score
variable rouge_l
variable latency_ms_mean
static float latency_ms_mean;
variable latency_ms_p95
static float latency_ms_p95;
variable gates_passed
static Dict gates_passed [str, Dict[str, Any]];
variable version
static str version = "1.0";
Updated on 2026-10-09 at 03:59:43 +0000