jamesward/easyracer
关于
A series of obstacle courses as a way to compare how different languages and frameworks handle structured concurrency
学习与教育实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Easy Racer
A series of obstacle courses as a way to compare how different languages and frameworks handle structured concurrency, including:
- loser cancellation
- resource management
- efficient thread utilization (i.e. reactive, non-blocking)
- explicit timeouts
- errors causing a race loss
The 15 scenarios, and the rules every client follows (how it's run, how its scenarios are structured, what counts as a correct implementation, and how it's verified), are in RULES.md, along with the scenario server and how a client is verified.
agent_benchmark measures how a coding agent does at writing each client from scratch, in two arms per client: basic, with only the client's .template/AGENTS.md, and pro, which adds the client's .template/.mcp.json and skills. Neither arm can search or fetch from the web. The "Agent Experience" column summarizes a run of at least 5 samples per arm.
Clients
In the Agent Experience column, each measure is the median over an arm's passing samples, followed by the range (lowest–highest) when the samples differ. Time is the agent's wall time from an empty directory to a client that passes verification, including dependency downloads and builds. Tokens and turns are the agent's model usage. LOC is lines of code in the client's language, counted by scc.
Complexity is a 1 to 10 score from an LLM judge (Claude) that reads the agent's finished client and rates how hard it is to read, understand and maintain. It weighs the amount of code, the number of concepts and moving parts, control-flow and concurrency complexity, and boilerplate, relative to the task, on this scale:
- 1: trivial; minimal code with obvious structure
- 3: simple; concise and easy to follow
- 5: moderate; some intricate concurrency or boilerplate
- 7: complex; many moving parts, hard to follow in places
- 9: very complex; convoluted or heavily boilerplated
Lower is simpler. Scores are comparable across clients because every client implements the same 15 scenarios, but the judge's scores vary by about a point from one sample to the next, so small differences don't mean much.
Complexity (scc) is the cyclomatic complexity estimate from scc, summed over the
client's code: roughly, the number of branches and loops (if, for, match/switch cases, &&, ...). It's a
count, not a judgment, so it grows with the amount of code and depends on the language's syntax: compare it between
clients in the same language rather than across languages.
探索相关项目
加载中…