feat: Multi-Dimensional Quality Scoring for Structured Outputs#6
Open
769066112-ops wants to merge 1 commit intoMint-Claw:mainfrom
Open
feat: Multi-Dimensional Quality Scoring for Structured Outputs#6769066112-ops wants to merge 1 commit intoMint-Claw:mainfrom
769066112-ops wants to merge 1 commit intoMint-Claw:mainfrom
Conversation
- Auto-detect format (JSON, markdown, code, text) - Score 5 dimensions: Completeness, Format Compliance, Coverage, Clarity, Validity - Weighted scoring with configurable rubrics - NLP-based feedback generation (bonus) - 100 submissions in <0.01s (requirement: <10s) - Comprehensive test suite and example scorecards Closes Mint-Claw#1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete implementation of the Multi-Dimensional Quality Scoring system as described in #1.
Features
Files
scorer.py- Main QualityScorer classformats.py- Format detection and format-specific scoringrubric.py- Rubric definition and managementfeedback.py- NLP feedback generationtests/test_scorer.py- Comprehensive test suiteexamples/scorecards.py- Sample scorecardsOutput Format
{ "weighted_score": 0.77, "quality_rating": "good", "scores": {"completeness": 0.72, "format_compliance": 0.85, "coverage": 0.6, "clarity": 0.88, "validity": 1.0}, "feedback": ["..."], "pass_threshold": true }Closes #1