惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
博客园 - 司徒正美
A
About on SuperTechFans
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
爱范儿
爱范儿
I
InfoQ
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园_首页
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
F
Fortinet All Blogs
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
D
Docker
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
M
MIT News - Artificial intelligence
Jina AI
Jina AI
H
Help Net Security
量子位
IT之家
IT之家

Hacker News: Show HN

PurrrrrFocus: Pomodoro Timer App - App Store Workflow Engine — Multi-Step Orchestration for Bun RapidPhoto: Pro Photo Editor App - App Store GitHub - DheerG/swarms: Achieve extraordinary results with claude code across a variety of tasks SPICE simulation → oscilloscope → verification with Claude Code — Lucas Gerads Show HN: VCoding – A 5 MB native Windows IDE with no dynamic dependencies Show HN: LLMs don't hallucinate because they're bad at math, it's the format GitHub - Agent-FM/agentfm-core: AgentFM is a peer-to-peer network that turns everyday computers into a decentralized AI supercomputer. AgentFM lets you run massive AI workloads directly across a global mesh of idle CPUs and GPUs. Show HN: Tracking Top US Science Olympiad Alumni over Last 25 Years GitHub - Potarix/agent-hub: One place to talk to all your agents Show HN: Runtime security for AI agents(injection,tool abuse, data exfiltration) GitHub - dubeyKartikay/lazyspotify: Terminal Spotify client for macOS and Linux GitHub - the-banana-tool/king-louie: Easy to use GUI Personal AI Assistant. Win/Linux/Mac. Show HN I made my vacation rental bookable by AI agents–no Airbnb, 0% commission GitHub - basteez/jsf-autoreload: maven plugin to enable hot reload on jsf projects uvm32/hosts/host-gdbstub at main · ringtailsoftware/uvm32 GitHub - labsai/EDDI: Config-driven engine that turns JSON into production-grade AI agents. Multi-agent orchestration, 12+ LLM providers, MCP/A2A protocols, RAG, persistent memory, and enterprise compliance (EU AI Act, GDPR, HIPAA). Built on Quarkus. GitHub - glitchnsec/fortyone-oss: AI Executive Assistant Platform Quickstart | Alien GitHub - muxshed/shed: One stream in, or many. Every destination, simultaneously. No cloud middleman, no per-channel fees, no limits. GitHub - ocrbase-hq/ocrbase: 📄 PDF/IMG ->.MD/JSON Document OCR API for PaddleOCR and GLMOCR. Self-hostable. GitHub - impactjo/home-memory: MCP server that lets your AI assistant remember everything about your home. GitHub - Sets88/dbcls: DbCls is a powerful terminal database client that supports various databases GitHub - neptun2000/heor-agent-mcp GitHub - SeanFDZ/macmind: Single-layer transformer in HyperTalk for the classic Macintosh RollQuation: Math Puzzles - Apps on Google Play GitHub - dropbox/witchcraft Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis GitHub - opentalon/opentalon: OpenTalon is an open-source platform built from the ground up in Go as a robust alternative to OpenClaw LinkedIn™ 职位抓取工具 - Chrome 应用商店
GitHub - reviseio/errata-bench: A proofreading benchmark ...
artursapek · 2026-04-26 · via Hacker News: Show HN

ErrataBench

ErrataBench measures how well LLMs can proofread text.

The benchmark uses a simple agent loop that lets models find errors in various text samples, and fix them using tools. Each sample includes issues drawn from categories such as spelling, grammar, word choice, and typos. Error density is steady at about 5 issues per 1,000 words.

A public viewer for the latest run is hosted at https://revise.io/errata-bench.

The official result set included in this repo covers 51 model variants across 1600+ run samples. Instructions can be found below for running the benchmark yourself with an OpenRouter API key, or OpenAI-compatible API.

Results preview Scatterplot preview

Running the benchmark

The easiest way to run the benchmark is with an OpenRouter key. Configure your key in a .env file.

Then, you can run the benchmark with default settings:

npm install
npm run bench

Running the full benchmark with 3 samples per model per text costs about $550. You can perform a smaller or larger run using the command line flags:

Flags

The runner has several parameters you can provide, which all have defaults:

--group-id: default official-v1. String ID for the result group to which your results will be added. Use your own result group ID to start from scratch.

--samples: default 3. Number of times we run the benchmark for each model on each text.

--models: comma-separated list of models. By default we use the list in models/starter-models.json.

--chunk-size: default 2000. Word limit used when splitting up text from the dataset into chunks. Models work on text one chunk at a time. Reducing chunk size can yield better results, but at higher cost.

--max-turns-per-chunk: default 3. Number of passes the model gets on a chunk before we move to the next chunk. Models can advance early by calling the proofreading_complete tool. Like chunk size, increasing this can yield better results at a higher cost.

--concurrency: default 30. How many agent loops to run at a time.

With the default parameters, a model is proofreading ~2000 words at a time, containing ~10 errors.

Providing your own model endpoint

ErrataBench can run against any endpoint that exposes an OpenAI-compatible POST /chat/completions API with tool calling.

This is useful if you want to benchmark:

  • an unreleased internal model
  • a self-hosted model behind an OpenAI-compatible gateway
  • a provider other than OpenRouter

Configure the benchmark transport in .env:

cp .env.example .env

Set these values:

  • ERRATA_BENCH_API_PROVIDER=openai-compatible
  • ERRATA_BENCH_API_BASE_URL=https://your-endpoint.example/v1
  • ERRATA_BENCH_API_KEY=...

Optional but recommended:

  • ERRATA_BENCH_API_ENDPOINT_LABEL=my-lab This label is stored in run and results artifacts so results from different backends do not get mixed together.
  • ERRATA_BENCH_API_REASONING_MODE=omit Use this if your endpoint rejects the OpenRouter-style reasoning object. Leave it as passthrough if your endpoint accepts reasoning parameters.
  • ERRATA_BENCH_DEFAULT_JUDGE_MODEL=my-org/my-judge-model:none Set this if you want alternative-fix judging on your custom endpoint. Otherwise pass --no-judge.
  • ERRATA_BENCH_PRICING_FILE=/abs/path/to/pricing.json For non-OpenRouter endpoints, cost metrics are n/a unless you provide a pricing file.

Minimal example:

ERRATA_BENCH_API_PROVIDER=openai-compatible
ERRATA_BENCH_API_BASE_URL=https://your-endpoint.example/v1
ERRATA_BENCH_API_KEY=your-api-key
ERRATA_BENCH_API_ENDPOINT_LABEL=my-lab
ERRATA_BENCH_API_REASONING_MODE=omit
ERRATA_BENCH_DEFAULT_JUDGE_MODEL=my-org/my-judge-model:none

Then run the benchmark normally, but point --models and --judge-model at the model ids your endpoint expects:

npm run bench -- \
  --group-id my-endpoint-run \
  --dataset datasets/v1/generated \
  --runs 3 \
  --models my-org/my-model:none \
  --judge-model my-org/my-judge-model:none

Notes:

  • The harness appends /chat/completions automatically if your base URL does not already end with it.
  • Your endpoint must support tool calling. ErrataBench relies on find_and_replace, replace_paragraph, and proofreading_complete.
  • If you compare OpenRouter runs with custom-endpoint runs, keep ERRATA_BENCH_API_ENDPOINT_LABEL distinct so the artifacts stay separable.
  • OpenRouter pricing lookup only works when ERRATA_BENCH_API_PROVIDER=openrouter. For every other backend, use ERRATA_BENCH_PRICING_FILE if you want cost charts.
  • If your endpoint has a stricter completion-token cap than ErrataBench's default, override it with --max-completion-tokens-per-turn.
  • The built-in default judge model is OpenRouter-specific. On a custom endpoint, either set ERRATA_BENCH_DEFAULT_JUDGE_MODEL, pass --judge-model, or use --no-judge.

Viewing results

Results from the latest official run are hosted at https://revise.io/errata-bench.

The repo also contains a CLI for viewing results which you can use for the official result set, or your own.

npm run view:rankings my-result-group
npm run view:scatterplot my-result-group

Implementation

Each source text is split into word-limited chunks. The model edits one chunk at a time using three tools:

  • find_and_replace(paragraphId, find, replace) for small local fixes
  • replace_paragraph(paragraphId, newParagraphHtml) for broader paragraph rewrites
  • proofreading_complete(note) to end the current chunk early when it looks done

The model sees HTML paragraphs like:

<p id="A1b2C3">...</p>
<p id="D4e5F6">...</p>

Each dataset case contains a known list of benchmark issues with an expected bad span and canonical fix. Scoring happens issue by issue:

  • if the final text contains the expected fix and no longer contains the bad text, the issue is counted as fixed
  • if the bad text is gone but the model used a different replacement, the fallback judge decides whether that alternative repair is still valid
  • if the model changed the bad text but the repair is still not valid, it counts as a bad fix
  • if the bad text remains, it counts as not addressed

The headline quality score is the share of benchmark issues that end up fixed after that process. Results views then aggregate those per-run scores across datasets, along with cost, speed, tool-use efficiency, and run-to-run range.

Source Credits

The v1 dataset for this benchmark is composed of excerpts from the following sources:

Adding datasets

To generate a new benchmark case from a clean source text:

npm run generate:corrupted -- \
  --source datasets/v1/sources/my-source.txt \
  --issues-per-1000-words 5 \
  --max-words-per-chunk 500 \
  --model google/gemini-3.1-pro-preview:medium \
  --review-model anthropic/claude-opus-4.6:low

This writes a corrupted text file and a matching dataset JSON into datasets/v1/generated/. If you want the corruptor to favor underrepresented issue categories, add --dataset-to-balance datasets/v1/generated.