Use SelfBench
Generate Tasks
Build and curate a benchmark dataset from merged pull requests.
SelfBench turns merged PRs into tasks against the repository state before each change. Each task contains an instruction, environment, held-out tests, and a reference patch.