OpenJudge: A Unified Framework for Holistic Evaluation and Quality Reward
Project description
Holistic Evaluation, Quality Rewards: Driving Application Excellence
🌟 If you find OpenJudge helpful, please give us a Star! 🌟
📑 Table of Contents
OpenJudge is a unified framework designed to drive LLM and Agent application excellence through Holistic Evaluation and Quality Rewards.
💡 Evaluation and reward signals are the cornerstones of application excellence. Holistic evaluation enables the systematic analysis of shortcomings to drive rapid iteration, while high-quality rewards provide the essential foundation for advanced optimization and fine-tuning.
OpenJudge unifies evaluation metrics and reward signals into a single, standardized Grader interface, offering pre-built graders, flexible customization, and seamless framework integration.
✨ Key Features
📦 Systematic & Quality-Assured Grader Library
Access 50+ production-ready graders featuring a comprehensive taxonomy, rigorously validated for reliable performance.
🎯 GeneralFocus: Semantic quality, functional correctness, structural compliance Key Graders:
|
🤖 AgentFocus: Agent lifecycle, tool calling, memory, plan feasibility, trajectory quality Key Graders:
|
🖼️ MultimodalFocus: Image-text coherence, visual generation quality, image helpfulness Key Graders:
|
- 🌐 Multi-Scenario Coverage: Extensive support for diverse domains including Agent, text, code, math, and multimodal tasks. 👉 Explore Supported Scenarios
- 🔄 Holistic Agent Evaluation: Beyond final outcomes, we assess the entire lifecycle—including trajectories, Memory, Reflection, and Tool Use. 👉 Agent Lifecycle Evaluation
- ✅ Quality Assurance: Every grader comes with benchmark datasets and pytest integration for validation. 👉 View Benchmark Datasets
🛠️ Flexible Grader Building Methods
Choose the build method that fits your requirements:
- Customization: Easily extend or modify pre-defined graders to fit your specific needs. 👉 Custom Grader Development Guide
- Data-Driven Rubrics: Have a few examples but no clear rules? Use our tools to automatically generate white-box evaluation criteria (Rubrics) based on your data.👉 Automatic Rubric Generation Tutorial
- Training Judge Models ( Coming Soon🚀): For high-scale and specialized scenarios, we are developing the capability to train dedicated Judge models. Support for SFT, Bradley-Terry models, and Reinforcement Learning workflows is on the way to help you build high-performance, domain-specific graders.
🔌 Easy Integration (🚧 Coming Soon)
We're actively building seamless connectors for mainstream observability platforms and training frameworks. Stay tuned! → See Integrations
News
-
2025-12-26 - Released OpenJudge v0.2.0 on PyPI - Major Update! This release expands our core capabilities by adding robust support for diverse evaluation scenarios on top of reward construction. By unifying reward and evaluation signals, OpenJudge v0.2.0 provides a more holistic approach to optimizing application performance and excellence. → migration-guide
-
2025-10-20 - Auto-Rubric: Learning to Extract Generalizable Criteria for Reward Modeling - We released a new paper on learning generalizable reward criteria for robust modeling.
-
2025-10-17 - Taming the Judge: Deconflicting AI Feedback for Stable Reinforcement Learning - We introduced techniques to align judge feedback and improve RL stability.
-
2025-07-09 - Released OpenJudge v0.1.0 on PyPI
📥 Installation
pip install py-openjudge
💡 More installation methods can be found in the Quickstart Guide.
🚀 Quickstart
import asyncio
from openjudge.models import OpenAIChatModel
from openjudge.graders.common.relevance import RelevanceGrader
async def main():
# 1️⃣ Create model client
model = OpenAIChatModel(model="qwen3-32b")
# 2️⃣ Initialize grader
grader = RelevanceGrader(model=model)
# 3️⃣ Prepare data
data = {
"query": "What is machine learning?",
"response": "Machine learning is a subset of AI that enables computers to learn from data.",
}
# 4️⃣ Evaluate
result = await grader.aevaluate(**data)
print(f"Score: {result.score}") # Score: 5
print(f"Reason: {result.reason}")
if __name__ == "__main__":
asyncio.run(main())
📚 Complete Quickstart can be found in the Quickstart Guide.
🔗 Integrations
Seamlessly connect OpenJudge with mainstream observability and training platforms, with more integrations on the way:
| Category | Status | Platforms |
|---|---|---|
| Observability | 🟡 In Progress | LangSmith, LangFuse, Arize Phoenix |
| Training | 🔵 Planned | verl, Trinity-RFT |
💬 Have a framework you'd like us to prioritize? Open an Issue!
🤝 Contributing
We love your input! We want to make contributing to OpenJudge as easy and transparent as possible.
🎨 Adding New Graders — Have domain-specific evaluation logic? Share it with the community!
🐛 Reporting Bugs — Found a glitch? Help us fix it by opening an issue
📝 Improving Docs — Clearer explanations or better examples are always welcome
💡 Proposing Features — Have ideas for new integrations? Let's discuss!
📖 See full Contributing Guidelines for coding standards and PR process.
Migration Guide (v0.1.x → v0.2.0)
OpenJudge was previously distributed as the legacy package
rm-gallery(v0.1.x). Starting from v0.2.0, it is published aspy-openjudgeand the Python import namespace isopenjudge.
OpenJudge v0.2.0 is NOT backward compatible with v0.1.x.
If you are currently using v0.1.x, choose one of the following paths:
- Stay on v0.1.x (legacy): keep using the old package
pip install rm-gallery
We preserved the source code of v0.1.7 (the latest v0.1.x release) in the v0.1.7-legacy branch.
- Migrate to v0.2.0 (recommended): follow the Installation section above, then walk through Quickstart (or the full Quickstart Guide) to update your imports / usage.
If you run into migration issues, please open an issue with your minimal repro and current version.
📄 Citation
If you use OpenJudge in your research, please cite:
@software{
title = {OpenJudge: A Unified Framework for Holistic Evaluation and Quality Rewards},
author = {The OpenJudge Team},
url = {https://github.com/modelscope/OpenJudge},
month = {07},
year = {2025}
}
Made with ❤️ by the OpenJudge Team
Project details
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 py_openjudge-0.2.0.tar.gz.
File metadata
- Download URL: py_openjudge-0.2.0.tar.gz
- Upload date:
- Size: 283.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b9a0fbdf7868f5f2aabf5e4e25b337bd920f0342dc2d911d873a4d5d22258b9
|
|
| MD5 |
f65710b90d5c4fd16a401b113dcdd15c
|
|
| BLAKE2b-256 |
c1a344a5a59c9bf2d955c0a50355050e1b90888ca428f68091ab8fd37629dbee
|
File details
Details for the file py_openjudge-0.2.0-py3-none-any.whl.
File metadata
- Download URL: py_openjudge-0.2.0-py3-none-any.whl
- Upload date:
- Size: 439.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcddfa88a0563bd146dd988c08dd9bd45a50af72ddf06dfd6ccd0da185ae78df
|
|
| MD5 |
358e868ffc508d342f4b05a53a5a736c
|
|
| BLAKE2b-256 |
10763342925f5774bdac6d48787a49e3317a924d6e100fa8acf0daf6a180da45
|