How janardhans56/waths works
Waths Arena is a browser-based LLM evaluation workbench. In dialogue mode, an operator starts a topic-based match; the client alternates model turns, presents outputs for human scoring, and ends on round limits or mathematical concession. Roleplay adds persona and scene setup through an Arena Master briefing before turns begin. Settings customize model parameters and persist locally. The graph separates these product stages and the Flask/model-call layer; provider links and capabilities not visible in sampled calls are attributed to the README rather than inferred from filenames.
Main entry points: app.js Dialogue Match UI · roleplay.js Roleplay Match UI · settings.js Model Settings · server.py Model Runners
Components 14
Dialogue Arena
- Dialogue Match UI
static/app.js - Human Scoring
static/app.js
Roleplay Arena
- Roleplay Match UI
static/roleplay.js - Persona Briefing
static/roleplay.js
Arena Engine
- Flask API
server.py - Bot Turn Handler
server.py - Model Runners
server.py - Arena Master
server.py
Runtime Settings
- Model Settings
static/settings.js - Local Settings
Other components
- Operator
- NVIDIA NIM
- OpenRouter
- Groq
Connections 14
- Operator → Dialogue Match UI: starts match
README.md - Operator → Roleplay Match UI: sets personas
README.md - Dialogue Match UI → Human Scoring: requests ratings
static/app.js - Dialogue Match UI → Bot Turn Handler: requests turns
static/app.js - Roleplay Match UI → Persona Briefing: requests brief
static/roleplay.js - Persona Briefing → Arena Master: requests briefing
static/roleplay.js - Roleplay Match UI → Bot Turn Handler: requests turns
static/roleplay.js - Bot Turn Handler → Model Runners: dispatches to
server.py - Model Runners → NVIDIA NIM: calls model
README.md - Model Runners → OpenRouter: calls model
README.md - Arena Master → Groq: generates brief
README.md - Model Settings → Local Settings: reads and writes
static/settings.js - Model Settings → Dialogue Match UI: announces updates
static/app.js - Model Settings → Roleplay Match UI: announces updates