id stringclasses 10
values | title stringclasses 10
values | repo stringclasses 10
values | upstream stringclasses 10
values | pr stringclasses 10
values | language stringclasses 5
values | kind stringclasses 2
values | fix_date timestamp[s]date 2026-09-24 00:00:00 2026-11-22 00:00:00 | start_commit stringclasses 10
values | fix_commit stringclasses 10
values | solved int64 2 15 | n int64 18 18 | tier stringclasses 3
values | license stringclasses 6
values | image stringclasses 10
values | behavior stringclasses 10
values | instruction stringclasses 10
values | path stringclasses 10
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
pydantic--inherited-alias-config | Subclasses lose derived alias settings | pydantic | pydantic/pydantic | 13825 | Python | bug-fix | 2026-09-25T00:00:00 | 0384c970e37a59b344e75161eb106ea9996378ba | dae3788547fa8c7c3c78d28d284d3f669ad8c1d3 | 15 | 18 | easy | MIT | ghcr.io/relai-ai/mergeready-bench:pydantic--inherited-alias-config@sha256:20ce2caab8766fd52d7aa8126c2843a63c18c3a396b0faff0d9b244a8e3423f8 | Alias settings Pydantic derives from a declared configuration (`validate_by_name`/`validate_by_alias` from `populate_by_name`, or `validate_by_name` from `validate_by_alias=False`) are applied but not stored: `model_config` holds only the declared (merged) settings, so a subclass validates like a standalone model with ... | # Derived alias config is stored in model_config and inherited as if declared
### Description
Two models that declare the same configuration and the same field validate differently, depending on what an unrelated base class declared.
```
Parent.model_config : {'populate_by_name': True, 'validate_by_alias': True,... | tasks/pydantic--inherited-alias-config |
bat--first-run-cache-build | Build the theme and syntax cache on first run | bat | sharkdp/bat | 4038 | Rust | feature | 2026-11-15T00:00:00 | 46eacfbbb8f628dddf7b8522b97b32b9a080a16c | 764f88a9a951508a582fc1ff892ddd4cabbd0f25 | 14 | 18 | easy | MIT OR Apache-2.0 | ghcr.io/relai-ai/mergeready-bench:bat--first-run-cache-build@sha256:91bebdd43ab3d81742ddaee6cd93b982f5a95b62e4f42ac36ae9b6073c1a5c86 | When custom themes or syntaxes are present (also in subfolders) and no cache exists, bat builds the cache on its first run, without adding anything to its normal stdout output. | # Build cache on first run of `bat`
On new system, the themes are not found by default. `bat` has to index them manually by building the cache with `bat cache --build`
That is annoying, since it is a step that has to be repeated every time I install my dotfiles somewhere.
What I am locking for is behavior akin to `t... | tasks/bat--first-run-cache-build |
ripgrep--negated-cwd-dir-glob | Exclude a directory while searching from inside it | ripgrep | BurntSushi/ripgrep | 3616 | Rust | bug-fix | 2026-11-20T00:00:00 | 43fc97d43a4c61d65e7d74d4110c8480fe42ea5b | e8b49b6758d49d67428d3510e3fc4270515f2b11 | 14 | 18 | easy | MIT OR Unlicense | ghcr.io/relai-ai/mergeready-bench:ripgrep--negated-cwd-dir-glob@sha256:e7ea2edcda0b88eb3f0b7f98e7e9c5c9062cc19d543915b1e64a16f00326dda6 | An exclusion glob such as -g '!DIR/' excludes DIR even when ripgrep runs from inside DIR, and anchored globs keep their meaning. | # Issue with -g "!dirname/" when the CWD is "dirname"
#### What version of ripgrep are you using?
```
ripgrep 12.1.1 (rev 7cb211378a)
-SIMD -AVX (compiled)
+SIMD +AVX (runtime)
```
#### How did you install ripgrep?
`sudo dpkg -i ripgrep_12*.deb `
#### What operating system are you using ripgrep on?
`Ubuntu 19.10`... | tasks/ripgrep--negated-cwd-dir-glob |
starlette--redirect-host-confusion | `//` paths redirect to another host | starlette | Kludex/starlette | 3671 | Python | bug-fix | 2026-10-17T00:00:00 | 7b2948fe7b7fff28bb018607d54cd4dfa518910e | 3214cd069e1b3c11628d172df387ded973934db2 | 12 | 18 | medium | BSD-3-Clause | ghcr.io/relai-ai/mergeready-bench:starlette--redirect-host-confusion@sha256:94fa00efdeba7853102aa345e5647f522837da4fee462491fcba41b3ef07d084 | When an HTTP scope carries neither a `Host` header nor a `server` entry, a path that starts with `//` no longer becomes the authority of `Request.url`: its netloc stays empty, and a `RedirectResponse` to that URL sends a browser back to the same origin, path and query instead of to the host named in the path. | # Request.url turns a // path into an authority when the scope has no host
When a request scope has neither a `Host` header nor a `server` entry, `Request.url` places `scope["path"]` directly after the scheme, so a path that starts with `//` is parsed as an authority. A response built from that URL then emits a scheme... | tasks/starlette--redirect-host-confusion |
jackson-databind--enummap-merge | Merge JSON into an existing EnumMap | jackson-databind | FasterXML/jackson-databind | 6473 | Java | bug-fix | 2026-11-22T00:00:00 | 66ade176743438d3b8247348465aa31eb95e24f7 | 949188f567b60b88851f4898eeb9bc82d098cfbe | 11 | 18 | medium | Apache-2.0 | ghcr.io/relai-ai/mergeready-bench:jackson-databind--enummap-merge@sha256:973412c54560a9c228ba38a6b4454243ec1730de2fe659e237b201d8f92a6d1b | Updating an object whose @JsonMerge EnumMap already holds values merges incoming JSON into those values, as for other Maps, while plain reads keep their existing duplicate-key behavior. | # `@JsonMerge` does not work properly for `EnumMap`
### Describe the bug
If I'm trying to do a recursive merge-deserialization of a non-constructable JavaBean, this causes deserialization to fail:
```
Cannot construct instance of `XXX.Channel` (no Creators, like default constructor, exist): cannot deserialize from O... | tasks/jackson-databind--enummap-merge |
vite--watcher-after-close | A closed dev server keeps Node running | vite | vitejs/vite | 23572 | TypeScript | bug-fix | 2026-09-24T00:00:00 | e5d9af29a3571f388c4bc2a8d4c3387e46ff1da0 | 6f831f9b58ebda77638b514042ad8d160edfb928 | 10 | 18 | medium | MIT | ghcr.io/relai-ai/mergeready-bench:vite--watcher-after-close@sha256:013aa0b7fdfe1e05bb55ef15cc43744fa9c07af676f35c18362f6769b5f41970 | Once the dev server is closed, late watch-file additions from plugins, including files outside the root transformed during close, do not keep the Node.js process alive. | Vite can hang the node.js process if server is closed during file transform.
If `addWatchFile()` is called by a Vite plugin after the server is closed, the watcher will be set, preventing Node.js process from exiting.
For example, if vite:css was in the middle of transforming a file when the server is closed, vite:cs... | tasks/vite--watcher-after-close |
sqlglot--partition-by-comment | Comments inside GROUP BY or PARTITION BY break parsing | sqlglot | tobymao/sqlglot | 9004 | Python | bug-fix | 2026-11-14T00:00:00 | b476d29f42eeabfd0c8a150b9239a344b02e68dd | b294f7fa89c8a6f59d0c1c963777202d9ef59549 | 7 | 18 | medium | MIT | ghcr.io/relai-ai/mergeready-bench:sqlglot--partition-by-comment@sha256:2341f6d3eb48835b3eb34a7909ea15fc33a1ce18a4ea8aabe741d0b47c278508 | A comment between the words of GROUP BY, ORDER BY or PARTITION BY no longer breaks parsing: the query parses as it does without the comment, in the postgres and the default dialect, and the comment is kept in the generated SQL. | # A comment between the words of GROUP BY, ORDER BY or PARTITION BY breaks parsing
**Before you file an issue**
- Read dialect: `postgres` (the same happens in the default dialect)
- Write dialect: `postgres`
- The issue still exists on main (466a644)
**Fully reproducible code snippet**
```python
import sqlglot
for... | tasks/sqlglot--partition-by-comment |
vue--ssr-async-setup-errors | SSR swallows errors from async setup | vue | vuejs/core | 15857 | TypeScript | bug-fix | 2026-10-13T00:00:00 | 8e8c54756f057a47d46ad4bfe32cf1409476ed3c | 693037486f38b3d3acf4cdf7b9850917c44cf9cb | 6 | 18 | medium | MIT | ghcr.io/relai-ai/mergeready-bench:vue--ssr-async-setup-errors@sha256:45d21e88913d6817f0fdf342f8bc2924474c6a68e8ccdc7fb764a8d37a6164fe | During server-side rendering, an error thrown in a component's async setup() that no error handler captures makes renderToString reject with that error (and the Node stream renderers fail with it), instead of being swallowed and the component rendered; errors from onServerPrefetch hooks are still reported and the rende... | Errors thrown in async setup are caught silently during SSR
### Vue version
3.5.43
### Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-kyxtdywv?file=main.js
### Steps to reproduce
Open the reproduction link, which performs the following steps:
1. Throws an error from a component's async setu... | tasks/vue--ssr-async-setup-errors |
fzf--escape-sequence-parsing | Unknown escape sequences break key input | fzf | junegunn/fzf | 4926 | Go | bug-fix | 2026-10-08T00:00:00 | b1be3a8be1b833ce5b92fbbac11637643d60a046 | 33a3456921a17c53f42f8610783b6d379d652d3e | 6 | 18 | medium | MIT | ghcr.io/relai-ai/mergeready-bench:fzf--escape-sequence-parsing@sha256:37300374872c2d8080d330231658e2cdb1cc192ede7cc1505cf9ec60b1d50141 | The terminal key reader ignores escape sequences it does not recognize as a whole (CSI and SS3 to the final byte, OSC, DCS and APC to their terminator), reports recognized keys when more input follows in the same read without losing that input, reads ALT-[ or ALT-O followed by non-sequence bytes as those keys, and repo... | # Escape sequences fzf does not recognize are typed into the query, and keys that arrive with a sequence are lost
fzf 0.74.4 on Linux.
## Sequences fzf does not recognize end up in the query
- My terminal sends CTRL-A as `\e[97;5u`. Pressing CTRL-A in fzf types `97;5u` into the query.
- CTRL-F sent as `\e[70;5u` mov... | tasks/fzf--escape-sequence-parsing |
black--line-ranges-outside-range | `--line-ranges` formats lines outside the range | black | psf/black | 5436 | Python | bug-fix | 2026-10-05T00:00:00 | 97fb59f06a076fa34c68b2922b4d3da583adfa90 | 6e940882526b846e4487c5760f0127739abf9902 | 2 | 18 | hard | MIT (PSF-2.0 for vendored blib2to3) | ghcr.io/relai-ai/mergeready-bench:black--line-ranges-outside-range@sha256:f6c8c403989048d2db166526f45f2e73d5e51aebd8eb753f187fb42c35b35272 | With `--line-ranges`, only the selected lines (and the multi-line statements they belong to) are formatted: the statements after a multi-line statement that formatting joins or re-indents stay as they are, and identical unformatted lines outside the ranges are not formatted, so the issue's two examples change only line... | # `--line-ranges` formats lines outside the given ranges
For example, unformatted:
```python
def restrict_to_this_line(arg1,
arg2,
arg3):
print ( "This should not be formatted." )
print ( "This should not be formatted." )
```
If we let it format lines `1-3` (`--line-ranges=1-3`), it would format all th... | tasks/black--line-ranges-outside-range |
MergeReady-Bench (public subset)
A coding-agent benchmark that goes beyond passing tests. Passing tests tells you the bug is fixed. Merge-ready tells you whether the fix can ship without another round of review.
We built every task with agent-eval-loop, our open-source plugin that turns merged pull requests into verified evals and scores any coding agent the way your reviewers would. It works with Claude Code, Codex and other coding agents.
Build the same evals from your own repo
Ask Claude Code, Codex or another coding agent:
Install the RELAI plugin from https://github.com/relai-ai/agent-eval-loop and use its coding-evals skill to evaluate my coding agent on recently merged PRs in this repository.
What counts as merge-ready
A fix is merge-ready only if all three hold:
- Solved. The hidden tests pass, and the existing tests still pass.
- Clean. The formatting, lint, build and type checks that the repository's CI runs all pass.
- Approved. A code-review judge finds nothing to fix in test quality, scope or codebase fit.
What we found
From the paper: 50 tasks from 20 open-source repositories, six agents (Claude Code with Opus, Sonnet and Haiku 5.5; Codex with GPT-6.2 Sol, GPT-6.2 Astra and GPT-6.1 Terra), 900 attempts.
- Most fixes that passed the tests weren't mergeable. 400 attempts were solved, but only 172 were merge-ready.
- Your codebase matters more than your agent. Merge-ready rates ranged from 3% to 40% across repositories, and from 11% to 26% across agents.
- Spending more didn't buy merge-readiness. Cost per attempt varied 13× across agents.
- Same model, better setup. On seven Vue tasks, agent-eval-loop's
improveworkflow took Claude Code with Opus 5.5 from 23% to 49% merge-ready and from 77% to 96% trustworthy.
Leaderboard on these 10 tasks
Three runs per task in the paper. pass@3 counts the tasks an agent got right in at least one run, pass^3 the tasks it got right in all three.
| # | Agent | Model | Merge-ready pass@3 | Merge-ready pass^3 | Solved pass@3 | Solved pass^3 | Cost / attempt |
|---|---|---|---|---|---|---|---|
| 1 | Claude Code | Claude Opus 5.5 | 5 | 2 | 8 | 6 | $0.52 |
| 2 | Codex | GPT-6.2 Astra | 5 | 1 | 9 | 3 | $0.35 |
| 3 | Codex | GPT-6.1 Terra | 4 | 1 | 9 | 3 | $0.06 |
| 4 | Codex | GPT-6.2 Sol | 4 | 0 | 9 | 4 | $0.12 |
| 5 | Claude Code | Claude Sonnet 5.5 | 3 | 0 | 5 | 2 | $0.16 |
| 6 | Claude Code | Claude Haiku 5.5 | 3 | 0 | 5 | 0 | $0.06 |
Counts are out of 10 tasks, ranked by merge-ready pass^3, then merge-ready pass@3. Cost is the mean per attempt at list prices. Results on all 50 tasks are in the paper.
This dataset
10 of the 50 tasks, one hard and the rest easy or medium. We keep the other tasks private so they can still measure models trained after this release.
| Task | Repository | Language | Solved |
|---|---|---|---|
| Subclasses lose derived alias settings | pydantic/pydantic#13825 | Python | 15/18 · easy |
| Build the theme and syntax cache on first run | sharkdp/bat#4038 | Rust | 14/18 · easy |
| Exclude a directory while searching from inside it | BurntSushi/ripgrep#3616 | Rust | 14/18 · easy |
// paths redirect to another host |
Kludex/starlette#3671 | Python | 12/18 · medium |
| Merge JSON into an existing EnumMap | FasterXML/jackson-databind#6473 | Java | 11/18 · medium |
| A closed dev server keeps Node running | vitejs/vite#23572 | TypeScript | 10/18 · medium |
| Comments inside GROUP BY or PARTITION BY break parsing | tobymao/sqlglot#9004 | Python | 7/18 · medium |
| SSR swallows errors from async setup | vuejs/core#15857 | TypeScript | 6/18 · medium |
| Unknown escape sequences break key input | junegunn/fzf#4926 | Go | 6/18 · medium |
--line-ranges formats lines outside the range |
psf/black#5436 | Python | 2/18 · hard |
Solved: attempts out of 18 (six agents × three runs) whose fix passed the hidden tests and the existing tests.
Each task is graded by code checks run in the container, each scoring 0 or 1: fixes-the-bug (the
hidden tests), no-regressions, tests-untouched, in-scope, and the repository's own CI checks. LLM
judges score code-review, honest-report and safe-process, with rubrics in each task's
tests/judges/.
Evaluate your agent on all 50 tasks
The other 40 tasks stay private so they remain useful for evaluating future models. We don't share them, but we can run your coding agent or model on the full benchmark and send you the results, scored the same way as the agents in the paper.
To request an evaluation, email priyatham@relai.ai, wwx@relai.ai and sfeizi@relai.ai with your name, affiliation, and the agent or model you'd like evaluated.
Quick start
Tasks run with Harbor from prebuilt images
(ghcr.io/relai-ai/mergeready-bench, linux/amd64 and linux/arm64).
hf download relai-ai/mergeready-bench --repo-type dataset --local-dir mergeready-bench
uvx --python 3.12 --from harbor==0.26.0 harbor run -e docker \
-p "$PWD/mergeready-bench/tasks/vue--ssr-async-setup-errors" -a oracle
-a oracle applies the reference fix. Use your own agent instead, for example
-a claude-code -m anthropic/claude-opus-5-5. Code-check scores are written to each trial's
verifier/reward.json. Add --force-build to build the image locally.
Task layout
instruction.md what the agent sees
task.toml resources, timeouts, image and checks
environment/ Dockerfile and the repository history up to the start commit
tests/ verifier, hidden tests and judge rubrics
solution/ reference fix
upstream-license/ the upstream project's license and notice files
License
Apache 2.0. Each task also contains code from its upstream project (a repository snapshot, the merged fix
and tests adapted from it), which stays under that project's license: MIT, BSD-3-Clause, Apache 2.0,
Unlicense, or PSF 2.0 for code vendored in black. See each task's upstream-license/ folder and
NOTICE.md.
Citation
@misc{kattakinda2026mergereadybench,
title = {MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing},
author = {Priyatham Kattakinda and Wenxiao Wang and Soheil Feizi},
year = {2026},
eprint = {2612.02506},
archivePrefix = {arXiv},
primaryClass = {cs.SE},
url = {https://arxiv.org/abs/2612.02506}
}
- Downloads last month
- 49