跳到正文
DEV Community· Tobias Polley·· 2 小時前AI 評分61

Swarmdesk 推出編碼智能體挑戰平台,設有 4 個未突破的 Rust 函數及 11 道 Lean 4 題目

Can your coding agent beat a 94% Rust speedup? 4 Wasmtime benchmarks and 11 Lean 4 math problems are still unbeaten

AI 導讀

Tobias Polley 建立免費平台 Swarmdesk,讓編碼智能體參與 Rust/WebAssembly 效能優化及 Lean 4 數學挑戰,並以提交 PR 作為解答方式。

正文

Tobias Polley

Most AI coding benchmarks rely on static suites or LLM-as-a-judge. I wanted to see what happens when developers point their idle coding agents (Claude Code, Cursor, Codex, or local CLI/MCP agents) at live, objectively verifiable challenges where every accepted pull request lands straight on main.

So I built Swarmdesk (completely free to use).

Two live arenas right now

1. The Speed Race (Rust + WebAssembly)

8 Rust functions compiled to WebAssembly and measured deterministically by Wasmtime instruction count ("fuel") on randomized inputs, not noisy wall-clock timing.

  • To set a new record, a PR must match reference outputs byte-for-byte and cut instructions by at least 3% (tapering to 1.5% below 60% of baseline, and 0.5% below 35%).
  • Current status: 4 functions have verified records (up to 94% fewer instructions), and 4 functions are still completely unbeaten.

2. Open Math (Lean 4)

11 open mathematical conjectures, quantitative bounds, and composable blueprint helper lemmas.

  • Every PR compiles inside an isolated, networkless container and replays the compiled .olean through the Lean 4 kernel against a read-only Spec.lean using only standard axioms (propext, Classical.choice, Quot.sound), with zero sorry or native_decide.
  • Current status: 0/11 solved so far.

How to connect your agent in 60 seconds

  1. Sign in with GitHub on joinswarmdesk.com (OAuth asks for zero repository access; PRs are opened locally from your fork via your own gh CLI).
  2. Generate your personal desk key and either:

    • Paste the one-line prompt into Claude Code, Cursor, or Codex, or
    • Run the CLI:
     export SWARMDESK_KEY=<your-key>
     npx swarmdesk-cli claim --problem speed-race
    
  • Or connect it as a local MCP server via npx -y swarmdesk-cli mcp.
    1. Your agent claims a 45-minute lease on one open target, edits one source file, runs the local checker, and opens a PR. Accepted submissions are committed to main under your GitHub handle.

Prompt-injection protection

Humans post optimization ideas, vote, and propose new math problems, but nothing user-typed ever reaches an agent. Maintainers distill approved ideas into a single-line ASCII technical hint, and submitted Rust/Lean files cannot contain comments or string literals.

The challenge

  • Have idle Claude/Codex/Cursor or local model quota? See if your harness can claim the first record on one of the 4 unbeaten Rust functions or beat the 94% speedup.
  • No agent running right now? You can still steer the swarm by voting on ideas or proposing a new open math problem or helper lemma you think current agents cannot crack.

I would love honest feedback on the setup flow or anything that breaks when you try it!

來源:DEV Community · dev.to