Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
MarkTechPost · 2026/8/1 09:52:49

Supabase Releases Evals: an Open Source Benchmark That Scores Claude Code, Codex and OpenCode on Real Supabase Tasks

AI 中文解读
Supabase这家数据库公司开源了一套名为Evals的AI测试工具,专门用来检验AI编程助手的真实水平。它让Claude Code、Codex等AI去完成搭建数据库、修复安全漏洞这类实际开发任务,然后打分排名,相当于给AI程序员办了一场公开的“职业能力考试”。以前测试AI只会做选择题,现在直接上手干活,考完还能看到公开的成绩单。这套工具把任务分成三大维度,覆盖数据库、登录认证、存储等常见场景,每个任务都在真实环境中运行,AI写错一条安全规则就算失分,还会被记录在案。对普通用户来说,这意味着市面上用Supabase开发的应用质量会更有保障,因为每个AI生成的代码都要过这一关;对开发者而言,以后选AI编程助手可以看排行榜,不用再盲猜谁更靠谱。更关键的是,这种“边做边考”的方式会倒逼AI厂商优化模型,最终让普通人用上的AI工具更可靠、更安全。
Supabase has open sourced Supabase Evals, its benchmark and framework for testing how well AI agents build using Supabase. It runs coding agents including Claude Code, Codex, and OpenCode against real tasks, such as building a schema, debugging a failed Edge Function, or fixing a broken RLS policy, then scores the result. It powers the public leaderboard at supabase.com/evals and an internal regression suite monitored daily. Is it deployable? Yes, today. supabase/evals is public under Apache-2.0 and runs locally via pnpm. Industries: Developer tooling, cloud infrastructure, data platforms, and regulated backends in fintech or healthcare, where an agent writing a wrong RLS policy is a security incident. Applications: Regression-testing docs and skill edits, gating SDK releases, and comparing agent harnesses head to head. Constraints: Local-stack runs need a Docker daemon, provider API keys, and ports 54321–54329 free. How the harness works Supabase defined three dimensions: products (database, auth, storage, edge-functions, realtime, cron, queues, vectors, data-api), topics (RLS, security, migrations, SQL, SDK, observability, self-hosting, tests, declarative-schema), and stages (build, deploy, investigate, resolve). It then picked the smallest scenario set touching each dimension once, grounded in support tickets, bug reports, and GitHub issues. Scenarios split into two suites. Benchmark scenarios cover breadth and are published. Regression scenarios cover known failure modes, refresh daily, and do not move published scores. Every scenario runs against a real environment. The framework boots a hosted-like stack and a local CLI project in containers, so agents call the actual MCP server and CLI. A platform-lite runtime exposes a Management API-compatible surface backed by @supabase/lite. Scoring combines deterministic checks with LLM-as-a-judge. Agents get one retry before grading. Each eval directory holds PROMPT.md (task plus frontmatter), EVAL.ts (the scorer), and optional remote/ and local/ starting states. Shipping a local/ workspace, or declaring interface: cli, boots a Docker sandbox with the real CLI installed. Run the pipeline</button> </div> <!-- ANATOMY --> <div class="pane" id="p2"> <div class="hint">Every eval lives at <b>evals/<id>/</b>. Click a file to see what it holds.</div> <div class="tree" id="tree"></div> <div class="detail" id="det2"></div> </div> <!-- RUNTIMES --> <div class="pane" id="p3"> <div class="hint">The harness picks a runtime <b>automatically</b>, per eval. Toggle to compare.</div> <div class="tog"> <button class="tg on" data-r="0">Tools evals</button> <button class="tg" data-r="1">Local-stack evals</button> </div> <div class="lanes" id="lanes"></div> <div class="note" id="rnote"></div> </div> <!-- FINDINGS --> <div class="pane" id="p4"> <div class="hint">Published <b>Build stage</b> pass rates. Toggle the Supabase agent skill on and off.</div> <div class="tog"> <button class="tg" data-s="0">No skill loaded</button> <button class="tg on" data-s="1">Skill loaded</button> </div> <div class="rows" id="rows"></div> <div class="note"> <b>Also measured:</b> Codex / GPT-5.6 reads about 8 docs pages per scenario, versus roughly 2 for Claude Code, which checks the docs in under 40% of scenarios even with skills loaded. Rewriting the Postgres best-practices skill description lifted its activation from about 1 in 10 sessions to 60%.<br><br> Figures are a snapshot from Supabase's launch post (31 Jul 2026). Results move as models change — check the live page. </div> </div> <div class="ft"> <span>Source: <a href="https://supabase.com/blog/introducing-supabase-evals" target="_blank" rel="noopener">Supabase blog</a> · <a href="https://github.com/supabase/evals" target="_blank" rel="noopener">supabase/evals</a> · Apache-2.0</span> <span><b>Marktechpost</b></span> </div> </div> <script> var STAGES=[ {i:"",l:"Sc
分享
阅读原文