Target User & Problem
EvalForge is built for AI engineers who need fast, reproducible regression gates before shipping prompt, system-instruction, or model changes. Ad-hoc vibe checks miss subtle breakages—such as malformed JSON fields, ungrounded hallucinations, leaked PII, or latency/cost spikes—until they reach production.
Main Features & Deterministic Evaluation Engine
EvalForge compares Variant A (baseline) vs. Variant B (candidate) side-by-side across 4 deterministic dimensions:
- Strict JSON Schema & Type Conformance: Validates required keys, nested types, enum constraints, and malformed JSON payloads.
- Citation & Context Grounding: Checks claims and cited snippets against provided source passages to catch unsupported statements.
- Safety & Policy Guardrails: Scans outputs for sensitive PII leaks (email addresses, SSNs, Luhn-valid payment cards) and prompt-injection echo patterns.
- Latency & Token-Cost Efficiency: Scores response latency and token-cost budgets per test case, visualizing everything with SVG score breakdown & regression delta bars.
Representative Inputs & Outputs
- Inputs: Structured prompt/model output (Variant A & Variant B), source context passages, and a target JSON Schema.
- Outputs: Case-by-case pass/fail flip isolation (regressions vs. improvements), per-dimension score deltas, and exportable Markdown & JSON evaluation reports.
- Built-in Benchmark Presets: RAG Support Bot Regression, Structured Invoice Extractor, and Agentic Tool-Call Validator.
Tech Stack, OSS Credits & AI Disclosure
- Stack: TypeScript, React, Vite, Vitest, and open-source web standards (SVG visualizations).
- Architecture & AI Disclosure: 100% client-side deterministic evaluation engine running locally in the browser with zero paid external APIs or hidden cloud LLM calls. Development was assisted with Kiro CLI.
Known Limitation & Testing
- Honest Limitation: Offline lexical grounding cannot replace full semantic Natural Language Inference (NLI) for heavily paraphrased claims across source passages.
- Verification: Verified with 19/19 passing Vitest unit tests covering JSON Schema validation errors, PII leak detection (email/SSN/Luhn card), context grounding checks, and malformed input handling.
Built With
- ai
- react
- typescript
- vite
- vitest