AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證AmitKulkarni23/Routerlens
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Per-provider quality monitoring for OpenRouter.
OpenRouter is a router: the same model ID (meta-llama/llama-3.3-70b-instruct, ...) is forwarded to different hosting providers — Groq, DeepInfra, Novita, Together, Fireworks — each of which may serve a different quantization. So "the same model" varies in quality depending on who you get routed to. OpenRouter routes on price, speed, and uptime — not output quality — because nobody measures per-provider quality.
Routerlens measures it.檢視完整 README ↗Per-provider quality monitoring for OpenRouter.
OpenRouter is a router: the same model ID (meta-llama/llama-3.3-70b-instruct, ...) is forwarded to different hosting providers — Groq, DeepInfra, Novita, Together, Fireworks — each of which may serve a different quantization. So "the same model" varies in quality depending on who you get routed to. OpenRouter routes on price, speed, and uptime — not output quality — because nobody measures per-provider quality.
Routerlens measures it.
data/question_bank.json) and fans out work items: item × provider × repeat (80 items × 4 providers × 3 repeats = 960 calls). Each call pins the model to one provider with fallbacks disabled.The code is deliberately simple. A strong engineer can clone it in an afternoon. They cannot clone weeks of accumulated measurement history. The time series is the product.
Raw benchmark items measure the model, not the provider. Routerlens calibrates:
| Layer | Tech |
|---|---|
| Prober | Rust (tokio, reqwest, serde, clap, sqlx) |
| Database | Supabase (Postgres) |
| Frontend | React + Vite + Material UI |
| Cron | GitHub Actions, daily |
| Hosting | Vercel (frontend), Supabase (data) |
Prerequisites: Rust stable, Bun (or Node 20+), a Supabase project, an OpenRouter API key.
# 1. Configure secrets — NEVER commit these
cp .env.example .env
# fill in OPENROUTER_API_KEY and DATABASE_URL
# 2. Apply DB migrations
# (see infrastructure/ for SQL; apply via supabase CLI or the SQL editor)
# 3. Run the prober
cd backend
cargo run -p probe -- --bank ../data/question_bank.json
# 4. Run the dashboard
cd frontend
bun install && vercel dev
The browser never talks to Supabase. The SPA fetches JSON from Vercel serverless functions (frontend/api/*), which query Supabase server-side with the anon key (SUPABASE_URL / SUPABASE_ANON_KEY env vars). RLS restricts the anon role to read-only SELECT on aggregate views as defense in depth. The service-role key and OpenRouter key exist only in .env locally and in GitHub Actions secrets in CI. Local dev: vercel dev runs the SPA and the API functions together.
.env is gitignored. .env.example documents required variables with placeholder values.OPENROUTER_API_KEY, DATABASE_URL — set in GitHub repository settings, never in code..env — it is never embedded in the browser bundle or committed.docs/system-specs/ — architecturedocs/task-specs/ — implementable task breakdowndocs/roadmap.md — where this goes next