Skip to main content

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.

Dashboard

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

verifiers_monitor-0.1.1.tar.gz (456.6 kB view details)

Uploaded Source

Built Distribution

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

verifiers_monitor-0.1.1-py3-none-any.whl (471.3 kB view details)

Uploaded Python 3

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

Hashes for verifiers_monitor-0.1.1.tar.gz
Algorithm Hash digest
SHA256 febf2764e54259afa42438d23a4327565efc0f913e932f4d41cb8131c14287d2
MD5 761f53592a1059d644fe2b65106f61b6
BLAKE2b-256 c503d0cfcca2ea9088d357646229731c570e6079603babe5ee65ca951782ba6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for verifiers_monitor-0.1.1.tar.gz:

Publisher: publish.yml on kaushikb11/verifiers-monitor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file verifiers_monitor-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for verifiers_monitor-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18f116378ccfe3303d5d530737066ae6f4b9f0a1e3542ef3aef251297ae14d42
MD5 2055b786f56718740b67d0d0738b297c
BLAKE2b-256 6d74c1b6d995bf5fd9521afde281932e1070dcfb44642b728aa6ba5ef4d76e50

See more details on using hashes here.

Provenance

The following attestation bundles were made for verifiers_monitor-0.1.1-py3-none-any.whl:

Publisher: publish.yml on kaushikb11/verifiers-monitor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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