rag-scorecard
A lightweight, resilient, and production-ready evaluation engine to audit Retrieval-Augmented Generation (RAG) pipelines.
rag-scorecard balances ultra-fast, zero-cost deterministic token-overlap heuristics with deep semantic LLM-as-a-judge capabilities. The framework is architected to handle structural discrepancies, missing parameters, and sudden API rate limit or availability anomalies gracefully.
Core Features
- Smart Heuristics: Token-overlap matching logic that filters out common stop words and handles punctuation variations dynamically without relying on external model endpoints.
- Production-Grounded Math: Strict mathematical alignment ensuring that failed or empty ground-truth parameters are fully captured as valid zero-score bounds rather than artificially shrinking the total evaluation denominator pool.
- Multi-Provider Semantic Judges: Native support for structured output evaluation utilizing both OpenAI and Gemini platforms.
- Cascading Error Tolerant Architecture: An embedded resilience layer prevents external network communication failures or 503/429 spikes from interrupting automated verification pipelines.
Quick Start
Installation
pip install rag-scorecard
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rag_scorecard-1.0.0.tar.gz.
File metadata
- Download URL: rag_scorecard-1.0.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7184f4105667f1a1a14343ff60a0b248aa88e43c6ee0f65c0306668146ef3afa
|
|
| MD5 |
54bd596d0252a6a64c44b3b249ad1438
|
|
| BLAKE2b-256 |
4f3210456be94051f80ce8215d1ae62162764d5bcf2afd979d33650b909a5363
|
File details
Details for the file rag_scorecard-1.0.0-py3-none-any.whl.
File metadata
- Download URL: rag_scorecard-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2b4799299e558b0f161bf742f44c2736bb46ef04be9ea310bdfb5a8e7e5edd4
|
|
| MD5 |
b4786f7b6b8697ecf6bd1cca22835e82
|
|
| BLAKE2b-256 |
d592cea5aa7e1ff457056f24cc2a6534a75e4519f957df253c9f9e498ba3467b
|