CUD-Traffic-AI / src /evaluate /rubric.py
Rajeev Ranjan Pandey
Refine UI and fix model selection bugs
e078b1d
raw
history blame contribute delete
416 Bytes
from dataclasses import dataclass
@dataclass
class RubricScore:
clarity: int
completeness: int
correctness: int
notes: str = ""
RUBRIC_GUIDANCE = {
"clarity": "1=hard to follow, 5=very clear and concise",
"completeness": "1=misses core facts, 5=captures event, location context, severity, and consequences",
"correctness": "1=contains unsupported claims, 5=no obvious hallucination",
}