Cursor pagination
an agent harness with tools and a workspace
Suite v5 (version 5.0) · 44 scored tasks · cut 2026-11-19· What changed
What it asks
This is Conduit, a RealWorld (realworld.how) monorepo: an Express API in apps/api, a React app in apps/web, and shared types and validation in packages/shared. Read README.md first.
Offset pagination is breaking down: when articles are published or deleted while someone is paging, they see duplicates or miss articles entirely. Migrate the article lists, the feed and comments to cursor pagination, without breaking existing clients.
API
- GET /api/articles (with any of its filters) and GET /api/articles/feed accept `cursor` alongside `limit`. Responses gain `nextCursor`: an opaque string for the next page, or null on the last page. `articlesCount` keeps meaning the total that matches the filters.
- Paging with cursors must never skip or repeat an article, even when articles are created, deleted or favorited between page requests. Order stays newest first.
- Cursors are opaque to clients and must not be forgeable into something else: a malformed or tampered cursor is a 422 with the usual error envelope ({ "errors": { "cursor": [...] } }).
- A cursor is only valid for the query that produced it. Using it with different filters (tag, author, favorited) or on a different endpoint is a 422.
- Sending both cursor and offset is a 422.
- Offset pagination keeps working exactly as before when no cursor is sent: apps/api/test/realworld.contract.test.ts must stay green and unmodified.
- GET /api/articles/:slug/comments gains the same cursor paging (`limit`, `cursor`, `nextCursor`), newest first. Without limit or cursor it returns every comment, as today.
Web app
- Replace numbered pagination with a "Load more" button on every article list (home tabs and profile tabs), driven by nextCursor. Loaded articles stay on screen; the button disappears on the last page.
- Comments on the article page load the same way.
Shared types must describe the new response fields. Add tests that prove the no-skip/no-duplicate guarantee under concurrent writes, the validation rules and the new web behavior, and keep every existing test passing. When you're done, summarize what you changed and anything you'd flag in code review. How it's scored
Test groups
- Cursor correctness
- Validation and safety
- Backward compatibility
- Web app
- Regression tests
- Existing tests still pass
- Contract suite untouched
Scored 55 tests in total, scaled to 10, by hidden tests.
Which checks trip models up
Share of the 52 setups’ newest counted runs that passed each check, hardest first. A part-credit check counts the share it earned.
Score spread
One dot per setup, at its mean score. Dots at the same score stack. Select a dot for its run.
Local Cloud
Show the scores as a table
Best performers
Each model's best setup (the one the leaderboard ranks it by, on its Overall score), ranked by score on this task, then time. Check squares are from the setup's newest counted run. Select a run ID to open that run.
| # | Maker | Model | Setup | Score | Cursor correctness | Validation and safety | Backward compatibility | Web app | Regression tests | Time | Tokens out | Cost |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | DeepSeek | deepseek-v4.1-flash | cloud pi openrouter | 10.0 | ✓ | ✓ | ✓ | ✓ | ✓ | 3m 11s | 43k | $0.035 |
| 2 | OpenAI | gpt-6.1-sol | cloud pi openrouter | 10.0 | ✓ | ✓ | ✓ | ✓ | ✓ | 4m 13s | 14k | $1.12 |
| 3 | Z.ai (OpenRouter) | glm-5.3-flash | cloud pi openrouter | 10.0 | ✓ | ✓ | ✓ | ✓ | ✓ | 4m 28s | 40k | $1.88 |
| 4 | OpenAI | gpt-6-luna | cloud pi openrouter | 10.0 | ✓ | ✓ | ✓ | ✓ | ✓ | 5m 36s | 22k | $0.026 |
| 5 | Qwen | qwen3.8-27b | cloud pi openrouter | 10.0 | ✓ | ✓ | ✓ | ✓ | ✓ | 6m 30s | 65k | $2.45 |
| 6 | Anthropic | claude-opus-5.5 | cloud pi openrouter | 10.0 | ✓ | ✓ | ✓ | ✓ | ✓ | 7m 04s | 43k | $2.67 |
| 7 | Moonshot AI | kimi-k2.6 | cloud pi openrouter | 10.0 | ✓ | ✓ | ✓ | ✓ | ✓ | 14m 27s | 60k | $4.17 |
| 8 | DeepSeek | deepseek-v4-flash | cloud pi openrouter | 10.0 | ✓ | ✓ | ✓ | ✓ | ✓ | 14m 27s | 92k | $0.263 |
| 9 | Qwen | qwen3.8-27b | local 4bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 8.2 | ✓ | ✓ | ✓ | ✕ | ✓ | 20m 01s | 41k | ≈$0.0037 |
| 10 | Qwen | qwen3.6-35b-a3b | local 6bit · reasoning off · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 7.8 | ✓ | ~ | ✓ | ✕ | ✓ | 11m 19s | 30k | ≈$0.0021 |
| 11 | Qwen | qwen3.6-35b-a3b | local 6bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 6.0 | ~ | ~ | ✓ | ✓ | ✕ | 20m 01s | 54k | ≈$0.0037 |
| 12 | Recursive | flint | local q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 4.7 | ~ | ✓ | ✓ | ✕ | ✕ | 20m 01s | 33k | ≈$0.0037 |
| 13 | Z.ai (Hugging Face) | glm-4.7-flash | local 6bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 2.7 | ~ | ~ | ~ | ✕ | ✕ | 20m 01s | 31k | ≈$0.0037 |
| 14 | Ornith AI | ornith-1.5-9b | local q4_k_m · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood) | 0.9 | ✕ | ~ | ~ | ✕ | ✕ | 20m 01s | 20k | ≈$0.0024 |
| 15 | Qwen | qwen3.5-9b | local 4bit · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood) | 0.4 | ✕ | ✕ | ✕ | ~ | ✕ | 20m 01s | 25k | ≈$0.0024 |
| 16 | gemma-4-26b-a4b | local quant not recorded · reasoning off · pi Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 0.8s | 0 | ≈<$0.0001 | |
| 17 | Qwen | qwen2.5-0.5b-instruct | local q8_0 · pi Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 1.7s | 37 | ≈<$0.0001 |
| 18 | NVIDIA | nemotron-3-nano-4b | local q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 5.8s | 161 | ≈<$0.0001 |
| 19 | OpenAI | gpt-oss-20b | local mxfp4 · reasoning high · pi Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 8.7s | 41 | ≈<$0.0001 |
| 20 | Anthropic | claude-sonnet-5.5 | cloud pi openrouter | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 9.0s | 0 | $0 |
| 21 | Allen Institute for AI | allenai/olmocr-2-7b | local q4_k_m · opencode Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 11s | 443 | ≈<$0.0001 |
| 22 | Liquid AI | lfm2-24b-a2b | local 6bit · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 11s | 787 | ≈<$0.0001 |
| 23 | OpenAI | gpt-oss-20b | local mxfp4 · reasoning low · opencode Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 19s | 291 | ≈<$0.0001 |
| 24 | OpenAI | gpt-oss-20b | local mxfp4 · reasoning medium · pi Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 21s | 620 | ≈<$0.0001 |
| 25 | Qwen | qwen3.8-27b | local q3_k_s · reasoning high · pi AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 3m 49s | 9.0k | ≈$0.0041 |
| 26 | Mistral AI | ministral-3-14b-reasoning | local quant not recorded · pi Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 7m 17s | 8.2k | ≈$0.00089 |
| 27 | Qwen | qwen3-coder-30b | local 4bit · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 12m 11s | 24k | ≈$0.0022 |
| 28 | Unknown | granite-4.2-3b | local q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 14m 21s | 20k | ≈$0.0026 |
| 29 | NVIDIA | nemotron-3-nano-omni | local q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 16m 21s | 34k | ≈$0.0030 |
| 30 | thinkingmachines | thinkingmachines/inkling-2-mini | local q4_k_m · reasoning high · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0×2 | ✕ | ✕ | ✕ | ✕ | ✕ | 16m 47s | 17k | ≈$0.0031 |
| 31 | Unknown | nvidia-nemotron-3.5-lightning-30b-a3b | local q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 00s | 28k | ≈$0.0037 |
| 32 | Prism ML | bonsai-27b | local 2bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 00s | 18k | ≈$0.0037 |
| 33 | Mistral AI | ministral-3-14b-reasoning | local q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 01s | 22k | ≈$0.0037 |
| 34 | gemma-4-e4b | local 4bit · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 01s | 3.8k | ≈$0.0024 | |
| 35 | gemma-4-31b | local 4bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 01s | 4.6k | ≈$0.0037 | |
| 36 | thinkingmachines | thinkingmachines/inkling-2-mini | local q4_k_m · reasoning low · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 01s | 19k | ≈$0.0037 |
| 37 | Allen Institute for AI | olmo-3-32b-think | local 4bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 01s | — | ≈$0.0037 |
| 38 | Poolside | laguna-xs-2.1 | local q4_k_m · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 01s | 5.9k | ≈$0.0024 |
| 39 | Ornith AI | ornith-1.5-35b-a3b | local q4_k_s · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 01s | 4.5k | ≈$0.0024 |
| 40 | Qwen | qwen3.5-9b | local 4bit · reasoning off · pi Apple M1 Pro, 32 GB (Ironwood) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 01s | 16k | ≈$0.0024 |
| 41 | Mistral AI | mistralai/devstral-small-2-2512 | local q4_k_m · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse) | 0.0 | ✕ | ✕ | ✕ | ✕ | ✕ | 20m 02s | 14k | ≈$0.0037 |
- DeepSeekcloud pi openrouterScore 10.0✓✓✓✓✓Time 3m 11sTokens out 43kCost $0.035
- OpenAIcloud pi openrouterScore 10.0✓✓✓✓✓Time 4m 13sTokens out 14kCost $1.12
- Z.ai (OpenRouter)cloud pi openrouterScore 10.0✓✓✓✓✓Time 4m 28sTokens out 40kCost $1.88
- OpenAIcloud pi openrouterScore 10.0✓✓✓✓✓Time 5m 36sTokens out 22kCost $0.026
- Qwencloud pi openrouterScore 10.0✓✓✓✓✓Time 6m 30sTokens out 65kCost $2.45
- Anthropiccloud pi openrouterScore 10.0✓✓✓✓✓Time 7m 04sTokens out 43kCost $2.67
- Moonshot AIcloud pi openrouterScore 10.0✓✓✓✓✓Time 14m 27sTokens out 60kCost $4.17
- DeepSeekcloud pi openrouterScore 10.0✓✓✓✓✓Time 14m 27sTokens out 92kCost $0.263
- Qwenlocal 4bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 8.2✓✓✓✕✓Time 20m 01sTokens out 41kCost ≈$0.0037
- Qwenlocal 6bit · reasoning off · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 7.8✓~✓✕✓Time 11m 19sTokens out 30kCost ≈$0.0021
- Qwenlocal 6bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 6.0~~✓✓✕Time 20m 01sTokens out 54kCost ≈$0.0037
- Recursivelocal q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 4.7~✓✓✕✕Time 20m 01sTokens out 33kCost ≈$0.0037
- Z.ai (Hugging Face)local 6bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 2.7~~~✕✕Time 20m 01sTokens out 31kCost ≈$0.0037
- Ornith AIlocal q4_k_m · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.9✕~~✕✕Time 20m 01sTokens out 20kCost ≈$0.0024
- Qwenlocal 4bit · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.4✕✕✕~✕Time 20m 01sTokens out 25kCost ≈$0.0024
- Googlelocal quant not recorded · reasoning off · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 0.8sTokens out 0Cost ≈<$0.0001
- Qwenlocal q8_0 · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 1.7sTokens out 37Cost ≈<$0.0001
- NVIDIAlocal q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 5.8sTokens out 161Cost ≈<$0.0001
- OpenAIlocal mxfp4 · reasoning high · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 8.7sTokens out 41Cost ≈<$0.0001
- Anthropiccloud pi openrouterScore 0.0✕✕✕✕✕Time 9.0sTokens out 0Cost $0
- Allen Institute for AIlocal q4_k_m · opencode Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 11sTokens out 443Cost ≈<$0.0001
- Liquid AIlocal 6bit · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 11sTokens out 787Cost ≈<$0.0001
- OpenAIlocal mxfp4 · reasoning low · opencode Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 19sTokens out 291Cost ≈<$0.0001
- OpenAIlocal mxfp4 · reasoning medium · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 21sTokens out 620Cost ≈<$0.0001
- Qwenlocal q3_k_s · reasoning high · pi AMD Ryzen 7 7700, NVIDIA RTX 5070 Ti 16 GB, 32 GB (Whitehall)Score 0.0✕✕✕✕✕Time 3m 49sTokens out 9.0kCost ≈$0.0041
- Mistral AIlocal quant not recorded · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 7m 17sTokens out 8.2kCost ≈$0.00089
- Qwenlocal 4bit · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 12m 11sTokens out 24kCost ≈$0.0022
- Unknownlocal q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 14m 21sTokens out 20kCost ≈$0.0026
- NVIDIAlocal q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 16m 21sTokens out 34kCost ≈$0.0030
- thinkingmachineslocal q4_k_m · reasoning high · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0×2 runs✕✕✕✕✕Time 16m 47sTokens out 17kCost ≈$0.0031
- Unknownlocal q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 20m 00sTokens out 28kCost ≈$0.0037
- Prism MLlocal 2bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 20m 00sTokens out 18kCost ≈$0.0037
- Mistral AIlocal q4_k_m · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 20m 01sTokens out 22kCost ≈$0.0037
- Googlelocal 4bit · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 20m 01sTokens out 3.8kCost ≈$0.0024
- Googlelocal 4bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 20m 01sTokens out 4.6kCost ≈$0.0037
- thinkingmachineslocal q4_k_m · reasoning low · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 20m 01sTokens out 19kCost ≈$0.0037
- Allen Institute for AIlocal 4bit · reasoning on · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 20m 01sTokens out —Cost ≈$0.0037
- Poolsidelocal q4_k_m · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 20m 01sTokens out 5.9kCost ≈$0.0024
- Ornith AIlocal q4_k_s · reasoning on · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 20m 01sTokens out 4.5kCost ≈$0.0024
- Qwenlocal 4bit · reasoning off · pi Apple M1 Pro, 32 GB (Ironwood)Score 0.0✕✕✕✕✕Time 20m 01sTokens out 16kCost ≈$0.0024
- Mistral AIlocal q4_k_m · pi Apple M5 Pro, 48 GB (Duskfall, Eclipse)Score 0.0✕✕✕✕✕Time 20m 02sTokens out 14kCost ≈$0.0037
Score against effort
Score against median time per run, log scale. Up and to the left is better. Each dot is a setup; the best setup of each model is named. Times and costs are from different machines and providers, so read them as each setup's own, not as a like-for-like speed test.
Local Cloud
Show the points as a table
Harness comparison
The same task through each agent harness this suite scores for it.
| Harness | Setups | Mean score | Best score | Median time |
|---|---|---|---|---|
| opencode | 6 | 2.7 | 10.0 | 13m 53s |
| pi | 46 | 2.6 | 10.0 | 14m 24s |
- opencodeSetups 6Mean score 2.7Best score 10.0Median time 13m 53s
- piSetups 46Mean score 2.6Best score 10.0Median time 14m 24s
Same setup, different harness
opencodepi
Show the scores as a table
| Setup | Harness scores |
|---|---|
| qwen3.8-27b (reasoning on) | opencode 0.0 · pi 8.2 |
| qwen3.6-35b-a3b (reasoning on) | opencode 6.0 · pi 6.0 |
| allenai/olmocr-2-7b | opencode 0.0 · pi 0.0 |
| thinkingmachines/inkling-2-mini (reasoning high) | opencode 0.0 · pi 0.0 |