5bf6013460
Progressive lesson streaming via onSegment callback (fixes SSE for non-English users — locale was shadowed in lesson-reader useEffect). Adds: BullMQ workers, Redis stream buffer, token budget enforcement, Langfuse tracing, golden-eval runner, Playwright e2e scaffolding, lesson depth/locale/preferences schema, mastery map UI, admin panel (blueprints/users/reports/quality/misconceptions), image queries, source citations, view transitions, reading animations, i18n (next-intl), PDF export, surprise endpoint, and 402 passing unit tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
376 B
SQL
13 lines
376 B
SQL
CREATE TABLE "eval_run" (
|
|
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
|
|
"suite" varchar(50) NOT NULL,
|
|
"false_fail_rate" real,
|
|
"accuracy" real,
|
|
"total" integer NOT NULL,
|
|
"passed" integer DEFAULT 0 NOT NULL,
|
|
"model_version" text NOT NULL,
|
|
"prompt_version" integer DEFAULT 0 NOT NULL,
|
|
"git_sha" varchar(40),
|
|
"created_at" timestamp DEFAULT now() NOT NULL
|
|
);
|