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.0.tar.gz (454.8 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.0-py3-none-any.whl (471.2 kB view details)

Uploaded Python 3

File details

Details for the file verifiers_monitor-0.1.0.tar.gz.

File metadata

  • Download URL: verifiers_monitor-0.1.0.tar.gz
  • Upload date:
  • Size: 454.8 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.0.tar.gz
Algorithm Hash digest
SHA256 8d9f7adadd4f773e3b82001ce00e9d54aa53e3a929e62d49e926a19f03c4bb4f
MD5 bf42cab822a52fcb029db44479b04800
BLAKE2b-256 c5eb1f8fea83200d9a1b886a89d6fabe19cd685a905060348e160738b663bbae

See more details on using hashes here.

Provenance

The following attestation bundles were made for verifiers_monitor-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for verifiers_monitor-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 82b0a433629e91680f9ae28994814256ffa86f190dfb26cc08b9ab88e32adf1f
MD5 2f7bc5176278b49b254f18fc6917a744
BLAKE2b-256 e23e7f6cc22a866cb4f8f75dc718fa11e57f0ae13757a3dd00a8ca8c2b9f25ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for verifiers_monitor-0.1.0-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