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: ...