Skip to main content

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

rag_scorecard-1.0.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rag_scorecard-1.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

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

Hashes for rag_scorecard-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7184f4105667f1a1a14343ff60a0b248aa88e43c6ee0f65c0306668146ef3afa
MD5 54bd596d0252a6a64c44b3b249ad1438
BLAKE2b-256 4f3210456be94051f80ce8215d1ae62162764d5bcf2afd979d33650b909a5363

See more details on using hashes here.

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

Hashes for rag_scorecard-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2b4799299e558b0f161bf742f44c2736bb46ef04be9ea310bdfb5a8e7e5edd4
MD5 b4786f7b6b8697ecf6bd1cca22835e82
BLAKE2b-256 d592cea5aa7e1ff457056f24cc2a6534a75e4519f957df253c9f9e498ba3467b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page