Datasets:
instance_id stringlengths 10 57 | base_commit stringlengths 40 40 | created_at stringdate 2014-04-30 14:58:36 2025-04-30 20:14:11 | environment_setup_commit stringlengths 40 40 | hints_text stringlengths 0 273k | patch stringlengths 251 7.06M | problem_statement stringlengths 11 52.5k | repo stringlengths 7 53 | test_patch stringlengths 231 997k | meta dict | version stringclasses 864
values | install_config dict | requirements stringlengths 93 34.2k ⌀ | environment stringlengths 760 20.5k ⌀ | FAIL_TO_PASS listlengths 1 9.39k | FAIL_TO_FAIL listlengths 0 2.69k | PASS_TO_PASS listlengths 0 7.87k | PASS_TO_FAIL listlengths 0 192 | license_name stringclasses 56
values | docker_image stringlengths 42 89 ⌀ | image_name stringlengths 42 89 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0b01001001__spectree-64 | a091fab020ac26548250c907bae0855273a98778 | 2020-10-12 13:21:50 | a091fab020ac26548250c907bae0855273a98778 | 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 '... | 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... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_media",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_fi... | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[flask,falcon,starlette]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": [
"requirements.txt"
],
... | annotated-types==0.7.0
anyio==4.9.0
blinker==1.9.0
certifi==2025.1.31
charset-normalizer==3.4.1
click==8.1.8
exceptiongroup==1.2.2
falcon==4.0.2
Flask==3.1.0
idna==3.10
importlib_metadata==8.6.1
iniconfig==2.1.0
itsdangerous==2.2.0
Jinja2==3.1.6
MarkupSafe==3.0.2
packaging==24.2
pluggy==1.5.0
pydantic==2.11.1
pydantic_... | name: spectree
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=... | [
"tests/test_utils.py::test_parse_params"
] | [] | [
"tests/test_utils.py::test_comments",
"tests/test_utils.py::test_parse_code",
"tests/test_utils.py::test_parse_name",
"tests/test_utils.py::test_has_model",
"tests/test_utils.py::test_parse_resp",
"tests/test_utils.py::test_parse_request"
] | [] | Apache License 2.0 | swerebench/sweb.eval.x86_64.0b01001001_1776_spectree-64 | swerebench/sweb.eval.x86_64.0b01001001_1776_spectree-64 | |
12rambau__sepal_ui-347 | 4554f35da3fab21c32c35c4bd557ecfdec9c60c5 | 2021-11-19 12:32:22 | 114063b50ee5b1ccbab680424bb048e11939b870 | diff --git a/sepal_ui/mapping/__init__.py b/sepal_ui/mapping/__init__.py
index 7f72a0eb..aa84ddee 100644
--- a/sepal_ui/mapping/__init__.py
+++ b/sepal_ui/mapping/__init__.py
@@ -2,6 +2,7 @@ from .aoi_control import *
from .draw_control import *
from .fullscreen_control import *
from .layer import *
+from .layer_sta... | display a loading statebar when a layer is loading in the map
## issue
I experienced some issues with the FCDM module as the map is super slow to load (it uses a adaptative buffer, the more you zoom the slower it gets it's a nightmare). The consequence is that the user clicks frantically on the `zoom` `unzoom` btn a... | 12rambau/sepal_ui | diff --git a/tests/test_LayerStateControl.py b/tests/test_LayerStateControl.py
new file mode 100644
index 00000000..ce2aecb2
--- /dev/null
+++ b/tests/test_LayerStateControl.py
@@ -0,0 +1,84 @@
+from ipyleaflet import RasterLayer
+from traitlets import Bool
+import ee
+import pytest
+
+from sepal_ui import mapping as s... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_media",
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 3
... | 2.9 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9",
"reqs_path": null,
... | affine==2.4.0
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
branca==0.8.1
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.1
click==8.1.8
c... | name: sepal_ui
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld... | [
"tests/test_StateBar.py::TestStateBar::test_init"
] | [
"tests/test_LayerStateControl.py::TestLayerStateControl::test_init",
"tests/test_SepalMap.py::TestSepalMap::test_init",
"tests/test_SepalMap.py::TestSepalMap::test_set_center",
"tests/test_SepalMap.py::TestSepalMap::test_zoom_bounds",
"tests/test_SepalMap.py::TestSepalMap::test_add_colorbar",
"tests/test_... | [
"tests/test_StateBar.py::TestStateBar::test_add_msg"
] | [] | MIT License | null | null | |
12rambau__sepal_ui-411 | 179bd8d089275c54e94a7614be7ed03d298ef532 | 2022-02-28 17:46:40 | 97371fbaed444727126a2969cd68f856db77221f | diff --git a/docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst b/docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst
index 1a982afb..867227cb 100644
--- a/docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst
+++ b/docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst
@@ -8,6 +8,7 @@ sepal\_ui.sepalwi... | add a disabled trait on the datepicker
I'm currently coding it in a module and the process of disabling a datepicker is uterly boring. I think we could add an extra trait to the layout and pilot the enabling and disabling directly from the built-in widget
```python
self.w_start = sw.DatePicker(label="start", v_mo... | 12rambau/sepal_ui | diff --git a/tests/test_DatePicker.py b/tests/test_DatePicker.py
index f4c6d40e..e5f5d06f 100644
--- a/tests/test_DatePicker.py
+++ b/tests/test_DatePicker.py
@@ -35,6 +35,14 @@ class TestDatePicker:
return
+ def test_disable(self, datepicker):
+
+ for boolean in [True, False]:
+ datep... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 2
} | 2.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"coverage"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-... | affine==2.4.0
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
bqplot==0.12.44
branca==0.4.2
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.... | name: sepal_ui
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=... | [
"tests/test_DatePicker.py::TestDatePicker::test_disable"
] | [] | [
"tests/test_DatePicker.py::TestDatePicker::test_init",
"tests/test_DatePicker.py::TestDatePicker::test_bind"
] | [] | MIT License | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-411 | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-411 | |
12rambau__sepal_ui-416 | 8b76805db051d6d15024bd9ec2d78502cd92132e | 2022-03-11 19:47:50 | 97371fbaed444727126a2969cd68f856db77221f | diff --git a/docs/source/modules/sepal_ui.sepalwidgets.DrawerItem.rst b/docs/source/modules/sepal_ui.sepalwidgets.DrawerItem.rst
index a3280cd3..22b87b44 100644
--- a/docs/source/modules/sepal_ui.sepalwidgets.DrawerItem.rst
+++ b/docs/source/modules/sepal_ui.sepalwidgets.DrawerItem.rst
@@ -7,7 +7,9 @@ sepal\_ui.sepalwi... | Interact with navigation drawers
Sometimes is useful to pass some data from the module model to the app environment and so far we do not have this implementation.
We can add two simple methods to the drawers so they can update their state with icons, badges, and so.
| 12rambau/sepal_ui | diff --git a/tests/test_DrawerItem.py b/tests/test_DrawerItem.py
index ad26c3a2..0e80ffc9 100644
--- a/tests/test_DrawerItem.py
+++ b/tests/test_DrawerItem.py
@@ -1,3 +1,6 @@
+import pytest
+from sepal_ui.model import Model
+from traitlets import Bool
import ipyvuetify as v
from sepal_ui import sepalwidgets as sw
@... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 3
},
"num_modified_files": 2
} | 2.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"coverage"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-... | affine==2.4.0
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
bqplot==0.12.44
branca==0.4.2
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.... | name: sepal_ui
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=... | [
"tests/test_DrawerItem.py::TestDrawerItem::test_add_notif",
"tests/test_DrawerItem.py::TestDrawerItem::test_remove_notif"
] | [] | [
"tests/test_DrawerItem.py::TestDrawerItem::test_init_cards",
"tests/test_DrawerItem.py::TestDrawerItem::test_display_tile"
] | [] | MIT License | null | null | |
12rambau__sepal_ui-418 | 8b76805db051d6d15024bd9ec2d78502cd92132e | 2022-03-14 14:24:04 | 97371fbaed444727126a2969cd68f856db77221f | diff --git a/docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst b/docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst
index 867227cb..322cca23 100644
--- a/docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst
+++ b/docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst
@@ -9,6 +9,7 @@ sepal\_ui.sepalwi... | Can't instantiate a sw.DatePicker with initial v_model
Is not possible to instantiate the sepal DatePicker with an initially given date through the `v_model` parameter | 12rambau/sepal_ui | diff --git a/tests/test_DatePicker.py b/tests/test_DatePicker.py
index e5f5d06f..48993736 100644
--- a/tests/test_DatePicker.py
+++ b/tests/test_DatePicker.py
@@ -17,6 +17,11 @@ class TestDatePicker:
datepicker = sw.DatePicker("toto")
assert isinstance(datepicker, sw.DatePicker)
+ # datepicke... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 1,
"test_score": 2
},
"num_modified_files"... | 2.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest",
"coverage"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-... | affine==2.4.0
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
bqplot==0.12.44
branca==0.4.2
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.... | name: sepal_ui
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=... | [
"tests/test_DatePicker.py::TestDatePicker::test_is_valid_date",
"tests/test_DatePicker.py::TestDatePicker::test_check_date"
] | [] | [
"tests/test_DatePicker.py::TestDatePicker::test_init",
"tests/test_DatePicker.py::TestDatePicker::test_bind",
"tests/test_DatePicker.py::TestDatePicker::test_disable"
] | [] | MIT License | null | null | |
12rambau__sepal_ui-419 | 97371fbaed444727126a2969cd68f856db77221f | 2022-03-15 11:14:02 | 97371fbaed444727126a2969cd68f856db77221f | diff --git a/docs/source/modules/sepal_ui.rst b/docs/source/modules/sepal_ui.rst
index 366a3fb2..2650327b 100644
--- a/docs/source/modules/sepal_ui.rst
+++ b/docs/source/modules/sepal_ui.rst
@@ -24,3 +24,11 @@ Content
sepal_ui.theme
sepal_ui.color
sepal_ui.config_file
+
+.. rubric:: Attributes
+
+.. ... | automatically detect the theme used and adapt the frontend accordingly
I have seen it on several zoom : it's so cool to display everything in dark but look so wrong when people are actually just developing in there own env in light theme.
Several situation that I would like to handle :
- voila theme
- jupyterL... | 12rambau/sepal_ui | diff --git a/tests/test_LocaleSelect.py b/tests/test_LocaleSelect.py
index 5da8c6e0..1813b58d 100644
--- a/tests/test_LocaleSelect.py
+++ b/tests/test_LocaleSelect.py
@@ -6,7 +6,7 @@ from sepal_ui import sepalwidgets as sw
from sepal_ui import config_file
-class TestBtn:
+class TestLocalSelect:
def test_init(... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_added_files",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files": 14
} | 2.6 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"numpy>=1.16.0",
"pandas>=1.0.0",
"ipyvuetify",
"pytest"
],
"pre_install": [
"apt-get update",
"... | affine==2.4.0
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
bqplot==0.12.44
branca==0.4.2
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.... | name: sepal_ui
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=... | [
"tests/test_ThemeSelect.py::TestThemeSelect::test_init",
"tests/test_ThemeSelect.py::TestThemeSelect::test_change_language",
"tests/test_utils.py::TestUtils::test_set_config_theme"
] | [
"tests/test_SepalMap.py::TestSepalMap::test_init",
"tests/test_SepalMap.py::TestSepalMap::test_set_drawing_controls",
"tests/test_SepalMap.py::TestSepalMap::test_remove_last_layer",
"tests/test_SepalMap.py::TestSepalMap::test_zoom_bounds",
"tests/test_SepalMap.py::TestSepalMap::test_show_dc",
"tests/test_... | [
"tests/test_LocaleSelect.py::TestLocalSelect::test_init",
"tests/test_LocaleSelect.py::TestLocalSelect::test_change_language",
"tests/test_SepalMap.py::TestSepalMap::test_get_basemap_list",
"tests/test_utils.py::TestUtils::test_hide_component",
"tests/test_utils.py::TestUtils::test_show_component",
"tests... | [] | MIT License | null | null | |
12rambau__sepal_ui-459 | a4b3091755a11ef31a3714858007a93b750b6a79 | 2022-05-04 08:13:02 | 7eb3f48735e1cfeac75fecf88dd8194c8daea3d3 | diff --git a/docs/source/modules/sepal_ui.translator.Translator.rst b/docs/source/modules/sepal_ui.translator.Translator.rst
index 60fa976c..642a3ab6 100644
--- a/docs/source/modules/sepal_ui.translator.Translator.rst
+++ b/docs/source/modules/sepal_ui.translator.Translator.rst
@@ -27,6 +27,7 @@ sepal\_ui.translator.Tr... | crowdin untranslated keys are marked as empty string
These string are interpreted as "something" by the translator leading to empty strings everywhere in the build-in component.
They should be ignored | 12rambau/sepal_ui | diff --git a/tests/test_Translator.py b/tests/test_Translator.py
index 930a533e..c6d0e85e 100644
--- a/tests/test_Translator.py
+++ b/tests/test_Translator.py
@@ -49,25 +49,29 @@ class TestTranslator:
# a test dict with many embeded numbered list
# but also an already existing list
test = {
-... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files"... | 2.8 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=... | affine==2.4.0
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
bqplot==0.12.44
branca==0.4.2
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.... | name: sepal_ui
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=... | [
"tests/test_Translator.py::TestTranslator::test_delete_empty"
] | [] | [
"tests/test_Translator.py::TestTranslator::test_init",
"tests/test_Translator.py::TestTranslator::test_search_key",
"tests/test_Translator.py::TestTranslator::test_sanitize",
"tests/test_Translator.py::TestTranslator::test_missing_keys",
"tests/test_Translator.py::TestTranslator::test_find_target",
"tests... | [] | MIT License | null | null | |
12rambau__sepal_ui-501 | 7eb3f48735e1cfeac75fecf88dd8194c8daea3d3 | 2022-06-09 11:09:52 | 7eb3f48735e1cfeac75fecf88dd8194c8daea3d3 | diff --git a/docs/source/modules/sepal_ui.translator.Translator.rst b/docs/source/modules/sepal_ui.translator.Translator.rst
index 642a3ab6..7f11e39f 100644
--- a/docs/source/modules/sepal_ui.translator.Translator.rst
+++ b/docs/source/modules/sepal_ui.translator.Translator.rst
@@ -2,19 +2,6 @@ sepal\_ui.translator.Tra... | use box for the translator ?
I discovered this lib while working on the geemap drop.
I think it could be super handy for the translator keys and maybe faster. https://github.com/cdgriffith/Box
side note: we will need it anyway for the geemap drop | 12rambau/sepal_ui | diff --git a/tests/test_Translator.py b/tests/test_Translator.py
index c6d0e85e..ff6c46f8 100644
--- a/tests/test_Translator.py
+++ b/tests/test_Translator.py
@@ -35,9 +35,10 @@ class TestTranslator:
def test_search_key(self):
- # assert that having a wrong key in the json will raise an error
+ #... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_hyperlinks",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 3,
"test_score": 3
},
"num_modified_files": 3
} | 2.8 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest",
"coverage"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA... | affine==2.4.0
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
branca==0.8.1
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.1
click==8.1.8
c... | name: sepal_ui
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld... | [
"tests/test_Translator.py::TestTranslator::test_search_key"
] | [] | [
"tests/test_Translator.py::TestTranslator::test_init",
"tests/test_Translator.py::TestTranslator::test_sanitize",
"tests/test_Translator.py::TestTranslator::test_delete_empty",
"tests/test_Translator.py::TestTranslator::test_find_target",
"tests/test_Translator.py::TestTranslator::test_available_locales"
] | [] | MIT License | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-501 | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-501 | |
12rambau__sepal_ui-516 | 9c319b0c21b8b1ba75173f3f85fd184747c398de | 2022-07-03 07:19:07 | 114063b50ee5b1ccbab680424bb048e11939b870 | diff --git a/docs/source/modules/sepal_ui.aoi.AoiModel.rst b/docs/source/modules/sepal_ui.aoi.AoiModel.rst
index 0f5b8f1a..ccdcab52 100644
--- a/docs/source/modules/sepal_ui.aoi.AoiModel.rst
+++ b/docs/source/modules/sepal_ui.aoi.AoiModel.rst
@@ -12,7 +12,6 @@ sepal\_ui.aoi.AoiModel
~AoiModel.NAME
~AoiM... | deprecate zip_dir
https://github.com/12rambau/sepal_ui/blob/a9255e7c566aac31ee7f8303e74fb7e8a3d57e5f/sepal_ui/aoi/aoi_model.py#L64
This folder is created on AOI call but is not used anymore as we are using the tmp module to create the tmp directory. | 12rambau/sepal_ui | diff --git a/tests/test_Tile.py b/tests/test_Tile.py
index aa22d301..de0de97e 100644
--- a/tests/test_Tile.py
+++ b/tests/test_Tile.py
@@ -81,7 +81,7 @@ class TestTile:
assert res == tile
assert tile._metadata["mount_id"] == "nested_tile"
- assert tile.elevation is False
+ assert tile.... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement",
"has_many_modified_files",
"has_many_hunks"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 1,
"test_score": 3
},
"num_modified_files"... | 2.9 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[dev]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line --col... | affine==2.4.0
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
attrs==25.3.0
babel==2.17.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
branca==0.8.1
cachetools==5.5.2
certifi==2025.1.31
cffi==1.17.1
cfgv==3.4.0
charset-normalizer==3.4.1
click==8.1.8
c... | name: sepal_ui
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
- conda-forge
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- ca-certificates=2025.2.25=h06a4308_0
- exceptiongroup=1.2.0=py39h06a4308_0
- iniconfig=1.1.1=pyhd3eb1b0_0
- ld... | [
"tests/test_Tile.py::TestTile::test_nest"
] | [] | [
"tests/test_Tile.py::TestTile::test_init",
"tests/test_Tile.py::TestTile::test_set_content",
"tests/test_Tile.py::TestTile::test_set_title",
"tests/test_Tile.py::TestTile::test_hide",
"tests/test_Tile.py::TestTile::test_show",
"tests/test_Tile.py::TestTile::test_toggle_inputs",
"tests/test_Tile.py::Test... | [] | MIT License | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-516 | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-516 | |
12rambau__sepal_ui-517 | 9c319b0c21b8b1ba75173f3f85fd184747c398de | 2022-07-03 10:05:47 | 114063b50ee5b1ccbab680424bb048e11939b870 | "diff --git a/sepal_ui/message/en/utils.json b/sepal_ui/message/en/utils.json\nnew file mode 100644\(...TRUNCATED) | "refactor check_input to raise error instead of displaying a message?\nhttps://github.com/12rambau/s(...TRUNCATED) | 12rambau/sepal_ui | "diff --git a/tests/test_Alert.py b/tests/test_Alert.py\nindex 6116cbc7..d125b74e 100644\n--- a/test(...TRUNCATED) | {"commit_name":"head_commit","failed_lite_validators":["has_added_files","has_many_modified_files","(...TRUNCATED) | 2.9 | {"env_vars":null,"env_yml_path":null,"install":"pip install -e .[dev]","log_parser":"parse_log_pytes(...TRUNCATED) | "affine==2.4.0\nanyio==4.9.0\nargon2-cffi==23.1.0\nargon2-cffi-bindings==21.2.0\narrow==1.3.0\nastto(...TRUNCATED) | "name: sepal_ui\nchannels:\n - defaults\n - https://repo.anaconda.com/pkgs/main\n - https://repo.(...TRUNCATED) | ["tests/test_Alert.py::TestAlert::test_check_input","tests/test_utils.py::TestUtils::test_check_inpu(...TRUNCATED) | ["tests/test_utils.py::TestUtils::test_init_ee","tests/test_utils.py::TestUtils::test_geojson_to_ee"(...TRUNCATED) | ["tests/test_Alert.py::TestAlert::test_init","tests/test_Alert.py::TestAlert::test_add_msg","tests/t(...TRUNCATED) | [] | MIT License | null | null |
Dataset Summary
SWE-rebench is a large-scale dataset designed to support training and evaluation of LLM-based software engineering (SWE) agents, building upon and expanding our earlier release, SWE-bench-extra. It is constructed using a fully automated pipeline that continuously extracts real-world interactive SWE tasks from GitHub repositories at scale, as detailed in our paper SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents. The dataset currently comprises over 21,000 issue–pull request pairs from 3,400+ Python repositories, each validated for correctness through automated environment setup and test execution. A curated subset of these tasks also forms the basis of our continuously updated SWE-rebench leaderboard. SWE-rebench builds upon and extends the methodology of SWE-bench by incorporating several key enhancements detailed in our paper, including:
- A fully automated pipeline for continuous task collection.
- LLM-driven extraction and validation of environment installation instructions.
- An automated LLM-based task quality assessment pipeline that annotates tasks with labels such as clarity, complexity, or test patch validity.
We’ve released 7,500 pre-built Docker images used in our RL pipeline. They’re publicly available on Docker Hub. You do not need to build them yourself.
News
[2025/08/05] Uploaded the corresponding Docker images for 7,500 tasks to Docker Hub.
How to Use
from datasets import load_dataset
ds = load_dataset('nebius/SWE-rebench')
Dataset Structure
The SWE-rebench dataset schema extends the original SWE-bench schema with additional fields to support richer analysis. The complete schema is detailed in the table below. For more information about this data and methodology behind collecting it, please refer to our paper.
| Field name | Type | Description |
|---|---|---|
instance_id |
str | A formatted instance identifier, usually as repo_owner__repo_name-PR-number. |
patch |
str | The gold patch, the patch generated by the PR (minus test-related code), that resolved the issue. |
repo |
str | The repository owner/name identifier from GitHub. |
base_commit |
str | The commit hash of the repository representing the HEAD of the repository before the solution PR is applied. |
hints_text |
str | Comments made on the issue prior to the creation of the solution PR’s first commit creation date. |
created_at |
str | The creation date of the pull request. |
test_patch |
str | A test-file patch that was contributed by the solution PR. |
problem_statement |
str | The issue title and body. |
version |
str | Installation version to use for running evaluation. |
environment_setup_commit |
str | Commit hash to use for environment setup and installation. |
FAIL_TO_PASS |
str | A JSON list of strings that represent the set of tests resolved by the PR and tied to the issue resolution. |
PASS_TO_PASS |
str | A JSON list of strings that represent tests that should pass before and after the PR application. |
meta |
str | A JSON dictionary indicating whether the instance is lite, along with a list of failed lite validators if it is not. |
license_name |
str | The type of license of the repository. |
install_config |
str | Installation configuration for setting up the repository. |
requirements |
str | Freezed requirements for the repository. |
environment |
str | Environment configuration for the repository. |
To execute tasks from SWE-rebench (i.e., set up their environments, apply patches, and run tests), we provide a fork of the original SWE-bench execution framework, adapted for our dataset's structure and features.
Our fork is based on the SWE-bench framework, specifically from its Release 4.0.3. The primary modification introduces functionality to source environment installation constants directly from the install_config field present in each task instance within SWE-rebench. This allows for more flexible and task-specific environment setups.
You can find the details of this modification in the following commit:
To build the necessary Docker images and run agents on SWE-rebench tasks, you have two main options:
- Use our SWE-bench fork directly: Clone the fork and utilize its scripts for building images and executing tasks. The framework will automatically use the
install_configfrom each task. - Integrate similar functionality into your existing codebase: If you have your own execution framework based on SWE-bench or a different system, you can adapt it by implementing a similar mechanism to parse and utilize the
install_configfield from the SWE-rebench task instances. The aforementioned commit can serve as a reference for this integration.
License
The dataset is licensed under the Creative Commons Attribution 4.0 license. However, please respect the license of each specific repository on which a particular instance is based. To facilitate this, the license of each repository at the time of the commit is provided for every instance.
Citation
@misc{badertdinov2025swerebenchautomatedpipelinetask,
title={SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents},
author={Ibragim Badertdinov and Alexander Golubev and Maksim Nekrashevich and Anton Shevtsov and Simon Karasik and Andrei Andriushchenko and Maria Trofimova and Daria Litvintseva and Boris Yangel},
year={2025},
eprint={2505.20411},
archivePrefix={arXiv},
primaryClass={cs.SE},
url={https://arxiv.org/abs/2505.20411}
}
- Downloads last month
- 63,251