instance_id stringlengths 10 79 | base_commit stringlengths 0 40 | created_at stringlengths 0 19 | environment_setup_commit stringlengths 0 40 | hints_text stringlengths 0 196k | patch stringlengths 261 854k | problem_statement stringlengths 33 51.5k | repo stringlengths 7 55 | test_patch stringlengths 0 997k | meta dict | version stringclasses 556
values | install_config dict | requirements stringlengths 0 34.2k | environment stringlengths 0 20.5k | FAIL_TO_PASS listlengths 1 5.39k | FAIL_TO_FAIL listlengths 0 589 | PASS_TO_PASS listlengths 0 22k | PASS_TO_FAIL listlengths 0 92 | license_name stringclasses 44
values | docker_image stringlengths 42 89 | image_name stringlengths 42 89 | line_pi listlengths 1 60 | file_pi listlengths 1 60 | dir_pi listlengths 1 14 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | [
{
"file_path": "setup.py",
"added_lines": [
17
],
"deleted_lines": [
17
]
},
{
"file_path": "spectree/utils.py",
"added_lines": [
57,
68,
79
],
"deleted_lines": []
}
] | [
"setup.py",
"spectree/utils.py"
] | [
".",
"spectree"
] | |
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 | [
{
"file_path": "docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst",
"added_lines": [
11,
19,
21,
22,
23
],
"deleted_lines": [
19
]
},
{
"file_path": "sepal_ui/sepalwidgets/inputs.py",
"added_lines": [
4,
43,
44,
45,
... | [
"docs/source/modules/sepal_ui.sepalwidgets.DatePicker.rst",
"sepal_ui/sepalwidgets/inputs.py"
] | [
"docs/source/modules",
"sepal_ui/sepalwidgets"
] | |
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 | [
{
"file_path": "docs/source/modules/sepal_ui.translator.Translator.rst",
"added_lines": [
23
],
"deleted_lines": [
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
36
]
},
{
"file_path": "sepal_ui/sep... | [
"docs/source/modules/sepal_ui.translator.Translator.rst",
"sepal_ui/sepalwidgets/app.py",
"sepal_ui/translator/translator.py"
] | [
"docs/source/modules",
"sepal_ui/sepalwidgets",
"sepal_ui/translator"
] | |
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 | [
{
"file_path": "docs/source/modules/sepal_ui.aoi.AoiModel.rst",
"added_lines": [],
"deleted_lines": [
15
]
},
{
"file_path": "sepal_ui/aoi/aoi_model.py",
"added_lines": [],
"deleted_lines": [
64,
65,
66,
67,
68
]
},
{
"file_path": "sepa... | [
"docs/source/modules/sepal_ui.aoi.AoiModel.rst",
"sepal_ui/aoi/aoi_model.py",
"sepal_ui/mapping/sepal_map.py",
"sepal_ui/mapping/value_inspector.py",
"sepal_ui/sepalwidgets/tile.py"
] | [
"docs/source/modules",
"sepal_ui/aoi",
"sepal_ui/mapping",
"sepal_ui/sepalwidgets"
] | |
12rambau__sepal_ui-518 | 698d446e33062934d49f9edb91cbe303b73e786f | 2022-07-03 10:33:15 | 114063b50ee5b1ccbab680424bb048e11939b870 | diff --git a/sepal_ui/mapping/aoi_control.py b/sepal_ui/mapping/aoi_control.py
index 01a6aa48..ae143d2c 100644
--- a/sepal_ui/mapping/aoi_control.py
+++ b/sepal_ui/mapping/aoi_control.py
@@ -36,7 +36,7 @@ class AoiControl(WidgetControl):
kwargs["position"] = kwargs.pop("position", "topright")
# crea... | add posibility to add text in the map_btn
The current implementation of the map_btn only authorize to use logos. It would be nice to let the opportunity to use letters as in the SEPAL main framework (3 letters only in capital) | 12rambau/sepal_ui | diff --git a/tests/test_FullScreenControl.py b/tests/test_FullScreenControl.py
index 39141edf..148242b8 100644
--- a/tests/test_FullScreenControl.py
+++ b/tests/test_FullScreenControl.py
@@ -14,7 +14,7 @@ class TestFullScreenControl:
assert isinstance(control, sm.FullScreenControl)
assert control in m... | {
"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": 0
},
"num_modified_files": 4
} | 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_MapBtn.py::TestMapBtn::test_init"
] | [
"tests/test_FullScreenControl.py::TestFullScreenControl::test_init",
"tests/test_FullScreenControl.py::TestFullScreenControl::test_toggle_fullscreen"
] | [] | [] | MIT License | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-518 | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-518 | [
{
"file_path": "sepal_ui/mapping/aoi_control.py",
"added_lines": [
39
],
"deleted_lines": [
39
]
},
{
"file_path": "sepal_ui/mapping/fullscreen_control.py",
"added_lines": [
46,
91
],
"deleted_lines": [
46,
91
]
},
{
"file_path"... | [
"sepal_ui/mapping/aoi_control.py",
"sepal_ui/mapping/fullscreen_control.py",
"sepal_ui/mapping/map_btn.py",
"sepal_ui/mapping/value_inspector.py"
] | [
"sepal_ui/mapping"
] | |
12rambau__sepal_ui-574 | 412e02ef08df68c256f384081d2c7eaecc09428e | 2022-08-16 14:28:01 | 8c50a7f032daafcbf7cfb6dc16d5d421f02a32e5 | diff --git a/sepal_ui/translator/translator.py b/sepal_ui/translator/translator.py
index 1ad14c98..ea647223 100644
--- a/sepal_ui/translator/translator.py
+++ b/sepal_ui/translator/translator.py
@@ -65,7 +65,7 @@ class Translator(Box):
# check if forbidden keys are being used
# this will raise an er... | _protected_keys are not raising error when used in translator
`protected_keys` are not raising errors when used in a json translation file. It is also happening with the "`FORBIDDEN_KEYS`" when are used in nested levels.
To reproduce...
```Python
# set up the appropriate keys for each language
keys = {
"en... | 12rambau/sepal_ui | diff --git a/tests/test_Translator.py b/tests/test_Translator.py
index 3c3704af..865bcd84 100644
--- a/tests/test_Translator.py
+++ b/tests/test_Translator.py
@@ -40,17 +40,30 @@ class TestTranslator:
assert translator._target == "fr-FR"
assert translator._match is True
+ # Check that is fail... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 1,
"issue_text_score": 0,
"test_score": 3
},
"num_modified_files": 1
} | 2.10 | {
"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",
"nbmake"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
],
"python": "3.9"... | affine==2.4.0
aiohappyeyeballs==2.6.1
aiohttp==3.11.14
aiosignal==1.3.2
anyio==4.9.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-timeout==5.0.1
attrs==25.3.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... | 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_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-574 | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-574 | [
{
"file_path": "sepal_ui/translator/translator.py",
"added_lines": [
68,
133,
146,
147,
148
],
"deleted_lines": [
68,
133,
134,
147
]
}
] | [
"sepal_ui/translator/translator.py"
] | [
"sepal_ui/translator"
] | |
12rambau__sepal_ui-646 | 8a8196e3c7893b7a0aebdb4910e83054f59e0374 | 2022-11-29 22:27:29 | 8a8196e3c7893b7a0aebdb4910e83054f59e0374 | diff --git a/sepal_ui/sepalwidgets/alert.py b/sepal_ui/sepalwidgets/alert.py
index 68e3f115..de6d4abb 100644
--- a/sepal_ui/sepalwidgets/alert.py
+++ b/sepal_ui/sepalwidgets/alert.py
@@ -94,9 +94,10 @@ class Alert(v.Alert, SepalWidget):
self.show()
# cast the progress to float
+ total = tqdm_... | allow other values for progress
Now that we are supporting tqdm it should be possible to support progress values that are not between 0 and 1. https://github.com/12rambau/sepal_ui/blob/c15a83dc6c92d076e6932afab4e4b2987585894b/sepal_ui/sepalwidgets/alert.py#L98 | 12rambau/sepal_ui | diff --git a/tests/test_Alert.py b/tests/test_Alert.py
index af360930..52c6931c 100644
--- a/tests/test_Alert.py
+++ b/tests/test_Alert.py
@@ -153,11 +153,18 @@ class TestAlert:
# test a random update
alert.update_progress(0.5)
- assert alert.progress_bar.n == 50
+ assert alert.progres... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 2,
"issue_text_score": 1,
"test_score": 0
},
"num_modified_files": 1
} | 2.12 | {
"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",
"pytest-sugar"
],
"pre_install": null,
"python": "3.9",
"reqs_path": null,
"test_cmd": "pytest --no-header... | affine==2.4.0
aiohappyeyeballs==2.6.1
aiohttp==3.11.14
aiosignal==1.3.2
anyio==3.7.1
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-timeout==5.0.1
attrs==25.3.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... | 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_Alert.py::TestAlert::test_update_progress"
] | [] | [
"tests/test_Alert.py::TestAlert::test_init",
"tests/test_Alert.py::TestAlert::test_add_msg",
"tests/test_Alert.py::TestAlert::test_add_live_msg",
"tests/test_Alert.py::TestAlert::test_append_msg",
"tests/test_Alert.py::TestAlert::test_reset",
"tests/test_Alert.py::TestAlert::test_rmv_last_msg"
] | [] | MIT License | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-646 | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-646 | [
{
"file_path": "sepal_ui/sepalwidgets/alert.py",
"added_lines": [
97,
99,
100,
111,
124
],
"deleted_lines": [
98,
99,
110,
123
]
}
] | [
"sepal_ui/sepalwidgets/alert.py"
] | [
"sepal_ui/sepalwidgets"
] | |
12rambau__sepal_ui-747 | a683a7665a9710acd5ca939308e18539e92014b7 | 2023-02-08 10:00:39 | 22c831cffe193cb87de2720b655ebd069e585f45 | diff --git a/sepal_ui/sepalwidgets/sepalwidget.py b/sepal_ui/sepalwidgets/sepalwidget.py
index 40826809..00cbe015 100644
--- a/sepal_ui/sepalwidgets/sepalwidget.py
+++ b/sepal_ui/sepalwidgets/sepalwidget.py
@@ -177,11 +177,11 @@ class SepalWidget(v.VuetifyWidget):
is_klass = isinstance(w, klass)
... | make get_children recursively again
previous implementation used recursion to find all children within the widget that matches with the query, now it returns only first level of matching children, could we make it reclusively again? | 12rambau/sepal_ui | diff --git a/tests/test_SepalWidget.py b/tests/test_SepalWidget.py
index 3abd719f..22699d69 100644
--- a/tests/test_SepalWidget.py
+++ b/tests/test_SepalWidget.py
@@ -108,24 +108,23 @@ class TestSepalWidget:
assert len(res) == 0
# search for specific attributes in any class
- # one alert that... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_short_problem_statement"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 2,
"test_score": 0
},
"num_modified_files": 1
} | 2.15 | {
"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",
"pytest-sugar",
"pytest-icdiff",
"pytest-cov",
"pytest-deadfixtures",
"Flake8-pyproject",
"nox",... | affine==2.4.0
aiohappyeyeballs==2.6.1
aiohttp==3.11.14
aiosignal==1.3.2
anyio==3.7.1
argcomplete==3.5.3
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-timeout==5.0.1
attrs==25.3.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
branca==0.8.1
cachetools==5.5.2
certifi==2025.1.3... | 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_SepalWidget.py::TestSepalWidget::test_get_children"
] | [] | [
"tests/test_SepalWidget.py::TestSepalWidget::test_init",
"tests/test_SepalWidget.py::TestSepalWidget::test_set_viz",
"tests/test_SepalWidget.py::TestSepalWidget::test_show",
"tests/test_SepalWidget.py::TestSepalWidget::test_hide",
"tests/test_SepalWidget.py::TestSepalWidget::test_toggle_viz",
"tests/test_... | [] | MIT License | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-747 | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-747 | [
{
"file_path": "sepal_ui/sepalwidgets/sepalwidget.py",
"added_lines": [
182,
183,
184
],
"deleted_lines": [
180,
183,
184
]
}
] | [
"sepal_ui/sepalwidgets/sepalwidget.py"
] | [
"sepal_ui/sepalwidgets"
] | |
12rambau__sepal_ui-774 | 2576446debe3544f3edeb208c76f671ffc0c8650 | 2023-03-01 15:49:43 | 22c831cffe193cb87de2720b655ebd069e585f45 | diff --git a/sepal_ui/sepalwidgets/inputs.py b/sepal_ui/sepalwidgets/inputs.py
index 04e69553..cd561bb5 100644
--- a/sepal_ui/sepalwidgets/inputs.py
+++ b/sepal_ui/sepalwidgets/inputs.py
@@ -205,6 +205,9 @@ class FileInput(v.Flex, SepalWidget):
clear: Optional[v.Btn] = None
"clear btn to remove everything and... | Restrict maximum parent level from InputFile
I have some apps where I’m interested on only search up to certain level, i.e., module_downloads, and I think that in the most of them, the user doesn’t need to go upper from sepal_user, once they start clicking, they could easily get lost over multiple folders.
what if w... | 12rambau/sepal_ui | diff --git a/tests/conftest.py b/tests/conftest.py
index f8b2c217..bac6feee 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -1,6 +1,7 @@
import uuid
from itertools import product
from pathlib import Path
+from typing import Optional
import ee
import geopandas as gpd
@@ -20,7 +21,7 @@ except Exception:
... | {
"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": 1,
"test_score": 3
},
"num_modified_files": 2
} | 2.15 | {
"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 pytest-cov pytest-sugar pytest-icdiff pytest-deadfixtures Flake8-pyproject nbmake",
"pytest"
],
"pre_ins... | affine==2.4.0
aiohappyeyeballs==2.6.1
aiohttp==3.11.14
aiosignal==1.3.2
aniso8601==10.0.0
annotated-types==0.7.0
anyio==3.7.1
argcomplete==3.5.3
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-timeout==5.0.1
attrs==25.3.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
blinker=... | 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_FileInput.py::TestFileInput::test_root"
] | [] | [
"tests/test_FileInput.py::TestFileInput::test_init",
"tests/test_FileInput.py::TestFileInput::test_bind",
"tests/test_FileInput.py::TestFileInput::test_on_file_select",
"tests/test_FileInput.py::TestFileInput::test_on_reload",
"tests/test_FileInput.py::TestFileInput::test_reset",
"tests/test_FileInput.py:... | [] | MIT License | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-774 | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-774 | [
{
"file_path": "sepal_ui/sepalwidgets/inputs.py",
"added_lines": [
208,
209,
210,
224,
236,
241,
450,
452,
453,
470,
471,
472,
473,
474
],
"deleted_lines": [
461,
462,
463
]
},
{
"file_p... | [
"sepal_ui/sepalwidgets/inputs.py",
"sepal_ui/sepalwidgets/sepalwidget.py"
] | [
"sepal_ui/sepalwidgets"
] | |
12rambau__sepal_ui-814 | 6d825ae167f96ad2e7b76b96ca07de562f74dcf0 | 2023-04-11 07:43:35 | b91b2a2c45b4fa80a7a0c699df978ebc46682260 | diff --git a/sepal_ui/sepalwidgets/alert.py b/sepal_ui/sepalwidgets/alert.py
index 19718f51..8dafab92 100644
--- a/sepal_ui/sepalwidgets/alert.py
+++ b/sepal_ui/sepalwidgets/alert.py
@@ -108,14 +108,17 @@ class Alert(v.Alert, SepalWidget):
Args:
progress: the progress status in float
... | avoid to force developer to set total each time
I should be able to init the progress of an Alert first and then simply update the progress.
as in:
```python
from sepal_ui import sepalwidgets as sw
alert = sw.Alert()
# init
alert.update_progress(0, "toto", total=10)
# loop
for i in range(10):
... | 12rambau/sepal_ui | diff --git a/tests/test_sepalwidgets/test_Alert.py b/tests/test_sepalwidgets/test_Alert.py
index 3f8de9a4..cac14ebb 100644
--- a/tests/test_sepalwidgets/test_Alert.py
+++ b/tests/test_sepalwidgets/test_Alert.py
@@ -175,7 +175,8 @@ def test_update_progress() -> None:
# check that if total is set value can be more... | {
"commit_name": "head_commit",
"failed_lite_validators": [],
"has_test_patch": true,
"is_lite": true,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 0
},
"num_modified_files": 1
} | 2.16 | {
"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
aiohappyeyeballs==2.6.1
aiohttp==3.11.14
aiosignal==1.3.2
anyascii==0.3.2
anyio==3.7.1
argcomplete==3.5.3
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-lru==2.0.5
async-timeout==5.0.1
attrs==25.3.0
babel==2.17.0
backcall==0.2.0
beautifulsoup4==4.13.3
bleach==6.2.0
br... | 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_sepalwidgets/test_Alert.py::test_update_progress"
] | [] | [
"tests/test_sepalwidgets/test_Alert.py::test_init",
"tests/test_sepalwidgets/test_Alert.py::test_add_msg",
"tests/test_sepalwidgets/test_Alert.py::test_add_live_msg",
"tests/test_sepalwidgets/test_Alert.py::test_append_msg",
"tests/test_sepalwidgets/test_Alert.py::test_reset",
"tests/test_sepalwidgets/tes... | [] | MIT License | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-814 | swerebench/sweb.eval.x86_64.12rambau_1776_sepal_ui-814 | [
{
"file_path": "sepal_ui/sepalwidgets/alert.py",
"added_lines": [
111,
116,
118,
119,
120,
121
],
"deleted_lines": [
111,
116,
117
]
}
] | [
"sepal_ui/sepalwidgets/alert.py"
] | [
"sepal_ui/sepalwidgets"
] | |
15five__scim2-filter-parser-13 | 3ed1858b492542d0bc9b9e9ab9547641595e28c1 | 2020-07-30 14:25:04 | c794bf3e50e3cb71bdcf919feb43d11912907dd2 | diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 12a5d4f..178f172 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -1,6 +1,10 @@
CHANGE LOG
==========
+0.3.5
+-----
+- Update the sql.Transpiler to collect namedtuples rather than tuples for attr paths
+
0.3.4
-----
- Update tox.ini and clean up linting errors
di... | Return NamedTuple rather than tuple.
It would be nice to return a NamedTuple instead of a tuple here:
https://github.com/15five/scim2-filter-parser/blob/7ddc216f8c3dd1cdb2152944187e8f7f5ee07be2/src/scim2_filter_parser/transpilers/sql.py#L148
This way parts of each path could be accessed by name rather than by in... | 15five/scim2-filter-parser | diff --git a/tests/test_transpiler.py b/tests/test_transpiler.py
index b8e1bb4..280c2d3 100644
--- a/tests/test_transpiler.py
+++ b/tests/test_transpiler.py
@@ -36,6 +36,16 @@ class RFCExamples(TestCase):
self.assertEqual(expected_sql, sql, query)
self.assertEqual(expected_params, params, query)
+ ... | {
"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": 0
},
"num_modified_files"... | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "pytest",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.7",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --tb=line --color=no... | asgiref==3.7.2
attrs @ file:///croot/attrs_1668696182826/work
certifi @ file:///croot/certifi_1671487769961/work/certifi
Django==3.2.25
flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core
importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1648562407465/work
iniconfig @ ... | name: scim2-filter-parser
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
- attrs=22.1.0=py37h06a4308_0
- ca-certificates=2025.2.25=h06a4308_0
- certifi=2022.12.7=py37h06a4308_0... | [
"tests/test_transpiler.py::RFCExamples::test_attr_paths_are_created"
] | [] | [
"tests/test_transpiler.py::RFCExamples::test_emails_type_eq_work_value_contians_or_ims_type_eq_and_value_contians",
"tests/test_transpiler.py::RFCExamples::test_family_name_contains",
"tests/test_transpiler.py::RFCExamples::test_meta_last_modified_ge",
"tests/test_transpiler.py::RFCExamples::test_meta_last_mo... | [] | MIT License | swerebench/sweb.eval.x86_64.15five_1776_scim2-filter-parser-13 | swerebench/sweb.eval.x86_64.15five_1776_scim2-filter-parser-13 | [
{
"file_path": "CHANGELOG.rst",
"added_lines": [
4,
5,
6,
7
],
"deleted_lines": []
},
{
"file_path": "setup.py",
"added_lines": [
17
],
"deleted_lines": [
17
]
},
{
"file_path": "src/scim2_filter_parser/transpilers/sql.py",
"add... | [
"CHANGELOG.rst",
"setup.py",
"src/scim2_filter_parser/transpilers/sql.py"
] | [
".",
"src/scim2_filter_parser/transpilers"
] | |
15five__scim2-filter-parser-20 | 08de23c5626556a37beced764a22a2fa7021989b | 2020-10-18 03:21:13 | c794bf3e50e3cb71bdcf919feb43d11912907dd2 | diff --git a/src/scim2_filter_parser/parser.py b/src/scim2_filter_parser/parser.py
index 516f65d..12c693e 100644
--- a/src/scim2_filter_parser/parser.py
+++ b/src/scim2_filter_parser/parser.py
@@ -110,9 +110,8 @@ class SCIMParser(Parser):
# which takes precedence over "or"
# 3. Attribute operators
... | Issue when using multiple "or" or "and"
Hi,
I am facing an issue, where the query having two or more "and" or more than two "or" is failing.
Have a look at examples below: -
1)```"displayName co \"username\" or nickName co \"username\" or userName co \"username\""```
```"displayName co \"username\" and nick... | 15five/scim2-filter-parser | diff --git a/tests/test_parser.py b/tests/test_parser.py
index 4ff562c..19aa198 100644
--- a/tests/test_parser.py
+++ b/tests/test_parser.py
@@ -47,6 +47,24 @@ class BuggyQueries(TestCase):
with self.assertRaises(parser.SCIMParserError):
self.parser.parse(token_stream)
+ def test_g17_1_log_ex... | {
"commit_name": "head_commit",
"failed_lite_validators": [
"has_pytest_match_arg"
],
"has_test_patch": true,
"is_lite": false,
"llm_score": {
"difficulty_score": 0,
"issue_text_score": 0,
"test_score": 2
},
"num_modified_files": 1
} | 0.3 | {
"env_vars": null,
"env_yml_path": null,
"install": "pip install -e .[django-query]",
"log_parser": "parse_log_pytest",
"no_use_env": null,
"packages": "requirements.txt",
"pip_packages": [
"pytest"
],
"pre_install": null,
"python": "3.7",
"reqs_path": [
"docs/requirements.txt"
],
"te... | alabaster==0.7.13
asgiref==3.7.2
Babel==2.14.0
certifi @ file:///croot/certifi_1671487769961/work/certifi
charset-normalizer==3.4.1
Django==3.2.25
docutils==0.19
exceptiongroup==1.2.2
idna==3.10
imagesize==1.4.1
importlib-metadata==6.7.0
iniconfig==2.0.0
Jinja2==3.1.6
MarkupSafe==2.1.5
packaging==24.0
pluggy==1.2.0
Pyg... | name: scim2-filter-parser
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
- certifi=2022.12.7=py37h06a4308_0
- ld_impl_linux-64=2.40=h12ee... | [
"tests/test_parser.py::BuggyQueries::test_g17_1_log_exp_order",
"tests/test_parser.py::BuggyQueries::test_g17_2_log_exp_order"
] | [] | [
"tests/test_parser.py::RegressionTestQueries::test_command_line",
"tests/test_parser.py::BuggyQueries::test_g17_3_log_exp_order",
"tests/test_parser.py::BuggyQueries::test_no_quotes_around_comp_value",
"tests/test_parser.py::CommandLine::test_command_line"
] | [] | MIT License | swerebench/sweb.eval.x86_64.15five_1776_scim2-filter-parser-20 | swerebench/sweb.eval.x86_64.15five_1776_scim2-filter-parser-20 | [
{
"file_path": "src/scim2_filter_parser/parser.py",
"added_lines": [
113,
114
],
"deleted_lines": [
113,
114,
115
]
}
] | [
"src/scim2_filter_parser/parser.py"
] | [
"src/scim2_filter_parser"
] | |
20c__ctl-3 | 879af37647e61767a1ede59ffd353e4cfd27cd6f | 2019-10-08 09:23:56 | 879af37647e61767a1ede59ffd353e4cfd27cd6f | diff --git a/src/ctl/plugins/pypi.py b/src/ctl/plugins/pypi.py
index 5d979af..a6117af 100644
--- a/src/ctl/plugins/pypi.py
+++ b/src/ctl/plugins/pypi.py
@@ -32,7 +32,7 @@ class PyPIPluginConfig(release.ReleasePluginConfig):
config_file = confu.schema.Str(help="path to pypi config file (e.g. ~/.pypirc)")
# P... | PyPI plugin: `target` config attribute should be `repository`
This is so it's in line with the version plugin, which currently uses `repository` to specify the target repository
The pypi plugin currently uses `repository` to specify which PyPI repository to use, this should change to `pypi_repository` as well.
Sh... | 20c/ctl | diff --git a/tests/test_plugin_pypi.py b/tests/test_plugin_pypi.py
index 20315ad..19813e2 100644
--- a/tests/test_plugin_pypi.py
+++ b/tests/test_plugin_pypi.py
@@ -53,35 +53,35 @@ def test_init():
-def test_set_target_git_path(tmpdir, ctlr):
+def test_set_repository_git_path(tmpdir, ctlr):
"""
- Test set... | {
"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": 0,
"issue_text_score": 1,
"test_score": 0
},
"num_modified_files": 2
} | 0.1 | {
"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",
"pytest-cov",
"codecov"
],
"pre_install": [
"apt-get update",
"apt-get install -y gcc"
]... | attrs==22.2.0
certifi==2021.5.30
cfu==1.5.0
charset-normalizer==2.0.12
click==8.0.4
codecov==2.1.13
coverage==6.2
-e git+https://github.com/20c/ctl.git@879af37647e61767a1ede59ffd353e4cfd27cd6f#egg=ctl
future==0.18.3
git-url-parse==1.2.2
grainy==1.8.1
idna==3.10
importlib-metadata==4.8.3
iniconfig==1.1.1
munge==0.6.0
pa... | name: ctl
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
- certifi=2021.5.30=py36h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi... | [
"tests/test_plugin_pypi.py::test_set_repository_git_path[standard]",
"tests/test_plugin_pypi.py::test_set_repository_git_plugin[standard]",
"tests/test_plugin_pypi.py::test_set_repository_error[standard]"
] | [
"tests/test_plugin_pypi.py::test_build_dist[standard]",
"tests/test_plugin_pypi.py::test_validate_dist[standard]"
] | [
"tests/test_plugin_pypi.py::test_init"
] | [] | Apache License 2.0 | swerebench/sweb.eval.x86_64.20c_1776_ctl-3 | swerebench/sweb.eval.x86_64.20c_1776_ctl-3 | [
{
"file_path": "src/ctl/plugins/pypi.py",
"added_lines": [
35,
58,
63,
67
],
"deleted_lines": [
35,
58,
63,
67
]
},
{
"file_path": "src/ctl/plugins/release.py",
"added_lines": [
21,
22,
49,
54,
57,
58... | [
"src/ctl/plugins/pypi.py",
"src/ctl/plugins/release.py"
] | [
"src/ctl/plugins"
] |
End of preview. Expand in Data Studio
No dataset card yet
- Downloads last month
- 51