Skip to content

autodev: partner-eval comparison - #1

Open
Cl3mi wants to merge 70 commits into
mainfrom
auto/web-rag
Open

autodev: partner-eval comparison#1
Cl3mi wants to merge 70 commits into
mainfrom
auto/web-rag

Conversation

@Cl3mi

@Cl3mi Cl3mi commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Autonomous implementation of docs/superpowers/plans/2026-07-23-partner-eval-comparison.md by the autodev worker on hetzner (container autodev-web-rag, branch auto/web-rag).

Commits land per plan-step. The two GPU/Ollama smoke-test steps (Task 17 Step 4, Task 19 Step 2) are tagged [manual] — the worker pauses and pages via ntfy (autodev-web-rag) instead of running them on the GPU-less box.

🤖 Generated with Claude Code

autodev worker and others added 30 commits July 24, 2026 10:27
Add passWithNoTests so `bun run test` exits 0 instead of vitest's
default exit-1 when no test files exist yet.
Code for this step (package.json, bun.lock, vitest.config.ts) was
already committed across Steps 1-4; nothing new to commit here.
Adds normalizeUrl, scoreRow, and summarizeRows pure functions reusing
metrics.ts, satisfying the previously-failing scoring.test.ts suite.
…2 Step 2)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Confirms the QuestionSet test fails with "cannot find module ./questions"
before the implementation is added.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Alias $env/dynamic/private to a process.env stub in vitest.config.ts so
tests for modules importing SvelteKit's private dynamic env can run
under vitest without the full sveltekit vite plugin (incompatible with
this environment's Node 18 runtime).
…p 2)

svelte-check reports 0 errors; remaining warnings are pre-existing in
settings/+page.svelte, unrelated to this file.
Computes retrieval metrics for a submitted answer and persists the row
to the SQLite collector store, keyed by session and system label.
Handler file and content were already committed in Step 1; this
step's git add/commit was a no-op since the working tree was clean.
…ep 1)

Replace GET /api/external/report to read rows from the SQLite collector
store and summarize via scoring.ts, instead of the old Postgres-backed
external storage module.
autodev worker and others added 30 commits July 24, 2026 13:09
…ep 3)

src/lib/server/db/client.ts pulls in $env/dynamic/private, which only
resolves inside the SvelteKit/Vite runtime. export-questions.ts runs
via plain `bun run` from repo root, so it now opens its own postgres
connection via getDatabaseUrl() instead. Verified with
`bun build eval-dist/scripts/export-questions.ts --target=node ...` -> OK.
Replaces the postgres+ollama+eval-server docker-compose.yml with a
single judge-free, postgres-free, ollama-free eval-server service
(Task 10 Step 1).
Compose stack now runs a single vendor eval-server service, so the
Ollama entrypoint script and old queries.sql seed are dead weight.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
…ec54e)

Steps 1-2 landed individually; Step 3 was just a checkbox flip.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Task 13 Step 4: write the aggregateJudged implementation per plan.
Judges both reports, aggregates, and persists the comparison via saveComparison.
Renders the compare page: file upload for two report JSONs, POST to
/api/compare, summary/failure-type tables, and a list of prior comparisons.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant