Back to .md Directory

Evaluation Rubric for LLM-Generated Outputs

title: Evaluation Rubric for LLM Outputs

May 2, 2026
0 downloads
0 views
ai llm rag prompt eval
View source

title: Evaluation Rubric for LLM Outputs version: 1.0.0 last_reviewed: 2025-01-01 framework_version: 0.1.0 tags: ["evaluation", "quality", "rubric", "assessment"]

Evaluation Rubric for LLM-Generated Outputs

Overview

This rubric provides a structured framework for evaluating the quality and effectiveness of LLM-generated content within the Data Platform SDLC context. Use this for assessing documentation, code, architecture recommendations, and other AI-assisted deliverables.

Scoring Scale

Scale: 0-3 points per dimension

  • 0: Unacceptable - Major deficiencies requiring complete rework
  • 1: Below Standard - Significant issues requiring substantial revision
  • 2: Meets Standard - Acceptable quality with minor improvements needed
  • 3: Exceeds Standard - High quality output requiring minimal or no revision

Evaluation Dimensions

1. Relevance (Weight: 20%)

Assesses: How well the output addresses the specific prompt requirements and business context.

ScoreCriteriaExamples
3Directly addresses all prompt requirements with clear connection to business goalsArchitecture recommendation perfectly aligned with stated scalability and compliance needs
2Addresses most requirements with good business context understandingMinor gaps in requirement coverage but generally appropriate
1Partially addresses requirements with some business context awarenessGeneric recommendations with loose connection to specific needs
0Fails to address key requirements or lacks business context understandingOff-topic response or ignores critical constraints

2. Completeness (Weight: 15%)

Assesses: Whether the output covers all necessary aspects and provides sufficient detail for implementation.

ScoreCriteriaExamples
3Comprehensive coverage of all relevant aspects with appropriate detail levelComplete data pipeline design including error handling, monitoring, and security
2Covers most important aspects with adequate detailGood coverage but missing some secondary considerations
1Covers basic aspects but lacks detail or misses important elementsHigh-level overview without implementation specifics
0Significant gaps in coverage or insufficient detail for practical useIncomplete solution missing critical components

3. Actionability (Weight: 20%)

Assesses: How easily the output can be translated into concrete implementation steps.

ScoreCriteriaExamples
3Provides clear, specific implementation steps with concrete examplesStep-by-step deployment guide with code samples and configuration examples
2Generally actionable with some specific guidanceImplementation approach with most steps defined
1Provides direction but requires significant interpretation for implementationHigh-level guidance requiring substantial additional planning
0Too abstract or vague for practical implementationConceptual overview without actionable steps

4. Specificity (Weight: 15%)

Assesses: Level of detail and precision in recommendations, avoiding generic or vague guidance.

ScoreCriteriaExamples
3Highly specific recommendations with precise parameters and configurations"Use Apache Kafka with 3 brokers, replication factor 3, batch.size=16384 for high-throughput ingestion"
2Good level of specificity with some precise recommendationsTechnology choices with basic configuration guidance
1Some specific elements but includes generic recommendationsMix of specific and vague guidance
0Predominantly generic or vague recommendations"Use appropriate tools" or "follow best practices" without specifics

5. Traceability (Weight: 15%)

Assesses: How well the output references and builds upon provided documentation sources.

ScoreCriteriaExamples
3Explicitly cites specific document sections and builds logically on provided context"Following the ingestion patterns in Section 4.2, implementing batch processing with the decision matrix from Table 3.1"
2Good use of provided context with some explicit referencesUses framework concepts with occasional source citations
1Some connection to provided materials but limited explicit referencingGeneral alignment with framework but minimal source attribution
0Little to no connection to provided documentation contextIgnores provided context or contradicts source materials

6. Risk Awareness (Weight: 10%)

Assesses: Recognition and appropriate handling of potential risks, limitations, and trade-offs.

ScoreCriteriaExamples
3Proactively identifies risks with specific mitigation strategiesIdentifies scalability risks and provides specific architectural patterns to address them
2Recognizes important risks with general mitigation approachesAcknowledges security concerns with standard protection recommendations
1Limited risk identification or generic mitigation suggestionsMentions some risks but without specific solutions
0Fails to identify significant risks or provides inadequate mitigationOverlooks critical security, performance, or compliance risks

7. Output Conformance (Weight: 5%)

Assesses: Adherence to requested output format, schema, or structural requirements.

ScoreCriteriaExamples
3Perfect adherence to requested format with clear structureJSON output matching exact schema with all required fields
2Good format compliance with minor deviationsFollows format with small structural variations
1Partial format compliance requiring some restructuringGenerally correct format but missing some elements
0Poor format compliance requiring significant restructuringWrong format or missing critical structural elements

Scoring Matrix

Total Score Calculation

Total Score = (Relevance × 0.20) + (Completeness × 0.15) + (Actionability × 0.20) + 
              (Specificity × 0.15) + (Traceability × 0.15) + (Risk Awareness × 0.10) + 
              (Output Conformance × 0.05)

Quality Interpretation

Total ScoreQuality LevelRecommended Action
2.7 - 3.0ExcellentUse with minimal review, consider as exemplar
2.3 - 2.6GoodUse with light review and minor adjustments
1.8 - 2.2AcceptableRequires moderate revision before use
1.0 - 1.7PoorSubstantial rework needed, consider re-prompting
0.0 - 0.9UnacceptableDiscard and restart with improved prompt

Usage Guidelines

When to Apply

  • Before implementing LLM-generated architectures or code
  • During quality reviews of AI-assisted documentation
  • When evaluating prompt effectiveness for continuous improvement
  • For training team members on quality standards

Evaluation Process

  1. Initial Assessment: Quick review for obvious quality issues
  2. Detailed Scoring: Apply rubric systematically across all dimensions
  3. Gap Analysis: Identify specific areas needing improvement
  4. Improvement Actions: Revise output or refine prompts based on gaps
  5. Learning Capture: Document patterns for future prompt optimization

Team Calibration

  • Conduct team scoring exercises on sample outputs
  • Discuss scoring rationale to align on quality standards
  • Regular calibration sessions to maintain consistency
  • Create organization-specific scoring examples and edge cases

Common Quality Patterns

High-Quality Indicators

  • Specific technology recommendations with version numbers and configuration details
  • Explicit references to provided documentation sections
  • Proactive identification of implementation challenges and solutions
  • Clear step-by-step implementation guidance
  • Appropriate consideration of organizational constraints

Quality Red Flags

  • Generic "best practices" without specific implementation guidance
  • Recommendations that ignore provided constraints or requirements
  • Missing consideration of security, compliance, or scalability concerns
  • Output that doesn't reference provided context materials
  • Overly complex solutions without justification for complexity

Remember: This rubric is a tool for continuous improvement, not a gate for perfection. Use it to identify patterns and enhance prompt engineering effectiveness over time.

Related Documents