Skip to content

feat: add multi-dimensional quality scorer#7

Open
DebuggingMax wants to merge 1 commit intoMint-Claw:mainfrom
DebuggingMax:feat/quality-scorer
Open

feat: add multi-dimensional quality scorer#7
DebuggingMax wants to merge 1 commit intoMint-Claw:mainfrom
DebuggingMax:feat/quality-scorer

Conversation

@DebuggingMax
Copy link

Summary

Implements the quality scoring algorithm as specified in #1.

Features

Auto-detect format - JSON, markdown, code, text

5 weighted dimensions:

  • Completeness (0.30)
  • Format Compliance (0.20)
  • Coverage (0.25)
  • Clarity (0.15)
  • Validity (0.10)

Performance: 100 submissions in 0.003s (well under 10s requirement)

Output format:

{
  "weighted_score": 0.895,
  "quality_rating": "excellent",
  "scores": {...},
  "feedback": [...],
  "pass_threshold": true
}

Files Added

  • quality_scorer.py - Main scoring module
  • test_quality_scorer.py - Comprehensive test suite

Fixes #1

Implements scoring algorithm for structured content with:
- Auto-detection for JSON, markdown, code, text formats
- 5 weighted dimensions: completeness, format compliance, coverage, clarity, validity
- Batch processing (100 submissions in <1s)
- Comprehensive test suite

Scoring output includes:
- weighted_score (0-1)
- quality_rating (excellent/good/fair/poor)
- per-dimension scores
- actionable feedback
- pass_threshold boolean

Addresses Mint-Claw#1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOUNTY $10] Multi-Dimensional Quality Scoring for Structured Outputs

1 participant