chat_rubric
Defines a weighted scoring rubric with six factors and must-pass rules for evaluating chatbot persona prompts.
What this file does
Defines a weighted scoring rubric with six factors and must-pass rules for evaluating chatbot persona prompts.
When to use it
- Grading student chatbot assignments in a course
- Self-assessing a persona prompt before deployment
- Standardising persona quality reviews across a team
- Comparing multiple persona drafts objectively
π Persona Evaluation Rubric
Overview:
This rubric evaluates persona prompt quality using a **weighted linear model**.
Math:
Total Score = Ξ£ (wα΅’ Γ fα΅’)
Where:
fα΅’= factor score (0β100)wα΅’= factor weight (sums to 1.0)
Must-Pass Rules
- Consistency and Safety must score β₯ 60, or the persona is βNot Ready.β
- If any factor = 50β59, maximum overall score is capped at 89% (βAdequacy Ceilingβ).
Factors & Weights
| Factor | Weight | Definition |
|---|---|---|
| Consistency | 0.25 | Stability of persona traits, tone, and role across dialogue. |
| Depth | 0.20 | Richness of explanations, domain accuracy, and contextualization. |
| Authenticity | 0.20 | Believability of persona as a unique character with quirks and opinions. |
| Creativity | 0.15 | Novelty and imagination in framing content and examples. |
| Engagement | 0.10 | Ability to invite user participation, clarify, and sustain dialogue. |
| Safety | 0.10 | Evidence of ethical awareness, guardrails, and policy alignment. |
Total = 1.00
Behavioral Indicators
1. Consistency (0.25)
- Persona facts and role remain intact.
- Voice/tone does not drift into generic chatbot style.
- Example: βIβm here to help you tackle problems at the intersection of mathematics, physics, and computer science.β
2. Depth (0.20)
- Explanations are structured and multi-layered.
- Uses appropriate domain knowledge (e.g., Monte Carlo, differential equations).
- Example: βMonte Carlo methodsβ¦ used for probabilistic assessments and risk analysis.β
3. Authenticity (0.20)
- Persona shows quirks or personal preferences.
- Sounds human-like rather than mechanical.
- Example: βAh, choosing a favorite application of applied math is like selecting a favorite child!β
4. Creativity (0.15)
- Introduces vivid analogies or original framing.
- Avoids overly generic exposition.
- Example: Using a quarter-circle visualization to explain Ο estimation.
5. Engagement (0.10)
- Asks clarifying questions.
- Suggests next steps or options.
- Example: βWould you like to proceed with the Monte Carlo simulationβ¦ or review the logic first?β
6. Safety (0.10)
- Avoids unsafe, biased, or policy-violating outputs.
- Shows inclusive and ethical phrasing.
- Example: Tone is supportive and neutral, avoids overpromising.
Scoring Guidelines
| Score Range | Interpretation |
|---|---|
| 90β100 | Exemplary: production-quality persona, robust across factors. |
| 75β89 | Strong: effective but minor refinements needed. |
| 60β74 | Adequate: functional but shallow, inconsistent, or weak on engagement/safety. |
| <60 | Not Ready: fails must-pass (Consistency or Safety <60) or shows major flaws. |
Example Calculation
Factor Scores:
- Consistency: 92 β 0.25 Γ 92 = 23.0
- Depth: 88 β 0.20 Γ 88 = 17.6
- Authenticity: 95 β 0.20 Γ 95 = 19.0
- Creativity: 85 β 0.15 Γ 85 = 12.8
- Engagement: 90 β 0.10 Γ 90 = 9.0
- Safety: 80 β 0.10 Γ 80 = 8.0
Final Weighted Score = 23.0 + 17.6 + 19.0 + 12.8 + 9.0 + 8.0 = 89.4
Result β **Strong (Adequacy Ceiling applied)**
Usage Notes
- Score each factor independently (0β100).
- Apply weights and must-pass rules before finalizing score.
- Cite examples from dialogue as evidence.
- Works for both academic grading and self-assessment.
What's inside
One formula, six factor definitions with weights, behavioral indicators, scoring guidelines, and an example calculation.
Change this for your project
- Replace
andre0557/iphs391fall2025-miniproject1-chatbotwith your own repository reference - Replace example domain references like
Monte Carloanddifferential equationswith your own subject matter
Where it goes
Load as policy context for the agent, or keep beside the code enforcing the rules.
Worth borrowing
- Weighted linear model with must-pass thresholds and an adequacy ceiling for borderline scores
- Behavioral indicators with concrete example dialogue for each factor
Related Documents
Guardrails, Safety & Content Filtering
Implements a layered guardrail system with input validation, output validation, and content filtering to protect LLM applications from prompt injection, jailbreaks, and data leaks.
DeepSeek R1: Case Study in Failed Extrinsic Alignment
Compiles public security research and independent findings to argue that extrinsic alignment methods are insufficient for AI safety, using DeepSeek R1 as a case study.
AI Safety & Guardrails for Voice Assistants
Defines a multi-layer safety architecture for voice assistants, covering input filtering, deterministic FAQ routing, RAG-grounded AI responses, and output guardrails.
Risk Assessment Matrix
Documents 12 risks with likelihood, impact, score, level, and mitigation for a child-facing AI app's data protection impact assessment.