Dataset Viewer
Auto-converted to Parquet Duplicate
base_commit
string
created_at
string
image_name
string
instance_id
string
interface
string
language
string
license
string
patch
string
pr_description
string
problem_statement
string
repo
string
test_patch
string
FAIL_TO_PASS
list
PASS_TO_PASS
list
install_config
dict
meta
dict
tags
list
workdir
string
env
list
test_files
list
test_env
list
quality_flags
list
a091fab020ac26548250c907bae0855273a98778
2020-10-12 13:21:50
docker.io/swerebenchv2/0b01001001-spectree:64-a091fab@sha256:be06b21afc57a57442c3904e23f48efa077b347389068ae188dce0d8abe41cf3
0b01001001__spectree-64
python
Apache-2.0
diff --git a/setup.py b/setup.py index 1b3cb64..4ef21e6 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f: setup( name='spectree', - version='0.3.7', + version='0.3.8', author='Keming Yang', author_email='kemingy94@gmail....
[BUG]description for query paramters can not show in swagger ui Hi, when I add a description for a schema used in query, it can not show in swagger ui but can show in Redoc ```py @HELLO.route('/', methods=['GET']) @api.validate(query=HelloForm) def hello(): """ hello 注释 :return: """ return 'ok' clas...
0b01001001/spectree
diff --git a/tests/common.py b/tests/common.py index 0f2d696..83b4140 100644 --- a/tests/common.py +++ b/tests/common.py @@ -1,7 +1,7 @@ from enum import IntEnum, Enum from typing import List -from pydantic import BaseModel, root_validator +from pydantic import BaseModel, root_validator, Field class Order(IntE...
[ "tests/test_utils.py::test_query_field_description_in_generated_spec" ]
[ "tests/test_utils.py::test_comments", "tests/test_utils.py::test_has_model", "tests/test_utils.py::test_parse_code", "tests/test_utils.py::test_parse_name", "tests/test_utils.py::test_parse_params", "tests/test_utils.py::test_parse_request", "tests/test_utils.py::test_parse_resp" ]
{ "base_image_name": null, "docker_specs": null, "install": [ "pip install -e .[flask,falcon,starlette]" ], "log_parser": "parse_log_pytest", "test_cmd": "cd /spectree && source /opt/conda/etc/profile.d/conda.sh && { conda activate testbed 2>/dev/null || conda activate base; } && pytest --no-header -rA ...
{ "llm_metadata": null, "num_modified_files": 2, "num_modified_lines": 5, "pr_author": null, "pr_labels": null, "pr_url": "https://github.com/0b01001001/spectree/pull/64" }
[ "swe-rebench", "swe-rebench-v2.1", "python", "swe-rebench-v1" ]
/spectree
[]
[ "tests/common.py", "tests/test_utils.py" ]
[]
[]
195207eb90fcb131728a51b0591c3b428571eded
2022-10-26 10:11:48
docker.io/swerebenchv2/0xpolygonhermez-zkevm-node:1336-195207e@sha256:1ed601d8407c023e53f4d9996d87151cabe930db35f2e3b12f3b960972b13c6f
0xpolygonhermez__zkevm-node-1336
No new interfaces are introduced.
go
custom-check-github
diff --git a/config/default.go b/config/default.go index bb3d0090..bc8947d1 100644 --- a/config/default.go +++ b/config/default.go @@ -47,6 +47,8 @@ PercentageToIncreaseGasLimit = 10 [RPC] Host = "0.0.0.0" Port = 8123 +ReadTimeoutInSec = 60 +WriteTimeoutInSec = 60 MaxRequestsPerIPAndSecond = 50 SequencerNodeURI = ...
improve: making the timeout of the RPC server to be configurable and fixing deprecated func for creating temp file. Signed-off-by: Nikolay Nedkov <nikolai_nedkov@yahoo.com> Closes #614 . ### What does this PR do? Making the `ReadTimeout` and `WriteTimeout` of the `RPC HTTP Server` to be configurable by expecti...
Timeout for the RPC server should be configurable Right now it's constant at one second ### Additional contract requirements The RPC server's HTTP read and write timeouts must be configurable through the node configuration file. The configuration exposes two settings in the `[RPC]` section named `ReadTimeoutInSec` an...
0xPolygonHermez/zkevm-node
diff --git a/config/config_test.go b/config/config_test.go index 181058d..694aed1 100644 --- a/config/config_test.go +++ b/config/config_test.go @@ -1,9 +1,12 @@ package config_test import ( + "errors" "flag" - "io/ioutil" + "fmt" + "io" "math/big" + "net" "os" "reflect" "strings" @@ -12,6 +15,7 @@ import...
[ "Test_Defaults", "Test_Defaults/RPC_default_ReadTimeoutInSec", "Test_Defaults/RPC_default_WriteTimeoutInSec", "Test_RPCServerTimeoutIsConfigurable", "Test_RPCServerWriteTimeoutIsConfigurable" ]
[ "TestForcedBatchEvent", "TestGEREvent", "TestLoadCustomNetworkConfig", "TestLoadCustomNetworkConfig/empty_JSON_gives_error", "TestLoadCustomNetworkConfig/happy_path", "TestLoadCustomNetworkConfig/imported_from_network-config.example.json", "TestLoadCustomNetworkConfig/not_valid_JSON_gives_error", "Tes...
{ "base_image_name": "go_1.19.13", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": "1.19.8", "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.92, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "partial", "pr_categories": ...
[ "swe-rebench", "swe-rebench-v2.1", "go" ]
/zkevm-node
[]
[ "config/config_test.go", "test/config/test.node.config.toml" ]
[]
[]
47ffeb6a611eb425482741aaca27aa444a9cd0ea
2023-02-01 12:42:32
docker.io/swerebenchv2/0xs34n-starknet.js:508-47ffeb6@sha256:39405a897064fc5f8642afcbff8953dcc749532d90ff4c23f0b14dcd36426151
0xs34n__starknet.js-508
Function: encodeShortString(str: string) Location: src/utils/shortString.ts Inputs: An ASCII‑only string of maximum 31 characters. Throws an error if the string contains non‑ASCII characters (`"<value> is not an ASCII string"`) or exceeds 31 characters (`"<value> is too long"`). Outputs: A hex‑encoded string prefixed w...
ts
MIT
diff --git a/src/utils/shortString.ts b/src/utils/shortString.ts index c597a6f2..2a682ec7 100644 --- a/src/utils/shortString.ts +++ b/src/utils/shortString.ts @@ -1,4 +1,5 @@ import { addHexPrefix, removeHexPrefix } from './encode'; +import { isHex } from './number'; export function isASCII(str: string) { // esl...
decodeShortString was not handling properly Integer Strings Fix #501 ## Motivation and Resolution The function decodeShortString returns a wrong answer if the input is a string representing an integer. See issue #501 for example of bug. Now, the answer is correct ## Usage related changes No change for...
decodeShortString : wrong answer of the function **Describe the bug** Hello, I noted a problem with the function `utils/shortstrings.ts/decodeShortString`. If I use it with an hex string ('0x321....456'), everything is fine. But if the str:string is an integer string ('1542233...56'), the function accept it, process w...
0xs34n/starknet.js
diff --git a/__tests__/utils/shortString.test.ts b/__tests__/utils/shortString.test.ts index e6262e0..1759886 100644 --- a/__tests__/utils/shortString.test.ts +++ b/__tests__/utils/shortString.test.ts @@ -4,19 +4,29 @@ describe('shortString', () => { test('should convert string to number', () => { expect(encode...
[ "should convert decimal number string to string" ]
[ "Block identifier and queryIdentifier", "Should test getStarknetIdContract", "Should test useDecoded and useEncoded hook with an encoded number", "Should test useEncoded and useDecoded hook with a random string", "calculated checksum address should validate", "calculated contract address should match the ...
{ "base_image_name": "node_16", "docker_specs": null, "install": [ "npm ci --ignore-scripts", "npm run build" ], "log_parser": "parse_log_js_4", "test_cmd": "npm test -- --verbose --no-color" }
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
[ "swe-rebench", "swe-rebench-v2.1", "ts" ]
/starknet.js
[]
[ "__tests__/utils/shortString.test.ts" ]
[]
[]
bf95c99e9738b4b79a8225c462815a4fe984228d
2023-02-08 00:33:50
docker.io/swerebenchv2/100phlecs-tailwind-formatter:19-bf95c99@sha256:0ecc4a63a3d64601f54208899863509a66b7670910528c513d7fcba796bdc79a
100phlecs__tailwind_formatter-19
No new interfaces are introduced.
elixir
MIT
diff --git a/lib/tailwind_formatter/defaults.ex b/lib/tailwind_formatter/defaults.ex index 9cb68b4..6cb88fd 100644 --- a/lib/tailwind_formatter/defaults.ex +++ b/lib/tailwind_formatter/defaults.ex @@ -1,7 +1,7 @@ defmodule TailwindFormatter.Defaults do @moduledoc false - @class_pattern ~r/(?:class\s*(?:=|:)\s*)(({...
handle nested interpolated strings Related to #18
Formatter inserts incorrect `}` The first time I tried the formatter in one of our projects it worked. The second time I got an FunctionClauseError `no function clause matching in Phoenix.LiveView.HTMLFormatter.to_tree/4`. It turns out that the first run of the tailwind formatter formats the following ```elixir <...
100phlecs/tailwind_formatter
diff --git a/test/tailwind_formatter_test.exs b/test/tailwind_formatter_test.exs index 47c4519..cc243c2 100644 --- a/test/tailwind_formatter_test.exs +++ b/test/tailwind_formatter_test.exs @@ -12,12 +12,6 @@ defmodule TailwindFormatterTest do assert second_pass == expected end - defp assert_formatter_raise(i...
[ "can handle multiple interpolated strings" ]
[ "aborts on bad input custom variant does not flip", "aborts on bad input incomplete inline elixir", "aborts on bad input invalid elixir fn", "aborts on bad input missing final quote", "aborts on bad input missing number tag inline elixir", "allows comparisons inline elixir", "allows string concatenation...
{ "base_image_name": "elixir_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.95, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "medium", "external_urls": [], "intent_completeness": "complete", "pr_categories":...
[ "swe-rebench", "swe-rebench-v2.1", "elixir" ]
/tailwind_formatter
[]
[ "test/tailwind_formatter_test.exs" ]
[]
[]
285b58e1ea0bd29536ddffd4bc0f4a1e2b4c119e
2023-03-04 09:44:27
docker.io/swerebenchv2/100phlecs-tailwind-formatter:22-285b58e@sha256:360975dcc9bf51c069106630f1c37dfab4e70d28924300f55ace26fbadfac8c7
100phlecs__tailwind_formatter-22
No new interfaces are introduced.
elixir
MIT
diff --git a/lib/tailwind_formatter.ex b/lib/tailwind_formatter.ex index 8591d23..2fedb89 100644 --- a/lib/tailwind_formatter.ex +++ b/lib/tailwind_formatter.ex @@ -93,7 +93,7 @@ defmodule TailwindFormatter do dynamic_classes |> Enum.reduce(contents, fn {dynamic_class, index}, contents -> - ...
Fixed error with more than nine string interpolations When adding placeholders, we need to allow them to be multiple digits long! Closes #21
Bug when formatting multiple assigns This seems like a super wierd but severe bug. It seems like when having more than nine assigns in a string interpolation, all following string interpolations will be malformatted! ## Steps to reproduce Format the following `.heex` code: ```heex <div text={"foo: #{@foo}"} /> <div ...
100phlecs/tailwind_formatter
diff --git a/test/tailwind_formatter_test.exs b/test/tailwind_formatter_test.exs index f8edc63..f1656f3 100644 --- a/test/tailwind_formatter_test.exs +++ b/test/tailwind_formatter_test.exs @@ -316,13 +316,13 @@ defmodule TailwindFormatterTest do test "missing final quote" do input = ~S""" <a class={"...
[ "aborts on bad input works with more than nine string interpolations" ]
[ "aborts on bad input custom variant does not flip", "aborts on bad input incomplete inline elixir", "aborts on bad input invalid elixir fn", "aborts on bad input missing final quote", "aborts on bad input missing number tag inline elixir", "allows comparisons inline elixir", "allows string concatenation...
{ "base_image_name": "elixir_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.98, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
[ "swe-rebench", "swe-rebench-v2.1", "elixir" ]
/tailwind_formatter
[]
[ "test/tailwind_formatter_test.exs" ]
[]
[]
3a1f6aa5073bca88b5be5b386640b986cfaeb385
2025-01-02 19:34:45
docker.io/swerebenchv2/100phlecs-tailwind-formatter:64-3a1f6aa@sha256:9b2949215190d115b60304836155910410ab993af2520ba7307a589ec0b938eb
100phlecs__tailwind_formatter-64
No new interfaces are introduced.
elixir
MIT
diff --git a/lib/tailwind_formatter.ex b/lib/tailwind_formatter.ex index e3d37a9..9ac3829 100644 --- a/lib/tailwind_formatter.ex +++ b/lib/tailwind_formatter.ex @@ -94,7 +94,7 @@ defmodule TailwindFormatter do defp sort_variant_chains(classes) do classes - |> String.split() + |> String.split(~r/\s+(?![^...
handle arbitrary properties Closes #63
Formatter breaks special class attribute: `[scrollbar-gutter: stable]` The space before the `stable` keyword is mandatory ``` [...]layouts/root.html.heex 1 1 |<!DOCTYPE html> 2 -|<html lang="en" class="[scrollbar-gutter: stable]"> 2 +|<html lang="en" class="stable] :[scrollbar-gutter"> 3 3 | <he...
100phlecs/tailwind_formatter
diff --git a/test/tailwind_formatter_test.exs b/test/tailwind_formatter_test.exs index b462736..84c625c 100644 --- a/test/tailwind_formatter_test.exs +++ b/test/tailwind_formatter_test.exs @@ -523,4 +523,15 @@ defmodule TailwindFormatterTest do assert_formatter_output(input, expected) end + + # https://tailw...
[ "preserves the required space in arbitrary properties" ]
[ "allows comparisons inline elixir", "allows string concatenation", "can handle multiple interpolated strings", "classes with backslash are sorted", "classes with hash are sorted", "custom variant does not flip", "decimal classes are sorted", "does not stringify variables", "dynamic classes", "dyna...
{ "base_image_name": "elixir_base", "docker_specs": { "_variant": null, "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, ...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [ "https://tailwindcss.com/docs/adding-custom-styles#arbitr...
[ "swe-rebench", "swe-rebench-v2.1", "elixir" ]
/tailwind_formatter
[]
[ "test/tailwind_formatter_test.exs" ]
[]
[]
b047fc711b24b91223f531a4c375403696838afe
2021-07-04 18:06:16
docker.io/swerebenchv2/11ty-eleventy:1876-b047fc7@sha256:ba01fa62134a0ac5e482060cc374ae561a6f8673541e0e891145ee9e6ce7db7e
11ty__eleventy-1876
No new interfaces are introduced.
js
MIT
diff --git a/src/TemplateData.js b/src/TemplateData.js index bf90503d..92eeaa14 100755 --- a/src/TemplateData.js +++ b/src/TemplateData.js @@ -586,6 +586,9 @@ class TemplateData { } else if (data.tags === null) { data.tags = []; } + + // Deduplicate tags + data.tags = [...new Set(data.t...
Deduplicate tags when using deepDataMerge Resolves #1810. As described in #1810, tags can be duplicated through a data deep merge if they appear in more than one place. I can't think of a reason why anyone needs a tag to appear more than once within the data cascade, so this uses `new Set` to deduplicate the outp...
Deduplicate tags after merging **Is your feature request related to a problem? Please describe.** When I'm generating a collection on my site, I sometimes use data merging to provide tags common to the series and then tag individual posts further. If I happen to forget that I already have a tag for a given collection, ...
11ty/eleventy
diff --git a/test/TemplateTest.js b/test/TemplateTest.js index 8c59088..dd92d6f 100644 --- a/test/TemplateTest.js +++ b/test/TemplateTest.js @@ -1489,6 +1489,26 @@ test("Data Cascade Tag Merge (Deep merge)", async (t) => { t.deepEqual(data.tags.sort(), ["tagA", "tagB", "tagC", "tagD"]); }); +test("Data Cascade Ta...
[ "TemplateTest › Data Cascade Tag Merge (Deep Merge - Deduplication)", "TemplateTest › Data Cascade Tag Merge (Deep merge)" ]
[ "BenchmarkTest › Nested Benchmark (nested calls are ignored while a parent is measuring)", "BenchmarkTest › Reset Benchmark", "BenchmarkTest › Standard Benchmark", "CapitalizeTest › capitalize", "ComputedDataProxyTest › Get vars used by function", "ComputedDataProxyTest › Get vars used by function (multip...
{ "base_image_name": "node_16", "docker_specs": { "_variant": "js_2", "bazel_version": null, "bun_version": null, "cargo_version": null, "deno_version": null, "docker_version": null, "erlang_version": null, "gcc_version": null, "go_version": null, "helm_version": null, "j...
{ "llm_metadata": { "code": "A", "confidence": 0.96, "detected_issues": { "B1": false, "B2": false, "B3": false, "B4": false, "B5": false, "B6": false }, "difficulty": "easy", "external_urls": [], "intent_completeness": "complete", "pr_categories": [...
[ "swe-rebench", "swe-rebench-v2.1", "js" ]
/eleventy
[]
[ "test/TemplateTest.js", "test/stubs/data-cascade/template.11tydata.js" ]
[]
[]
f3831c317b0d829e398e722c83715e03d6911ec0
2021-11-20 13:34:33
"docker.io/swerebenchv2/11ty-eleventy:2111-f3831c3@sha256:cdae3787136992ca0336d8b218118016378c58b675(...TRUNCATED)
11ty__eleventy-2111
No new interfaces are introduced.
js
MIT
"diff --git a/src/TemplateFileSlug.js b/src/TemplateFileSlug.js\nindex ed95edeb..a98f3db1 100644\n--(...TRUNCATED)
"Strip date from directory slugs\nCloses #1947 \r\n\r\n`2021-11-20-my-awesome-post/index.md` gets a (...TRUNCATED)
"page.fileSlug and directory index files: date doesn't get stripped out\n**Describe the bug**\n\nCur(...TRUNCATED)
11ty/eleventy
"diff --git a/test/TemplateFileSlugTest.js b/test/TemplateFileSlugTest.js\nindex 972cab5..ae66bb3 10(...TRUNCATED)
[ "TemplateFileSlugTest › page.fileSlug strips date from an index file's directory" ]
["BenchmarkTest › Nested Benchmark (nested calls are ignored while a parent is measuring)","Benchm(...TRUNCATED)
{"base_image_name":"node_16","docker_specs":{"_variant":"js_2","bazel_version":null,"bun_version":nu(...TRUNCATED)
{"llm_metadata":{"code":"A","confidence":0.97,"detected_issues":{"B1":false,"B2":false,"B3":false,"B(...TRUNCATED)
[ "swe-rebench", "swe-rebench-v2.1", "js" ]
/eleventy
[]
[ "test/TemplateFileSlugTest.js" ]
[]
[]
c513c8939314572c1c431d361415cbb91597cffa
2022-05-03 17:36:17
"docker.io/swerebenchv2/11ty-eleventy:2358-c513c89@sha256:05abb21e7008efce5fa79543e11f8fe5061fc477fa(...TRUNCATED)
11ty__eleventy-2358
"Method: CustomEngine._resolveCompileResult(compiledFn) \nLocation: src/Engines/Custom.js – inter(...TRUNCATED)
js
MIT
"diff --git a/src/Engines/Custom.js b/src/Engines/Custom.js\nindex 09510643..a51d54f7 100644\n--- a/(...TRUNCATED)
"Fix #2350\nCurrently, it fails when a custom template extension has an async compile function and i(...TRUNCATED)
"Custom template fails to render in v1.0.1\n**Describe the bug**\nI'm using Eleventy custom template(...TRUNCATED)
11ty/eleventy
"diff --git a/test/TemplateTest-CustomExtensions.js b/test/TemplateTest-CustomExtensions.js\nindex a(...TRUNCATED)
["TemplateTest-CustomExtensions › Return undefined in compile to ignore (async compile function) #(...TRUNCATED)
["BenchmarkTest › Nested Benchmark (nested calls are ignored while a parent is measuring)","Benchm(...TRUNCATED)
{"base_image_name":"node_16","docker_specs":{"_variant":"js_2","bazel_version":null,"bun_version":nu(...TRUNCATED)
{"llm_metadata":{"code":"A","confidence":0.99,"detected_issues":{"B1":false,"B2":false,"B3":false,"B(...TRUNCATED)
[ "swe-rebench", "swe-rebench-v2.1", "js" ]
/eleventy
[]
[ "test/TemplateTest-CustomExtensions.js" ]
[]
[]
5ce01f9818b615689428e85084be333e0b5563f2
2024-09-03 16:59:38
"docker.io/swerebenchv2/11ty-eleventy:3430-5ce01f9@sha256:7fb93b8c828fb216a5495c430aff173d30906123ba(...TRUNCATED)
11ty__eleventy-3430
"Function: IdAttributePlugin(eleventyConfig, options = {})\nLocation: src/Plugins/IdAttributePlugin.(...TRUNCATED)
js
MIT
"diff --git a/src/Plugins/IdAttributePlugin.js b/src/Plugins/IdAttributePlugin.js\nindex df5e2a2f..1(...TRUNCATED)
"Fixes #3424, conflicts with existing id attributes from IdAttributePlugin\nAutomatically resolve co(...TRUNCATED)
"The IdAttributePlugin can create conflicts\n### Operating system\n\nmacOS Sonoma 14.6.1\n\n### Elev(...TRUNCATED)
11ty/eleventy
"diff --git a/test/IdAttributePluginTest.js b/test/IdAttributePluginTest.js\nindex 6e969f9c..85dbd9c(...TRUNCATED)
["Issue #3424, id attribute conflicts (hard coded id conflicts)","Issue #3424, id attribute conflict(...TRUNCATED)
[ "Using the IdAttribute plugin #3356", "Using the IdAttribute plugin with escaped quoted text" ]
{"base_image_name":"node_16","docker_specs":{"_variant":null,"bazel_version":null,"bun_version":null(...TRUNCATED)
{"llm_metadata":{"code":"B4","confidence":0.82,"detected_issues":{"B1":false,"B2":false,"B3":false,"(...TRUNCATED)
[ "swe-rebench", "swe-rebench-v2.1", "js" ]
/eleventy
[]
[ "test/IdAttributePluginTest.js" ]
[]
[]
End of preview. Expand in Data Studio

SWE-rebench V2.1

21,272 executable software-engineering tasks for training and evaluating coding agents. Each task is a real GitHub issue with the merged fix as the reference solution, the repository tests as the verifier, and a public prebuilt Docker image pinned by digest.

  • 13,337 tasks from SWE-rebench V2 in 20 languages.
  • 7,935 Python tasks from the first SWE-rebench (permissive licenses only), processed with the same pipeline. They carry the swe-rebench-v1 tag.

Every row is the exact content of one task of the Harbor dataset ibragim-badertdinov/swe-rebench-v2.1-rl: the SWE-rebench-V2 repository renders a row into byte-identical Harbor task files (same Harbor content digests). The rendered task directories are published in ibragim-bad/SWE-rebench-V2.1-harbor and run with harbor run --repo without any conversion.

Tasks 21,272
Languages python (11,925), go (2,269), ts (1,798), js (1,687), rust (1,129), java (573), julia (434), php (424), kotlin (306), elixir (186), scala (137), swift (127), dart (89), r (69), clojure (53), csharp (22), lua (16), c (15), ocaml (11), cpp (2)
Scoring Binary: 1 when every FAIL_TO_PASS and PASS_TO_PASS test passes

Changes relative to SWE-rebench V2

  • Statements and tests were reviewed by LLM judges; defects were repaired or the task was removed.
  • Images were audited for leaked fixes, tests and package-manager caches and rebuilt where needed.
  • Log parsers were fixed (Jest, Mocha, Julia, pytest, duplicate test names).
  • Every task was verified with the reference patch (must pass) and with no patch (must fail). Tasks with a failing reference patch or flaky tests were removed.

Fields

The columns and types of SWE-rebench V2 come first, followed by the columns needed to reproduce the Harbor verifier exactly.

Field Description
base_commit Repository commit the task starts from
created_at Pull request creation time
image_name Docker image pinned by digest; the repository is checked out at base_commit
instance_id Task id, <owner>__<repo>-<PR number>
interface Interface changed by the patch, from SWE-rebench V2 (empty for swe-rebench-v1 tasks); not part of problem_statement
language Main language of the repository
license SPDX license identifier of the repository
patch Reference solution
pr_description Pull request description, from SWE-rebench V2 (empty for swe-rebench-v1 tasks)
problem_statement Task statement given to the agent
repo GitHub repository
test_patch Test changes applied before verification
FAIL_TO_PASS Tests that must pass after the fix and fail before it
PASS_TO_PASS Tests that must keep passing
install_config test_cmd (run in workdir) and log_parser used for grading; install, base_image_name and docker_specs describe how the original environment was set up (the images are prebuilt)
meta Metadata from the source dataset; llm_metadata describes the original SWE-rebench V2 task
tags Harbor tags; swe-rebench-v1 marks tasks from the first SWE-rebench
workdir Repository directory inside the image
env Container environment variables
test_files Files restored to base_commit before test_patch is applied
test_env Variables exported before test_cmd
quality_flags weak_f2p (168 tasks): FAIL_TO_PASS covers the fix only partially

Rows are sorted by instance_id.

Verification

  1. Apply the candidate patch in workdir.
  2. Restore test_files, apply test_patch, export test_env and run install_config.test_cmd (30-minute timeout).
  3. Parse the output with install_config.log_parser and assign reward 1 when every FAIL_TO_PASS and PASS_TO_PASS test passed. Extra or skipped tests outside these lists do not matter.

Tasks were validated with 6 CPUs and 24 GB of memory. Some tests download dependencies at run time, so run them with network access.

Usage

Run the Harbor tasks directly

harbor run --repo https://huggingface.co/datasets/ibragim-bad/SWE-rebench-V2.1-harbor -i aio-libs__aiohttp-10300 -a oracle

Convert rows to Harbor tasks

Each row unpacks into one Harbor task directory (task.toml, instruction.md, solution/, tests/), identical to the task published on the Harbor Hub:

git clone -b swe-rebench-v2.1 https://github.com/SWE-rebench/SWE-rebench-V2 && cd SWE-rebench-V2
pip install -r requirements.txt

# All 21,272 tasks, or a subset with --instance-ids
python3 scripts/to_harbor.py --hf-dataset ibragim-bad/SWE-rebench-V2.1 --out tasks
python3 scripts/to_harbor.py --hf-dataset ibragim-bad/SWE-rebench-V2.1 --out tasks \
  --instance-ids aio-libs__aiohttp-10300,0b01001001__spectree-64

# Run one task or the whole directory with Harbor
harbor run -p tasks/aio-libs__aiohttp-10300 -a oracle
harbor run -p tasks -a <agent>

Evaluate patches without Harbor

scripts/eval.py runs the same solve.sh and test.sh in Docker:

python3 scripts/eval.py --hf-dataset ibragim-bad/SWE-rebench-V2.1 --golden-eval \
  --instance-ids aio-libs__aiohttp-10300 --report-json report.json

--patches evaluates your own patches; --parquet <dir> reads a local copy of data/.

Load the rows directly:

from datasets import load_dataset

ds = load_dataset("ibragim-bad/SWE-rebench-V2.1", split="train")
v1 = ds.filter(lambda row: "swe-rebench-v1" in row["tags"])

Citation

@misc{badertdinov2026swerebenchv2languageagnosticswe,
      title={SWE-rebench V2: Language-Agnostic SWE Task Collection at Scale},
      author={Ibragim Badertdinov and Maksim Nekrashevich and Anton Shevtsov and Alexander Golubev},
      year={2026},
      eprint={2602.23866},
      archivePrefix={arXiv},
      primaryClass={cs.SE},
      url={https://arxiv.org/abs/2602.23866},
}
Downloads last month
2,364

Paper for ibragim-bad/SWE-rebench-V2.1