Spaces:
Sleeping
Sleeping
File size: 340 Bytes
e6cbc4d | 1 2 3 4 5 6 7 8 9 10 11 12 | from typing import Protocol, runtime_checkable, Dict, Any
from models import DHCResult
@runtime_checkable
class IScoringEngine(Protocol):
"""
Interface for the IOTN Scoring Engine.
Enforces a strict contract for scoring implementations.
"""
def score(self, payload: Dict[str, Any]) -> DHCResult:
...
|