How abhiramarise/voice-agent-regression-lab works
This is a deterministic voice-agent evaluation and regression platform, not a live calling system. Users load scenarios and baseline/candidate configurations, run matched simulations, evaluate trajectory evidence and resource metrics, apply promotion policy, then inspect JSON/terminal reports or serve a dashboard snapshot. The graph preserves the documented domain stages and provider/tool boundaries. Some orchestration, regression, server, and artifact details are represented from the README architecture because those implementations were not excerpted.
Main entry points: runner.py Paired Runner · cli.py CLI · simulation.py Conversation Simulator · evaluator.py Trial Evaluator
Components 20
Evaluation Inputs
- CLI
backend/voice_agent_eval/cli.py - Scenarios
scenarios - Configurations
configs - Scenario Registry
backend/voice_agent_eval/registry.py - Domain Contracts
backend/voice_agent_eval/models.py
Simulation Runtime
- Paired Runner
backend/voice_agent_eval/runner.py - Conversation Simulator
backend/voice_agent_eval/simulation.py - Fake Agent
backend/voice_agent_eval/providers/fake_agent.py - Virtual Voice Clock
backend/voice_agent_eval/providers/simulated_voice.py - Provider Interfaces
backend/voice_agent_eval/providers/interfaces.py - Appointment Tool World
backend/voice_agent_eval/tools.py
Assessment & Gate
- Trial Evaluator
backend/voice_agent_eval/evaluation/evaluator.py - Evidence Checks
backend/voice_agent_eval/evaluation/checks.py - Metric Accounting
backend/voice_agent_eval/evaluation/metrics.py - Regression Gate
backend/voice_agent_eval/regression.py
Reports & Viewer
- Report Artifacts
backend/voice_agent_eval/artifacts.py - Terminal Report
backend/voice_agent_eval/report.py - Report Server
backend/voice_agent_eval/server.py - Dashboard
frontend/app.js
Other components
- Engineer
Connections 24
- Engineer → CLI: runs
README.md - CLI → Scenario Registry: loads inputs
backend/voice_agent_eval/cli.py - Scenarios → Scenario Registry: scenario data
README.md - Configurations → Scenario Registry: configuration data
README.md - Scenario Registry → Paired Runner: supplies inputs
README.md - CLI → Paired Runner: starts evaluation
backend/voice_agent_eval/cli.py - Paired Runner → Conversation Simulator: runs paired trials
README.md - Conversation Simulator → Fake Agent: requests actions
backend/voice_agent_eval/simulation.py - Conversation Simulator → Virtual Voice Clock: times events
backend/voice_agent_eval/simulation.py - Conversation Simulator → Appointment Tool World: executes tool calls
backend/voice_agent_eval/simulation.py - Fake Agent → Provider Interfaces: implements contract
backend/voice_agent_eval/providers/fake_agent.py - Virtual Voice Clock → Provider Interfaces: implements contract
backend/voice_agent_eval/providers/simulated_voice.py - Conversation Simulator → Trial Evaluator: produces trajectories
README.md - Paired Runner → Trial Evaluator: evaluates trials
README.md - Trial Evaluator → Evidence Checks: scores evidence
backend/voice_agent_eval/evaluation/evaluator.py - Trial Evaluator → Metric Accounting: accounts resources
backend/voice_agent_eval/evaluation/evaluator.py - Paired Runner → Regression Gate: applies promotion rules
README.md - Paired Runner → Report Artifacts: writes JSON report
README.md - Paired Runner → Terminal Report: formats comparison
README.md - CLI → Report Artifacts: writes report
backend/voice_agent_eval/cli.py - CLI → Terminal Report: prints report
backend/voice_agent_eval/cli.py - CLI → Report Server: starts viewer
backend/voice_agent_eval/cli.py - Report Server → Report Artifacts: loads snapshot
README.md - Report Server → Dashboard: serves assets
README.md