Observability framework for Verifiers RL training and evaluation
Project description
Verifiers Monitor
Real-time observability for RL training and evaluation
Running RL experiments without visibility into rollout quality, reward distributions, or failure modes wastes time. Monitor gives you live tracking, per-example inspection, and programmatic access—see what's happening during runs and debug what went wrong after.
Quick Start
import verifiers as vf
from verifiers_monitor import monitor
# One-line integration
env = monitor(vf.load_environment("gsm8k"))
results = env.evaluate(client, model="gpt-5-mini")
# Dashboard automatically launches at localhost:8080
⚠️ Training monitoring: Not yet supported (coming soon)
See scripts/01_monitor.py and scripts/02_access_data.py for examples.
Installation
pip install verifiers-monitor
What You Get
- Live progress tracking with WebSocket updates (know when long runs stall)
- Real-time reward charts showing trends as rollouts complete
- Per-example status: see which prompts pass, which fail, why
- Inspect failures: view full prompts, completions, and reward breakdowns
- Multi-rollout analysis: identify high-variance examples where model is inconsistent
- Reward attribution: see which reward functions contribute most to scores
- Session comparison: track metrics across training iterations or evaluation experiments
Dashboard
Launches automatically at http://localhost:8080. Shows success rates, response times, consistency metrics, and per-example breakdowns in real-time.
Programmatic Analysis
Access rollout data for custom analysis and debugging:
from verifiers_monitor import MonitorData
data = MonitorData()
# Find worst-performing examples to understand model weaknesses
session = data.get_latest_session(env_id="math-python")
worst = data.get_top_failures(session.session_id, n=10)
for ex in worst:
print(f"Example {ex.example_number}: avg={ex.mean_reward:.2f}, std={ex.std_reward:.2f}")
# Check if unstable (high variance across rollouts)
if ex.is_unstable(threshold=0.3):
print(f" ⚠️ Unstable: variance {ex.std_reward:.2f}")
# Get best/worst rollouts
best = ex.get_best_rollout()
print(f" Best: {best.reward:.2f}, Worst: {ex.get_worst_rollout().reward:.2f}")
# Inspect prompts and completions
failures = data.get_failed_examples(session.session_id, threshold=0.5)
for ex in failures[:5]:
rollout = ex.rollouts[0]
# Use convenience properties
print(f"Prompt: {rollout.prompt_messages[0]['content'][:50]}...")
if rollout.has_tool_calls:
print(" Contains tool calls")
# Export to pandas for custom analysis
df = data.to_dataframe(session.session_id)
variance_analysis = df.groupby('example_number')['reward'].std()
high_variance = variance_analysis[variance_analysis > 0.3]
print(f"Found {len(high_variance)} unstable examples")
Questions? Create an Issue or reach out on X
Happy building! 🚀
Project details
Release history Release notifications | RSS feed
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 verifiers_monitor-0.1.1.tar.gz.
File metadata
- Download URL: verifiers_monitor-0.1.1.tar.gz
- Upload date:
- Size: 456.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
febf2764e54259afa42438d23a4327565efc0f913e932f4d41cb8131c14287d2
|
|
| MD5 |
761f53592a1059d644fe2b65106f61b6
|
|
| BLAKE2b-256 |
c503d0cfcca2ea9088d357646229731c570e6079603babe5ee65ca951782ba6b
|
Provenance
The following attestation bundles were made for verifiers_monitor-0.1.1.tar.gz:
Publisher:
publish.yml on kaushikb11/verifiers-monitor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
verifiers_monitor-0.1.1.tar.gz -
Subject digest:
febf2764e54259afa42438d23a4327565efc0f913e932f4d41cb8131c14287d2 - Sigstore transparency entry: 584021602
- Sigstore integration time:
-
Permalink:
kaushikb11/verifiers-monitor@425219eddbe86a9ee89178d7b444957870097100 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kaushikb11
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@425219eddbe86a9ee89178d7b444957870097100 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file verifiers_monitor-0.1.1-py3-none-any.whl.
File metadata
- Download URL: verifiers_monitor-0.1.1-py3-none-any.whl
- Upload date:
- Size: 471.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18f116378ccfe3303d5d530737066ae6f4b9f0a1e3542ef3aef251297ae14d42
|
|
| MD5 |
2055b786f56718740b67d0d0738b297c
|
|
| BLAKE2b-256 |
6d74c1b6d995bf5fd9521afde281932e1070dcfb44642b728aa6ba5ef4d76e50
|
Provenance
The following attestation bundles were made for verifiers_monitor-0.1.1-py3-none-any.whl:
Publisher:
publish.yml on kaushikb11/verifiers-monitor
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
verifiers_monitor-0.1.1-py3-none-any.whl -
Subject digest:
18f116378ccfe3303d5d530737066ae6f4b9f0a1e3542ef3aef251297ae14d42 - Sigstore transparency entry: 584021603
- Sigstore integration time:
-
Permalink:
kaushikb11/verifiers-monitor@425219eddbe86a9ee89178d7b444957870097100 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kaushikb11
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@425219eddbe86a9ee89178d7b444957870097100 -
Trigger Event:
workflow_dispatch
-
Statement type: