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" ]
3YOURMIND__django-migration-linter-113
799957a5564e8ca1ea20d7cf643abbc21db4e40f
2020-06-12 08:01:19
9c4788d851bdacc0ff2c5877a7e9568892af6530
diff --git a/django_migration_linter/migration_linter.py b/django_migration_linter/migration_linter.py index 31f8fea..c5ea333 100644 --- a/django_migration_linter/migration_linter.py +++ b/django_migration_linter/migration_linter.py @@ -289,8 +289,13 @@ class MigrationLinter(object): @classmethod def read_m...
Bug: --include-migrations-from argument being ignored In version 2.2.2, using the `--include-migration-from` argument and specifying a migration .py file will not work and `lintmigrations` will run on all migration files. On [line 299](https://github.com/3YOURMIND/django-migration-linter/blob/799957a5564e8ca1ea20d7c...
3YOURMIND/django-migration-linter
diff --git a/tests/unit/test_linter.py b/tests/unit/test_linter.py index 392a43c..d086fbe 100644 --- a/tests/unit/test_linter.py +++ b/tests/unit/test_linter.py @@ -88,8 +88,12 @@ class LinterFunctionsTestCase(unittest.TestCase): def test_read_migrations_unknown_file(self): file_path = "unknown_file" - ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
2.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": null, "python": "3.6", "r...
appdirs==1.4.4 asgiref==3.4.1 attrs==22.2.0 certifi==2021.5.30 coverage==6.2 Django==3.2.25 -e git+https://github.com/3YOURMIND/django-migration-linter.git@799957a5564e8ca1ea20d7cf643abbc21db4e40f#egg=django_migration_linter execnet==1.9.0 importlib-metadata==4.8.3 iniconfig==1.1.1 packaging==21.3 pluggy==1.0.0 py==1.1...
name: django-migration-linter 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=h...
[ "tests/unit/test_linter.py::LinterFunctionsTestCase::test_read_migrations_no_file", "tests/unit/test_linter.py::LinterFunctionsTestCase::test_read_migrations_unknown_file" ]
[ "tests/unit/test_linter.py::LinterFunctionsTestCase::test_exclude_migration_tests", "tests/unit/test_linter.py::LinterFunctionsTestCase::test_gather_all_migrations", "tests/unit/test_linter.py::LinterFunctionsTestCase::test_gather_migrations_with_list", "tests/unit/test_linter.py::LinterFunctionsTestCase::tes...
[ "tests/unit/test_linter.py::LinterFunctionsTestCase::test_read_migrations_empty_file", "tests/unit/test_linter.py::LinterFunctionsTestCase::test_read_migrations_from_file" ]
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.3yourmind_1776_django-migration-linter-113
swerebench/sweb.eval.x86_64.3yourmind_1776_django-migration-linter-113
[ { "file_path": "django_migration_linter/migration_linter.py", "added_lines": [ 292, 293, 294, 295, 296, 298, 308, 309, 310, 311, 312, 313, 314, 315, 330, 349 ], "deleted_lines": [ 293, 303, ...
[ "django_migration_linter/migration_linter.py" ]
[ "django_migration_linter" ]
3YOURMIND__django-migration-linter-258
366d16b01a72d0baa54fef55761d846b0f05b8dd
2023-07-03 18:35:18
366d16b01a72d0baa54fef55761d846b0f05b8dd
codecov-commenter: ## [Codecov](https://app.codecov.io/gh/3YOURMIND/django-migration-linter/pull/258?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) Report Patch coverage: **`100.00`**% and no project coverage change. > Comparison is base [(`366d16b`)](http...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3069d91..beafd65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,21 @@ Instead, the linter crashes and lets the `sqlmigrate` error raise, in order to avoid letting a problematic migration pass. One common reason for such an error is the SQL generation which requ...
Adding an index with a NOT NULL condition incorrectly triggers NOT_NULL rule Adding an index with a `WHERE` clause including `NOT NULL` gets flagged as a `NOT NULL constraint on columns` error. ## Steps to reproduce The follow migration operation: ```python AddIndexConcurrently( model_name="prediction", ...
3YOURMIND/django-migration-linter
diff --git a/tests/unit/test_sql_analyser.py b/tests/unit/test_sql_analyser.py index d7349fc..012d53c 100644 --- a/tests/unit/test_sql_analyser.py +++ b/tests/unit/test_sql_analyser.py @@ -297,6 +297,10 @@ class PostgresqlAnalyserTestCase(SqlAnalyserTestCase): sql = "CREATE UNIQUE INDEX CONCURRENTLY title_idx ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
4.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 pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": [], "python": "3.9", "reqs_path": ...
appdirs==1.4.4 asgiref==3.8.1 coverage==7.8.0 Django==4.2.20 -e git+https://github.com/3YOURMIND/django-migration-linter.git@366d16b01a72d0baa54fef55761d846b0f05b8dd#egg=django_migration_linter exceptiongroup==1.2.2 execnet==2.1.1 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-asyncio==0.26.0 pytes...
name: django-migration-linter 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...
[ "tests/unit/test_sql_analyser.py::PostgresqlAnalyserTestCase::test_create_index_concurrently_where" ]
[]
[ "tests/unit/test_sql_analyser.py::MySqlAnalyserTestCase::test_add_many_to_many_field", "tests/unit/test_sql_analyser.py::MySqlAnalyserTestCase::test_add_not_null", "tests/unit/test_sql_analyser.py::MySqlAnalyserTestCase::test_add_not_null_followed_by_default", "tests/unit/test_sql_analyser.py::MySqlAnalyserTe...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.3yourmind_1776_django-migration-linter-258
swerebench/sweb.eval.x86_64.3yourmind_1776_django-migration-linter-258
[ { "file_path": "CHANGELOG.md", "added_lines": [ 7, 8, 9, 12, 13, 14, 15, 16, 17, 18, 21 ], "deleted_lines": [] }, { "file_path": "django_migration_linter/sql_analyser/base.py", "added_lines": [ 43, 44 ], ...
[ "CHANGELOG.md", "django_migration_linter/sql_analyser/base.py" ]
[ ".", "django_migration_linter/sql_analyser" ]
AI4S2S__lilio-49
329a736d26915944744a4235c11497718e0d7832
2023-03-08 14:31:11
329a736d26915944744a4235c11497718e0d7832
sonarcloud[bot]: Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=AI4S2S_lilio&pullRequest=49) [![Bug](https://sonarsource.gi...
diff --git a/lilio/__init__.py b/lilio/__init__.py index f00a7de..ef989aa 100644 --- a/lilio/__init__.py +++ b/lilio/__init__.py @@ -62,8 +62,8 @@ Example: """ import logging -from . import calendar_shifter -from . import traintest +from lilio import calendar_shifter +from lilio import traintest from .calendar imp...
Add (more) attributes to xarray `resample` output As xarray uses the structure of netCDF files, there is quite a lot of space to add extra information, in the form of "attributes". For provenance and traceability, we can make use of this in Lilio. This can consist of, but is not limited to: - Adding attributes to...
AI4S2S/lilio
diff --git a/tests/test_resample.py b/tests/test_resample.py index 59fed6b..b50380f 100644 --- a/tests/test_resample.py +++ b/tests/test_resample.py @@ -209,6 +209,45 @@ class TestResample: with pytest.warns(UserWarning): resample(cal, dataset) + def test_dataset_attrs(self, dummy_calendar, d...
{ "commit_name": "merge_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": 2 }, "num_modified_files": 5 }
0.3
{ "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...
anyio==4.9.0 backports.tarfile==1.2.0 black==25.1.0 bump2version==1.0.1 certifi==2025.1.31 cffi==1.17.1 cftime==1.6.4.post1 click==8.1.8 contourpy==1.3.0 coverage==7.8.0 cryptography==44.0.2 cycler==0.12.1 distlib==0.3.9 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work filelock==3.18.0 fonttools==4.56.0...
name: lilio 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_im...
[ "tests/test_resample.py::TestResample::test_dataset_attrs[20151020]", "tests/test_resample.py::TestResample::test_dataset_attrs[20191015]", "tests/test_resample.py::TestResample::test_dataarray_attrs[20151020]", "tests/test_resample.py::TestResample::test_dataarray_attrs[20191015]" ]
[ "tests/test_resample.py::TestResampleChecks::test_month_freq_data" ]
[ "tests/test_resample.py::TestResample::test_non_mapped_calendar", "tests/test_resample.py::TestResample::test_nontime_index[20151020]", "tests/test_resample.py::TestResample::test_nontime_index[20191015]", "tests/test_resample.py::TestResample::test_series[20151020]", "tests/test_resample.py::TestResample::...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.ai4s2s_1776_lilio-49
swerebench/sweb.eval.x86_64.ai4s2s_1776_lilio-49
[ { "file_path": "lilio/__init__.py", "added_lines": [ 65, 66 ], "deleted_lines": [ 65, 66 ] }, { "file_path": "lilio/_attrs.py", "added_lines": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, ...
[ "lilio/__init__.py", "lilio/_attrs.py", "lilio/calendar.py", "lilio/calendar_shifter.py", "lilio/resampling.py", "pyproject.toml" ]
[ ".", "lilio" ]
AI4S2S__lilio-58
416ea560d41b57502cf204fbf4e65e79c21373bf
2023-05-30 06:43:39
416ea560d41b57502cf204fbf4e65e79c21373bf
sonarcloud[bot]: Kudos, SonarCloud Quality Gate passed!    [![Quality Gate passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/passed-16px.png 'Quality Gate passed')](https://sonarcloud.io/dashboard?id=AI4S2S_lilio&pullRequest=58) [![Bug](https://sonarsource.gi...
diff --git a/lilio/calendar.py b/lilio/calendar.py index c288ebb..93ee1db 100644 --- a/lilio/calendar.py +++ b/lilio/calendar.py @@ -206,10 +206,15 @@ class Calendar: self._set_mapping(mapping) @property - def n_targets(self): + def n_targets(self) -> int: """Return the number of targets....
Unclear error message when an empty calendar is passed to `resample` function. When executing the following code: ```py import lilio from lilio import Calendar import xarray as xr ds = xr.load_dataset(path_to_data) # just some sample data cal = Calendar("12-25") # note that no intervals are added to the calen...
AI4S2S/lilio
diff --git a/tests/test_resample.py b/tests/test_resample.py index c39bd68..b68441f 100644 --- a/tests/test_resample.py +++ b/tests/test_resample.py @@ -326,6 +326,24 @@ class TestResampleChecks: with pytest.raises(ValueError, match=r".*reserved names..*"): resample(cal, dummy_dataframe.rename(col...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "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": 2 }
0.4
{ "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": null, "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=n...
anyio==4.9.0 backports.tarfile==1.2.0 black==25.1.0 bump2version==1.0.1 certifi==2025.1.31 cffi==1.17.1 cftime==1.6.4.post1 click==8.1.8 cloudpickle==3.1.1 contourpy==1.3.0 coverage==7.8.0 cryptography==44.0.2 cycler==0.12.1 dask==2024.8.0 distlib==0.3.9 distributed==2024.8.0 exceptiongroup==1.2.2 filelock==3.18.0 font...
name: lilio 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=11....
[ "tests/test_resample.py::TestResampleChecks::test_empty_calendar" ]
[ "tests/test_resample.py::TestResample::test_missing_intervals_dataframe[20151020]", "tests/test_resample.py::TestResample::test_missing_intervals_dataframe[20191015]", "tests/test_resample.py::TestResample::test_missing_intervals_dataset[20151020]", "tests/test_resample.py::TestResample::test_missing_interval...
[ "tests/test_resample.py::TestResample::test_non_mapped_calendar", "tests/test_resample.py::TestResample::test_nontime_index[20151020]", "tests/test_resample.py::TestResample::test_nontime_index[20191015]", "tests/test_resample.py::TestResample::test_series[20151020]", "tests/test_resample.py::TestResample::...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.ai4s2s_1776_lilio-58
swerebench/sweb.eval.x86_64.ai4s2s_1776_lilio-58
[ { "file_path": "lilio/calendar.py", "added_lines": [ 209, 213, 214, 215, 216, 217 ], "deleted_lines": [ 209 ] }, { "file_path": "lilio/resampling.py", "added_lines": [ 338, 339 ], "deleted_lines": [] } ]
[ "lilio/calendar.py", "lilio/resampling.py" ]
[ "lilio" ]
ARMmbed__greentea-263
68508c5f4d7cf0635c75399d0ff7cfa896fdf2cc
2018-02-15 17:29:56
68508c5f4d7cf0635c75399d0ff7cfa896fdf2cc
diff --git a/mbed_greentea/mbed_greentea_cli.py b/mbed_greentea/mbed_greentea_cli.py index f6a13c4..446b965 100644 --- a/mbed_greentea/mbed_greentea_cli.py +++ b/mbed_greentea/mbed_greentea_cli.py @@ -23,6 +23,7 @@ import os import sys import random import optparse +import fnmatch from time import time try: f...
Test names are not correctly globbed Test names only respect a wildcard that is placed at the end of the string. Ex. "mbed-os-*". However, it does not respect the wildcard anywhere else. Ex. "*-timer" The build tools accept these wildcards, so greentea should as well. This is the line responsible: https://github....
ARMmbed/greentea
diff --git a/test/mbed_gt_cli.py b/test/mbed_gt_cli.py index 0646c20..8f4a1eb 100644 --- a/test/mbed_gt_cli.py +++ b/test/mbed_gt_cli.py @@ -21,6 +21,36 @@ import sys import unittest from mbed_greentea import mbed_greentea_cli +from mbed_greentea.tests_spec import TestSpec + +test_spec_def = { + "builds": { + ...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
1.3
{ "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...
appdirs==1.4.4 beautifulsoup4==4.13.3 certifi==2025.1.31 charset-normalizer==3.4.1 colorama==0.3.9 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work fasteners==0.19 future==1.0.0 idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work intelhex==2.3.0 junit-xml==1.9 lockfile==0....
name: greentea 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...
[ "test/mbed_gt_cli.py::GreenteaCliFunctionality::test_create_filtered_test_list" ]
[]
[ "test/mbed_gt_cli.py::GreenteaCliFunctionality::test_get_greentea_version", "test/mbed_gt_cli.py::GreenteaCliFunctionality::test_get_hello_string", "test/mbed_gt_cli.py::GreenteaCliFunctionality::test_get_local_host_tests_dir_default_path", "test/mbed_gt_cli.py::GreenteaCliFunctionality::test_get_local_host_t...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_greentea-263
swerebench/sweb.eval.x86_64.armmbed_1776_greentea-263
[ { "file_path": "mbed_greentea/mbed_greentea_cli.py", "added_lines": [ 26, 135, 136, 137, 138, 139, 140, 141, 143 ], "deleted_lines": [ 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, ...
[ "mbed_greentea/mbed_greentea_cli.py" ]
[ "mbed_greentea" ]
ARMmbed__mbed-tools-138
94a3bd761d6ab3305c81da93517767aafff58d7e
2020-12-01 14:33:04
9ad9be8ebe4c5cb07a88a7bd151ca845340a2cfe
codecov[bot]: # [Codecov](https://codecov.io/gh/ARMmbed/mbed-tools/pull/138?src=pr&el=h1) Report > Merging [#138](https://codecov.io/gh/ARMmbed/mbed-tools/pull/138?src=pr&el=desc) (1999bcd) into [master](https://codecov.io/gh/ARMmbed/mbed-tools/commit/1fbc64249a3650dd633fdf2631cc256aec6971b5?el=desc) (1fbc642) will **d...
diff --git a/news/20201201142709.bugfix b/news/20201201142709.bugfix new file mode 100644 index 0000000..0468f3e --- /dev/null +++ b/news/20201201142709.bugfix @@ -0,0 +1,1 @@ +Fix bug where we failed to handle config options that contain quotes (#125) diff --git a/src/mbed_tools/build/_internal/templates/mbed_config.t...
mbed-tools fails to handle config options that contain quotes ### Description From @rajkan01: For the below mbed_lib.json config ``` "iotc-mqtt-host": { "help": "IOTC MQTT host configuration. Defaults to mqtt.2030.ltsapis.goog host and port number 8883 if undefined", "value": "{\"mqtt.2030.lts...
ARMmbed/mbed-tools
diff --git a/tests/build/_internal/test_cmake_file.py b/tests/build/_internal/test_cmake_file.py index 1f59cb3..b0247a8 100644 --- a/tests/build/_internal/test_cmake_file.py +++ b/tests/build/_internal/test_cmake_file.py @@ -2,67 +2,69 @@ # Copyright (C) 2020 Arm Mbed. All rights reserved. # SPDX-License-Identifier: ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
4.0
{ "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-mock" ], "pre_install": null, "python": "3.8", "reqs_path": [ "requi...
backports.tarfile==1.2.0 beartype==0.19.0 black==24.8.0 boolean.py==4.0 boto3==1.37.23 botocore==1.37.23 bracex==2.5.post1 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==7.1 coverage==7.6.1 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 docutils==0.20.1 exceptiongroup==1.2.2 factor...
name: mbed-tools 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-n...
[ "tests/build/_internal/test_cmake_file.py::TestRendersCMakeListsFile::test_returns_quoted_content" ]
[]
[ "tests/build/_internal/test_cmake_file.py::TestGenerateCMakeListsFile::test_correct_arguments_passed", "tests/build/_internal/test_cmake_file.py::TestRendersCMakeListsFile::test_returns_rendered_content" ]
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-138
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-138
[ { "file_path": "news/20201201142709.bugfix", "added_lines": [ 1 ], "deleted_lines": [] }, { "file_path": "src/mbed_tools/build/_internal/templates/mbed_config.tmpl", "added_lines": [ 68 ], "deleted_lines": [ 68 ] } ]
[ "news/20201201142709.bugfix", "src/mbed_tools/build/_internal/templates/mbed_config.tmpl" ]
[ "news", "src/mbed_tools/build/_internal/templates" ]
ARMmbed__mbed-tools-190
d4dd48ce58952851f9cb2a9e98b0f788a61a23a3
2021-02-15 13:43:30
e9710eabb27a4f65e7c0e799224c3f8bcd2b4881
codecov[bot]: # [Codecov](https://codecov.io/gh/ARMmbed/mbed-tools/pull/190?src=pr&el=h1) Report > Merging [#190](https://codecov.io/gh/ARMmbed/mbed-tools/pull/190?src=pr&el=desc) (68c47da) into [master](https://codecov.io/gh/ARMmbed/mbed-tools/commit/73d90030d995a3da7a518d69ec70c9a54fd59579?el=desc) (73d9003) will **i...
diff --git a/news/169.bugfix b/news/169.bugfix new file mode 100644 index 0000000..78b6135 --- /dev/null +++ b/news/169.bugfix @@ -0,0 +1,1 @@ +Support use of user@host:directory syntax with the import subcommand. diff --git a/src/mbed_tools/project/mbed_program.py b/src/mbed_tools/project/mbed_program.py index d095e5b...
mbed-tools import fails to import an example with ssh url ### Description <!-- A detailed description of what is being reported. Please include steps to reproduce the problem. Things to consider sharing: - What version of the package is being used (pip show mbed-tools)? - What is the host platform and version ...
ARMmbed/mbed-tools
diff --git a/tests/project/test_mbed_program.py b/tests/project/test_mbed_program.py index 7f700f0..be83aa9 100644 --- a/tests/project/test_mbed_program.py +++ b/tests/project/test_mbed_program.py @@ -127,6 +127,12 @@ class TestParseURL(TestCase): self.assertEqual(data["url"], url) self.assertEqual(da...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
7.1
{ "env_vars": null, "env_yml_path": [], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-mock", "requests-mock", "factory_boy", "boto3", "jinja2", "PyG...
backports.tarfile==1.2.0 beartype==0.20.2 black==25.1.0 boolean.py==4.0 boto3==1.37.23 botocore==1.37.23 bracex==2.5.post1 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==7.1 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 docutils==0.21.2 exceptiongroup==1.2.2 factor...
name: mbed-tools 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-n...
[ "tests/project/test_mbed_program.py::TestParseURL::test_creates_valid_dst_dir_from_ssh_url" ]
[]
[ "tests/project/test_mbed_program.py::TestInitialiseProgram::test_from_existing_raises_if_no_mbed_os_dir_found_and_check_mbed_os_is_true", "tests/project/test_mbed_program.py::TestInitialiseProgram::test_from_existing_raises_if_path_is_not_a_program", "tests/project/test_mbed_program.py::TestInitialiseProgram::t...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-190
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-190
[ { "file_path": "news/169.bugfix", "added_lines": [ 1 ], "deleted_lines": [] }, { "file_path": "src/mbed_tools/project/mbed_program.py", "added_lines": [ 116, 117, 118 ], "deleted_lines": [] } ]
[ "news/169.bugfix", "src/mbed_tools/project/mbed_program.py" ]
[ "news", "src/mbed_tools/project" ]
ARMmbed__mbed-tools-208
584a995d93b9562e9c95385268891dfdae9c55f1
2021-03-02 16:43:27
584a995d93b9562e9c95385268891dfdae9c55f1
codecov[bot]: # [Codecov](https://codecov.io/gh/ARMmbed/mbed-tools/pull/208?src=pr&el=h1) Report > Merging [#208](https://codecov.io/gh/ARMmbed/mbed-tools/pull/208?src=pr&el=desc) (2dec7c0) into [master](https://codecov.io/gh/ARMmbed/mbed-tools/commit/e9710eabb27a4f65e7c0e799224c3f8bcd2b4881?el=desc) (e9710ea) will **i...
diff --git a/news/201.bugfix b/news/201.bugfix new file mode 100644 index 0000000..0ef9e8e --- /dev/null +++ b/news/201.bugfix @@ -0,0 +1,1 @@ +Define a board as unknown if it cannot be identified locally when unable to access the online database. diff --git a/src/mbed_tools/targets/_internal/board_database.py b/src/mb...
Obtuse error message when board is not found locally or remotely ### Description When a board is being looked for, and it isn't found in the offline database, and no network connectivity is available (say, perhaps [when a proxy is required to access the net](https://github.com/ARMmbed/mbed-tools/issues/200), the err...
ARMmbed/mbed-tools
diff --git a/tests/targets/test_get_board.py b/tests/targets/test_get_board.py index d2e5b69..0398f4a 100644 --- a/tests/targets/test_get_board.py +++ b/tests/targets/test_get_board.py @@ -5,6 +5,8 @@ """Tests for `mbed_tools.targets.get_board`.""" from unittest import mock, TestCase +from mbed_tools.targets._inter...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files", "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 2 }, "nu...
7.2
{ "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-mock", "pytest-asyncio" ], "pre_install": [ "apt-get update", "a...
backports.tarfile==1.2.0 beartype==0.20.2 black==25.1.0 boolean.py==4.0 boto3==1.37.23 botocore==1.37.23 bracex==2.5.post1 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==7.1 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 docutils==0.21.2 exceptiongroup==1.2.2 factor...
name: mbed-tools 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-n...
[ "tests/targets/test_get_board.py::TestGetBoard::test_auto_mode_raises_when_board_not_found_offline_with_no_network" ]
[]
[ "tests/targets/test_get_board.py::TestGetBoard::test_auto_mode_calls_offline_boards_first", "tests/targets/test_get_board.py::TestGetBoard::test_auto_mode_falls_back_to_online_database_when_board_not_found", "tests/targets/test_get_board.py::TestGetBoard::test_offline_mode", "tests/targets/test_get_board.py::...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-208
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-208
[ { "file_path": "news/201.bugfix", "added_lines": [ 1 ], "deleted_lines": [] }, { "file_path": "src/mbed_tools/targets/_internal/board_database.py", "added_lines": [ 109 ], "deleted_lines": [ 109 ] }, { "file_path": "src/mbed_tools/targets/get_board.p...
[ "news/201.bugfix", "src/mbed_tools/targets/_internal/board_database.py", "src/mbed_tools/targets/get_board.py" ]
[ "news", "src/mbed_tools/targets", "src/mbed_tools/targets/_internal" ]
ARMmbed__mbed-tools-259
a9b0e1fa3e1d58f80eff5fcc4f82f5952acf8f96
2021-04-01 16:06:11
a9b0e1fa3e1d58f80eff5fcc4f82f5952acf8f96
codecov[bot]: # [Codecov](https://codecov.io/gh/ARMmbed/mbed-tools/pull/259?src=pr&el=h1) Report > Merging [#259](https://codecov.io/gh/ARMmbed/mbed-tools/pull/259?src=pr&el=desc) (a663bbd) into [master](https://codecov.io/gh/ARMmbed/mbed-tools/commit/a9b0e1fa3e1d58f80eff5fcc4f82f5952acf8f96?el=desc) (a9b0e1f) will **i...
diff --git a/news/258.bugfix b/news/258.bugfix new file mode 100644 index 0000000..cd7d099 --- /dev/null +++ b/news/258.bugfix @@ -0,0 +1,1 @@ +Make details.txt parsing more lenient to avoid issues with various formats. diff --git a/src/mbed_tools/devices/_internal/file_parser.py b/src/mbed_tools/devices/_internal/file...
This introduces a big issue: The PR to list the interface version https://github.com/ARMmbed/mbed-tools/pull/235, shipped with v7.6.0, has a big issue. ```` $ pip list | grep mbed-tools mbed-tools 7.6.0 $ mbedtools detect Traceback (most recent call last): File "xxx\appdata\local\programs\python\p...
ARMmbed/mbed-tools
diff --git a/tests/devices/_internal/test_file_parser.py b/tests/devices/_internal/test_file_parser.py index 7211c81..4872623 100644 --- a/tests/devices/_internal/test_file_parser.py +++ b/tests/devices/_internal/test_file_parser.py @@ -233,8 +233,11 @@ class TestReadDetailsTxt: build_short_details_txt(ver...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
7.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", "pytest-cov", "pytest-mock" ], "pre_install": [ "apt-get update", "apt-get install -y cmak...
backports.tarfile==1.2.0 beartype==0.20.2 black==25.1.0 boolean.py==4.0 boto3==1.37.23 botocore==1.37.23 bracex==2.5.post1 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==7.1.2 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 docutils==0.21.2 exceptiongroup==1.2.2 fact...
name: mbed-tools 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-n...
[ "tests/devices/_internal/test_file_parser.py::TestReadDetailsTxt::test_parses_details_txt[newline]", "tests/devices/_internal/test_file_parser.py::TestReadDetailsTxt::test_parses_details_txt[nosep]", "tests/devices/_internal/test_file_parser.py::TestReadDetailsTxt::test_parses_details_txt[multiline]" ]
[]
[ "tests/devices/_internal/test_file_parser.py::TestReadDeviceFiles::test_finds_daplink_compatible_device_files", "tests/devices/_internal/test_file_parser.py::TestReadDeviceFiles::test_finds_jlink_device_files", "tests/devices/_internal/test_file_parser.py::TestReadDeviceFiles::test_warns_if_no_device_files_foun...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-259
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-259
[ { "file_path": "news/258.bugfix", "added_lines": [ 1 ], "deleted_lines": [] }, { "file_path": "src/mbed_tools/devices/_internal/file_parser.py", "added_lines": [ 217, 218, 219 ], "deleted_lines": [ 217, 218 ] } ]
[ "news/258.bugfix", "src/mbed_tools/devices/_internal/file_parser.py" ]
[ "news", "src/mbed_tools/devices/_internal" ]
ARMmbed__mbed-tools-285
ff2da40abec773902b6fda86d36de154d83a7d9f
2021-05-24 18:08:57
ff2da40abec773902b6fda86d36de154d83a7d9f
codecov[bot]: # [Codecov](https://codecov.io/gh/ARMmbed/mbed-tools/pull/285?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ARMmbed) Report > Merging [#285](https://codecov.io/gh/ARMmbed/mbed-tools/pull/285?src=pr&el=desc&utm_medium=referral&utm_source=github&utm...
diff --git a/news/20210524175020.bugfix b/news/20210524175020.bugfix new file mode 100644 index 0000000..e9b7b63 --- /dev/null +++ b/news/20210524175020.bugfix @@ -0,0 +1,1 @@ +Avoid searching config file paths twice when mbed-os-path is used and it is a subdirectory of the project path. diff --git a/src/mbed_tools/bui...
Does not compile with --mbed-os-path option **Describe the bug** As in title. **To Reproduce** Steps to reproduce the behavior: 1. Import an example project. 1. mbed-tools compile -m K64F -t GCC_ARM --mbed-os-path mbed-os Error: `ValueError: Setting storage_filesystem.rbp_internal_size already defined. You c...
ARMmbed/mbed-tools
diff --git a/tests/build/_internal/config/test_assemble_build_config.py b/tests/build/_internal/config/test_assemble_build_config.py index 79acb8d..47fcc5f 100644 --- a/tests/build/_internal/config/test_assemble_build_config.py +++ b/tests/build/_internal/config/test_assemble_build_config.py @@ -6,7 +6,7 @@ import json...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 3, "test_score": 1 }, "num_modified_files": 2 }
7.16
{ "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-mock", "pytest-xdist" ], "pre_install": [], "python": "3.9", "reqs_p...
backports.tarfile==1.2.0 beartype==0.20.2 black==25.1.0 boolean.py==4.0 boto3==1.37.23 botocore==1.37.23 bracex==2.5.post1 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==7.1.2 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 docutils==0.21.2 exceptiongroup==1.2.2 exec...
name: mbed-tools 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-n...
[ "tests/build/_internal/config/test_assemble_build_config.py::TestAssembleConfigFromSourcesAndLibFiles::test_ignores_duplicate_paths_to_lib_files", "tests/build/_internal/config/test_assemble_build_config.py::TestAssembleConfigFromSourcesAndLibFiles::test_does_not_search_symlinks_in_proj_dir_twice" ]
[]
[ "tests/build/_internal/config/test_assemble_build_config.py::TestAssembleConfigFromSourcesAndLibFiles::test_assembles_config_using_all_relevant_files", "tests/build/_internal/config/test_assemble_build_config.py::TestAssembleConfigFromSourcesAndLibFiles::test_updates_target_labels_from_config" ]
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-285
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-285
[ { "file_path": "news/20210524175020.bugfix", "added_lines": [ 1 ], "deleted_lines": [] }, { "file_path": "src/mbed_tools/build/_internal/config/assemble_build_config.py", "added_lines": [ 36, 37, 38, 39, 40 ], "deleted_lines": [ 36 ] ...
[ "news/20210524175020.bugfix", "src/mbed_tools/build/_internal/config/assemble_build_config.py", "src/mbed_tools/build/_internal/find_files.py" ]
[ "news", "src/mbed_tools/build/_internal", "src/mbed_tools/build/_internal/config" ]
ARMmbed__mbed-tools-292
f55d2eb5f6aec73e33a85331c82d0d3d71cc09b4
2021-06-22 11:53:33
f55d2eb5f6aec73e33a85331c82d0d3d71cc09b4
codecov[bot]: # [Codecov](https://codecov.io/gh/ARMmbed/mbed-tools/pull/292?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ARMmbed) Report > Merging [#292](https://codecov.io/gh/ARMmbed/mbed-tools/pull/292?src=pr&el=desc&utm_medium=referral&utm_source=github&utm...
diff --git a/news/291.bugfix b/news/291.bugfix new file mode 100644 index 0000000..c7487e4 --- /dev/null +++ b/news/291.bugfix @@ -0,0 +1,1 @@ +Add an option `--app-config` to `configure` and `build` commands to allow users to specify an application configuration file. diff --git a/src/mbed_tools/cli/build.py b/src/mbe...
Missing `--app-config` option **Describe the bug** Mbed CLI 1 offers an `--app-config` option to let users specify the application configuration JSON instead of assuming `mbed_app.json`. This is not currently provided by mbed-tools, but useful when * one application provides multiple configurations for different use ...
ARMmbed/mbed-tools
diff --git a/tests/cli/test_build.py b/tests/cli/test_build.py index 860d275..d680ee9 100644 --- a/tests/cli/test_build.py +++ b/tests/cli/test_build.py @@ -116,18 +116,6 @@ class TestBuildCommand(TestCase): self.assertIsNotNone(result.exception) self.assertRegex(result.output, "--mbed-target"...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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": 0, "test_score": 0 }, "num_modi...
7.26
{ "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-mock", "pytest-asyncio" ], "pre_install": [ "apt-get update", "a...
backports.tarfile==1.2.0 beartype==0.20.2 black==25.1.0 boolean.py==4.0 boto3==1.37.23 botocore==1.37.23 bracex==2.5.post1 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==7.1.2 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 docutils==0.21.2 exceptiongroup==1.2.2 fact...
name: mbed-tools 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-n...
[ "tests/cli/test_build.py::TestBuildCommand::test_app_config_used_when_passed", "tests/cli/test_configure.py::TestConfigureCommand::test_app_config_used_when_passed" ]
[]
[ "tests/cli/test_build.py::TestBuildCommand::test_build_flash_both_two_devices", "tests/cli/test_build.py::TestBuildCommand::test_build_flash_only_identifier_device", "tests/cli/test_build.py::TestBuildCommand::test_build_flash_options_bin_target", "tests/cli/test_build.py::TestBuildCommand::test_build_flash_o...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-292
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-292
[ { "file_path": "news/291.bugfix", "added_lines": [ 1 ], "deleted_lines": [] }, { "file_path": "src/mbed_tools/cli/build.py", "added_lines": [ 25, 28, 43, 44, 45, 61, 62, 63, 64, 65, 66, 67, 68, 69, ...
[ "news/291.bugfix", "src/mbed_tools/cli/build.py", "src/mbed_tools/cli/configure.py" ]
[ "news", "src/mbed_tools/cli" ]
ARMmbed__mbed-tools-293
a97be74fef509c90c820c9a96961377e14412c92
2021-06-30 14:52:52
a97be74fef509c90c820c9a96961377e14412c92
LDong-Arm: I first made the fix locally while working on #292 (`--app-config`) as they are quite similar, but decided to not include this there as more time was needed to add a test. Now it's done here. codecov[bot]: # [Codecov](https://codecov.io/gh/ARMmbed/mbed-tools/pull/293?src=pr&el=h1&utm_medium=referral&utm_sour...
diff --git a/news/262.bugfix b/news/262.bugfix new file mode 100644 index 0000000..a438a13 --- /dev/null +++ b/news/262.bugfix @@ -0,0 +1,1 @@ +Add `-b`, `--profile` to the `configure` subcommand for specifying build profile. diff --git a/src/mbed_tools/cli/configure.py b/src/mbed_tools/cli/configure.py index 360c389.....
`mbed-tools configure` generates `mbed_config.cmake` under `develop`, and doesn't have a `-b` option From the PR description and commit msg, it says that configs and builds should now live under `cmake_build/TARGET/PROFILE/TOOLCHAIN`, but this line makes `mbed-tools configure` always generate the `mbed_config.cmake` un...
ARMmbed/mbed-tools
diff --git a/tests/cli/test_build.py b/tests/cli/test_build.py index d680ee9..42e5852 100644 --- a/tests/cli/test_build.py +++ b/tests/cli/test_build.py @@ -186,6 +186,29 @@ class TestBuildCommand(TestCase): generate_config.assert_called_once_with(target.upper(), toolchain.upper(), program) se...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_added_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
7.28
{ "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-mock" ], "pre_install": [ "apt-get update", "apt-get install -y gcc"...
backports.tarfile==1.2.0 beartype==0.20.2 black==25.1.0 boolean.py==4.0 boto3==1.37.23 botocore==1.37.23 bracex==2.5.post1 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==7.1.2 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 docutils==0.21.2 exceptiongroup==1.2.2 fact...
name: mbed-tools 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-n...
[ "tests/cli/test_configure.py::TestConfigureCommand::test_profile_used_when_passed" ]
[]
[ "tests/cli/test_build.py::TestBuildCommand::test_app_config_used_when_passed", "tests/cli/test_build.py::TestBuildCommand::test_build_flash_both_two_devices", "tests/cli/test_build.py::TestBuildCommand::test_build_flash_only_identifier_device", "tests/cli/test_build.py::TestBuildCommand::test_build_flash_opti...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-293
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-293
[ { "file_path": "news/262.bugfix", "added_lines": [ 1 ], "deleted_lines": [] }, { "file_path": "src/mbed_tools/cli/configure.py", "added_lines": [ 28, 46, 66, 72 ], "deleted_lines": [ 69 ] } ]
[ "news/262.bugfix", "src/mbed_tools/cli/configure.py" ]
[ "news", "src/mbed_tools/cli" ]
ARMmbed__mbed-tools-91
a188be5d23cdc1f5c7434b439e9afed50a75e8ad
2020-10-22 15:02:19
18434c76f9a68f87e418d65d57f33bae6b9fb7c9
jainvikas8: Rebased on latest mater codecov[bot]: # [Codecov](https://codecov.io/gh/ARMmbed/mbed-tools/pull/91?src=pr&el=h1) Report > Merging [#91](https://codecov.io/gh/ARMmbed/mbed-tools/pull/91?src=pr&el=desc) into [master](https://codecov.io/gh/ARMmbed/mbed-tools/commit/a188be5d23cdc1f5c7434b439e9afed50a75e8ad?el=d...
diff --git a/news/66.bugfix b/news/66.bugfix new file mode 100644 index 0000000..f920f1e --- /dev/null +++ b/news/66.bugfix @@ -0,0 +1,1 @@ +Fix https to ssh redirection diff --git a/src/mbed_tools/project/_internal/libraries.py b/src/mbed_tools/project/_internal/libraries.py index cc417bf..abc4ccb 100644 --- a/src/mbe...
mbedtools clone <example> fails ### Description <!-- A detailed description of what is being reported. Please include steps to reproduce the problem. Things to consider sharing: - What version of the package is being used (pip show mbed-tools)? - What is the host platform and version (e.g. macOS 10.15.2, Windo...
ARMmbed/mbed-tools
diff --git a/tests/project/_internal/test_project_data.py b/tests/project/_internal/test_project_data.py index 51c0fad..6be1510 100644 --- a/tests/project/_internal/test_project_data.py +++ b/tests/project/_internal/test_project_data.py @@ -108,13 +108,15 @@ class TestMbedLibReference(TestCase): root = pathlib...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
3.5
{ "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-mock", "pytest-asyncio" ], "pre_install": [ "apt-get update", "a...
backports.tarfile==1.2.0 beartype==0.20.2 black==25.1.0 boolean.py==4.0 boto3==1.37.23 botocore==1.37.23 bracex==2.5.post1 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==7.1 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 docutils==0.21.2 exceptiongroup==1.2.2 factor...
name: mbed-tools 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-n...
[ "tests/project/_internal/test_project_data.py::TestMbedLibReference::test_get_git_reference_returns_lib_file_contents" ]
[]
[ "tests/project/_internal/test_project_data.py::TestMbedProgramFiles::test_from_existing_calls_render_cmakelists_template_with_program_name_if_file_nonexistent", "tests/project/_internal/test_project_data.py::TestMbedProgramFiles::test_from_existing_finds_existing_program_data", "tests/project/_internal/test_pro...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-91
swerebench/sweb.eval.x86_64.armmbed_1776_mbed-tools-91
[ { "file_path": "news/66.bugfix", "added_lines": [ 1 ], "deleted_lines": [] }, { "file_path": "src/mbed_tools/project/_internal/libraries.py", "added_lines": [ 45, 46, 47, 48 ], "deleted_lines": [] } ]
[ "news/66.bugfix", "src/mbed_tools/project/_internal/libraries.py" ]
[ "news", "src/mbed_tools/project/_internal" ]
ARMmbed__yotta-804
4094b7a26c66dd64ff724d4f72da282d41ea9fca
2017-04-06 15:06:03
2575c2f7cd0977b5df2347223738629d28e5310b
diff --git a/yotta/lib/sourceparse.py b/yotta/lib/sourceparse.py index 0f451ad..eb1f0b4 100644 --- a/yotta/lib/sourceparse.py +++ b/yotta/lib/sourceparse.py @@ -57,7 +57,7 @@ def _getNonRegistryRef(source_url): # something/something#spec = github # something/something@spec = github # something/something ...
Semver incompatibility Hi, It seems the recent version has broken semantic version for any previous version, which we heavily use in our project, [microbit-dal](https://github.com/lancaster-university/microbit-dal). We have had two new users on v18 who have reported this breakage: https://github.com/lancaster-uni...
ARMmbed/yotta
diff --git a/yotta/test/test_sourceparse.py b/yotta/test/test_sourceparse.py index 0b7af6f..2c421ba 100644 --- a/yotta/test/test_sourceparse.py +++ b/yotta/test/test_sourceparse.py @@ -47,6 +47,7 @@ Git_Specs = [ '~1.2.3', '-1.2.3', 'branch-or-tag-name', + 'branch+or+tag+name', 'd5f5049', ]
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 1 }, "num_modified_files": 1 }
0.18
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[develop]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements/base.txt" ], "test_cm...
argcomplete==1.12.3 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 colorama==0.3.9 cryptography==44.0.2 Deprecated==1.2.18 exceptiongroup==1.2.2 future==1.0.0 hgapi==1.7.4 idna==3.10 iniconfig==2.1.0 intelhex==2.3.0 intervaltree==3.1.0 Jinja2==2.11.3 jsonpointer==1.14 jsonschema==2.6.0 MarkupSafe==3.0.2 mbed...
name: yotta 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=11....
[ "yotta/test/test_sourceparse.py::TestParseSourceURL::test_shorthandURLs", "yotta/test/test_sourceparse.py::TestParseModuleNameAndSpec::test_ShorthandRefs" ]
[]
[ "yotta/test/test_sourceparse.py::TestParseSourceURL::test_gitURLs", "yotta/test/test_sourceparse.py::TestParseSourceURL::test_githubURLs", "yotta/test/test_sourceparse.py::TestParseSourceURL::test_hgURLs", "yotta/test/test_sourceparse.py::TestParseSourceURL::test_invalid", "yotta/test/test_sourceparse.py::T...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.armmbed_1776_yotta-804
swerebench/sweb.eval.x86_64.armmbed_1776_yotta-804
[ { "file_path": "yotta/lib/sourceparse.py", "added_lines": [ 60 ], "deleted_lines": [ 60 ] } ]
[ "yotta/lib/sourceparse.py" ]
[ "yotta/lib" ]
ASFHyP3__hyp3-sdk-53
56cfb700341a0de44ee0f2f3548d5ed6c534d659
2020-12-08 01:14:31
56cfb700341a0de44ee0f2f3548d5ed6c534d659
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8905268..ddcacaa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/) and uses [Semantic Versioning...
Batch constructor should create an empty batch by default Currently, calling `jobs = Batch()` raises `TypeError: __init__() missing 1 required positional argument: 'jobs'`. To construct an empty batch, the user has to write `jobs = Batch([])`. It would be more intuitive if this were the default behavior without hav...
ASFHyP3/hyp3-sdk
diff --git a/tests/test_jobs.py b/tests/test_jobs.py index 6d25cec..400f2d8 100644 --- a/tests/test_jobs.py +++ b/tests/test_jobs.py @@ -119,8 +119,10 @@ def test_job_download_files(tmp_path, get_mock_job): def test_batch_len(): - with pytest.warns(UserWarning): - batch = Batch([]) + batch = Batch() +...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 2 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[develop]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "responses" ], "pre_install": [], "python": "3.9", "reqs_path": [ "requi...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 exceptiongroup==1.2.2 -e git+https://github.com/ASFHyP3/hyp3-sdk.git@56cfb700341a0de44ee0f2f3548d5ed6c534d659#egg=hyp3_sdk idna==3.10 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-cov==6.0.0 python-dateutil==2.9.0.post0 PyYAML==6.0.2 req...
name: hyp3-sdk 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_jobs.py::test_batch_len" ]
[]
[ "tests/test_jobs.py::test_job_dict_transforms", "tests/test_jobs.py::test_job_complete_succeeded_failed_running", "tests/test_jobs.py::test_job_expired", "tests/test_jobs.py::test_job_download_files", "tests/test_jobs.py::test_batch_add", "tests/test_jobs.py::test_batch_complete_succeeded", "tests/test_...
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.asfhyp3_1776_hyp3-sdk-53
swerebench/sweb.eval.x86_64.asfhyp3_1776_hyp3-sdk-53
[ { "file_path": "CHANGELOG.md", "added_lines": [ 9, 10, 11, 12, 13, 14, 15, 16 ], "deleted_lines": [] }, { "file_path": "hyp3_sdk/jobs.py", "added_lines": [ 126, 127, 128 ], "deleted_lines": [ 1, 127, ...
[ "CHANGELOG.md", "hyp3_sdk/jobs.py" ]
[ ".", "hyp3_sdk" ]
ASFHyP3__hyp3-sdk-71
b8011c957ce5759bd64007c2116d202fdb5a6dae
2021-02-16 00:37:00
1fec8b5ae4c2cf80392cc6e27a52123e72e320e0
diff --git a/CHANGELOG.md b/CHANGELOG.md index 620eb3f..38529ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - `HyP3.prepare_insar_job` ### Changed +- HyP3 `Batch` objects are now iterable - HyP3 submit methods will always...
Batch should be iterable Attempting to iterate over a Batch object currently fails with `TypeError: 'Batch' object is not iterable`. ``` > import hyp3_sdk > api = hyp3_sdk.HyP3() > jobs = api.find_jobs(name='refactor') > sizes = [job['files'][0]['size'] for job in jobs] Traceback (most recent call last): Fil...
ASFHyP3/hyp3-sdk
diff --git a/tests/test_jobs.py b/tests/test_jobs.py index 400f2d8..dab034b 100644 --- a/tests/test_jobs.py +++ b/tests/test_jobs.py @@ -118,17 +118,6 @@ def test_job_download_files(tmp_path, get_mock_job): assert contents == 'foobar2' -def test_batch_len(): - batch = Batch() - assert len(batch) == 0 - -...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 2 }
0.4
{ "env_vars": null, "env_yml_path": [ "conda-env.yml" ], "install": "pip install -e .[develop]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pyte...
boto3==1.37.23 boto3-stubs==1.37.23 botocore==1.37.23 botocore-stubs==1.37.23 Brotli @ file:///home/conda/feedstock_root/build_artifacts/brotli-split_1725267488082/work certifi @ file:///home/conda/feedstock_root/build_artifacts/certifi_1739515848642/work/certifi cffi @ file:///home/conda/feedstock_root/build_artifacts...
name: hyp3-sdk channels: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - brotli-python=1.1.0=py39hf88036b_2 - bzip2=1.0.8=h4bc722e_7 - ca-certificates=2025.1.31=hbcca054_0 - certifi=2025.1....
[ "tests/test_jobs.py::test_batch_iter" ]
[]
[ "tests/test_jobs.py::test_job_dict_transforms", "tests/test_jobs.py::test_job_complete_succeeded_failed_running", "tests/test_jobs.py::test_job_expired", "tests/test_jobs.py::test_job_download_files", "tests/test_jobs.py::test_batch_add", "tests/test_jobs.py::test_batch_len", "tests/test_jobs.py::test_b...
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.asfhyp3_1776_hyp3-sdk-71
swerebench/sweb.eval.x86_64.asfhyp3_1776_hyp3-sdk-71
[ { "file_path": "CHANGELOG.md", "added_lines": [ 18 ], "deleted_lines": [] }, { "file_path": "hyp3_sdk/jobs.py", "added_lines": [ 140, 141, 142, 143, 144, 145 ], "deleted_lines": [ 132, 133, 134 ] } ]
[ "CHANGELOG.md", "hyp3_sdk/jobs.py" ]
[ ".", "hyp3_sdk" ]
ASPP__pelita-863
ab9217f298fa4897b06e5e9e9e7fad7e29ba7114
2025-03-13 17:07:06
ab9217f298fa4897b06e5e9e9e7fad7e29ba7114
diff --git a/pelita/team.py b/pelita/team.py index a3ef1138..aea97327 100644 --- a/pelita/team.py +++ b/pelita/team.py @@ -726,6 +726,9 @@ class Bot: out.write(footer) return out.getvalue() + def __repr__(self): + return f'<Bot: {self.char} ({"blue" if self.is_blue else "red"}), {s...
Better Bot repr For reference, this is the current `repr(bot)`: <pelita.team.Bot object at 0x102778b90> This is `str(bot)`: ``` Playing on red side. Current turn: 1. Bot: y. Round: 1, score: 0:0. timeouts: 0:0 ################################ #. . #. . . #.y# # # #### ### . # . .x# # ...
ASPP/pelita
diff --git a/test/test_team.py b/test/test_team.py index f6db4eb9..babe7ccc 100644 --- a/test/test_team.py +++ b/test/test_team.py @@ -695,3 +695,34 @@ def test_bot_html_repr(): # check that all is good assert state['fatal_errors'] == [[], []] + +def test_bot_repr(): + test_layout = """ + ########...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 1 }
2.5
{ "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-timestamper flit sphinx", "pytest" ], "pre_install": [ "python -m pip install --up...
alabaster==1.0.0 babel==2.17.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 coverage==7.8.0 docutils==0.21.2 flit==3.12.0 flit_core==3.12.0 idna==3.10 ifaddr==0.2.0 imagesize==1.4.1 iniconfig==2.1.0 Jinja2==3.1.6 markdown-it-py==3.0.0 MarkupSafe==3.0.2 mdurl==0.1.2 networkx==3.4.2 numpy==2.2.4 packaging==2...
name: pelita 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=...
[ "test/test_team.py::test_bot_repr" ]
[]
[ "test/test_team.py::TestStoppingTeam::test_stopping", "test/test_team.py::test_track_and_kill_count", "test/test_team.py::test_eaten_flag_kill[0]", "test/test_team.py::test_eaten_flag_kill[1]", "test/test_team.py::test_eaten_flag_kill[2]", "test/test_team.py::test_eaten_flag_kill[3]", "test/test_team.py...
[]
BSD License
swerebench/sweb.eval.x86_64.aspp_1776_pelita-863
swerebench/sweb.eval.x86_64.aspp_1776_pelita-863
[ { "file_path": "pelita/team.py", "added_lines": [ 729, 730, 731 ], "deleted_lines": [] } ]
[ "pelita/team.py" ]
[ "pelita" ]
ASPP__pelita-875
68af15d8d4199882d32bb4ede363195e2c5b5a99
2025-04-28 23:00:41
68af15d8d4199882d32bb4ede363195e2c5b5a99
diff --git a/pelita/utils.py b/pelita/utils.py index c5bdf54c..1f3bec36 100644 --- a/pelita/utils.py +++ b/pelita/utils.py @@ -104,7 +104,7 @@ def run_background_game(*, blue_move, red_move, layout=None, max_rounds=300, see if layout is None: layout_dict = generate_maze(rng=rng) else: - layout...
run_background_game breaks when layout= is passed ``` def test_run_background_game_with_layout(): test_layout = ( """ ################## #a#. . # . # #b##### #####x# # . # . .#y# ################## """) result = utils.run_background_game(blue_move=stopping_play...
ASPP/pelita
diff --git a/test/test_utils.py b/test/test_utils.py index 10118cbc..a06bde11 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -112,6 +112,38 @@ def test_run_background_game(): 'draw': True } +def test_run_background_game_with_layout(): + test_layout = ( + """ ################## + ...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
2.5
{ "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-cov", "pytest-timestamper", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], ...
alabaster==1.0.0 babel==2.17.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 coverage==7.8.0 docutils==0.21.2 flit==3.12.0 flit_core==3.12.0 idna==3.10 ifaddr==0.2.0 imagesize==1.4.1 iniconfig==2.1.0 Jinja2==3.1.6 markdown-it-py==3.0.0 MarkupSafe==3.0.2 mdurl==0.1.2 networkx==3.4.2 numpy==2.2.4 packaging==2...
name: pelita 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=...
[ "test/test_utils.py::test_run_background_game_with_layout" ]
[]
[ "test/test_utils.py::test_default_rng", "test/test_utils.py::test_default_rng_init_self", "test/test_utils.py::test_default_rng_init_none", "test/test_utils.py::test_setup_test_game[True]", "test/test_utils.py::test_setup_test_game[False]", "test/test_utils.py::test_setup_test_game_incomplete_noisy_dict[T...
[]
BSD License
swerebench/sweb.eval.x86_64.aspp_1776_pelita-875
swerebench/sweb.eval.x86_64.aspp_1776_pelita-875
[ { "file_path": "pelita/utils.py", "added_lines": [ 107 ], "deleted_lines": [ 107 ] } ]
[ "pelita/utils.py" ]
[ "pelita" ]
Aarhus-Psychiatry-Research__timeseriesflattener-186
bb6a7fffb2a520272fcb5d7129957ce22484ff77
2023-04-19 20:33:34
bb6a7fffb2a520272fcb5d7129957ce22484ff77
diff --git a/.github/workflows/static_type_checks.yml b/.github/workflows/static_type_checks.yml index abf1bb5..620427d 100644 --- a/.github/workflows/static_type_checks.yml +++ b/.github/workflows/static_type_checks.yml @@ -32,7 +32,7 @@ jobs: uses: actions/setup-python@v4 id: setup_python w...
fix: change type hints in specs to allow for floats in interval_days Currenty, float inputs to interval_days args in predictor and outcome specs are coerced into integers. Thus, it is not possible to generate predictors/outcomes with non-integer lookbehind/ahead windows. - [ ] Add test
Aarhus-Psychiatry-Research/timeseriesflattener
diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 9567555..abe4801 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -10,32 +10,26 @@ runs: using: "composite" steps: ### Setup prerequisites - - name: Cache venv + - name: Cache tox ...
{ "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": 0, "test_score": 2 }, "num_modified_files": 4 }
0.23
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pygraphviz", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": null, ...
appdirs==1.4.4 catalogue==2.0.10 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 coloredlogs==15.0.1 dill==0.3.6 docker-pycreds==0.4.0 exceptiongroup==1.2.2 filelock==3.18.0 frozendict==2.3.10 fsspec==2025.3.2 gitdb==4.0.12 GitPython==3.1.44 greenlet==3.1.1 huggingface-hub==0.30.1 humanfriendly==10.0 idna==3....
name: timeseriesflattener 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 - atk-1.0=2.36.0=ha1a6a79_0 - boost-cpp=1.82.0=hdb19cb5_2 - bzip2=1.0.8=h5eee18b_6 - c-ares=1.19.1=h5...
[ "tests/test_timeseriesflattener/test_feature_spec_objects.py::test_lookbehind_days_handles_floats" ]
[]
[ "tests/test_timeseriesflattener/test_feature_spec_objects.py::test_anyspec_init", "tests/test_timeseriesflattener/test_feature_spec_objects.py::test_loader_kwargs", "tests/test_timeseriesflattener/test_feature_spec_objects.py::test_invalid_multiple_data_args", "tests/test_timeseriesflattener/test_feature_spec...
[]
MIT License
swerebench/sweb.eval.x86_64.aarhus-psychiatry-research_1776_timeseriesflattener-186
swerebench/sweb.eval.x86_64.aarhus-psychiatry-research_1776_timeseriesflattener-186
[ { "file_path": ".github/workflows/static_type_checks.yml", "added_lines": [ 35 ], "deleted_lines": [ 35 ] }, { "file_path": "pyproject.toml", "added_lines": [ 197 ], "deleted_lines": [] }, { "file_path": "src/timeseriesflattener/feature_spec_objects....
[ ".github/workflows/static_type_checks.yml", "pyproject.toml", "src/timeseriesflattener/feature_spec_objects.py", "tasks.py" ]
[ ".", ".github/workflows", "src/timeseriesflattener" ]
Abjad__abjad-ext-nauert-24
520f389f06e21ee0a094016b4f1e2b0cb58263c1
2021-03-15 03:29:50
84da6811a8c7e5fc75b0eaeffeccafc2bd59cbfc
diff --git a/abjadext/nauert/gracehandlers.py b/abjadext/nauert/gracehandlers.py index 8813e0f..a2dbdd3 100644 --- a/abjadext/nauert/gracehandlers.py +++ b/abjadext/nauert/gracehandlers.py @@ -199,8 +199,8 @@ class ConcatenatingGraceHandler(GraceHandler): .. container:: example - When ``replace_rest_wi...
Check gracehandlers behaviors There seem to be some odd behaviors in handling grace notes. The first odd behavior results in a "grace rest" attaching to a pitched note, as shown below: ``` import abjad from abjadext import nauert quantizer = nauert.Quantizer() durations = [1000, 1, 999] pitches = [0, None, 0...
Abjad/abjad-ext-nauert
diff --git a/tests/test_ConcatenatingGraceHandler___call__.py b/tests/test_ConcatenatingGraceHandler___call__.py index 75fa793..11424af 100644 --- a/tests/test_ConcatenatingGraceHandler___call__.py +++ b/tests/test_ConcatenatingGraceHandler___call__.py @@ -58,7 +58,9 @@ def test_ConcatenatingGraceHandler___call___02():...
{ "commit_name": "head_commit", "failed_lite_validators": [ "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": 1 }
3.3
{ "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": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
abjad==3.3 -e git+https://github.com/Abjad/abjad-ext-nauert.git@520f389f06e21ee0a094016b4f1e2b0cb58263c1#egg=abjad_ext_nauert alabaster==0.7.16 babel==2.17.0 black==25.1.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 coverage==7.8.0 docutils==0.21.2 exceptiongroup==1.2.2 flake8==7.2.0 idna==3.10 imagesize=...
name: abjad-ext-nauert 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 - li...
[ "tests/test_ConcatenatingGraceHandler___init__.py::test_ConcatenatingGraceHandler___init___02", "tests/test_ConcatenatingGraceHandler___init__.py::test_ConcatenatingGraceHandler___init___03" ]
[]
[ "tests/test_ConcatenatingGraceHandler___call__.py::test_ConcatenatingGraceHandler___call___01", "tests/test_ConcatenatingGraceHandler___call__.py::test_ConcatenatingGraceHandler___call___02", "tests/test_ConcatenatingGraceHandler___call__.py::test_ConcatenatingGraceHandler___call___03", "tests/test_Concatenat...
[]
MIT License
swerebench/sweb.eval.x86_64.abjad_1776_abjad-ext-nauert-24
swerebench/sweb.eval.x86_64.abjad_1776_abjad-ext-nauert-24
[ { "file_path": "abjadext/nauert/gracehandlers.py", "added_lines": [ 202, 203, 211, 212, 213, 238, 239, 240, 242, 277 ], "deleted_lines": [ 202, 203, 211, 236, 237, 238, 240, 241, 242, ...
[ "abjadext/nauert/gracehandlers.py" ]
[ "abjadext/nauert" ]
Alexei-Kornienko__schematics_to_swagger-7
3ddc537a8ed7682e9bb709ebd749b99d7ef09473
2019-11-20 22:11:16
3ddc537a8ed7682e9bb709ebd749b99d7ef09473
diff --git a/schematics_to_swagger/__init__.py b/schematics_to_swagger/__init__.py index d108f3f..d203de0 100644 --- a/schematics_to_swagger/__init__.py +++ b/schematics_to_swagger/__init__.py @@ -54,17 +54,24 @@ def _map_schematics_type(t): def model_to_definition(model): - fields = model.fields.items() + p...
Hide private model fields in swagger doc
Alexei-Kornienko/schematics_to_swagger
diff --git a/tests/models.py b/tests/models.py index 5392711..7cd4582 100644 --- a/tests/models.py +++ b/tests/models.py @@ -16,3 +16,10 @@ class WeatherStats(Model): last_report = types.ModelType(WeatherReport) prev_reports = types.ListType(types.ModelType(WeatherReport)) date_list = types.ListType(type...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 1 }
1.3
{ "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>=3.6", "pytest-cov", "codecov", "flake8" ], "pre_install": null, "python": "3.6", "reqs_path...
attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 codecov==2.1.13 coverage==6.2 flake8==5.0.4 idna==3.10 importlib-metadata==4.2.0 iniconfig==1.1.1 mccabe==0.7.0 packaging==21.3 pluggy==1.0.0 py==1.11.0 pycodestyle==2.9.1 pyflakes==2.5.0 pyparsing==3.1.4 pytest==7.0.1 pytest-cov==4.0.0 requests==2.27.1 schema...
name: schematics_to_swagger 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=h12...
[ "tests/test_model.py::test_read_models_from_module", "tests/test_model.py::test_private_fields" ]
[]
[ "tests/test_model.py::test_model_to_definition", "tests/test_model.py::test_compound_type" ]
[]
MIT License
swerebench/sweb.eval.x86_64.alexei-kornienko_1776_schematics_to_swagger-7
swerebench/sweb.eval.x86_64.alexei-kornienko_1776_schematics_to_swagger-7
[ { "file_path": "schematics_to_swagger/__init__.py", "added_lines": [ 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 71 ], "deleted_lines": [ 57, 62, 64, 67 ] } ]
[ "schematics_to_swagger/__init__.py" ]
[ "schematics_to_swagger" ]
Algebra8__pyopenapi3-80
2237b16747c446adc2b67a080040f222c0493653
2021-04-02 02:27:20
2237b16747c446adc2b67a080040f222c0493653
diff --git a/.gitignore b/.gitignore index 8b5025d..45bfdbc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ __pycache__/ pyopenapi3.egg-info/ dist/ build/ +.vscode/ diff --git a/src/pyopenapi3/builders.py b/src/pyopenapi3/builders.py index 2fce8e4..c393181 100644 --- a/src/pyopenapi3/builders.py +++ b/src/p...
Make parse_name_and_type_from_fmt_str return reference to components `pyopenapi3.utils.parse_name_and_type_from_fmt_str` should be able to accept the following format: `{name:Component}`. Currently, it will only consider data types: ``` # In parse_name_and_type_from_fmt_str yield arg_name, getattr(pyopenapi3.da...
Algebra8/pyopenapi3
diff --git a/tests/examples/component.py b/tests/examples/component.py index d05ee3e..e74bea9 100644 --- a/tests/examples/component.py +++ b/tests/examples/component.py @@ -105,7 +105,7 @@ object_lvl_test = { "Pet": { "required": [ "name", - "animal_type" + "animal_type", ], ...
{ "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": 2, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 3 }
unknown
{ "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": [], "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest...
anyio==4.9.0 asgiref==3.8.1 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 connexion==3.2.0 dnspython==2.7.0 email-validator==1.1.2 exceptiongroup==1.2.2 h11==0.14.0 httpcore==1.0.7 httpx==0.28.1 idna==3.10 inflection==0.5.1 iniconfig==2.1.0 Jinja2==3.1.6 jsonschema==4.23.0 jsonschema-specifications==2024.1...
name: pyopenapi3 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-n...
[ "tests/test_builders.py::test_path_with_path_parameter", "tests/test_builders.py::test_path_parameter_in_field__fail" ]
[ "tests/test_builders.py::test_component_with_object_level_fields" ]
[ "tests/test_builders.py::test_info_object_success", "tests/test_builders.py::test_default_server", "tests/test_builders.py::test_one_server_object_success", "tests/test_builders.py::test_multiple_servers_success", "tests/test_builders.py::test_server_with_vars_success", "tests/test_builders.py::test_path_...
[]
MIT License
swerebench/sweb.eval.x86_64.algebra8_1776_pyopenapi3-80
swerebench/sweb.eval.x86_64.algebra8_1776_pyopenapi3-80
[ { "file_path": ".gitignore", "added_lines": [ 9 ], "deleted_lines": [] }, { "file_path": "src/pyopenapi3/builders.py", "added_lines": [ 6, 16, 216, 217, 218, 219, 220, 221, 258, 259, 260, 281, 284, ...
[ ".gitignore", "src/pyopenapi3/builders.py", "src/pyopenapi3/utils.py" ]
[ ".", "src/pyopenapi3" ]
Algebra8__pyopenapi3-83
2ef34c3213eb292703e0e5e6f2185b1e4725bbde
2021-04-04 01:12:58
2ef34c3213eb292703e0e5e6f2185b1e4725bbde
diff --git a/src/pyopenapi3/schemas.py b/src/pyopenapi3/schemas.py index 141822f..daa78f6 100644 --- a/src/pyopenapi3/schemas.py +++ b/src/pyopenapi3/schemas.py @@ -164,7 +164,9 @@ class DTSchema(SchemaObject): class ObjectsDTSchema(DTSchema): type: str = Field('object', const=True) - properties: Dict[str, U...
Allow Free-Form Objects Consider the following example: ``` definitions: Pet: type: object properties: tags: type: object description: Custom tags ``` According to [Open API 3 specs on data types](https://swagger.io/docs/specification/data-models/data-types/#object), "a fre...
Algebra8/pyopenapi3
diff --git a/tests/test_schemas.py b/tests/test_schemas.py new file mode 100644 index 0000000..19c5977 --- /dev/null +++ b/tests/test_schemas.py @@ -0,0 +1,7 @@ +from pyopenapi3.schemas import ObjectsDTSchema + + +def test_free_form_object(): + o = ObjectsDTSchema() + + assert o.dict() == {"type": "object"}
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 1 }
unknown
{ "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==6.2.2", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ]...
anyio==4.9.0 asgiref==3.8.1 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 connexion==3.2.0 dnspython==2.7.0 email-validator==1.1.2 exceptiongroup==1.2.2 h11==0.14.0 httpcore==1.0.7 httpx==0.28.1 idna==3.10 inflection==0.5.1 iniconfig==2.1.0 Jinja2==3.1.6 jsonschema==4.23.0 jsonschema-specifications==2024.1...
name: pyopenapi3 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-n...
[ "tests/test_schemas.py::test_free_form_object" ]
[]
[]
[]
MIT License
swerebench/sweb.eval.x86_64.algebra8_1776_pyopenapi3-83
swerebench/sweb.eval.x86_64.algebra8_1776_pyopenapi3-83
[ { "file_path": "src/pyopenapi3/schemas.py", "added_lines": [ 167, 168, 169 ], "deleted_lines": [ 167 ] } ]
[ "src/pyopenapi3/schemas.py" ]
[ "src/pyopenapi3" ]
Algebra8__pyopenapi3-91
1637ca6ab3186f73baaf37b09594f59a745f63bb
2021-04-05 00:49:37
1637ca6ab3186f73baaf37b09594f59a745f63bb
diff --git a/src/pyopenapi3/builders.py b/src/pyopenapi3/builders.py index 164f041..a4b1663 100644 --- a/src/pyopenapi3/builders.py +++ b/src/pyopenapi3/builders.py @@ -5,7 +5,7 @@ import re import yaml -from pyopenapi3.data_types import Component +from pyopenapi3.data_types import Component, Parameters, Schemas ...
Unresolvable pointer due to wrong reference Consider the following example: ``` @component.parameter class PetId: name = "pet_id" description = "Pet's Unique Identifier" in_field = "path" schema = create_schema(String, pattern="^[a-zA-Z0-9-]+$") required = True @open_bldr.path cl...
Algebra8/pyopenapi3
diff --git a/tests/examples/component.py b/tests/examples/component.py index e74bea9..50552e2 100644 --- a/tests/examples/component.py +++ b/tests/examples/component.py @@ -126,3 +126,27 @@ object_lvl_test = { } } } + +param_reference_comp = { + "schemas": { + "Pet": { + "type": "object", + "prop...
{ "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": 2, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 3 }
unknown
{ "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": [ "requirements.txt" ], "test_cmd": "pyte...
anyio==4.9.0 asgiref==3.8.1 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 connexion==3.2.0 dnspython==2.7.0 email-validator==1.1.2 exceptiongroup==1.2.2 h11==0.14.0 httpcore==1.0.7 httpx==0.28.1 idna==3.10 inflection==0.5.1 iniconfig==2.1.0 Jinja2==3.1.6 jsonschema==4.23.0 jsonschema-specifications==2024.1...
name: pyopenapi3 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-n...
[ "tests/test_builders.py::test_path_with_path_parameter", "tests/test_builders.py::test_component_parameter_references" ]
[]
[ "tests/test_builders.py::test_info_object_success", "tests/test_builders.py::test_default_server", "tests/test_builders.py::test_one_server_object_success", "tests/test_builders.py::test_multiple_servers_success", "tests/test_builders.py::test_server_with_vars_success", "tests/test_builders.py::test_path_...
[]
MIT License
swerebench/sweb.eval.x86_64.algebra8_1776_pyopenapi3-91
swerebench/sweb.eval.x86_64.algebra8_1776_pyopenapi3-91
[ { "file_path": "src/pyopenapi3/builders.py", "added_lines": [ 8, 503, 510 ], "deleted_lines": [ 8, 503, 510 ] }, { "file_path": "src/pyopenapi3/data_types.py", "added_lines": [ 154, 155, 156, 157, 158, 159, ...
[ "src/pyopenapi3/builders.py", "src/pyopenapi3/data_types.py", "src/pyopenapi3/utils.py" ]
[ "src/pyopenapi3" ]
Algebra8__pyopenapi3-92
2f282f7f121550c845f77b16076b2bdf9b0b379f
2021-04-05 02:01:17
2f282f7f121550c845f77b16076b2bdf9b0b379f
diff --git a/examples/connexion_example/ex.py b/examples/connexion_example/app.py similarity index 62% rename from examples/connexion_example/ex.py rename to examples/connexion_example/app.py index 18e2a3e..42b4eb3 100644 --- a/examples/connexion_example/ex.py +++ b/examples/connexion_example/app.py @@ -1,8 +1,24 @@ -f...
Add connexion structure to /examples directory Include everything that is required to make a simple connexion example work around #62, such as `app.py`.
Algebra8/pyopenapi3
diff --git a/tests/examples/component.py b/tests/examples/component.py index 50552e2..dc80eea 100644 --- a/tests/examples/component.py +++ b/tests/examples/component.py @@ -150,3 +150,18 @@ param_reference_comp = { } } } + +param_component = { + "parameters": { + "PetID": { + "name": "pet_id", + ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_issue_reference", "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": 0 ...
unknown
{ "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": [ "requirements.txt" ], "test_cmd": "pyte...
anyio==4.9.0 asgiref==3.8.1 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 connexion==3.2.0 dnspython==2.7.0 email-validator==1.1.2 exceptiongroup==1.2.2 h11==0.14.0 httpcore==1.0.7 httpx==0.28.1 idna==3.10 inflection==0.5.1 iniconfig==2.1.0 Jinja2==3.1.6 jsonschema==4.23.0 jsonschema-specifications==2024.1...
name: pyopenapi3 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-n...
[ "tests/test_builders.py::test_path_with_path_parameter" ]
[]
[ "tests/test_builders.py::test_info_object_success", "tests/test_builders.py::test_default_server", "tests/test_builders.py::test_one_server_object_success", "tests/test_builders.py::test_multiple_servers_success", "tests/test_builders.py::test_server_with_vars_success", "tests/test_builders.py::test_path_...
[]
MIT License
swerebench/sweb.eval.x86_64.algebra8_1776_pyopenapi3-92
swerebench/sweb.eval.x86_64.algebra8_1776_pyopenapi3-92
[ { "file_path": "examples/connexion_example/app.py", "added_lines": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 20, 21, 94, 127, 143, 152, 155, 156, 157, ...
[ "examples/connexion_example/app.py", "src/pyopenapi3/builders.py", "src/pyopenapi3/utils.py" ]
[ "examples/connexion_example", "src/pyopenapi3" ]
All-Hands-AI__openhands-aci-55
f9774a3ca86d2ec2430de5dbaef2cf657d48b826
2025-01-23 17:47:31
f9774a3ca86d2ec2430de5dbaef2cf657d48b826
xingyaoww: @ryanhoangt Can we evaluate 100 instance of SWE-Bench Verified before and after this change? ryanhoangt: Sure, let me give it a try! ryanhoangt: I think it looks good: | `main` | `this PR` | | ------- | --------- | | 08:38:34 - openhands:INFO: eval_infer.py:443 - # resolved: 42 / 100. (42.00%)<br>08:38:...
diff --git a/.github/workflows/openhands-resolver.yml b/.github/workflows/openhands-resolver.yml new file mode 100644 index 0000000..8ebb451 --- /dev/null +++ b/.github/workflows/openhands-resolver.yml @@ -0,0 +1,32 @@ +name: Resolve Issue with OpenHands + +on: + issues: + types: [labeled] + pull_request: + typ...
Add file/folder info in `view` command Relevant to https://github.com/All-Hands-AI/OpenHands/issues/5506 ![image](https://github.com/user-attachments/assets/041ea5ad-af89-4b72-9786-32a40a95afc1) > Very weird.. after merging this into one of my branch and running a full SWE-Bench verified (compared to our prev 53% run...
All-Hands-AI/openhands-aci
diff --git a/tests/integration/test_oh_editor.py b/tests/integration/test_oh_editor.py index 309da8a..a905a83 100644 --- a/tests/integration/test_oh_editor.py +++ b/tests/integration/test_oh_editor.py @@ -44,14 +44,14 @@ def test_view_file(editor): def test_view_directory(editor): editor, test_file = editor - ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_added_files", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "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" ], "pre_install": null, "python": "3.12", "reqs_path": [ "requirements/base.txt" ], "test_cmd":...
aiohappyeyeballs==2.6.1 aiohttp==3.11.16 aiosignal==1.3.2 annotated-types==0.7.0 anyio==4.9.0 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 diskcache==5.6.3 distro==1.9.0 filelock==3.18.0 flake8==7.2.0 frozenlist==1.5.0 fsspec==2025.3.2 gitdb==4.0.12 GitPython==3.1.44 grep-ast==0.3.3 h11==0.14...
name: openhands-aci 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - expat=2.6.4=h6a678d5_0 - ld_impl_linux-64...
[ "tests/integration/test_oh_editor.py::test_view_directory" ]
[]
[ "tests/integration/test_oh_editor.py::test_view_file", "tests/integration/test_oh_editor.py::test_create_file", "tests/integration/test_oh_editor.py::test_create_with_empty_string", "tests/integration/test_oh_editor.py::test_create_with_none_file_text", "tests/integration/test_oh_editor.py::test_str_replace...
[]
MIT License
swerebench/sweb.eval.x86_64.all-hands-ai_1776_openhands-aci-55
swerebench/sweb.eval.x86_64.all-hands-ai_1776_openhands-aci-55
[ { "file_path": ".github/workflows/openhands-resolver.yml", "added_lines": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, ...
[ ".github/workflows/openhands-resolver.yml", "openhands_aci/editor/editor.py", "pyproject.toml" ]
[ ".", ".github/workflows", "openhands_aci/editor" ]
All-Hands-AI__openhands-resolver-123
84ccb9b29d786c3cb16f100b31ee456ddc622fd0
2024-09-28 13:50:45
64772c21bb49ab9518d12573bd7a6e2b8651e80a
diff --git a/openhands_resolver/send_pull_request.py b/openhands_resolver/send_pull_request.py index dd227b7..3d06d3e 100644 --- a/openhands_resolver/send_pull_request.py +++ b/openhands_resolver/send_pull_request.py @@ -139,6 +139,11 @@ def make_commit(repo_dir: str, issue: GithubIssue) -> None: raise Runtime...
Better handling of when a branch already exists Currently, in `github_resolver/send_pull_request.py`, when pushing to github for a particular issue, the branch name is fixed here: https://github.com/All-Hands-AI/openhands-resolver/blob/44aa2907d70852b7f98786c673304cc18b76d43e/openhands_resolver/send_pull_request.py#L1...
All-Hands-AI/openhands-resolver
diff --git a/tests/test_send_pull_request.py b/tests/test_send_pull_request.py index b67edd5..fb2f393 100644 --- a/tests/test_send_pull_request.py +++ b/tests/test_send_pull_request.py @@ -213,7 +213,10 @@ def test_send_pull_request( repo_path = os.path.join(mock_output_dir, "repo") # Mock API responses - ...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
0.1
{ "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.11", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --co...
aenum==3.1.15 aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aiolimiter==1.2.1 aiosignal==1.3.2 annotated-types==0.7.0 anthropic==0.49.0 anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 attrs==25.3.0 bashlex==0.18 beartype==0.12.0 beautifulsoup4==4.13.3 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 browsergym=...
name: openhands-resolver 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "tests/test_send_pull_request.py::test_send_pull_request[branch]", "tests/test_send_pull_request.py::test_send_pull_request[draft]", "tests/test_send_pull_request.py::test_send_pull_request[ready]", "tests/test_send_pull_request.py::test_send_pull_request_branch_naming" ]
[]
[ "tests/test_send_pull_request.py::test_load_single_resolver_output", "tests/test_send_pull_request.py::test_apply_patch", "tests/test_send_pull_request.py::test_apply_patch_preserves_line_endings", "tests/test_send_pull_request.py::test_apply_patch_create_new_file", "tests/test_send_pull_request.py::test_ap...
[]
MIT License
swerebench/sweb.eval.x86_64.all-hands-ai_1776_openhands-resolver-123
swerebench/sweb.eval.x86_64.all-hands-ai_1776_openhands-resolver-123
[ { "file_path": "openhands_resolver/send_pull_request.py", "added_lines": [ 142, 143, 144, 145, 146, 166, 167, 168, 169, 170, 171, 172, 173, 180 ], "deleted_lines": [ 161, 162, 169 ] } ]
[ "openhands_resolver/send_pull_request.py" ]
[ "openhands_resolver" ]
All-Hands-AI__openhands-resolver-137
63dd2c9c905a375db53785c0a69e56951a279189
2024-09-30 20:44:17
64772c21bb49ab9518d12573bd7a6e2b8651e80a
diff --git a/openhands_resolver/__init__.py b/openhands_resolver/__init__.py index 1276d02..0a8da88 100644 --- a/openhands_resolver/__init__.py +++ b/openhands_resolver/__init__.py @@ -1,1 +1,1 @@ -__version__ = "0.1.5" +__version__ = "0.1.6" diff --git a/openhands_resolver/send_pull_request.py b/openhands_resolver/sen...
"Unterminated quoted string" On a run of the github action, the following error was encountered: ```bash Run if [ "true" == "true" ]; then Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/opt/hostedtoolcache/Pyth...
All-Hands-AI/openhands-resolver
diff --git a/tests/test_send_pull_request.py b/tests/test_send_pull_request.py index fb2f393..4853db3 100644 --- a/tests/test_send_pull_request.py +++ b/tests/test_send_pull_request.py @@ -1,6 +1,8 @@ import os +import shlex import tempfile import pytest +import subprocess from unittest.mock import patch, MagicMock...
{ "commit_name": "merge_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": 0 }, "num_modified_files": 3 }
0.1
{ "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.11", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --co...
aenum==3.1.15 aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aiolimiter==1.2.1 aiosignal==1.3.2 annotated-types==0.7.0 anthropic==0.49.0 anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 attrs==25.3.0 bashlex==0.18 beartype==0.12.0 beautifulsoup4==4.13.3 blinker==1.9.0 boto3==1.37.23 botocore==1.37.23 browsergym=...
name: openhands-resolver 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "tests/test_send_pull_request.py::test_process_single_issue_unsuccessful", "tests/test_send_pull_request.py::test_make_commit_escapes_issue_title" ]
[]
[ "tests/test_send_pull_request.py::test_load_single_resolver_output", "tests/test_send_pull_request.py::test_apply_patch", "tests/test_send_pull_request.py::test_apply_patch_preserves_line_endings", "tests/test_send_pull_request.py::test_apply_patch_create_new_file", "tests/test_send_pull_request.py::test_ap...
[]
MIT License
swerebench/sweb.eval.x86_64.all-hands-ai_1776_openhands-resolver-137
swerebench/sweb.eval.x86_64.all-hands-ai_1776_openhands-resolver-137
[ { "file_path": "openhands_resolver/__init__.py", "added_lines": [ 1 ], "deleted_lines": [ 1 ] }, { "file_path": "openhands_resolver/send_pull_request.py", "added_lines": [ 12, 132, 134, 256 ], "deleted_lines": [ 132, 254 ] ...
[ "openhands_resolver/__init__.py", "openhands_resolver/send_pull_request.py", "pyproject.toml" ]
[ ".", "openhands_resolver" ]
ApptuitAI__apptuit-py-10
65d256693243562917c4dfd0e8a753781b153b36
2018-10-31 06:42:07
65d256693243562917c4dfd0e8a753781b153b36
diff --git a/apptuit/apptuit_client.py b/apptuit/apptuit_client.py index afa6792..2049aa9 100644 --- a/apptuit/apptuit_client.py +++ b/apptuit/apptuit_client.py @@ -286,6 +286,23 @@ class DataPoint(object): raise ValueError("Tag value %s contains an invalid character, allowed characters are a-z, A-Z, 0...
DataPoint should validate parameters Right now DataPoint does not validate if the "value" parameter is int/long or float. Eventual API call fails if the value is a string (even representation of int/float). DataPoint should perform client side validation of all input parameters (metricname, tags, values) without wa...
ApptuitAI/apptuit-py
diff --git a/tests/test_send.py b/tests/test_send.py index f0d9b49..f8ee9a5 100644 --- a/tests/test_send.py +++ b/tests/test_send.py @@ -5,7 +5,7 @@ try: except ImportError: from mock import Mock, patch -from nose.tools import assert_raises, ok_, raises +from nose.tools import assert_raises, ok_, assert_is_not_...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
0.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y lintian" ], "python": "3.6", ...
-e git+https://github.com/ApptuitAI/apptuit-py.git@65d256693243562917c4dfd0e8a753781b153b36#egg=apptuit attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 nose==1.3.7 numpy==1.19.5 packaging==21.3 pandas==1.1.5 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pyte...
name: apptuit-py 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 -...
[ "tests/test_send.py::test_invalid_datapoint_value", "tests/test_send.py::test_nonstring_invalid_datapoint_value" ]
[]
[ "tests/test_send.py::test_send_positive", "tests/test_send.py::test_send_server_error", "tests/test_send.py::test_invalid_chars_in_tag_keys", "tests/test_send.py::test_invalid_chars_in_tag_values", "tests/test_send.py::test_tags_not_dict", "tests/test_send.py::test_invalid_metric_name", "tests/test_send...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.apptuitai_1776_apptuit-py-10
swerebench/sweb.eval.x86_64.apptuitai_1776_apptuit-py-10
[ { "file_path": "apptuit/apptuit_client.py", "added_lines": [ 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305 ], "deleted_lines": [] } ]
[ "apptuit/apptuit_client.py" ]
[ "apptuit" ]
ApptuitAI__apptuit-py-21
2b12a363e0db4a39fc2fa786e064429df26884be
2018-12-12 05:45:49
2b12a363e0db4a39fc2fa786e064429df26884be
diff --git a/apptuit/pyformance/apptuit_reporter.py b/apptuit/pyformance/apptuit_reporter.py index a8e2a65..1f6896e 100644 --- a/apptuit/pyformance/apptuit_reporter.py +++ b/apptuit/pyformance/apptuit_reporter.py @@ -10,13 +10,13 @@ class ApptuitReporter(Reporter): def __init__(self, registry=None, reporting_inter...
Global tags should not over-ride tags from the datapoint If the same tag key-value pair is on the datapoint and in global tags of the reporter, current implementation prefers the global tag: https://github.com/ApptuitAI/apptuit-py/blob/9872766e4838fced1a580f4da3b44acf5fd3ea81/apptuit/pyformance/apptuit_reporter.py#L62...
ApptuitAI/apptuit-py
diff --git a/tests/test_pyformance_reporter.py b/tests/test_pyformance_reporter.py index aaa6d1c..65d5537 100644 --- a/tests/test_pyformance_reporter.py +++ b/tests/test_pyformance_reporter.py @@ -3,7 +3,7 @@ """ import random import time -from nose.tools import assert_raises, assert_equals, assert_greater_equal +fr...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
0.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "nose", "pytest" ], "pre_install": null, "python": "3.6", "reqs_path": [ "requirements.txt" ], "test_cmd"...
-e git+https://github.com/ApptuitAI/apptuit-py.git@2b12a363e0db4a39fc2fa786e064429df26884be#egg=apptuit attrs==22.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 nose==1.3.7 numpy==1.19.5 packaging==21.3 pandas==1.1.5 pluggy==1.0.0 py==1.11.0 pyformance==0.4 pypar...
name: apptuit-py 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 -...
[ "tests/test_pyformance_reporter.py::test_globaltags_override", "tests/test_pyformance_reporter.py::test_none_prefix" ]
[]
[ "tests/test_pyformance_reporter.py::test_send_negative", "tests/test_pyformance_reporter.py::test_reporter_thread_active", "tests/test_pyformance_reporter.py::test_invalid_metric_name", "tests/test_pyformance_reporter.py::test_invalid_tag", "tests/test_pyformance_reporter.py::test_invalid_registry", "test...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.apptuitai_1776_apptuit-py-21
swerebench/sweb.eval.x86_64.apptuitai_1776_apptuit-py-21
[ { "file_path": "apptuit/pyformance/apptuit_reporter.py", "added_lines": [ 13, 17, 19, 29, 40, 41, 42, 43, 44, 45, 60, 63, 64, 65, 66, 67, 68, 69, 72 ], "deleted_lines": [ 13, ...
[ "apptuit/pyformance/apptuit_reporter.py" ]
[ "apptuit/pyformance" ]
ArkEcosystem__python-crypto-116
1bd016f76b41eba9711be748c1caf20d8042f590
2021-02-16 01:39:53
1bd016f76b41eba9711be748c1caf20d8042f590
diff --git a/crypto/transactions/builder/htlc_lock.py b/crypto/transactions/builder/htlc_lock.py index baa361d..0ee2c7a 100644 --- a/crypto/transactions/builder/htlc_lock.py +++ b/crypto/transactions/builder/htlc_lock.py @@ -6,11 +6,12 @@ class HtlcLock(BaseTransactionBuilder): transaction_type = TRANSACTION_HTL...
feat: add amount to HTLC Lock constructor A HTLC lock transaction requires an amount, but the current constructor does not allow for passing an amount.
ArkEcosystem/python-crypto
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 030dfd9..dc62fc3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.5, 3.6, 3.7] + python-version: [3.5, 3.6, 3...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest_v2", "no_use_env": null, "packages": "requirements.txt", "pip_packages": null, "pre_install": null, "python": "3.6", "reqs_path": null, "test_cmd": "pytest -v -s" }
-e git+https://github.com/ArkEcosystem/python-crypto.git@1bd016f76b41eba9711be748c1caf20d8042f590#egg=arkecosystem_crypto asn1crypto==1.5.1 attrs==22.2.0 base58==2.1.1 binary-helpers==0.0.4 certifi==2021.5.30 cffi==1.15.1 coincurve==16.0.0 coverage==6.2 flake8==5.0.4 flake8-import-order==0.18.2 flake8-print==4.0.1 flak...
name: python-crypto 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 ...
[ "tests/transactions/builder/test_htlc_lock.py::test_htlc_lock_transation_amount_not_int", "tests/transactions/builder/test_htlc_lock.py::test_htlc_lock_transation_amount_zero", "tests/transactions/builder/test_htlc_lock.py::test_htlc_lock_transation_amount_negative", "tests/transactions/builder/test_htlc_lock...
[]
[]
[]
MIT License
swerebench/sweb.eval.x86_64.arkecosystem_1776_python-crypto-116
swerebench/sweb.eval.x86_64.arkecosystem_1776_python-crypto-116
[ { "file_path": "crypto/transactions/builder/htlc_lock.py", "added_lines": [ 9, 14, 24, 25, 26, 27, 28 ], "deleted_lines": [ 9 ] } ]
[ "crypto/transactions/builder/htlc_lock.py" ]
[ "crypto/transactions/builder" ]
AspenWeb__pando.py-586
0e0bc40453df28bae014461822fa25daf8263ff8
2018-06-21 14:03:21
0e0bc40453df28bae014461822fa25daf8263ff8
diff --git a/pando/state_chain.py b/pando/state_chain.py index 9fb57a43..f7e60513 100644 --- a/pando/state_chain.py +++ b/pando/state_chain.py @@ -27,7 +27,7 @@ import traceback from aspen import resources from aspen.exceptions import NotFound, Redirect, UnindexedDirectory -from aspen.http.resource import Negotiati...
Requests for static files should return a 405 if method is unsafe Reticketing from <https://github.com/AspenWeb/aspen.py/issues/50>. Any request for a static file with a method other than `GET` or `HEAD` should be rejected with a 405.
AspenWeb/pando.py
diff --git a/tests/test_website_flow.py b/tests/test_website_flow.py index 0916e3c5..1d5d9966 100644 --- a/tests/test_website_flow.py +++ b/tests/test_website_flow.py @@ -46,3 +46,30 @@ def test_early_failures_dont_break_everything(harness): assert harness.client.GET("/", raise_immediately=False).code == 400 ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
0.44
{ "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", "pyflakes" ], "pre_install": null, "python": "3.6", "reqs_path": [ "requirements.txt" ], "...
algorithm==1.2.0 aspen==1.0rc3 attrs==22.2.0 certifi==2021.5.30 dependency-injection==1.2.0 filesystem-tree==1.1.2 first==2.0.2 importlib-metadata==4.8.3 iniconfig==1.1.1 packaging==21.3 -e git+https://github.com/AspenWeb/pando.py.git@0e0bc40453df28bae014461822fa25daf8263ff8#egg=pando pluggy==1.0.0 py==1.11.0 pyflakes=...
name: pando.py 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 - l...
[ "tests/test_website_flow.py::test_static_resource_HEAD", "tests/test_website_flow.py::test_static_resource_PUT", "tests/test_website_flow.py::test_static_resource_unknown_method" ]
[]
[ "tests/test_website_flow.py::test_website_can_respond", "tests/test_website_flow.py::test_website_can_respond_with_negotiation", "tests/test_website_flow.py::test_404_comes_out_404", "tests/test_website_flow.py::test_user_can_influence_request_context_via_algorithm_state", "tests/test_website_flow.py::test_...
[]
MIT license
swerebench/sweb.eval.x86_64.aspenweb_1776_pando.py-586
swerebench/sweb.eval.x86_64.aspenweb_1776_pando.py-586
[ { "file_path": "pando/state_chain.py", "added_lines": [ 30, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 128, 129, 130, 193 ], "deleted_lin...
[ "pando/state_chain.py" ]
[ "pando" ]
AzureAD__azure-activedirectory-library-for-python-227
b65cdce996c3e275bf82f1563638150c7ac97034
2020-04-25 12:10:31
f1bc11d5b6e0ace54d7f5ed6972a098547638df2
diff --git a/adal/authentication_parameters.py b/adal/authentication_parameters.py index fa891a0..a5f97e8 100644 --- a/adal/authentication_parameters.py +++ b/adal/authentication_parameters.py @@ -53,7 +53,7 @@ class AuthenticationParameters(object): # The 401 challenge is a standard defined in RFC6750, which is based...
Replace "login.windows.net" with "login.microsoftonline.com" in the authority host list In here: https://github.com/AzureAD/azure-activedirectory-library-for-python/blob/2a1c7ffabda0d79548533434db0cc9bbae6eefcf/adal/constants.py#L211 ADAL is still defaulting to "login.windows.net". MSAL has removed this endpoint ...
AzureAD/azure-activedirectory-library-for-python
diff --git a/tests/config_sample.py b/tests/config_sample.py index 99e946a..622a64b 100644 --- a/tests/config_sample.py +++ b/tests/config_sample.py @@ -42,7 +42,7 @@ ACQUIRE_TOKEN_WITH_USERNAME_PASSWORD = { "password" : "None", "tenant" : "XXXXXXXX.onmicrosoft.com", - "authorityHostUrl" : "https://login...
{ "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": 0, "issue_text_score": 2, "test_score": 1 }, "num_modified_files": 4 }
1.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.6", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
-e git+https://github.com/AzureAD/azure-activedirectory-library-for-python.git@b65cdce996c3e275bf82f1563638150c7ac97034#egg=adal asn1crypto==1.5.1 astroid==1.4.9 attrs==22.2.0 certifi==2021.5.30 cffi==1.15.1 chardet==3.0.4 colorama==0.4.5 cryptography==2.3.1 httpretty==0.8.14 idna==2.7 importlib-metadata==4.8.3 iniconf...
name: azure-activedirectory-library-for-python 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_imp...
[ "tests/test_authority.py::TestAuthority::test_http_error", "tests/test_authority.py::TestAuthority::test_success_dynamic_instance_discovery", "tests/test_authority.py::TestAuthority::test_url_extra_slashes", "tests/test_authority.py::TestAuthority::test_validation_error", "tests/test_authority.py::TestAutho...
[]
[ "tests/test_api_version.py::TestAuthenticationContextApiVersionBehavior::test_api_version_default_value", "tests/test_api_version.py::TestAuthenticationContextApiVersionBehavior::test_explicitly_turn_off_api_version", "tests/test_api_version.py::TestOAuth2ClientApiVersionBehavior::test_api_version_is_not_set", ...
[]
MIT License
swerebench/sweb.eval.x86_64.azuread_1776_azure-activedirectory-library-for-python-227
swerebench/sweb.eval.x86_64.azuread_1776_azure-activedirectory-library-for-python-227
[ { "file_path": "adal/authentication_parameters.py", "added_lines": [ 56 ], "deleted_lines": [ 56 ] }, { "file_path": "adal/constants.py", "added_lines": [ 211 ], "deleted_lines": [ 211, 216 ] }, { "file_path": "adal/log.py", "adde...
[ "adal/authentication_parameters.py", "adal/constants.py", "adal/log.py", "sample/website_sample.py" ]
[ "adal", "sample" ]
AzureAD__microsoft-authentication-library-for-python-186
c235d4e9dea9e4954cf0699bd46bb57ddce959be
2020-04-23 18:54:16
c235d4e9dea9e4954cf0699bd46bb57ddce959be
diff --git a/msal/application.py b/msal/application.py index a17d359..66d9b43 100644 --- a/msal/application.py +++ b/msal/application.py @@ -633,8 +633,9 @@ class ClientApplication(object): **kwargs) if at and "error" not in at: return at + last_resp = None ...
Refresh token errors are discarded `acquire_token_silent_with_error` appears to be intended to return the last error response received from AAD, and the documentation implies it does so, but there are cases in which it does not. For example, if AAD rejects a refresh token, its error response is discarded (`at` is th...
AzureAD/microsoft-authentication-library-for-python
diff --git a/tests/test_application.py b/tests/test_application.py index 39becd5..65b36b3 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -176,6 +176,19 @@ class TestClientApplicationAcquireTokenSilentFociBehaviors(unittest.TestCase): # Will not test scenario of app leaving family. Per ...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 2, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
1.2
{ "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": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 cryptography==44.0.2 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 -e git+https://github.com/AzureAD/microsoft-authentication-library-for-python.git@c235d4e9dea9e4954cf0699bd46bb57ddce959be#egg=msal packaging==24.2 pluggy==1.5.0 pycparser==2.22 PyJWT==1.7.1 ...
name: microsoft-authentication-library-for-python 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 - lib...
[ "tests/test_application.py::TestClientApplicationAcquireTokenSilentFociBehaviors::test_preexisting_family_app_will_attempt_frt_and_return_error" ]
[]
[ "tests/test_application.py::TokenCacheTestCase::testAddByAad", "tests/test_application.py::TokenCacheTestCase::testAddByAdfs", "tests/test_application.py::TokenCacheTestCase::test_key_id_is_also_recorded", "tests/test_application.py::TestHelperExtractCerts::test_extract_a_tag_enclosed_cert", "tests/test_app...
[]
MIT License
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-186
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-186
[ { "file_path": "msal/application.py", "added_lines": [ 636, 638, 646, 647 ], "deleted_lines": [ 637, 645 ] } ]
[ "msal/application.py" ]
[ "msal" ]
AzureAD__microsoft-authentication-library-for-python-280
dfbbc66730a1f14cf8c27cb3562ecf9bd611a1a9
2020-11-25 20:00:55
dfbbc66730a1f14cf8c27cb3562ecf9bd611a1a9
diff --git a/msal/token_cache.py b/msal/token_cache.py index b7ebbb9..34eff37 100644 --- a/msal/token_cache.py +++ b/msal/token_cache.py @@ -234,8 +234,9 @@ class TokenCache(object): with self._lock: if new_key_value_pairs: # Update with them entries = self._cache.setdefault(cred...
[Bug] Token cache incompatibility with MSAL.python **Which Version of MSAL are you using ?** 4.21 Details in this PowerShell issue: https://github.com/Azure/azure-powershell/issues/13467 ## Repro Start with PWSH, then use Az CLI, the go back to PWSH. For example: 0. Use Windows (probably the same on Mac ...
AzureAD/microsoft-authentication-library-for-python
diff --git a/tests/test_token_cache.py b/tests/test_token_cache.py index 1666bba..c846883 100644 --- a/tests/test_token_cache.py +++ b/tests/test_token_cache.py @@ -222,6 +222,24 @@ class TokenCacheTestCase(unittest.TestCase): {}).get("key_id") self.assertEqual(my_key_id, cached_key_id, "AT should...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 1 }
1.6
{ "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.6", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no...
attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==3.4.8 idna==3.10 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work more-iterto...
name: microsoft-authentication-library-for-python 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=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=20...
[ "tests/test_token_cache.py::TokenCacheTestCase::test_old_rt_data_with_wrong_key_should_still_be_salvaged_into_new_rt", "tests/test_token_cache.py::SerializableTokenCacheTestCase::test_old_rt_data_with_wrong_key_should_still_be_salvaged_into_new_rt" ]
[]
[ "tests/test_token_cache.py::TokenCacheTestCase::testAddByAad", "tests/test_token_cache.py::TokenCacheTestCase::testAddByAdfs", "tests/test_token_cache.py::TokenCacheTestCase::test_key_id_is_also_recorded", "tests/test_token_cache.py::SerializableTokenCacheTestCase::testAddByAad", "tests/test_token_cache.py:...
[]
MIT License
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-280
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-280
[ { "file_path": "msal/token_cache.py", "added_lines": [ 237, 238, 239 ], "deleted_lines": [ 237, 238 ] } ]
[ "msal/token_cache.py" ]
[ "msal" ]
AzureAD__microsoft-authentication-library-for-python-315
78e9ccfab7c16154ba38c0de78c495ba2ee58849
2021-03-02 09:31:28
78e9ccfab7c16154ba38c0de78c495ba2ee58849
diff --git a/msal/application.py b/msal/application.py index 9fcad59..8a3fcae 100644 --- a/msal/application.py +++ b/msal/application.py @@ -918,11 +918,17 @@ class ClientApplication(object): client = self._build_client(self.client_credential, authority) response = None # A distinguishable value to...
MSAL shouldn't remove Refresh Token upon receiving invalid_grant **Describe the bug** MSAL shouldn't remove Refresh Token upon receiving `invalid_grant`. **To Reproduce** When 1. ARM (`https://management.azure.com/.default`) doesn't require MFA 2. VM SSH (`https://pas.windows.net/CheckMyAccess/Linux/.default`...
AzureAD/microsoft-authentication-library-for-python
diff --git a/tests/test_application.py b/tests/test_application.py index 3c3b464..28e598b 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -73,8 +73,7 @@ class TestClientApplicationAcquireTokenSilentErrorBehaviors(unittest.TestCase): self.client_id, authority=self.authority_url, to...
{ "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": 1, "test_score": 2 }, "num_modified_fi...
1.9
{ "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.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no...
certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 cryptography==3.4.8 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work -e git+https://github.com/AzureAD/microsoft-authentication-library-for-python.git@78e9ccfab7c1...
name: microsoft-authentication-library-for-python 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 - ...
[ "tests/test_application.py::TokenCacheTestCase::testAddByAad", "tests/test_application.py::TokenCacheTestCase::testAddByAdfs", "tests/test_token_cache.py::TokenCacheTestCase::testAddByAad", "tests/test_token_cache.py::TokenCacheTestCase::testAddByAdfs", "tests/test_token_cache.py::SerializableTokenCacheTest...
[]
[ "tests/test_application.py::TokenCacheTestCase::test_key_id_is_also_recorded", "tests/test_application.py::TokenCacheTestCase::test_old_rt_data_with_wrong_key_should_still_be_salvaged_into_new_rt", "tests/test_application.py::TokenCacheTestCase::test_refresh_in_should_be_recorded_as_refresh_on", "tests/test_a...
[]
MIT License
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-315
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-315
[ { "file_path": "msal/application.py", "added_lines": [ 921, 922, 923, 924, 925, 929, 930, 931 ], "deleted_lines": [ 921, 925 ] }, { "file_path": "msal/token_cache.py", "added_lines": [ 151, 215, 253, ...
[ "msal/application.py", "msal/token_cache.py" ]
[ "msal" ]
AzureAD__microsoft-authentication-library-for-python-530
48954fcbc16272566cbedbaf48ffbae4acf7d5db
2023-01-27 20:20:23
48954fcbc16272566cbedbaf48ffbae4acf7d5db
diff --git a/msal/application.py b/msal/application.py index 7e3ec16..62ba4b5 100644 --- a/msal/application.py +++ b/msal/application.py @@ -588,18 +588,9 @@ class ClientApplication(object): raise ValueError( "API does not accept {} value as user-provided scopes".format( ...
Cannot put client id into scopes, therefore cannot get access_token for Azure B2C According to [Azure B2C documentation](https://learn.microsoft.com/en-us/azure/active-directory-b2c/access-tokens#openid-connect-scopes), to get an access_token, client id must be added to scopes, i.e. `scopes=['openid', 'offline_access',...
AzureAD/microsoft-authentication-library-for-python
diff --git a/tests/test_application.py b/tests/test_application.py index 804ccb8..b62f41d 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -625,3 +625,18 @@ class TestClientCredentialGrant(unittest.TestCase): self._test_certain_authority_should_emit_warnning( authority="ht...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 1 }
1.20
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": [ ...
certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 cryptography==40.0.2 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 -e git+https://github.com/AzureAD/microsoft-authentication-library-for-python.git@48954fcbc16272566cbedbaf48ffbae4acf7d5db#egg=msal packaging==24.2 pluggy==1.5.0 pycparser==2.22 PyJWT==2.10.1...
name: microsoft-authentication-library-for-python 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 - lib...
[ "tests/test_application.py::TestScopeDecoration::test_client_id_should_be_a_valid_scope" ]
[ "tests/test_e2e.py::SshCertTestCase::test_ssh_cert_for_user_should_work_with_any_account" ]
[ "tests/test_application.py::TestHelperExtractCerts::test_extract_a_tag_enclosed_cert", "tests/test_application.py::TestHelperExtractCerts::test_extract_a_tag_less_public_cert", "tests/test_application.py::TestHelperExtractCerts::test_extract_multiple_tag_enclosed_certs", "tests/test_application.py::TestBytesC...
[]
MIT License
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-530
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-530
[ { "file_path": "msal/application.py", "added_lines": [ 591, 592, 593 ], "deleted_lines": [ 591, 592, 593, 594, 595, 596, 597, 598, 599, 600, 601, 602 ] } ]
[ "msal/application.py" ]
[ "msal" ]
AzureAD__microsoft-authentication-library-for-python-723
57dce47ae3495e546a0913c961c149734566da3a
2024-07-16 19:50:55
57dce47ae3495e546a0913c961c149734566da3a
diff --git a/msal/application.py b/msal/application.py index ba10cd3..8f30eb1 100644 --- a/msal/application.py +++ b/msal/application.py @@ -104,11 +104,14 @@ def _clean_up(result): "msalruntime_telemetry": result.get("_msalruntime_telemetry"), "msal_python_telemetry": result.get("_msa...
[Feature Request] Expose `refresh_on` when retrieving token from cache ### MSAL client type Public, Confidential ### Problem Statement Similar to https://github.com/AzureAD/microsoft-authentication-library-for-java/issues/822, in our Azure SDKs for Python, one of the primary pipeline policies our SDK clients use is ...
AzureAD/microsoft-authentication-library-for-python
diff --git a/tests/test_application.py b/tests/test_application.py index cebc722..71dc16e 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -1,6 +1,7 @@ # Note: Since Aug 2019 we move all e2e tests into test_e2e.py, # so this test_application file contains only unit tests without dependency. ...
{ "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": 2, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 2 }
1.29
{ "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": [ "requirements.txt" ], "test_cmd": "pyte...
certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 cryptography==44.0.2 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 -e git+https://github.com/AzureAD/microsoft-authentication-library-for-python.git@57dce47ae3495e546a0913c961c149734566da3a#egg=msal packaging==24.2 perf-baseline==0.1.0 pluggy==1.5.0 py-cpuin...
name: microsoft-authentication-library-for-python 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 - lib...
[ "tests/test_application.py::TestApplicationForRefreshInBehaviors::test_aging_token_and_available_aad_should_return_new_token", "tests/test_application.py::TestApplicationForRefreshInBehaviors::test_aging_token_and_unavailable_aad_should_return_old_token", "tests/test_application.py::TestApplicationForRefreshInB...
[]
[ "tests/test_application.py::TestHelperExtractCerts::test_extract_a_tag_enclosed_cert", "tests/test_application.py::TestHelperExtractCerts::test_extract_a_tag_less_public_cert", "tests/test_application.py::TestHelperExtractCerts::test_extract_multiple_tag_enclosed_certs", "tests/test_application.py::TestBytesC...
[]
MIT License
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-723
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-723
[ { "file_path": "msal/application.py", "added_lines": [ 107, 112, 113, 114, 1513, 1514, 1515, 1516, 1517 ], "deleted_lines": [ 107, 1510, 1511, 1512 ] }, { "file_path": "msal/managed_identity.py", "added_lin...
[ "msal/application.py", "msal/managed_identity.py" ]
[ "msal" ]
AzureAD__microsoft-authentication-library-for-python-730
fe8f7583a539f9a5c232df31c916368bc12057f7
2024-08-07 21:16:14
ca0877e953200cb9c3e68b572143442349bd1927
diff --git a/msal/application.py b/msal/application.py index b3c07a4..75ca6c8 100644 --- a/msal/application.py +++ b/msal/application.py @@ -411,9 +411,11 @@ class ClientApplication(object): (STS) what this client is capable for, so STS can decide to turn on certain features. For ...
[Engineering task] Implement Claims API to Bypass Cache When Claims are Present in MSAL with Managed Identity ### MSAL client type Confidential ### Problem Statement **Task type** Development **Description** Currently, MSAL with Managed Identity does not expose any API claims API. With CAE (Continuous Acc...
AzureAD/microsoft-authentication-library-for-python
diff --git a/tests/test_mi.py b/tests/test_mi.py index f3182c7..2041419 100644 --- a/tests/test_mi.py +++ b/tests/test_mi.py @@ -82,20 +82,17 @@ class ClientTestCase(unittest.TestCase): self.assertTrue( is_subdict_of(expected_result, result), # We will test refresh_on later "Should o...
{ "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": 2, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 2 }
1.30
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "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", "docs/requirements.txt" ...
alabaster==0.7.16 babel==2.17.0 beautifulsoup4==4.13.3 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 cryptography==44.0.2 docutils==0.21.2 exceptiongroup==1.2.2 furo==2024.8.6 idna==3.10 imagesize==1.4.1 importlib_metadata==8.6.1 iniconfig==2.1.0 Jinja2==3.1.6 MarkupSafe==3.0.2 -e git+https://github.com/Azu...
name: microsoft-authentication-library-for-python 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 - lib...
[ "tests/test_mi.py::VmTestCase::test_happy_path", "tests/test_mi.py::AppServiceTestCase::test_happy_path", "tests/test_mi.py::MachineLearningTestCase::test_happy_path", "tests/test_mi.py::ServiceFabricTestCase::test_happy_path", "tests/test_mi.py::ServiceFabricTestCase::test_unified_api_service_should_ignore...
[]
[ "tests/test_mi.py::ManagedIdentityTestCase::test_helper_class_should_be_interchangable_with_dict_which_could_be_loaded_from_file_or_env_var", "tests/test_mi.py::VmTestCase::test_vm_error_should_be_returned_as_is", "tests/test_mi.py::AppServiceTestCase::test_app_service_error_should_be_normalized", "tests/test...
[]
MIT License
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-730
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-730
[ { "file_path": "msal/application.py", "added_lines": [ 414, 415, 416, 417, 418 ], "deleted_lines": [ 414, 415, 416 ] }, { "file_path": "msal/managed_identity.py", "added_lines": [ 13, 148, 149, 150, 243, ...
[ "msal/application.py", "msal/managed_identity.py" ]
[ "msal" ]
AzureAD__microsoft-authentication-library-for-python-77
f4a0ba0b05d32d50bed3c2c8dbc188c7a4e5039f
2019-07-15 20:03:44
f4a0ba0b05d32d50bed3c2c8dbc188c7a4e5039f
diff --git a/msal/authority.py b/msal/authority.py index 51289d2..75dc69f 100644 --- a/msal/authority.py +++ b/msal/authority.py @@ -38,13 +38,20 @@ class Authority(object): self.proxies = proxies self.timeout = timeout canonicalized, self.instance, tenant = canonicalize(authority_url) - ...
ADFS 2019 Compatability * See the task scope in [this MSAL .Net PR](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/pull/834). It seems touch almost every flow: Device Code, Username Password, Interactive flow (i.e. auth code flow), and Confidential Client. * This doc [OAuth2 in ADFS](https://do...
AzureAD/microsoft-authentication-library-for-python
diff --git a/tests/test_token_cache.py b/tests/test_token_cache.py index fecee70..85f4457 100644 --- a/tests/test_token_cache.py +++ b/tests/test_token_cache.py @@ -16,30 +16,29 @@ class TokenCacheTestCase(unittest.TestCase): @staticmethod def build_id_token( iss="issuer", sub="subject", aud="my_...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 2 }
0.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.6", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
attrs==22.2.0 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 -e git+https://github.com/AzureAD/microsoft-authentication-library-for-python.git@f4a0ba0b05d32d50bed3c2c8dbc188c7a4e5039f#egg=msal packaging==21.3 pluggy==1.0.0 py==1.11.0...
name: microsoft-authentication-library-for-python 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_...
[ "tests/test_token_cache.py::TokenCacheTestCase::testAddByAdfs", "tests/test_token_cache.py::SerializableTokenCacheTestCase::testAddByAdfs" ]
[]
[ "tests/test_token_cache.py::TokenCacheTestCase::testAddByAad", "tests/test_token_cache.py::SerializableTokenCacheTestCase::testAddByAad", "tests/test_token_cache.py::SerializableTokenCacheTestCase::test_has_state_changed" ]
[]
MIT License
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-77
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-77
[ { "file_path": "msal/authority.py", "added_lines": [ 41, 42, 43, 44, 45, 46, 47, 48, 52, 53, 54 ], "deleted_lines": [ 41, 42, 43, 44 ] }, { "file_path": "msal/token_cache.py", "added_lines": [ ...
[ "msal/authority.py", "msal/token_cache.py" ]
[ "msal" ]
AzureAD__microsoft-authentication-library-for-python-795
fb3e21cf501587dccb71676a3d06f9ea24476102
2025-03-07 03:01:56
fb3e21cf501587dccb71676a3d06f9ea24476102
diff --git a/msal/managed_identity.py b/msal/managed_identity.py index ec032ca..6f85571 100644 --- a/msal/managed_identity.py +++ b/msal/managed_identity.py @@ -448,7 +448,9 @@ def _obtain_token_on_azure_vm(http_client, managed_identity, resource): } _adjust_param(params, managed_identity) resp = htt...
[Bug] Msal does not honor environment variable `AZURE_POD_IDENTITY_AUTHORITY_HOST` in IMDS We used to honor environment variable `AZURE_POD_IDENTITY_AUTHORITY_HOST` in IMDS https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/identity/azure-identity/azure/identity/_credentials/imds.py#L36 Seems like MSAL chang...
AzureAD/microsoft-authentication-library-for-python
diff --git a/tests/test_mi.py b/tests/test_mi.py index c5a99ae..a7c2cb6 100644 --- a/tests/test_mi.py +++ b/tests/test_mi.py @@ -121,13 +121,29 @@ class ClientTestCase(unittest.TestCase): class VmTestCase(ClientTestCase): - def test_happy_path(self): + def _test_happy_path(self) -> callable: expires...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
1.31
{ "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-benchmark" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "pyth...
certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 cryptography==44.0.2 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 -e git+https://github.com/AzureAD/microsoft-authentication-library-for-python.git@fb3e21cf501587dccb71676a3d06f9ea24476102#egg=msal packaging==24.2 perf-baseline==0.1.0 pluggy==1.5.0 py-cpuin...
name: microsoft-authentication-library-for-python 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 - lib...
[ "tests/test_mi.py::VmTestCase::test_happy_path_of_pod_identity" ]
[]
[ "tests/test_mi.py::ManagedIdentityTestCase::test_helper_class_should_be_interchangable_with_dict_which_could_be_loaded_from_file_or_env_var", "tests/test_mi.py::ClientTestCase::test_error_out_on_invalid_input", "tests/test_mi.py::VmTestCase::test_error_out_on_invalid_input", "tests/test_mi.py::VmTestCase::tes...
[]
MIT License
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-795
swerebench/sweb.eval.x86_64.azuread_1776_microsoft-authentication-library-for-python-795
[ { "file_path": "msal/managed_identity.py", "added_lines": [ 451, 452, 453 ], "deleted_lines": [ 451 ] } ]
[ "msal/managed_identity.py" ]
[ "msal" ]
Azure__autorest.python-475
4793bd7b9ddc25a241cd54538b4c5750f915b3d2
2020-03-07 00:01:55
b25e4602ecfa5e7f5d13fc4043848b1720b995de
diff --git a/autorest/codegen/models/parameter_list.py b/autorest/codegen/models/parameter_list.py index 5f1c8b94f..500a776b3 100644 --- a/autorest/codegen/models/parameter_list.py +++ b/autorest/codegen/models/parameter_list.py @@ -115,16 +115,17 @@ class ParameterList(MutableSequence): or parameter.i...
argument order syntax error Using > AutoRest code generation utility [cli version: 3.0.6187; node: v10.13.0, max-memory: 8192 gb] With: Autorest for Python v5.0.0 - 20200228.1 And Swagger: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/search/data-plane/Microsoft.Azure...
Azure/autorest.python
diff --git a/test/unittests/test_parameter_ordering.py b/test/unittests/test_parameter_ordering.py new file mode 100644 index 000000000..ce4e06df7 --- /dev/null +++ b/test/unittests/test_parameter_ordering.py @@ -0,0 +1,59 @@ +import pytest +from autorest.codegen.models import Parameter, AnySchema +from autorest.codege...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
5.0
{ "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": null, "pre_install": null, "python": "3.7", "reqs_path": [ "dev_requirements.txt" ], "test_cmd": "pytest --no-he...
astroid==2.3.3 -e git+https://github.com/Azure/autorest.python.git@4793bd7b9ddc25a241cd54538b4c5750f915b3d2#egg=autorest black==23.3.0 cachetools==5.5.2 certifi @ file:///croot/certifi_1671487769961/work/certifi chardet==5.2.0 click==8.1.8 colorama==0.4.6 distlib==0.3.9 docutils==0.20.1 exceptiongroup==1.2.2 filelock==...
name: autorest.python 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=h12ee557_...
[ "test/unittests/test_parameter_ordering.py::test_sort_required_parameters" ]
[]
[ "test/unittests/test_parameter_ordering.py::test_sort_required_and_non_required_parameters" ]
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_autorest.python-475
swerebench/sweb.eval.x86_64.azure_1776_autorest.python-475
[ { "file_path": "autorest/codegen/models/parameter_list.py", "added_lines": [ 118, 119, 120, 123, 124, 126, 128 ], "deleted_lines": [ 118, 119, 122, 123, 125, 127 ] } ]
[ "autorest/codegen/models/parameter_list.py" ]
[ "autorest/codegen/models" ]
Azure__autorest.python-545
3322ab3a1c793c8fdaf2dc7d391c3c1e2eca2852
2020-04-03 15:44:35
b25e4602ecfa5e7f5d13fc4043848b1720b995de
diff --git a/ChangeLog.md b/ChangeLog.md index cb8b2555c..0c66ad340 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,11 @@ # Change Log +### Current + +**Bug Fixes** + +- Fixes parameter ordering so parameters with default values are all ordered at the end #545 + ### 2020-04-01 - 5.0.0-dev.20200401.1 Model...
default value followed by non default value in operation signature if you change cost management service swagger like this <img width="770" alt="Screen Shot 2020-04-03 at 10 40 18 AM" src="https://user-images.githubusercontent.com/43154838/78372652-8760c900-7597-11ea-957f-8abf14e4582c.png"> code gen generates: <img ...
Azure/autorest.python
diff --git a/test/unittests/test_parameter_ordering.py b/test/unittests/test_parameter_ordering.py index ce4e06df7..06a8739d3 100644 --- a/test/unittests/test_parameter_ordering.py +++ b/test/unittests/test_parameter_ordering.py @@ -1,13 +1,15 @@ import pytest from autorest.codegen.models import Parameter, AnySchema ...
{ "commit_name": "merge_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": 2, "issue_text_score": 3, "test_score": 0 }, "num_modified_f...
5.0
{ "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": null, "pre_install": null, "python": "3.7", "reqs_path": [ "dev_requirements.txt" ], "test_cmd": "pytest --no-he...
astroid==2.3.3 -e git+https://github.com/Azure/autorest.python.git@3322ab3a1c793c8fdaf2dc7d391c3c1e2eca2852#egg=autorest black==23.3.0 cachetools==5.5.2 certifi @ file:///croot/certifi_1671487769961/work/certifi chardet==5.2.0 click==8.1.8 colorama==0.4.6 distlib==0.3.9 docutils==0.20.1 exceptiongroup==1.2.2 filelock==...
name: autorest.python 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=h12ee557_...
[ "test/unittests/test_parameter_ordering.py::test_sort_parameters_with_default_value_from_schema" ]
[]
[ "test/unittests/test_parameter_ordering.py::test_sort_required_parameters", "test/unittests/test_parameter_ordering.py::test_sort_required_and_non_required_parameters" ]
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_autorest.python-545
swerebench/sweb.eval.x86_64.azure_1776_autorest.python-545
[ { "file_path": "ChangeLog.md", "added_lines": [ 3, 4, 5, 6, 7, 8 ], "deleted_lines": [] }, { "file_path": "autorest/codegen/models/parameter.py", "added_lines": [ 78, 125, 126, 147, 148, 149, 150, 151, ...
[ "ChangeLog.md", "autorest/codegen/models/parameter.py", "autorest/codegen/models/parameter_list.py" ]
[ ".", "autorest/codegen/models" ]
Azure__azure-cli-1876
62dab24154f910ff7f3ef2b6b3783945b58e9098
2017-01-26 00:16:00
1576ec67f5029db062579da230902a559acbb9fe
diff --git a/src/azure-cli-core/azure/cli/core/_util.py b/src/azure-cli-core/azure/cli/core/_util.py index c194599bc..379152887 100644 --- a/src/azure-cli-core/azure/cli/core/_util.py +++ b/src/azure-cli-core/azure/cli/core/_util.py @@ -94,21 +94,27 @@ def get_json_object(json_string): def get_file_json(file_path,...
"@file support": should handle the BOM on file loading Otherwise, using `@<parameter-file>` will return an invalid json string for the command to use. Since json file is the main file type, so the core layer should handle it. CLI already have [the logic](https://github.com/Azure/azure-cli/blob/master/src/azure-cli-cor...
Azure/azure-cli
diff --git a/src/azure-cli-core/azure/cli/core/tests/test_application.py b/src/azure-cli-core/azure/cli/core/tests/test_application.py index 42f09f10f..2142b0515 100644 --- a/src/azure-cli-core/azure/cli/core/tests/test_application.py +++ b/src/azure-cli-core/azure/cli/core/tests/test_application.py @@ -87,13 +87,21 @@...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 2 }
0.1
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc libssl-dev libffi-dev" ], "...
adal==1.2.7 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==1.4.9 attrs==22.2.0 autopep8==1.2.4 azure-batch==1.1.0 -e git+https://github.com/Azure/azure-cli.git@62dab24154f910ff7f3ef2b6b3783945b58e9098#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@62dab24154f910ff7f3ef2b...
name: azure-cli 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 - ...
[ "src/azure-cli-core/azure/cli/core/tests/test_application.py::TestApplication::test_expand_file_prefixed_files" ]
[]
[ "src/azure-cli-core/azure/cli/core/tests/test_application.py::TestApplication::test_application_register_and_call_handlers", "src/azure-cli-core/azure/cli/core/tests/test_application.py::TestApplication::test_list_value_parameter" ]
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-1876
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-1876
[ { "file_path": "src/azure-cli-core/azure/cli/core/_util.py", "added_lines": [ 97, 98, 99, 100, 101, 102, 103, 105, 106, 109, 110, 111, 112, 113, 114, 115 ], "deleted_lines": [ 98, 99, 10...
[ "src/azure-cli-core/azure/cli/core/_util.py", "src/azure-cli-core/azure/cli/core/application.py" ]
[ "src/azure-cli-core/azure/cli/core" ]
Azure__azure-cli-2053
27816f4891c85592ad6f06bcc94008fa7d144b69
2017-02-13 16:48:43
1576ec67f5029db062579da230902a559acbb9fe
diff --git a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py b/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py index 8f73d9966..540d6aab1 100644 --- a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py +++ b/src/command_modules/azure-cli-vm/azure/cli/com...
VM Access: command renaming This is polishing like change regarding 4 existing commands under `vm access`, including `delete-linux-user`, `reset-linux-ssh`, `reset-windows-admin`, `set-linux-user`. The naming oddness reflects the service function difference between windows and linux vm, particularly on windows vm, you ...
Azure/azure-cli
diff --git a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/recordings/test_vm_create_state_modifications.yaml b/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/recordings/test_vm_create_state_modifications.yaml index 4d2a3c12b..02382f28f 100644 --- a/src/command_modules/azure-c...
{ "commit_name": "merge_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": -1 }, "num_modified_files": 4 }
0.1
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc libssl-dev libffi-dev" ], "...
adal==1.2.7 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==1.4.9 attrs==22.2.0 autopep8==1.2.4 azure-batch==1.1.0 -e git+https://github.com/Azure/azure-cli.git@27816f4891c85592ad6f06bcc94008fa7d144b69#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@27816f4891c85592ad6f06b...
name: azure-cli 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 - ...
[ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_commands.py::VMCreateAndStateModificationsScenarioTest::test_vm_create_state_modifications" ]
[ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_commands.py::VMAvailSetScenarioTest::test_vm_availset" ]
[ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_commands.py::VMImageListByAliasesScenarioTest::test_vm_image_list_by_alias", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_commands.py::VMUsageScenarioTest::test_vm_usage", "src/command_modules/azure-cli-...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2053
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2053
[ { "file_path": "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py", "added_lines": [ 238, 240, 243, 249, 251, 253, 261, 263, 265, 270, 271, 272, 274, 275 ], "deleted_lines": [ 238, 24...
[ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_help.py", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_params.py", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/commands.py", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py" ]
[ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm" ]
Azure__azure-cli-2214
01bbaf048c7669c024ece5e84c9360d829624574
2017-02-22 21:17:11
1576ec67f5029db062579da230902a559acbb9fe
diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py index 0e5118830..3b6e72876 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py +++ b/src/com...
[DNS] Deleting a record requires a confirmation prompt Deleting a record set is a potentially catastrophic operation. For this reason, in the Portal, PowerShell, and CLI1.0, the operation has a confirmation prompt. We need to add a similar confirmation prompt in CLI2.0. This applies to both `az network dns record...
Azure/azure-cli
diff --git a/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/test_network_commands.py b/src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/test_network_commands.py index c7c490fd5..1b0d4e81d 100644 --- a/src/command_modules/azure-cli-network/azure/cli/command_mod...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
0.1
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc libssl-dev libffi-dev" ], "...
adal==0.4.3 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==1.4.9 attrs==22.2.0 autopep8==1.2.4 azure-batch==1.1.0 -e git+https://github.com/Azure/azure-cli.git@01bbaf048c7669c024ece5e84c9360d829624574#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@01bbaf048c7669c024ece5e...
name: azure-cli 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 - ...
[ "src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/test_network_commands.py::NetworkDnsScenarioTest::test_network_dns" ]
[]
[ "src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/test_network_commands.py::NetworkMultiIdsShowScenarioTest::test_multi_id_show", "src/command_modules/azure-cli-network/azure/cli/command_modules/network/tests/test_network_commands.py::NetworkUsageListScenarioTest::test_network_usage_l...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2214
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2214
[ { "file_path": "src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py", "added_lines": [ 421 ], "deleted_lines": [ 421 ] } ]
[ "src/command_modules/azure-cli-network/azure/cli/command_modules/network/commands.py" ]
[ "src/command_modules/azure-cli-network/azure/cli/command_modules/network" ]
Azure__azure-cli-2467
d79710730933432d2c8ccd722d31fbbf75845ce0
2017-03-11 06:05:00
eb12ac454cbe1ddb59c86cdf2045e1912660e750
codecov-io: # [Codecov](https://codecov.io/gh/Azure/azure-cli/pull/2467?src=pr&el=h1) Report > Merging [#2467](https://codecov.io/gh/Azure/azure-cli/pull/2467?src=pr&el=desc) into [master](https://codecov.io/gh/Azure/azure-cli/commit/d79710730933432d2c8ccd722d31fbbf75845ce0?src=pr&el=desc) will **increase** coverage by...
diff --git a/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_help.py b/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_help.py index 3df308105..bcff81d87 100644 --- a/src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_help.py +++ b/src/comman...
az vmss get-instance-view returns model view when specifying all VMs If you run the following to get the instance view for all VMs in a scale set: ``` az vmss get-instance-view -g rgname -n vmssname --instance-id \* ``` CLI does: ``` requests.packages.urllib3.connectionpool : https://management.azure.com:443 "GET...
Azure/azure-cli
diff --git a/src/command_modules/azure-cli-vm/tests/test_custom_vm_commands.py b/src/command_modules/azure-cli-vm/tests/test_custom_vm_commands.py index 54809d1d5..b6ff5ac31 100644 --- a/src/command_modules/azure-cli-vm/tests/test_custom_vm_commands.py +++ b/src/command_modules/azure-cli-vm/tests/test_custom_vm_command...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 2 }
2.0
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.5", "req...
adal==0.4.3 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==1.4.9 attrs==22.2.0 autopep8==1.2.4 azure-batch==2.0.0 -e git+https://github.com/Azure/azure-cli.git@d79710730933432d2c8ccd722d31fbbf75845ce0#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@d79710730933432d2c8ccd7...
name: azure-cli 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 - ...
[ "src/command_modules/azure-cli-vm/tests/test_custom_vm_commands.py::Test_Vm_Custom::test_show_vmss_instance_view" ]
[]
[ "src/command_modules/azure-cli-vm/tests/test_custom_vm_commands.py::Test_Vm_Custom::test_attach_existing_datadisk_on_vm", "src/command_modules/azure-cli-vm/tests/test_custom_vm_commands.py::Test_Vm_Custom::test_attach_new_datadisk_custom_on_vm", "src/command_modules/azure-cli-vm/tests/test_custom_vm_commands.py...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2467
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2467
[ { "file_path": "src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_help.py", "added_lines": [ 163 ], "deleted_lines": [ 163 ] }, { "file_path": "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py", "added_lines": [ 1294, ...
[ "src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_help.py", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py" ]
[ "src/command_modules/azure-cli-resource/azure/cli/command_modules/resource", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm" ]
Azure__azure-cli-2844
a8395ea70322dbf535d474d52ebf3d625a6cbdf0
2017-04-12 18:02:44
eb12ac454cbe1ddb59c86cdf2045e1912660e750
codecov-io: # [Codecov](https://codecov.io/gh/Azure/azure-cli/pull/2844?src=pr&el=h1) Report > Merging [#2844](https://codecov.io/gh/Azure/azure-cli/pull/2844?src=pr&el=desc) into [master](https://codecov.io/gh/Azure/azure-cli/commit/a8395ea70322dbf535d474d52ebf3d625a6cbdf0?src=pr&el=desc) will **increase** coverage by...
diff --git a/src/command_modules/azure-cli-network/HISTORY.rst b/src/command_modules/azure-cli-network/HISTORY.rst index 93cd59cca..3be0480e2 100644 --- a/src/command_modules/azure-cli-network/HISTORY.rst +++ b/src/command_modules/azure-cli-network/HISTORY.rst @@ -10,6 +10,7 @@ unreleased * BC: Fix bug in the output o...
traffic-manager command failed to update endpoint ### Environment summary **Install Method:** How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly) apt-get **CLI Version:** What version of the CLI and modules are installed? (Use `az --version`) azure-cli (2.0.0) network...
Azure/azure-cli
diff --git a/src/command_modules/azure-cli-network/tests/recordings/test_network_traffic_manager.yaml b/src/command_modules/azure-cli-network/tests/recordings/test_network_traffic_manager.yaml index a751cb376..993f92d1e 100644 --- a/src/command_modules/azure-cli-network/tests/recordings/test_network_traffic_manager.yam...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 3 }
2.0
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.5", "req...
adal==0.4.3 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==1.4.9 attrs==22.2.0 autopep8==1.2.4 azure-batch==2.0.0 -e git+https://github.com/Azure/azure-cli.git@a8395ea70322dbf535d474d52ebf3d625a6cbdf0#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@a8395ea70322dbf535d474d...
name: azure-cli 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 - ...
[ "src/command_modules/azure-cli-network/tests/test_network_commands.py::NetworkTrafficManagerScenarioTest::test_network_traffic_manager" ]
[]
[ "src/command_modules/azure-cli-network/tests/test_network_commands.py::NetworkMultiIdsShowScenarioTest::test_multi_id_show", "src/command_modules/azure-cli-network/tests/test_network_commands.py::NetworkUsageListScenarioTest::test_network_usage_list", "src/command_modules/azure-cli-network/tests/test_network_co...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2844
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2844
[ { "file_path": "src/command_modules/azure-cli-network/HISTORY.rst", "added_lines": [ 13 ], "deleted_lines": [] }, { "file_path": "src/command_modules/azure-cli-network/azure/cli/command_modules/network/_params.py", "added_lines": [ 24, 540 ], "deleted_lines": [ ...
[ "src/command_modules/azure-cli-network/HISTORY.rst", "src/command_modules/azure-cli-network/azure/cli/command_modules/network/_params.py", "src/command_modules/azure-cli-network/azure/cli/command_modules/network/custom.py" ]
[ "src/command_modules/azure-cli-network", "src/command_modules/azure-cli-network/azure/cli/command_modules/network" ]
Azure__azure-cli-2955
3079f47653297161fd877f994cfaa0bc202f039f
2017-04-21 17:50:06
eb12ac454cbe1ddb59c86cdf2045e1912660e750
yugangw-msft: ```bash (env) D:\sdk\azure-cli>az ad group -h Group az ad group: Manage Azure Active Directory groups. Subgroups: member : Manage Azure Active Directory group members. Commands: create : Create a group in the directory. delete : Delete a group in...
diff --git a/src/command_modules/azure-cli-role/HISTORY.rst b/src/command_modules/azure-cli-role/HISTORY.rst index b34ef4fe7..5b6240d98 100644 --- a/src/command_modules/azure-cli-role/HISTORY.rst +++ b/src/command_modules/azure-cli-role/HISTORY.rst @@ -5,6 +5,7 @@ Release History 2.0.3 (unreleased) ++++++++++++++++++...
RBAC: support AD group commands 1. Author commands under `az ad group`, to be in parity with xplat's 2. On `group list`, add `--display-name` filtering 3. support group name when resolve `--assignee' on role creation
Azure/azure-cli
diff --git a/src/command_modules/azure-cli-role/tests/recordings/test_graph_group_scenario.yaml b/src/command_modules/azure-cli-role/tests/recordings/test_graph_group_scenario.yaml new file mode 100644 index 000000000..325267215 --- /dev/null +++ b/src/command_modules/azure-cli-role/tests/recordings/test_graph_group_sc...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "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.0
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.5", "req...
adal==0.4.3 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==1.4.9 attrs==22.2.0 autopep8==1.2.4 azure-batch==2.0.0 -e git+https://github.com/Azure/azure-cli.git@3079f47653297161fd877f994cfaa0bc202f039f#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@3079f47653297161fd877f9...
name: azure-cli 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 - ...
[ "src/command_modules/azure-cli-role/tests/test_graph.py::GraphGroupScenarioTest::test_graph_group_scenario" ]
[]
[ "src/command_modules/azure-cli-role/tests/test_graph.py::ServicePrincipalExpressCreateScenarioTest::test_sp_create_scenario", "src/command_modules/azure-cli-role/tests/test_graph.py::ApplicationSetScenarioTest::test_application_set_scenario" ]
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2955
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-2955
[ { "file_path": "src/command_modules/azure-cli-role/HISTORY.rst", "added_lines": [ 8 ], "deleted_lines": [] }, { "file_path": "src/command_modules/azure-cli-role/azure/cli/command_modules/role/_help.py", "added_lines": [ 143, 144, 145, 146 ], "deleted...
[ "src/command_modules/azure-cli-role/HISTORY.rst", "src/command_modules/azure-cli-role/azure/cli/command_modules/role/_help.py", "src/command_modules/azure-cli-role/azure/cli/command_modules/role/_params.py", "src/command_modules/azure-cli-role/azure/cli/command_modules/role/_validators.py", "src/command_mod...
[ "src/command_modules/azure-cli-role", "src/command_modules/azure-cli-role/azure/cli/command_modules/role" ]
Azure__azure-cli-3354
4417fb03c91b0caa5f88a72ca0372d5931c072d9
2017-05-15 16:03:53
eb12ac454cbe1ddb59c86cdf2045e1912660e750
tjprescott: @yugangw-msft I agree. codecov-io: # [Codecov](https://codecov.io/gh/Azure/azure-cli/pull/3354?src=pr&el=h1) Report > Merging [#3354](https://codecov.io/gh/Azure/azure-cli/pull/3354?src=pr&el=desc) into [master](https://codecov.io/gh/Azure/azure-cli/commit/4417fb03c91b0caa5f88a72ca0372d5931c072d9?src=pr&el=...
diff --git a/appveyor.yml b/appveyor.yml index a3b8e2a82..23c0de8d3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -13,7 +13,7 @@ environment: install: - SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% - python scripts/dev_setup.py - - python -m pip install sphinx + - python -m pip install sphinx==1.5.6 build_sc...
az vm open-port returns error but executes successfully ### Description az vm open-port returns an error but executes successfully Example: PS C:\Users\larry> az vm open-port -g JUMPBOXRG -n jumpbox --port 80 --priority 500 Operation failed with status: 'Not Found'. Details: 404 Client Error: Not Found for url: ...
Azure/azure-cli
diff --git a/src/command_modules/azure-cli-vm/tests/recordings/test_vm_open_port.yaml b/src/command_modules/azure-cli-vm/tests/recordings/test_vm_open_port.yaml index 0aa74e003..df0308bf4 100644 --- a/src/command_modules/azure-cli-vm/tests/recordings/test_vm_open_port.yaml +++ b/src/command_modules/azure-cli-vm/tests/r...
{ "commit_name": "merge_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": 2, "test_score": 3 }, "num_modified_files": 4 }
2.0
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.5", "req...
adal==0.4.3 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==1.4.9 attrs==22.2.0 autopep8==1.2.4 azure-batch==2.0.1 -e git+https://github.com/Azure/azure-cli.git@4417fb03c91b0caa5f88a72ca0372d5931c072d9#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@4417fb03c91b0caa5f88a72...
name: azure-cli 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 - ...
[ "src/command_modules/azure-cli-vm/tests/test_vm_commands.py::VMOpenPortTest::test_vm_open_port" ]
[ "src/command_modules/azure-cli-vm/tests/test_vm_commands.py::VMCreateLinuxSecretsScenarioTest::test_vm_create_linux_secrets", "src/command_modules/azure-cli-vm/tests/test_vm_commands.py::VMCreateWindowsSecretsScenarioTest::test_vm_create_windows_secrets", "src/command_modules/azure-cli-vm/tests/test_vm_commands...
[ "src/command_modules/azure-cli-vm/tests/test_vm_commands.py::VMImageListByAliasesScenarioTest::test_vm_image_list_by_alias", "src/command_modules/azure-cli-vm/tests/test_vm_commands.py::VMUsageScenarioTest::test_vm_usage", "src/command_modules/azure-cli-vm/tests/test_vm_commands.py::VMImageListThruServiceScenar...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-3354
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-3354
[ { "file_path": "appveyor.yml", "added_lines": [ 16 ], "deleted_lines": [ 16 ] }, { "file_path": "azure-cli.pyproj", "added_lines": [], "deleted_lines": [ 949 ] }, { "file_path": "src/command_modules/azure-cli-vm/HISTORY.rst", "added_lines": [ ...
[ "appveyor.yml", "azure-cli.pyproj", "src/command_modules/azure-cli-vm/HISTORY.rst", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/custom.py" ]
[ ".", "src/command_modules/azure-cli-vm", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm" ]
Azure__azure-cli-3643
c024331912bbf467725d76d437557ebc6e4aba17
2017-06-09 16:51:58
eb12ac454cbe1ddb59c86cdf2045e1912660e750
diff --git a/doc/configuring_your_machine.md b/doc/configuring_your_machine.md index 7af498348..a4cbd442c 100644 --- a/doc/configuring_your_machine.md +++ b/doc/configuring_your_machine.md @@ -72,7 +72,7 @@ The repo has a launch.json file that will launch the version of Python that is f #### OSX/Ubuntu (bash): ...
The error message for too short/long password for VM is spelled incorrectly (pssword) We even have a test that verifies that it is incorrectly spelled :)
Azure/azure-cli
diff --git a/src/command_modules/azure-cli-vm/tests/test_vm_actions.py b/src/command_modules/azure-cli-vm/tests/test_vm_actions.py index 800a04d14..45f0b6e8c 100644 --- a/src/command_modules/azure-cli-vm/tests/test_vm_actions.py +++ b/src/command_modules/azure-cli-vm/tests/test_vm_actions.py @@ -117,7 +117,7 @@ class T...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 2 }
2.0
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc libssl-dev libffi-dev" ], "...
adal==0.4.3 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==2.11.7 attrs==22.2.0 autopep8==2.0.4 azure-batch==3.0.0 -e git+https://github.com/Azure/azure-cli.git@c024331912bbf467725d76d437557ebc6e4aba17#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@c024331912bbf467725d76...
name: azure-cli 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 - ...
[ "src/command_modules/azure-cli-vm/tests/test_vm_actions.py::TestActions::test_validate_admin_password_linux", "src/command_modules/azure-cli-vm/tests/test_vm_actions.py::TestActions::test_validate_admin_password_windows" ]
[]
[ "src/command_modules/azure-cli-vm/tests/test_vm_actions.py::TestActions::test_figure_out_storage_source", "src/command_modules/azure-cli-vm/tests/test_vm_actions.py::TestActions::test_generate_specfied_ssh_key_files", "src/command_modules/azure-cli-vm/tests/test_vm_actions.py::TestActions::test_get_next_subnet_...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-3643
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-3643
[ { "file_path": "doc/configuring_your_machine.md", "added_lines": [ 75 ], "deleted_lines": [ 75 ] }, { "file_path": "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py", "added_lines": [ 682, 683 ], "deleted_lines": [ 682...
[ "doc/configuring_your_machine.md", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py" ]
[ "doc", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm" ]
Azure__azure-cli-3743
e80e204a01bf4f32c17d8f89a955c3dd49eaa7ec
2017-06-15 20:19:26
eb12ac454cbe1ddb59c86cdf2045e1912660e750
codecov-io: # [Codecov](https://codecov.io/gh/Azure/azure-cli/pull/3743?src=pr&el=h1) Report > Merging [#3743](https://codecov.io/gh/Azure/azure-cli/pull/3743?src=pr&el=desc) into [master](https://codecov.io/gh/Azure/azure-cli/commit/ff20840c0278a29204adbb2c23c50d92feaa799f?src=pr&el=desc) will **not change** coverage....
diff --git a/azure-cli.pyproj b/azure-cli.pyproj index ea34c0dd2..842d462d2 100644 --- a/azure-cli.pyproj +++ b/azure-cli.pyproj @@ -616,8 +616,6 @@ <Compile Include="command_modules\azure-cli-sf\azure\cli\command_modules\sf\_params.py" /> <Compile Include="command_modules\azure-cli-sf\azure\cli\command_modul...
Parameters file values not being read during deployment create ### Description When using `az group deployment create` with the newest version of the Azure CLI it no longer respects the `--parameters @<file>` contents and prompts me to type out each value in the command line. Tested same template/parameters JSON f...
Azure/azure-cli
diff --git a/src/command_modules/azure-cli-resource/tests/recordings/latest/test_group_deployment.yaml b/src/command_modules/azure-cli-resource/tests/recordings/latest/test_group_deployment.yaml index 5e8b598db..36ac195af 100644 --- a/src/command_modules/azure-cli-resource/tests/recordings/latest/test_group_deployment....
{ "commit_name": "merge_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": -1 }, "num_modified_files": 3 }
2.0
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc libssl-dev libffi-dev" ], "...
adal==0.4.3 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==2.11.7 attrs==22.2.0 autopep8==2.0.4 azure-batch==3.0.0 -e git+https://github.com/Azure/azure-cli.git@e80e204a01bf4f32c17d8f89a955c3dd49eaa7ec#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@e80e204a01bf4f32c17d8f...
name: azure-cli 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 - ...
[ "src/command_modules/azure-cli-resource/tests/test_resource.py::DeploymentTest::test_group_deployment" ]
[]
[ "src/command_modules/azure-cli-resource/tests/test_custom.py::TestCustom::test_deployment_parameters", "src/command_modules/azure-cli-resource/tests/test_custom.py::TestCustom::test_extract_parameters", "src/command_modules/azure-cli-resource/tests/test_custom.py::TestCustom::test_resource_missing_parameters", ...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-3743
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-3743
[ { "file_path": "azure-cli.pyproj", "added_lines": [ 1121, 1122, 1123 ], "deleted_lines": [ 619, 620, 940, 945, 1141, 1142, 1143, 1144, 1145 ] }, { "file_path": "src/command_modules/azure-cli-resource/HISTORY.rst", ...
[ "azure-cli.pyproj", "src/command_modules/azure-cli-resource/HISTORY.rst", "src/command_modules/azure-cli-resource/azure/cli/command_modules/resource/_validators.py" ]
[ ".", "src/command_modules/azure-cli-resource", "src/command_modules/azure-cli-resource/azure/cli/command_modules/resource" ]
Azure__azure-cli-4265
85c0e4c8fb21e26a4984cad3b21a5e22a6a8b92b
2017-08-18 19:52:45
eb12ac454cbe1ddb59c86cdf2045e1912660e750
codecov-io: # [Codecov](https://codecov.io/gh/Azure/azure-cli/pull/4265?src=pr&el=h1) Report > Merging [#4265](https://codecov.io/gh/Azure/azure-cli/pull/4265?src=pr&el=desc) into [master](https://codecov.io/gh/Azure/azure-cli/commit/85c0e4c8fb21e26a4984cad3b21a5e22a6a8b92b?src=pr&el=desc) will **increase** coverage by...
diff --git a/packaged_releases/debian/debian_build.sh b/packaged_releases/debian/debian_build.sh index cac900add..1d59a1ffd 100644 --- a/packaged_releases/debian/debian_build.sh +++ b/packaged_releases/debian/debian_build.sh @@ -55,6 +55,9 @@ $source_dir/python_env/bin/pip3 install wheel for d in $source_dir/src/azure...
vm/vmss create: don't throw when tries to retrieve image to extract the plan information The context is some images are still being staged and not yet published, hence image API won't go through. Instead of fail (therefore block the create), the suggested change is to warn. I am fine with it, as using market place imag...
Azure/azure-cli
diff --git a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_actions.py b/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_actions.py index 068c40722..0475ec9e3 100644 --- a/src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_actions.py +++ ...
{ "commit_name": "merge_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": 0, "test_score": 3 }, "num_modified_files": 5 }
2.0
{ "env_vars": null, "env_yml_path": null, "install": "python scripts/dev_setup.py", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc libssl-dev libffi-dev" ], "...
adal==0.4.3 applicationinsights==0.10.0 argcomplete==1.8.0 astroid==2.11.7 attrs==22.2.0 autopep8==2.0.4 azure-batch==3.1.0 -e git+https://github.com/Azure/azure-cli.git@85c0e4c8fb21e26a4984cad3b21a5e22a6a8b92b#egg=azure_cli&subdirectory=src/azure-cli -e git+https://github.com/Azure/azure-cli.git@85c0e4c8fb21e26a4984ca...
name: azure-cli 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 - ...
[ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_actions.py::TestActions::test_parse_staging_image_argument" ]
[]
[ "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_actions.py::TestActions::test_figure_out_storage_source", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/tests/test_vm_actions.py::TestActions::test_generate_specfied_ssh_key_files", "src/command_modules/azure-cli-vm/az...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-4265
swerebench/sweb.eval.x86_64.azure_1776_azure-cli-4265
[ { "file_path": "packaged_releases/debian/debian_build.sh", "added_lines": [ 58, 59, 60 ], "deleted_lines": [] }, { "file_path": "scripts/releaser/HISTORY.rst", "added_lines": [ 6, 7, 8, 9, 10 ], "deleted_lines": [] }, { "fil...
[ "packaged_releases/debian/debian_build.sh", "scripts/releaser/HISTORY.rst", "scripts/releaser/release.py", "src/command_modules/azure-cli-vm/HISTORY.rst", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm/_validators.py" ]
[ "packaged_releases/debian", "scripts/releaser", "src/command_modules/azure-cli-vm", "src/command_modules/azure-cli-vm/azure/cli/command_modules/vm" ]
Azure__iotedgedev-173
ce59bad1286bf650d442b2b7fbe16a3db676a497
2018-05-16 17:52:55
a22c7b0c59505964c5aeab6f8ff859842783c236
diff --git a/iotedgedev/azurecli.py b/iotedgedev/azurecli.py index c5bce70..6bce331 100644 --- a/iotedgedev/azurecli.py +++ b/iotedgedev/azurecli.py @@ -226,10 +226,10 @@ class AzureCli: return result - def apply_configuration(self, deviceId, connection_string, config): - self.output.status(f("De...
AZ IOT HUB apply-configuration needs hubname. If user has old version of az cli iot extension installed they get this: `az iot hub apply-configuration: error: argument --hub-name/-n is required ` - add the -n parameter to the apply-configuration call. you can get it in IOTHUB_CONNECTION_INFO.HostName apply-...
Azure/iotedgedev
diff --git a/tests/test_connectionstring.py b/tests/test_connectionstring.py new file mode 100644 index 0000000..21d0dc9 --- /dev/null +++ b/tests/test_connectionstring.py @@ -0,0 +1,78 @@ +import os +import pytest +from dotenv import load_dotenv +from iotedgedev.connectionstring import ConnectionString, IoTHubConnecti...
{ "commit_name": "merge_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": 1 }, "num_modified_files": 3 }
0.79
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
adal==1.2.7 applicationinsights==0.11.10 argcomplete==1.12.3 attrs==22.2.0 azure-cli==2.40.0 azure-cli-cloud==2.1.1 azure-cli-command-modules-nspkg==2.0.3 azure-cli-configure==2.0.24 azure-cli-core==2.40.0 azure-cli-extension==0.2.5 azure-cli-iot==0.3.11 azure-cli-nspkg==3.0.4 azure-cli-profile==2.1.5 azure-cli-resourc...
name: iotedgedev 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 -...
[ "tests/test_connectionstring.py::test_valid_connectionstring", "tests/test_connectionstring.py::test_valid_iothub_connectionstring", "tests/test_connectionstring.py::test_valid_devicehub_connectionstring", "tests/test_connectionstring.py::test_invalid_connectionstring", "tests/test_connectionstring.py::test...
[ "tests/test_connectionstring.py::test_valid_env_iothub_connectionstring", "tests/test_connectionstring.py::test_valid_env_device_connectionstring" ]
[ "tests/test_connectionstring.py::test_empty_connectionstring", "tests/test_connectionstring.py::test_empty_iothub_connectionstring", "tests/test_connectionstring.py::test_empty_device_connectionstring", "tests/test_connectionstring.py::test_invalid_iothub_connectionstring" ]
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_iotedgedev-173
swerebench/sweb.eval.x86_64.azure_1776_iotedgedev-173
[ { "file_path": "iotedgedev/azurecli.py", "added_lines": [ 229, 230, 232 ], "deleted_lines": [ 229, 230, 232 ] }, { "file_path": "iotedgedev/connectionstring.py", "added_lines": [ 3, 6, 7, 16, 17, 28, 36 ...
[ "iotedgedev/azurecli.py", "iotedgedev/connectionstring.py", "iotedgedev/edge.py" ]
[ "iotedgedev" ]
Azure__iotedgedev-349
67c63047b53f7e1749d7d9c3985593deae566699
2018-10-30 09:01:10
67c63047b53f7e1749d7d9c3985593deae566699
diff --git a/.vscode/launch.json b/.vscode/launch.json index 4121a9a..d2519d0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,20 +5,11 @@ "name": "Python Module", "type": "python", "request": "launch", - "stopOnEntry": true, "module": "iote...
Failed to push to local registry - iotedgedev Version: 1.0.0rc0 - Python Version: Python2.7 Python3.6 Python3.7 - Pip Version:18.1 - Development machine OS Version: Windows10/Ubuntu18.04/Mac os high sierra 10.13.6 - IoT Edge device OS Version: Windows10/Ubuntu18.04/Mac os high sierra 10.13.6 Steps to Reproduce: ...
Azure/iotedgedev
diff --git a/tests/assets/deployment.template_1.json b/tests/assets/deployment.template_1.json index 3dc499e..3d74b31 100644 --- a/tests/assets/deployment.template_1.json +++ b/tests/assets/deployment.template_1.json @@ -7,7 +7,8 @@ "type": "docker", "settings": { "minDockerVersion": ...
{ "commit_name": "merge_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": 0, "test_score": 3 }, "num_modified_files": 4 }
0.82
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path": [ ...
adal==1.2.7 applicationinsights==0.11.9 argcomplete==1.12.3 attrs==22.2.0 azure-cli==2.40.0 azure-cli-cloud==2.1.1 azure-cli-command-modules-nspkg==2.0.3 azure-cli-configure==2.0.24 azure-cli-core==2.31.0 azure-cli-extension==0.2.5 azure-cli-iot==0.3.11 azure-cli-nspkg==3.0.4 azure-cli-profile==2.1.5 azure-cli-resource...
name: iotedgedev 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 -...
[ "tests/test_utility.py::test_copy_from_template_dir" ]
[ "tests/test_envvars.py::test_default_container_registry_server_key_exists", "tests/test_envvars.py::test_additional_container_registry_map_has_val" ]
[ "tests/test_azurecli.py::test_lowercase_token_should_be_lowercase_for_name_and_id", "tests/test_azurecli.py::test_mixedcase_token_should_be_lowercase_for_id_but_unmodified_for_name", "tests/test_buildoptionsparser.py::test_filter_build_options", "tests/test_buildoptionsparser.py::test_parse_to_dict", "tests...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_iotedgedev-349
swerebench/sweb.eval.x86_64.azure_1776_iotedgedev-349
[ { "file_path": ".vscode/launch.json", "added_lines": [ 10, 12, 15 ], "deleted_lines": [ 8, 11, 12, 13, 15, 16, 17, 18, 19, 20, 23, 24 ] }, { "file_path": "CONTRIBUTING.md", "added_lines": [ ...
[ ".vscode/launch.json", "CONTRIBUTING.md", "iotedgedev/dockercls.py", "iotedgedev/template/deployment.template.json" ]
[ ".", ".vscode", "iotedgedev", "iotedgedev/template" ]
Azure__msrest-for-python-167
c4086bfac4e45b11b6bd4267cff62aa302a51877
2019-07-05 19:26:19
c16e5218fe99742c5bf93d73ce0bb71c9b1c0953
codecov-io: # [Codecov](https://codecov.io/gh/Azure/msrest-for-python/pull/167?src=pr&el=h1) Report > Merging [#167](https://codecov.io/gh/Azure/msrest-for-python/pull/167?src=pr&el=desc) into [master](https://codecov.io/gh/Azure/msrest-for-python/commit/c4086bfac4e45b11b6bd4267cff62aa302a51877?src=pr&el=desc) will **i...
diff --git a/msrest/pipeline/universal.py b/msrest/pipeline/universal.py index f124ea7..b8dc40c 100644 --- a/msrest/pipeline/universal.py +++ b/msrest/pipeline/universal.py @@ -32,6 +32,7 @@ import os import xml.etree.ElementTree as ET import platform import codecs +import re from typing import Mapping, Any, Opti...
Response content type json parser Currently the deserializer only supports a list of content type values like "application/json" and "text/json". Based on HTTP spec, "application/<randomtext>+json" is also json. So we should have a type parser to accept this syntax.
Azure/msrest-for-python
diff --git a/tests/test_universal_pipeline.py b/tests/test_universal_pipeline.py index 2568e34..cd92ca7 100644 --- a/tests/test_universal_pipeline.py +++ b/tests/test_universal_pipeline.py @@ -151,6 +151,12 @@ def test_raw_deserializer(): result = response.context["deserialized_data"] assert result["success"]...
{ "commit_name": "merge_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 }
0.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[async]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-asyncio", "httpretty", "mock", "futures", "mypy", "pylint"...
aiodns==3.2.0 aiohttp==3.8.6 aiosignal==1.2.0 astroid==2.11.7 async-generator==1.10 async-timeout==4.0.2 asynctest==0.13.0 attrs==22.2.0 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 contextvars==2.4 coverage==6.2 dill==0.3.4 frozenlist==1.2.0 futures==2.2.0 httpretty==1.1.4 idna==3.10 idna-ssl==1.1.0 immu...
name: msrest-for-python 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=h12ee55...
[ "tests/test_universal_pipeline.py::test_raw_deserializer" ]
[]
[ "tests/test_universal_pipeline.py::test_user_agent", "tests/test_universal_pipeline.py::test_no_log" ]
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-167
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-167
[ { "file_path": "msrest/pipeline/universal.py", "added_lines": [ 35, 133, 134, 135, 168 ], "deleted_lines": [ 132, 133, 134, 135, 168 ] } ]
[ "msrest/pipeline/universal.py" ]
[ "msrest/pipeline" ]
Azure__msrest-for-python-189
c2249d459e8af8912c5da4cd728c8201066b9304
2019-12-26 22:49:23
c16e5218fe99742c5bf93d73ce0bb71c9b1c0953
codecov-io: # [Codecov](https://codecov.io/gh/Azure/msrest-for-python/pull/189?src=pr&el=h1) Report > Merging [#189](https://codecov.io/gh/Azure/msrest-for-python/pull/189?src=pr&el=desc) into [master](https://codecov.io/gh/Azure/msrest-for-python/commit/c2249d459e8af8912c5da4cd728c8201066b9304?src=pr&el=desc) will **i...
diff --git a/msrest/serialization.py b/msrest/serialization.py index 1da64ae..7abaf70 100644 --- a/msrest/serialization.py +++ b/msrest/serialization.py @@ -217,6 +217,9 @@ class Model(object): try: debug_name = "{}.{}".format(self.__class__.__name__, attr_name) + # https:...
Validation failed if string is valid integer, but minimum/maximum is used. Example from @derekbekoe ```python >>> ExpressRouteCircuitPeering(peer_asn='10002').validate() [ValidationError("Parameter 'ExpressRouteCircuitPeering.peer_asn' failed to meet validation requirement.",)] ``` I see no reason to refuse tha...
Azure/msrest-for-python
diff --git a/tests/test_serialization.py b/tests/test_serialization.py index 00d253c..46df7f9 100644 --- a/tests/test_serialization.py +++ b/tests/test_serialization.py @@ -245,6 +245,32 @@ class TestRuntimeSerialized(unittest.TestCase): self.s = Serializer({'TestObj': self.TestObj}) return super(Test...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
0.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" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
certifi==2025.1.31 charset-normalizer==3.4.1 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 isodate==0.7.2 -e git+https://github.com/Azure/msrest-for-python.git@c2249d459e8af8912c5da4cd728c8201066b9304#egg=msrest oauthlib==3.2.2 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 requests==2.32.3 requests-oauthlib==2.0.0 to...
name: msrest-for-python 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 - l...
[ "tests/test_serialization.py::TestRuntimeSerialized::test_validation_type" ]
[]
[ "tests/test_serialization.py::TestModelDeserialization::test_empty_enum_logs", "tests/test_serialization.py::TestModelDeserialization::test_model_kwargs", "tests/test_serialization.py::TestModelDeserialization::test_model_kwargs_logs", "tests/test_serialization.py::TestModelDeserialization::test_response", ...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-189
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-189
[ { "file_path": "msrest/serialization.py", "added_lines": [ 220, 221, 222, 584, 585, 586, 587, 588, 589, 590, 591, 601, 625, 651, 724, 725, 730, 732, 733, 744, 748, 751, 7...
[ "msrest/serialization.py" ]
[ "msrest" ]
Azure__msrest-for-python-224
c16e5218fe99742c5bf93d73ce0bb71c9b1c0953
2020-09-21 23:26:48
c16e5218fe99742c5bf93d73ce0bb71c9b1c0953
codecov-commenter: # [Codecov](https://codecov.io/gh/Azure/msrest-for-python/pull/224?src=pr&el=h1) Report > Merging [#224](https://codecov.io/gh/Azure/msrest-for-python/pull/224?src=pr&el=desc) into [master](https://codecov.io/gh/Azure/msrest-for-python/commit/98e2ebe7e5ed8a656f333963339ad8d20fc330d3?el=desc) will **d...
diff --git a/msrest/serialization.py b/msrest/serialization.py index f9037b9..378de20 100644 --- a/msrest/serialization.py +++ b/msrest/serialization.py @@ -953,6 +953,16 @@ class Serializer(object): return self.serialize_long(attr) if obj_type is unicode_str: return self.serialize_un...
Serialization for non-standard types yields incorrect output Hi, I am using the event grid client SDK in python to generate custom events. I have come across an issue I can't seem to solve without going away from the event grid SDK. The problem is that the event grid model serializer does not give me the correct...
Azure/msrest-for-python
diff --git a/tests/test_serialization.py b/tests/test_serialization.py index ab04cfd..6837bad 100644 --- a/tests/test_serialization.py +++ b/tests/test_serialization.py @@ -25,6 +25,7 @@ # #-------------------------------------------------------------------------- +from decimal import Decimal import sys import js...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
0.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", "pytest-cov", "pytest-asyncio" ], "pre_install": [ "apt-get update", "apt-get install -y g...
aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aiosignal==1.3.2 astroid==3.3.9 async-timeout==5.0.1 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 coverage==4.5.4 dill==0.3.9 exceptiongroup==1.2.2 frozenlist==1.5.0 httpretty==1.1.4 idna==3.10 iniconfig==2.1.0 isodate==0.7.2 isort==6.0.1 mccabe==0.7.0 -e git+https...
name: msrest-for-python 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 - l...
[ "tests/test_serialization.py::TestRuntimeSerialized::test_datetime_types_as_type_object", "tests/test_serialization.py::TestRuntimeSerialized::test_decimal_types_as_type_object" ]
[]
[ "tests/test_serialization.py::TestModelDeserialization::test_empty_enum_logs", "tests/test_serialization.py::TestModelDeserialization::test_model_kwargs", "tests/test_serialization.py::TestModelDeserialization::test_model_kwargs_logs", "tests/test_serialization.py::TestModelDeserialization::test_response", ...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-224
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-224
[ { "file_path": "msrest/serialization.py", "added_lines": [ 956, 957, 958, 959, 960, 961, 962, 963, 964, 965 ], "deleted_lines": [] } ]
[ "msrest/serialization.py" ]
[ "msrest" ]
Azure__msrest-for-python-43
11f19f936f2d2d912782c7280f02f01ed89baf47
2017-08-22 03:53:10
24deba7a7a9e335314058ec2d0b39a710f61be60
diff --git a/msrest/serialization.py b/msrest/serialization.py index 6eb8ec9..063f2e6 100644 --- a/msrest/serialization.py +++ b/msrest/serialization.py @@ -918,6 +918,9 @@ class Deserializer(object): '[]': self.deserialize_iter, '{}': self.deserialize_dict } + self.deseria...
Serialization issue if dict syntax and Duration used ```python msrest.exceptions.SerializationError: Unable to build a model: Unable to deserialize response data. Data: 3 years, 6 months, 4 days, 12:30:05, duration, TypeError: Expecting a string isodate.duration.Duration(4, 45005, 0, years=3, months=6), Deserializatio...
Azure/msrest-for-python
diff --git a/tests/test_serialization.py b/tests/test_serialization.py index f70dcbd..787a086 100644 --- a/tests/test_serialization.py +++ b/tests/test_serialization.py @@ -138,7 +138,6 @@ class TestRuntimeSerialized(unittest.TestCase): class TestObj(Model): - _validation = {} _attribute_map = ...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
0.4
{ "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" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 exceptiongroup==1.2.2 httpretty==1.1.4 idna==3.10 iniconfig==2.1.0 isodate==0.7.2 -e git+https://github.com/Azure/msrest-for-python.git@11f19f936f2d2d912782c7280f02f01ed89baf47#egg=msrest oauthlib==3.2.2 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-cov=...
name: msrest-for-python 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 - l...
[ "tests/test_serialization.py::TestRuntimeSerialized::test_attr_duration" ]
[]
[ "tests/test_serialization.py::TestModelDeserialization::test_response", "tests/test_serialization.py::TestRuntimeSerialized::test_attr_bool", "tests/test_serialization.py::TestRuntimeSerialized::test_attr_dict_simple", "tests/test_serialization.py::TestRuntimeSerialized::test_attr_enum", "tests/test_seriali...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-43
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-43
[ { "file_path": "msrest/serialization.py", "added_lines": [ 921, 922, 923, 1086, 1087 ], "deleted_lines": [] } ]
[ "msrest/serialization.py" ]
[ "msrest" ]
Azure__msrest-for-python-55
bb876c23427448d293c793e16d415971eb1753bc
2017-09-28 19:26:51
24deba7a7a9e335314058ec2d0b39a710f61be60
diff --git a/msrest/exceptions.py b/msrest/exceptions.py index 6ac7dcc..3b8788e 100644 --- a/msrest/exceptions.py +++ b/msrest/exceptions.py @@ -136,7 +136,13 @@ class HttpOperationError(ClientException): self.error = deserialize(resp_type, response) if self.error is None: ...
Improve exception string if custom exception Example, with this: https://github.com/Azure/azure-sdk-for-python/blob/master/azure-mgmt-billing/azure/mgmt/billing/models/error_response.py And this answer: ```python { "error": { "code": "NotOptedIn", "message": "You are not allowed to download invoices. Plea...
Azure/msrest-for-python
diff --git a/tests/test_exceptions.py b/tests/test_exceptions.py new file mode 100644 index 0000000..2995593 --- /dev/null +++ b/tests/test_exceptions.py @@ -0,0 +1,92 @@ +#-------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# T...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
0.4
{ "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" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 isodate==0.7.2 -e git+https://github.com/Azure/msrest-for-python.git@bb876c23427448d293c793e16d415971eb1753bc#egg=msrest oauthlib==3.2.2 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-cov==6.0.0 requests==...
name: msrest-for-python 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 - l...
[ "tests/test_exceptions.py::TestExceptions::test_custom_exception" ]
[]
[]
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-55
swerebench/sweb.eval.x86_64.azure_1776_msrest-for-python-55
[ { "file_path": "msrest/exceptions.py", "added_lines": [ 139, 140, 141, 142, 143, 144, 145 ], "deleted_lines": [ 139 ] } ]
[ "msrest/exceptions.py" ]
[ "msrest" ]
Azure__msrestazure-for-python-107
bc59bae35d784f0aad8d1e26ebfd9c20897dca46
2018-07-02 21:27:59
0f372b60f9add4c245c323e24acca038936e472f
diff --git a/msrestazure/azure_active_directory.py b/msrestazure/azure_active_directory.py index 48ac41c..88c3744 100644 --- a/msrestazure/azure_active_directory.py +++ b/msrestazure/azure_active_directory.py @@ -685,6 +685,8 @@ class MSIAuthentication(BasicTokenAuthentication): elif "MSI_ENDPOINT" not in os.e...
MSIAuthentication should set toekn on instance creation All msrestazure instance set the token on instance creation, except MSIAuthentication. This presents a few issues: - Unlike all other usages, authentication exception will be raised at usage, not at creation level - This creates weird bug in KeyVault which is...
Azure/msrestazure-for-python
diff --git a/tests/test_auth.py b/tests/test_auth.py index ed5ae77..56baf9c 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -240,7 +240,7 @@ class TestServicePrincipalCredentials(unittest.TestCase): ServicePrincipalCredentials, '_setup_session', return_value=session): proxies = {...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
0.4
{ "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": [ "mock", "httpretty", "pytest", "pytest-cov", "pylint" ], "pre_install": [ "apt-get update", ...
adal==1.2.7 astroid==2.11.7 attrs==22.2.0 azure-core==1.24.2 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 coverage==6.2 cryptography==40.0.2 dill==0.3.4 httpretty==1.1.4 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 isodate==0.6.1 isort==5.10.1 jeepney==0.7.1 keyring==23.4.1 lazy-object-proxy==1.7...
name: msrestazure-for-python 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=h1...
[ "tests/test_auth.py::TestServicePrincipalCredentials::test_msi_vm", "tests/test_auth.py::TestServicePrincipalCredentials::test_msi_vm_imds_no_retry_on_bad_error", "tests/test_auth.py::TestServicePrincipalCredentials::test_msi_vm_imds_retry" ]
[]
[ "tests/test_auth.py::TestServicePrincipalCredentials::test_adal_authentication", "tests/test_auth.py::TestServicePrincipalCredentials::test_check_state", "tests/test_auth.py::TestServicePrincipalCredentials::test_clear_token", "tests/test_auth.py::TestServicePrincipalCredentials::test_convert_token", "tests...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_msrestazure-for-python-107
swerebench/sweb.eval.x86_64.azure_1776_msrestazure-for-python-107
[ { "file_path": "msrestazure/azure_active_directory.py", "added_lines": [ 688, 689 ], "deleted_lines": [] } ]
[ "msrestazure/azure_active_directory.py" ]
[ "msrestazure" ]
Azure__msrestazure-for-python-121
ca3dceee99aee5aa4e5a25ec20c1794440510011
2018-10-31 16:52:14
ca3dceee99aee5aa4e5a25ec20c1794440510011
diff --git a/msrestazure/polling/arm_polling.py b/msrestazure/polling/arm_polling.py index 2f3aa2a..d299e6f 100644 --- a/msrestazure/polling/arm_polling.py +++ b/msrestazure/polling/arm_polling.py @@ -262,7 +262,17 @@ class LongRunningOperation(object): status = self._get_provisioning_state(response) ...
If final GET on Location is empty, does not necessarily mean there is a problem If Swagger explains to follow Location on final state, and there is not return type, it is expected that the final body is empty. However, msrestazure right now assume this final call must have a body. Fix, update this code: ```python ...
Azure/msrestazure-for-python
diff --git a/tests/test_arm_polling.py b/tests/test_arm_polling.py index affa1fc..94e71d8 100644 --- a/tests/test_arm_polling.py +++ b/tests/test_arm_polling.py @@ -38,7 +38,7 @@ import pytest from requests import Request, Response -from msrest import Deserializer +from msrest import Deserializer, Configuration f...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
0.5
{ "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" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "...
adal==1.2.7 attrs==22.2.0 azure-core==1.24.2 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 coverage==6.2 cryptography==40.0.2 httpretty==1.1.4 idna==3.10 importlib-metadata==4.8.3 iniconfig==1.1.1 isodate==0.6.1 msrest==0.7.1 -e git+https://github.com/Azure/msrestazure-for-python.git@ca3dceee99aee5aa4e5a25...
name: msrestazure-for-python 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=h1...
[ "tests/test_arm_polling.py::TestArmPolling::test_long_running_post" ]
[]
[ "tests/test_arm_polling.py::TestArmPolling::test_long_running_put", "tests/test_arm_polling.py::TestArmPolling::test_long_running_patch", "tests/test_arm_polling.py::TestArmPolling::test_long_running_delete", "tests/test_arm_polling.py::TestArmPolling::test_long_running_negative" ]
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_msrestazure-for-python-121
swerebench/sweb.eval.x86_64.azure_1776_msrestazure-for-python-121
[ { "file_path": "msrestazure/polling/arm_polling.py", "added_lines": [ 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 411 ], "deleted_lines": [ 265, 401 ] } ]
[ "msrestazure/polling/arm_polling.py" ]
[ "msrestazure/polling" ]
Azure__pykusto-159
68121cdd79cc9c1d6b8f71e5e80df566ac6842c7
2021-06-24 11:43:53
68121cdd79cc9c1d6b8f71e5e80df566ac6842c7
diff --git a/pykusto/_src/client.py b/pykusto/_src/client.py index 66c39f6..d18fa82 100644 --- a/pykusto/_src/client.py +++ b/pykusto/_src/client.py @@ -371,7 +371,7 @@ class Table(_ItemFetcher): return KQL(table_names[0]) def execute(self, query: KQL, retry_config: RetryConfig = None) -> KustoResponse:...
Retry config causes an exception beacuse of bug in argumets order in client execute function In `_src.client.py` the function `execute` is defined as follows: `def execute(self, query: KQL, retry_config: RetryConfig = None) -> KustoResponse: return self.__database.execute(query, retry_config)` but the `datab...
Azure/pykusto
diff --git a/test/test_client.py b/test/test_client.py index 5fc05c2..930e81e 100644 --- a/test/test_client.py +++ b/test/test_client.py @@ -222,3 +222,28 @@ class TestClient(TestBase): KustoError("Mock exception for test", None), lambda: Query(table).take(5).execute(), ) + + def t...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
0.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.7", "reqs_path": null, "test_cmd"...
azure-core==1.30.1 azure-identity==1.5.0 azure-kusto-data==2.1.1 certifi @ file:///croot/certifi_1671487769961/work/certifi cffi==1.15.1 charset-normalizer==3.4.1 cryptography==3.4.8 exceptiongroup==1.2.2 idna==3.10 importlib-metadata==6.7.0 iniconfig==2.0.0 msal==1.9.0 msal-extensions==0.3.1 numpy==1.21.6 packaging==2...
name: pykusto 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=h12ee557_0 - li...
[ "test/test_client.py::TestClient::test_override_retry_config_for_query" ]
[]
[ "test/test_client.py::TestClient::test_2_retry", "test/test_client.py::TestClient::test_3_retries", "test/test_client.py::TestClient::test_client_for_cluster_with_aad_device_auth", "test/test_client.py::TestClient::test_client_for_cluster_with_azure_cli_auth", "test/test_client.py::TestClient::test_client_i...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_pykusto-159
swerebench/sweb.eval.x86_64.azure_1776_pykusto-159
[ { "file_path": "pykusto/_src/client.py", "added_lines": [ 374 ], "deleted_lines": [ 374 ] } ]
[ "pykusto/_src/client.py" ]
[ "pykusto/_src" ]
Azure__pykusto-72
4232fc8aeea27d8d15c8cb1fd830493d50c8a3de
2020-05-05 18:18:08
68121cdd79cc9c1d6b8f71e5e80df566ac6842c7
diff --git a/pykusto/expressions.py b/pykusto/expressions.py index 6a7617a..967780d 100644 --- a/pykusto/expressions.py +++ b/pykusto/expressions.py @@ -2,6 +2,7 @@ from datetime import datetime, timedelta from typing import Any, List, Tuple, Mapping, Optional from typing import Union +from pykusto.keywords import ...
Column names that are language keywords don't parse well if a column name is, for example, 'title', it should be parsed as "['title']", otherwise, Kusto throws an exception
Azure/pykusto
diff --git a/test/test_expressions.py b/test/test_expressions.py index bd17f79..be7f396 100644 --- a/test/test_expressions.py +++ b/test/test_expressions.py @@ -349,3 +349,13 @@ class TestExpressions(TestBase): self.assertIsInstance(field2, AnyTypeColumn) self.assertEqual('foo', field1.get_name()) ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_added_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 1 }
0.0
{ "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", "pytest-cov", "flake8" ], "pre_install": [], "python": "3.7", "reqs_path": null, "test_cmd": "pytest --no-h...
adal==1.2.7 attrs @ file:///croot/attrs_1668696182826/work azure-core==1.30.1 azure-kusto-data==0.0.44 certifi @ file:///croot/certifi_1671487769961/work/certifi cffi==1.15.1 charset-normalizer==3.4.1 coverage==7.2.7 cryptography==44.0.2 flake8==5.0.4 flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work...
name: pykusto 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 - flit-co...
[ "test/test_expressions.py::TestExpressions::test_column_name_quoting" ]
[]
[ "test/test_expressions.py::TestExpressions::test_abs", "test/test_expressions.py::TestExpressions::test_add_timespan_to_date", "test/test_expressions.py::TestExpressions::test_add_timespan_to_timespan", "test/test_expressions.py::TestExpressions::test_and", "test/test_expressions.py::TestExpressions::test_a...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_pykusto-72
swerebench/sweb.eval.x86_64.azure_1776_pykusto-72
[ { "file_path": "pykusto/expressions.py", "added_lines": [ 5, 790, 791, 876, 877, 878, 879, 880, 881, 882 ], "deleted_lines": [ 789, 790 ] }, { "file_path": "pykusto/keywords.py", "added_lines": [ 1, 2...
[ "pykusto/expressions.py", "pykusto/keywords.py" ]
[ "pykusto" ]
Azure__pykusto-84
39a825859c499d219cb2c55e57bc3d3f71568ff7
2020-06-01 08:23:06
68121cdd79cc9c1d6b8f71e5e80df566ac6842c7
diff --git a/pykusto/expressions.py b/pykusto/expressions.py index 70e8207..2dc2e4f 100644 --- a/pykusto/expressions.py +++ b/pykusto/expressions.py @@ -188,12 +188,24 @@ class BooleanExpression(BaseExpression): """ return BooleanExpression.binary_op(self, ' and ', other) + def __rand__(self, oth...
multiplying numbers and columns doesn't always work examples: Query().where(f.to_double(100 * t.numberField) > 0.2).render() returns: TypeError: unsupported operand type(s) for *: 'int' and 'AnyTypeColumn' Query().where(100 * f.to_double(t.numberField) > 0.2).render() returns: TypeError: unsupported operand type(...
Azure/pykusto
diff --git a/test/test_expressions.py b/test/test_expressions.py index be7f396..0e47b49 100644 --- a/test/test_expressions.py +++ b/test/test_expressions.py @@ -1,6 +1,7 @@ from datetime import timedelta, datetime from pykusto.expressions import column_generator as col, AnyTypeColumn +from pykusto.functions import ...
{ "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": 2, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 2 }
0.0
{ "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.6", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no...
adal==1.2.7 attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work azure-core==1.24.2 azure-kusto-data==0.1.0 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 cryptography==40.0.2 idna==3.10 importlib-metadata @ file:///tmp/build/80754af9/importlib-metadata_1631916693255/work iniconfig @ file:///home/li...
name: pykusto 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=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - importlib...
[ "test/test_expressions.py::TestExpressions::test_add_number_column", "test/test_expressions.py::TestExpressions::test_add_swapped_timespan_to_timespan", "test/test_expressions.py::TestExpressions::test_column_with_digits", "test/test_expressions.py::TestExpressions::test_multiply_number_column", "test/test_...
[]
[ "test/test_expressions.py::TestExpressions::test_abs", "test/test_expressions.py::TestExpressions::test_add_timespan_to_date", "test/test_expressions.py::TestExpressions::test_add_timespan_to_timespan", "test/test_expressions.py::TestExpressions::test_and", "test/test_expressions.py::TestExpressions::test_a...
[]
MIT License
swerebench/sweb.eval.x86_64.azure_1776_pykusto-84
swerebench/sweb.eval.x86_64.azure_1776_pykusto-84
[ { "file_path": "pykusto/expressions.py", "added_lines": [ 191, 192, 193, 194, 195, 196, 203, 204, 205, 206, 207, 208, 238, 239, 240, 244, 245, 246, 250, 251, 252, 256, 25...
[ "pykusto/expressions.py", "pykusto/functions.py" ]
[ "pykusto" ]
BAMWelDX__weldx-363
5aa82b1710fcc85d3bbc1d5d07775ac1828adff6
2021-06-02 13:26:02
4c5c01c15fbc9eab5a24e8ecfc32745fce45ced9
review-notebook-app[bot]: Check out this pull request on&nbsp; <a href="https://app.reviewnb.com/BAMWelDX/weldx/pull/363"><img align="absmiddle" alt="ReviewNB" height="28" class="BotMessageButtonImage" src="https://raw.githubusercontent.com/ReviewNB/support/master/images/button_reviewnb.png"/></a> See visual diffs ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index b645721..820178a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ structures. [[#328]](https://github.com/BAMWelDX/weldx/pull/328) - added `WeldxFile` wrapper to handle asdf files with history and schemas more easily. [[#341]](https://github.com/BAMWelDX...
add "step" interpolation to xr_interp_like For simplicity and consistency we should implement the `"step"` interpolation from `TimeSeries` as an option to `utility.xr_interp_like`
BAMWelDX/weldx
diff --git a/weldx/tests/test_utility.py b/weldx/tests/test_utility.py index 0e954c0..273e9b6 100644 --- a/weldx/tests/test_utility.py +++ b/weldx/tests/test_utility.py @@ -2,15 +2,18 @@ import copy import math import unittest +from typing import Dict, List import numpy as np import pandas as pd import pytest ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified...
0.3
{ "env_vars": null, "env_yml_path": [ "devtools/environment.yml" ], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.8", "reqs_path": null, "test_cmd"...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1679583834850/work alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work appdirs==1.4.4 asdf @ file:///home/conda/feedstock_root/build_artifacts/asdf_1680699790812/work asdf-standard @ file:///home/conda/feedstock_...
name: weldx 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 - accessible-pygments=0.0.4=pyhd8ed1ab_0 - alabaster=0.7.12=pyhd3eb1b0_0 - appdirs=1.4.4=pyhd3eb1b0_0 - asdf=2.15.0...
[ "weldx/tests/test_utility.py::TestXarrayInterpolation::test_xr_interp_like[None-None-coords_ref1-exp_values1-kwargs1-True-True]", "weldx/tests/test_utility.py::TestXarrayInterpolation::test_xr_interp_like[None-None-coords_ref1-exp_values1-kwargs1-True-False]", "weldx/tests/test_utility.py::TestXarrayInterpolati...
[ "weldx/tests/test_utility.py::test_to_pandas_time_index[arg3-expected3]" ]
[ "weldx/tests/test_utility.py::test_deprecation_decorator", "weldx/tests/test_utility.py::test_is_column_in_matrix", "weldx/tests/test_utility.py::test_is_row_in_matrix", "weldx/tests/test_utility.py::test_matrix_is_close", "weldx/tests/test_utility.py::test_vector_is_close", "weldx/tests/test_utility.py::...
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-363
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-363
[ { "file_path": "CHANGELOG.md", "added_lines": [ 12 ], "deleted_lines": [] }, { "file_path": "weldx/util.py", "added_lines": [ 794, 795, 796, 797, 798 ], "deleted_lines": [ 794 ] } ]
[ "CHANGELOG.md", "weldx/util.py" ]
[ ".", "weldx" ]
BAMWelDX__weldx-377
e19fbc491b5f92b87f18810cc71a9164e0a42abd
2021-06-21 13:30:45
4c5c01c15fbc9eab5a24e8ecfc32745fce45ced9
codecov[bot]: # [Codecov](https://codecov.io/gh/BAMWelDX/weldx/pull/377?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BAMWelDX) Report > Merging [#377](https://codecov.io/gh/BAMWelDX/weldx/pull/377?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_conten...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e0056d..0160192 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,11 +9,10 @@ structures. [[#328]](https://github.com/BAMWelDX/weldx/pull/328) - added `WeldxFile` wrapper to handle asdf files with history and schemas more easily. [[#341]](https://github.com/BAMWel...
Compare_nested doesn't take additional dict items of RHS into account ~~~ python from weldx.util import compare_nested d1 = dict(a=1) d2 = dict(a=1, b=1) print(compare_nested(d1, d2)) print(compare_nested(d2, d1)) ~~~ returns: ~~~ True False ~~~ So the additional member `b` of `d2` is not consider...
BAMWelDX/weldx
diff --git a/weldx/tests/test_utility.py b/weldx/tests/test_utility.py index 273e9b6..d51902f 100644 --- a/weldx/tests/test_utility.py +++ b/weldx/tests/test_utility.py @@ -640,6 +640,12 @@ class TestCompareNested: b["y"] = x assert not ut.compare_nested(a, b) + @staticmethod + def test_key_ad...
{ "commit_name": "merge_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": 0, "test_score": 0 }, "num_modified_files": 2 }
0.3
{ "env_vars": null, "env_yml_path": [ "devtools/environment.yml" ], "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest", "pytest-xdist" ], "pre_install": null, "python": "3.8", "reqs_path": nul...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1679583834850/work alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work appdirs==1.4.4 asdf @ file:///home/conda/feedstock_root/build_artifacts/asdf_1680699790812/work asdf-standard @ file:///home/conda/feedstock_...
name: weldx 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 - accessible-pygments=0.0.4=pyhd8ed1ab_0 - alabaster=0.7.12=pyhd3eb1b0_0 - appdirs=1.4.4=pyhd3eb1b0_0 - asdf=2.15.0...
[ "weldx/tests/test_utility.py::TestCompareNested::test_key_added" ]
[ "weldx/tests/test_utility.py::test_to_pandas_time_index[arg3-expected3]" ]
[ "weldx/tests/test_utility.py::test_deprecation_decorator", "weldx/tests/test_utility.py::test_is_column_in_matrix", "weldx/tests/test_utility.py::test_is_row_in_matrix", "weldx/tests/test_utility.py::test_matrix_is_close", "weldx/tests/test_utility.py::test_vector_is_close", "weldx/tests/test_utility.py::...
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-377
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-377
[ { "file_path": "CHANGELOG.md", "added_lines": [ 12, 13, 23, 26, 27, 28, 29, 30, 50, 51, 52, 53, 54 ], "deleted_lines": [ 12, 13, 16, 24, 27, 28, 29, 30, 31, 32 ...
[ "CHANGELOG.md", "weldx/util.py" ]
[ ".", "weldx" ]
BAMWelDX__weldx-384
1999c8dfc1e9346206680f55cd484381c6ef4121
2021-06-29 09:25:00
4c5c01c15fbc9eab5a24e8ecfc32745fce45ced9
codecov[bot]: # [Codecov](https://codecov.io/gh/BAMWelDX/weldx/pull/384?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BAMWelDX) Report > Merging [#384](https://codecov.io/gh/BAMWelDX/weldx/pull/384?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_conten...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ea5da23..1e3a30b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -56,6 +56,7 @@ - replace references to base asdf tags with `-1.*` version wildcard [[#373]](https://github.com/BAMWelDX/weldx/pull/373) - update `single-pass-weldx.1.0.0.schema` to allow groove types by ...
DataArray attributes missing from Dataset ASDF serialization When serializing and reading back a `Dataset`, only the main Dataset attributes get restored. Attributes attached to the individual DataArrays are lost. ```python da = xr.DataArray(np.arange(10),name="arr1",attrs={"name":"sample data"}) ds = da.to_datase...
BAMWelDX/weldx
diff --git a/weldx/tests/asdf_tests/test_asdf_base_types.py b/weldx/tests/asdf_tests/test_asdf_base_types.py index b51e7f8..f26c51a 100644 --- a/weldx/tests/asdf_tests/test_asdf_base_types.py +++ b/weldx/tests/asdf_tests/test_asdf_base_types.py @@ -1,6 +1,7 @@ """Tests asdf implementations of python base types.""" im...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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": 0 }, "num_modified_files": 4 }
0.3
{ "env_vars": null, "env_yml_path": [ "devtools/environment.yml" ], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": null, "python": "3.8", "reqs_path": ...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1679583834850/work alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work appdirs==1.4.4 asdf @ file:///home/conda/feedstock_root/build_artifacts/asdf_1680699790812/work asdf-standard @ file:///home/conda/feedstock_...
name: weldx 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 - accessible-pygments=0.0.4=pyhd8ed1ab_0 - alabaster=0.7.12=pyhd3eb1b0_0 - appdirs=1.4.4=pyhd3eb1b0_0 - asdf=2.15.0...
[ "weldx/tests/asdf_tests/test_asdf_base_types.py::test_dataarray", "weldx/tests/asdf_tests/test_asdf_base_types.py::test_dataset_children" ]
[]
[ "weldx/tests/asdf_tests/test_asdf_base_types.py::test_uuid" ]
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-384
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-384
[ { "file_path": "CHANGELOG.md", "added_lines": [ 59 ], "deleted_lines": [] }, { "file_path": "weldx/asdf/tags/weldx/core/common_types.py", "added_lines": [ 1, 3, 39, 110, 141, 142, 143 ], "deleted_lines": [ 2, 138 ] ...
[ "CHANGELOG.md", "weldx/asdf/tags/weldx/core/common_types.py", "weldx/asdf/tags/weldx/core/data_array.py", "weldx/asdf/tags/weldx/core/dataset.py" ]
[ ".", "weldx/asdf/tags/weldx/core" ]
BAMWelDX__weldx-412
0b0d4b770207a087f49aa0629a0ca87d69dafe29
2021-07-09 13:32:49
4c5c01c15fbc9eab5a24e8ecfc32745fce45ced9
diff --git a/CHANGELOG.md b/CHANGELOG.md index 32a48ea..2da0912 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,9 @@ places [[#402]](https://github.com/BAMWelDX/weldx/pull/402) - `LocalCoordinateSystem.__init__` now accepts a `TimeSeries` as input. All methods of the `CoordinateSystemManager` also supp...
resolve custom schema files in WeldxFile when providing a string as `custom_schema` that does not resolve directly to a file in the directory we could try to find the schema file using our `get_schema_path` function this would for example allow the following simplification: ```python wx_file = WeldxFile("./single_...
BAMWelDX/weldx
diff --git a/weldx/tests/asdf_tests/test_weldx_file.py b/weldx/tests/asdf_tests/test_weldx_file.py index 8222845..be4594b 100644 --- a/weldx/tests/asdf_tests/test_weldx_file.py +++ b/weldx/tests/asdf_tests/test_weldx_file.py @@ -1,11 +1,13 @@ """Tests for the WeldxFile class.""" import io import pathlib +import shut...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 2 }
0.3
{ "env_vars": null, "env_yml_path": [ "devtools/environment.yml" ], "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.8", "reqs_path": null, "test_cmd...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1679583834850/work alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work appdirs==1.4.4 asdf @ file:///home/conda/feedstock_root/build_artifacts/asdf_1680699790812/work asdf-standard @ file:///home/conda/feedstock_...
name: weldx 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 - accessible-pygments=0.0.4=pyhd8ed1ab_0 - alabaster=0.7.12=pyhd3eb1b0_0 - appdirs=1.4.4=pyhd3eb1b0_0 - asdf=2.15.0...
[ "weldx/tests/asdf_tests/test_weldx_file.py::TestWeldXFile::test_custom_schema_resolve_path", "weldx/tests/asdf_tests/test_weldx_file.py::TestWeldXFile::test_custom_schema_not_existent", "weldx/tests/asdf_tests/test_weldx_file.py::TestWeldXFile::test_custom_schema_real_file" ]
[]
[ "weldx/tests/asdf_tests/test_weldx_file.py::test_protocol_check", "weldx/tests/asdf_tests/test_weldx_file.py::TestWeldXFile::test_invalid_mode[rb]", "weldx/tests/asdf_tests/test_weldx_file.py::TestWeldXFile::test_invalid_mode[wb]", "weldx/tests/asdf_tests/test_weldx_file.py::TestWeldXFile::test_invalid_mode[a...
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-412
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-412
[ { "file_path": "CHANGELOG.md", "added_lines": [ 45, 46, 47 ], "deleted_lines": [] }, { "file_path": "weldx/asdf/file.py", "added_lines": [ 19, 66, 67, 98, 99, 100, 101, 102, 103, 104, 105 ], "dele...
[ "CHANGELOG.md", "weldx/asdf/file.py" ]
[ ".", "weldx/asdf" ]
BAMWelDX__weldx-430
a142185148fd64648e0beca7d67c71853696fc79
2021-07-16 09:14:53
623380d42469c357e5620e089ff13b792282c02d
pep8speaks: Hello @vhirtham! Thanks for opening this PR. * In the file [`weldx/asdf/tags/weldx/core/transformations/coordinate_system_hierarchy.py`](https://github.com/BAMWelDX/weldx/blob/4fd384e02773b572fa25a03182659f4237690c63/weldx/asdf/tags/weldx/core/transformations/coordinate_system_hierarchy.py): > [Line 474:...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 28c2458..55e6bbf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,9 @@ ### ASDF +- sort `List[str]` before serialization of most `weldx` classes to avoid random reordering in the same file and enforce + consistency. [[#430]](https://github.com/BAMWelDX/weldx...
sort string list output in asdf tree in some places we store lists of strings in asdf files, most for the CSM and related functions notably here: https://github.com/BAMWelDX/weldx/blob/9ffdba4c3594fe9bd73f214005d2a6ab8314369d/weldx/asdf/tags/weldx/core/transformations/coordinate_system_hierarchy.py#L83-L92 The sort...
BAMWelDX/weldx
diff --git a/weldx/tests/asdf_tests/test_asdf_util.py b/weldx/tests/asdf_tests/test_asdf_util.py index 4497ff0..4369333 100644 --- a/weldx/tests/asdf_tests/test_asdf_util.py +++ b/weldx/tests/asdf_tests/test_asdf_util.py @@ -1,8 +1,11 @@ """tests for asdf utility functions.""" +from dataclasses import dataclass +from ...
{ "commit_name": "merge_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": 3 }
0.4
{ "env_vars": null, "env_yml_path": [ "devtools/environment.yml" ], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.8", "reqs_path": null, "test_cmd"...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1679583834850/work alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work appdirs==1.4.4 asdf @ file:///home/conda/feedstock_root/build_artifacts/asdf_1680699790812/work asdf-standard @ file:///home/conda/feedstock_...
name: weldx 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 - accessible-pygments=0.0.4=pyhd8ed1ab_0 - alabaster=0.7.12=pyhd3eb1b0_0 - appdirs=1.4.4=pyhd3eb1b0_0 - asdf=2.15.0...
[ "weldx/tests/asdf_tests/test_asdf_util.py::test_dataclass_serialization_class[val_a0-exp_val_a_tree0-exp_val_a_dc0-None-None-True]", "weldx/tests/asdf_tests/test_asdf_util.py::test_dataclass_serialization_class[val_a1-exp_val_a_tree1-exp_val_a_dc1-None-None-False]", "weldx/tests/asdf_tests/test_asdf_util.py::te...
[]
[ "weldx/tests/asdf_tests/test_asdf_util.py::test_get_yaml_header[0-False]", "weldx/tests/asdf_tests/test_asdf_util.py::test_get_yaml_header[0-True]", "weldx/tests/asdf_tests/test_asdf_util.py::test_get_yaml_header[1-False]", "weldx/tests/asdf_tests/test_asdf_util.py::test_get_yaml_header[1-True]" ]
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-430
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-430
[ { "file_path": "CHANGELOG.md", "added_lines": [ 24, 25, 26 ], "deleted_lines": [] }, { "file_path": "weldx/asdf/tags/weldx/core/transformations/coordinate_system_hierarchy.py", "added_lines": [ 94, 95, 96, 97, 98 ], "deleted_lines":...
[ "CHANGELOG.md", "weldx/asdf/tags/weldx/core/transformations/coordinate_system_hierarchy.py", "weldx/asdf/util.py" ]
[ ".", "weldx/asdf", "weldx/asdf/tags/weldx/core/transformations" ]
BAMWelDX__weldx-648
37535aaed930a59f96db680c09f9b892d50e4c2d
2021-11-16 14:22:45
96d9bbcc4065009c3414230932131deb935c63db
github-actions[bot]: ## Unit Test Results        1 files  ±0         1 suites  ±0   1m 25s [:stopwatch:](https://github.com/EnricoMi/publish-unit-test-result-action/blob/v1.20/README.md#the-symbols "duration of all tests") -1s 1 931 tests +1  1 931 [:heavy_check_mark:](https://github.com/EnricoMi/publish-unit-test-resu...
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index dd121c5..2d31cf3 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -57,6 +57,10 @@ dependencies - Removed ``ipykernel`` dependency. `[#634] <https://github.com/BAMWelDX/weldx/pull/634>`__ +- The ``K3D`` implementation now uses the experimental + ``weldx-widget...
CSM.__eq__ does not consider attached data This is a really low priority issue since CSM comparison is mainly used in tests, but as the title says, attached data is not considered during the comparison.
BAMWelDX/weldx
diff --git a/weldx/tests/transformations/test_cs_manager.py b/weldx/tests/transformations/test_cs_manager.py index 34276b8..302dbb5 100644 --- a/weldx/tests/transformations/test_cs_manager.py +++ b/weldx/tests/transformations/test_cs_manager.py @@ -737,6 +737,18 @@ def test_comparison_wrong_type(): assert (csm != ...
{ "commit_name": "merge_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": 2 }, "num_modified_files...
0.5
{ "env_vars": null, "env_yml_path": [ "devtools/environment.yml" ], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_ins...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1679583834850/work alabaster @ file:///home/ktietz/src/ci/alabaster_1611921544520/work appdirs==1.4.4 asdf @ file:///home/conda/feedstock_root/build_artifacts/asdf_1680699790812/work asdf-standard @ file:///home/conda/feedstock_...
name: weldx 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 - accessible-pygments=0.0.4=pyhd8ed1ab_0 - alabaster=0.7.12=pyhd3eb1b0_0 - appdirs=1.4.4=pyhd3eb1b0_0 - asdf=2.15.0...
[ "weldx/tests/transformations/test_cs_manager.py::test_comparison_data" ]
[]
[ "weldx/tests/transformations/test_cs_manager.py::test_init", "weldx/tests/transformations/test_cs_manager.py::test_add_cs", "weldx/tests/transformations/test_cs_manager.py::test_add_cs_reference_time[True-False-False-None]", "weldx/tests/transformations/test_cs_manager.py::test_add_cs_reference_time[True-True...
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-648
swerebench/sweb.eval.x86_64.bamweldx_1776_weldx-648
[ { "file_path": "CHANGELOG.rst", "added_lines": [ 60, 61, 62, 63 ], "deleted_lines": [] }, { "file_path": "weldx/transformations/cs_manager.py", "added_lines": [ 177, 178, 179, 180, 187, 188, 189 ], "deleted_lines":...
[ "CHANGELOG.rst", "weldx/transformations/cs_manager.py", "weldx/visualization/__init__.py" ]
[ ".", "weldx/transformations", "weldx/visualization" ]
BQSKit__bqskit-134
27e209149392231fdaccedfb39ae20b4173c844e
2023-03-15 22:42:54
c89112d15072e8ffffb68cf1757b184e2aeb3dc8
diff --git a/bqskit/compiler/compile.py b/bqskit/compiler/compile.py index ee9fcbe..1237948 100644 --- a/bqskit/compiler/compile.py +++ b/bqskit/compiler/compile.py @@ -443,7 +443,7 @@ def _opt1_workflow( if g.num_qudits != 1 ) non_native_gates = [ - g for g in circuit.gate_set...
Compiler ignores custom gate set when compiling a random 2-qubit circuit Example to reproduce: ``` import bqskit from bqskit.ext import qiskit_to_bqskit import qiskit as qs import qutip as qt import numpy as np circ = qs.QuantumCircuit(2) u = qt.rand_unitary_haar(4) random_unitary = qs.quantum_info.operators...
BQSKit/bqskit
diff --git a/tests/compiler/compile/test_blocked_input.py b/tests/compiler/compile/test_blocked_input.py new file mode 100644 index 0000000..19fe3db --- /dev/null +++ b/tests/compiler/compile/test_blocked_input.py @@ -0,0 +1,27 @@ +from __future__ import annotations + +from bqskit import compile +from bqskit import Mac...
{ "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": 2, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 2 }
1.0
{ "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...
attrs==25.3.0 -e git+https://github.com/BQSKit/bqskit.git@27e209149392231fdaccedfb39ae20b4173c844e#egg=bqskit bqskitrs==0.4.1 cachetools==5.5.2 cfgv==3.4.0 chardet==5.2.0 colorama==0.4.6 distlib==0.3.9 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work filelock==3.18.0 hypothesis==6.130.6 identify==2.6.9 ...
name: bqskit 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_i...
[ "tests/compiler/compile/test_blocked_input.py::test_compile_blocked_input_circuit_unfold_rebase_correctly" ]
[]
[]
[]
BSD-3-Clause
swerebench/sweb.eval.x86_64.bqskit_1776_bqskit-134
swerebench/sweb.eval.x86_64.bqskit_1776_bqskit-134
[ { "file_path": "bqskit/compiler/compile.py", "added_lines": [ 446, 457, 583, 594, 736, 748 ], "deleted_lines": [ 446, 457, 583, 594, 736, 748 ] }, { "file_path": "bqskit/ir/circuit.py", "added_lines": [ 241...
[ "bqskit/compiler/compile.py", "bqskit/ir/circuit.py" ]
[ "bqskit/compiler", "bqskit/ir" ]
BQSKit__bqskit-267
200e79985cdfbca753dd833a3a50fa84f7afc5c4
2024-08-05 16:36:13
200e79985cdfbca753dd833a3a50fa84f7afc5c4
diff --git a/bqskit/qis/unitary/unitary.py b/bqskit/qis/unitary/unitary.py index fb797ec..b9f9966 100644 --- a/bqskit/qis/unitary/unitary.py +++ b/bqskit/qis/unitary/unitary.py @@ -54,7 +54,14 @@ class Unitary(metaclass=UnitaryMeta): if hasattr(self, '_dim'): return self._dim - return int...
`circuit.dim` is 0 for large circuits If you print `circuit.dim` for a large (e.g. 1024 qubit) circuit, you will get 0. The 0 is coming from an integer overflow that numpy does not report. I don't expect the correct answer (2^1024 is absurdly large), but some feedback (an error or warning) would be nice. Since num...
BQSKit/bqskit
diff --git a/tests/qis/unitary/test_props.py b/tests/qis/unitary/test_props.py new file mode 100644 index 0000000..2df433a --- /dev/null +++ b/tests/qis/unitary/test_props.py @@ -0,0 +1,8 @@ +from __future__ import annotations + +from bqskit.ir.circuit import Circuit + + +def test_circuit_dim_overflow() -> None: + c...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 1 }
1.1
{ "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", "hypothesis" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -...
attrs==25.3.0 -e git+https://github.com/BQSKit/bqskit.git@200e79985cdfbca753dd833a3a50fa84f7afc5c4#egg=bqskit bqskitrs==0.4.1 cachetools==5.5.2 cfgv==3.4.0 chardet==5.2.0 colorama==0.4.6 distlib==0.3.9 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work filelock==3.18.0 hypothesis==6.130.5 identify==2.6.9 ...
name: bqskit 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_i...
[ "tests/qis/unitary/test_props.py::test_circuit_dim_overflow" ]
[]
[]
[]
BSD-3-Clause
swerebench/sweb.eval.x86_64.bqskit_1776_bqskit-267
swerebench/sweb.eval.x86_64.bqskit_1776_bqskit-267
[ { "file_path": "bqskit/qis/unitary/unitary.py", "added_lines": [ 57, 58, 59, 60, 61, 62, 63, 64 ], "deleted_lines": [ 57 ] } ]
[ "bqskit/qis/unitary/unitary.py" ]
[ "bqskit/qis/unitary" ]
BaPSF__bapsflib-41
08a56b9001c607982778b16f15a30dd88ba3cf31
2019-05-23 22:07:36
56d42a2872c3c7e018a17c96408579fcc7daa99d
diff --git a/bapsflib/_hdf/utils/helpers.py b/bapsflib/_hdf/utils/helpers.py index 28cdde8..4e103c5 100644 --- a/bapsflib/_hdf/utils/helpers.py +++ b/bapsflib/_hdf/utils/helpers.py @@ -561,7 +561,8 @@ def condition_shotnum(shotnum: Any, 'array would be NULL') elif isinstance(shotnum...
Function condition_shotnum() throws ValueError if conditioned shotnum is a single element ndarry [`condition_shotnum()`](https://github.com/BaPSF/bapsflib/blob/b25f05370c0fc601aa7f8e1dff4f17eeec1f8e45/bapsflib/_hdf/utils/helpers.py#L476) throws a `ValueError` at [line 568](https://github.com/BaPSF/bapsflib/blob/b25f053...
BaPSF/bapsflib
diff --git a/bapsflib/_hdf/utils/tests/test_helpers.py b/bapsflib/_hdf/utils/tests/test_helpers.py index bb7c8e0..a280cd1 100644 --- a/bapsflib/_hdf/utils/tests/test_helpers.py +++ b/bapsflib/_hdf/utils/tests/test_helpers.py @@ -663,6 +663,8 @@ class TestConditionShotnum(TestBase): # shotnum valid s...
{ "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 }
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.7",...
alabaster==0.7.13 astropy==4.3.1 Babel==2.14.0 -e git+https://github.com/BaPSF/bapsflib.git@08a56b9001c607982778b16f15a30dd88ba3cf31#egg=bapsflib certifi @ file:///croot/certifi_1671487769961/work/certifi charset-normalizer==3.4.1 codecov==2.1.13 coverage==7.2.7 docutils==0.19 exceptiongroup==1.2.2 h5py==3.8.0 idna==3....
name: bapsflib 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=h12ee557_0 - l...
[ "bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionShotnum::test_shotnum_ndarray" ]
[ "bapsflib/_hdf/utils/tests/test_helpers.py::TestBuildShotnumDsetRelation::test_complex_dataset", "bapsflib/_hdf/utils/tests/test_helpers.py::TestBuildShotnumDsetRelation::test_simple_dataset" ]
[ "bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionControls::test_controls_w_same_contype", "bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionControls::test_file_w_multiple_controls", "bapsflib/_hdf/utils/tests/test_helpers.py::TestConditionControls::test_file_w_one_control", "bapsflib/_hdf/utils...
[]
null
swerebench/sweb.eval.x86_64.bapsf_1776_bapsflib-41
swerebench/sweb.eval.x86_64.bapsf_1776_bapsflib-41
[ { "file_path": "bapsflib/_hdf/utils/helpers.py", "added_lines": [ 564, 565 ], "deleted_lines": [ 564 ] } ]
[ "bapsflib/_hdf/utils/helpers.py" ]
[ "bapsflib/_hdf/utils" ]
Bachmann1234__diff_cover-210
5f7aeea8b95441f8286a38524ce0234e1716e304
2021-06-29 18:54:17
5f7aeea8b95441f8286a38524ce0234e1716e304
Bachmann1234: Thanks!
diff --git a/diff_cover/diff_cover_tool.py b/diff_cover/diff_cover_tool.py index 2894013..e74a453 100644 --- a/diff_cover/diff_cover_tool.py +++ b/diff_cover/diff_cover_tool.py @@ -60,9 +60,7 @@ def parse_coverage_args(argv): parser.add_argument("coverage_xml", type=str, help=COVERAGE_XML_HELP, nargs="+") - ...
why HTML&JSON reports are prohibited and why they cannot be generated at the same time Want to know why HTML&JSON reports are prohibited and why they cannot be generated at the same time `output_format = parser.add_mutually_exclusive_group()`
Bachmann1234/diff_cover
diff --git a/diff_cover/tests/test_diff_cover_tool.py b/diff_cover/tests/test_diff_cover_tool.py index afe8f77..b6f26f7 100644 --- a/diff_cover/tests/test_diff_cover_tool.py +++ b/diff_cover/tests/test_diff_cover_tool.py @@ -7,27 +7,47 @@ from diff_cover.diff_cover_tool import parse_coverage_args def test_parse_with...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "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": 1 }
5.4
{ "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": [ "black", "isort", "pytest", "pytest-cov" ], "pre_install": null, "python": "3.9", "reqs_path": [ ...
black==25.1.0 chardet==5.2.0 click==8.1.8 coverage==7.8.0 -e git+https://github.com/Bachmann1234/diff_cover.git@5f7aeea8b95441f8286a38524ce0234e1716e304#egg=diff_cover exceptiongroup==1.2.2 importlib_metadata==8.6.1 inflect==7.5.0 iniconfig==2.1.0 isort==6.0.1 Jinja2==3.1.6 jinja2-pluralize==0.3.0 MarkupSafe==3.0.2 mor...
name: diff_cover 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-n...
[ "diff_cover/tests/test_diff_cover_tool.py::test_parse_with_multiple_reports" ]
[]
[ "diff_cover/tests/test_diff_cover_tool.py::test_parse_with_html_report", "diff_cover/tests/test_diff_cover_tool.py::test_parse_with_no_report", "diff_cover/tests/test_diff_cover_tool.py::test_parse_with_ignored_unstaged", "diff_cover/tests/test_diff_cover_tool.py::test_parse_invalid_arg", "diff_cover/tests/...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.bachmann1234_1776_diff_cover-210
swerebench/sweb.eval.x86_64.bachmann1234_1776_diff_cover-210
[ { "file_path": "diff_cover/diff_cover_tool.py", "added_lines": [ 63, 71, 79, 87, 200, 205 ], "deleted_lines": [ 63, 64, 65, 73, 81, 89, 202, 207 ] } ]
[ "diff_cover/diff_cover_tool.py" ]
[ "diff_cover" ]
Bachmann1234__diff_cover-277
d9efc6c0e5f1c94a25d0772d149d08ecb2542aa1
2022-04-14 15:38:43
d9efc6c0e5f1c94a25d0772d149d08ecb2542aa1
Bachmann1234: Thanks for the fix! let me get this PR out
diff --git a/diff_cover/violationsreporters/violations_reporter.py b/diff_cover/violationsreporters/violations_reporter.py index c61aff6..75ae51f 100644 --- a/diff_cover/violationsreporters/violations_reporter.py +++ b/diff_cover/violationsreporters/violations_reporter.py @@ -402,7 +402,7 @@ class PylintDriver(QualityD...
diff-quality fails with ValueError: invalid literal for int() with base 10: '470]' When running `diff-quality` tool I have the following exception: ``` Traceback (most recent call last): File "/usr/local/bin/diff-quality", line 8, in <module> sys.exit(main()) File "/home/jenkins/.local/lib/python3.8/site...
Bachmann1234/diff_cover
diff --git a/tests/test_violations_reporter.py b/tests/test_violations_reporter.py index a4d4adc..927acbd 100644 --- a/tests/test_violations_reporter.py +++ b/tests/test_violations_reporter.py @@ -1279,6 +1279,11 @@ class TestPylintQualityReporterTest: import json import logging i...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
6.4
{ "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-datadir pytest-mock" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requ...
chardet==5.2.0 coverage==7.8.0 -e git+https://github.com/Bachmann1234/diff_cover.git@d9efc6c0e5f1c94a25d0772d149d08ecb2542aa1#egg=diff_cover exceptiongroup==1.2.2 iniconfig==2.1.0 Jinja2==3.1.6 MarkupSafe==3.0.2 packaging==24.2 pluggy==1.5.0 Pygments==2.19.1 pytest==8.3.5 pytest-cov==6.0.0 pytest-datadir==1.6.1 pytest-...
name: diff_cover 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-n...
[ "tests/test_violations_reporter.py::TestPylintQualityReporterTest::test_quality" ]
[ "tests/test_violations_reporter.py::TestFlake8QualityReporterTest::test_file_does_not_exist" ]
[ "tests/test_violations_reporter.py::TestXmlCoverageReporterTest::test_violations", "tests/test_violations_reporter.py::TestXmlCoverageReporterTest::test_non_python_violations", "tests/test_violations_reporter.py::TestXmlCoverageReporterTest::test_non_python_violations_empty_path", "tests/test_violations_repor...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.bachmann1234_1776_diff_cover-277
swerebench/sweb.eval.x86_64.bachmann1234_1776_diff_cover-277
[ { "file_path": "diff_cover/violationsreporters/violations_reporter.py", "added_lines": [ 405 ], "deleted_lines": [ 405 ] } ]
[ "diff_cover/violationsreporters/violations_reporter.py" ]
[ "diff_cover/violationsreporters" ]
Bachmann1234__diff_cover-413
e235b209d55dcec1867f71b6d52ab2dd798912e5
2024-07-15 08:33:03
d7c97bde928f9d58b85d82b9438fe0353ad9ad8f
MihailPereverza: I've implemented a function _get_file_lines that emulates the behavior of self._git_diff(), which returns an empty list for binary files. Additionally, the function leverages the basic path validation mechanisms used in self._git_diff() to ensure consistency. MihailPereverza: Yes, it's ready. I have ad...
diff --git a/diff_cover/diff_reporter.py b/diff_cover/diff_reporter.py index a9404d4..8f404b9 100644 --- a/diff_cover/diff_reporter.py +++ b/diff_cover/diff_reporter.py @@ -165,18 +165,31 @@ class GitDiffReporter(BaseDiffReporter): # Get the diff dictionary diff_dict = self._git_diff() - # ...
UnicodeDecodeError when an untracked binary file is present in the repository **Problem description** I have discovered a bug in the diff-cover library. When an untracked binary file is present in the repository, the library fails to read it and throws the following error: ``` File "/Users/user/PycharmProjects/som...
Bachmann1234/diff_cover
diff --git a/tests/test_diff_reporter.py b/tests/test_diff_reporter.py index 8a0eea5..0d61b4e 100644 --- a/tests/test_diff_reporter.py +++ b/tests/test_diff_reporter.py @@ -618,16 +618,63 @@ def test_include_untracked(mocker, git_diff): {"subdir/file1.py": line_numbers(3, 10) + line_numbers(34, 47)} ) ...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 2, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
9.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", "pytest-mock", "pytest-datadir" ], "pre_install": [ "apt-get update", "a...
chardet==5.2.0 coverage==7.8.0 -e git+https://github.com/Bachmann1234/diff_cover.git@e235b209d55dcec1867f71b6d52ab2dd798912e5#egg=diff_cover exceptiongroup==1.2.2 iniconfig==2.1.0 Jinja2==3.1.6 MarkupSafe==3.0.2 packaging==24.2 pluggy==1.5.0 Pygments==2.19.1 pytest==8.3.5 pytest-cov==6.0.0 pytest-datadir==1.6.1 pytest-...
name: diff_cover 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-n...
[ "tests/test_diff_reporter.py::test_include_untracked", "tests/test_diff_reporter.py::test_include_untracked__not_valid_path__not_include_it[excluded0-supported_extensions0-file.bin]", "tests/test_diff_reporter.py::test_include_untracked__not_valid_path__not_include_it[excluded1-supported_extensions1-file.bin]" ...
[]
[ "tests/test_diff_reporter.py::test_name", "tests/test_diff_reporter.py::test_name_compare_branch", "tests/test_diff_reporter.py::test_name_ignore_staged", "tests/test_diff_reporter.py::test_name_ignore_unstaged", "tests/test_diff_reporter.py::test_name_ignore_staged_and_unstaged", "tests/test_diff_reporte...
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.bachmann1234_1776_diff_cover-413
swerebench/sweb.eval.x86_64.bachmann1234_1776_diff_cover-413
[ { "file_path": "diff_cover/diff_reporter.py", "added_lines": [ 171, 172, 173, 174, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 240, 242, 243, 244, 245, 246, ...
[ "diff_cover/diff_reporter.py" ]
[ "diff_cover" ]
Benardi__touvlo-34
0e1ee71ebec9a09370f928dd96d0ae11f3bba404
2019-10-13 17:08:20
0e1ee71ebec9a09370f928dd96d0ae11f3bba404
diff --git a/touvlo/utils.py b/touvlo/utils.py index fdf47db..ca8531c 100644 --- a/touvlo/utils.py +++ b/touvlo/utils.py @@ -35,7 +35,7 @@ def g_grad(x): def gradient_descent(X, y, grad, initial_theta, - alpha, num_iters, _lambda=None): + alpha, num_iters, **kwargs): ""...
Generalize the function utils.gradient_descent The function `gradient_descent` should only be aware of the parameters `X, y, grad, initial_theta,alpha, num_iters`. Any further parameter should be fed to the `grad` function with no impact in the signature of the function `gradient_descent`. TL; DR: Edit the functio...
Benardi/touvlo
diff --git a/tests/test_utils.py b/tests/test_utils.py index d695ead..5adeb9b 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -4,7 +4,7 @@ import pytest from numpy import array, cos, sin, exp from numpy.testing import assert_allclose -from touvlo.utils import numerical_grad, g_grad +from touvlo.utils ...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
1.3
{ "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": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
build==1.2.2.post1 check-manifest==0.50 cmake==4.0.0 exceptiongroup==1.2.2 flake8==7.2.0 flake8-import-order==0.18.2 importlib_metadata==8.6.1 iniconfig==2.1.0 mccabe==0.7.0 numpy==2.0.2 packaging==24.2 pbr==6.1.1 pluggy==1.5.0 pycodestyle==2.13.0 pyflakes==3.3.2 pyproject_hooks==1.2.0 pytest==8.3.5 tomli==2.2.1 -e git...
name: touvlo 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=11...
[ "tests/test_utils.py::TestLogisticRegression::test_gradient_descent1", "tests/test_utils.py::TestLogisticRegression::test_gradient_descent2" ]
[]
[ "tests/test_utils.py::TestLogisticRegression::test_numeric_grad_1", "tests/test_utils.py::TestLogisticRegression::test_numeric_grad_2", "tests/test_utils.py::TestLogisticRegression::test_numeric_grad_3", "tests/test_utils.py::TestLogisticRegression::test_numeric_grad_4", "tests/test_utils.py::TestLogisticRe...
[]
MIT License
swerebench/sweb.eval.x86_64.benardi_1776_touvlo-34
swerebench/sweb.eval.x86_64.benardi_1776_touvlo-34
[ { "file_path": "touvlo/utils.py", "added_lines": [ 38, 62, 63, 64 ], "deleted_lines": [ 38, 59, 60, 61, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74 ] } ]
[ "touvlo/utils.py" ]
[ "touvlo" ]
Blaizzy__mlx-vlm-179
1e4579ad0c99b41c71f7309a4cb59d0c4e49fca1
2025-01-11 21:48:06
7dc05f95c13f8912323648f7d8e5979a3140620a
diff --git a/mlx_vlm/models/qwen2_vl/vision.py b/mlx_vlm/models/qwen2_vl/vision.py index bd699a4..bd32514 100644 --- a/mlx_vlm/models/qwen2_vl/vision.py +++ b/mlx_vlm/models/qwen2_vl/vision.py @@ -88,7 +88,7 @@ class VisionRotaryEmbedding(nn.Module): inv_freq = 1.0 / ( self.theta ** (mx.arange(0, ...
LoRa fine-tuning is not working with Llama 3.2 vision model. After I pull the current main branch, lora fine-tuning of the Llama-3.2-11B-Vision-Instruct stopped working with the following error. ``` python3 -m mlx_vlm.lora --dataset /myspace/datasets --model-path /myspace/Llama-3.2-11B-Vision-Instruct --epochs 5 ...
Blaizzy/mlx-vlm
diff --git a/mlx_vlm/tests/test_trainer.py b/mlx_vlm/tests/test_trainer.py index 97339e7..70dd370 100644 --- a/mlx_vlm/tests/test_trainer.py +++ b/mlx_vlm/tests/test_trainer.py @@ -47,15 +47,15 @@ class TestDataset(unittest.TestCase): mock_get_prompt.return_value = "Mocked prompt" - mock_prepare_inp...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 2 }
0.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.10", "reqs_path": [...
aiofiles==23.2.1 aiohappyeyeballs==2.6.1 aiohttp==3.11.16 aiosignal==1.3.2 annotated-types==0.7.0 anyio==4.9.0 async-timeout==5.0.1 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 datasets==3.5.0 dill==0.3.8 exceptiongroup==1.2.2 fastapi==0.115.12 ffmpy==0.5.0 filelock==3.18.0 frozenlist==1.5.0 ...
name: mlx-vlm 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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4...
[ "mlx_vlm/tests/test_trainer.py::TestDataset::test_dataset_getitem" ]
[]
[ "mlx_vlm/tests/test_trainer.py::TestDataset::test_dataset_initialization", "mlx_vlm/tests/test_trainer.py::TestTrainer::test_loss_fn", "mlx_vlm/tests/test_trainer.py::TestTrainer::test_train_step", "mlx_vlm/tests/test_trainer.py::TestTrainer::test_trainer_initialization" ]
[]
MIT License
swerebench/sweb.eval.x86_64.blaizzy_1776_mlx-vlm-179
swerebench/sweb.eval.x86_64.blaizzy_1776_mlx-vlm-179
[ { "file_path": "mlx_vlm/models/qwen2_vl/vision.py", "added_lines": [ 91 ], "deleted_lines": [ 91 ] }, { "file_path": "mlx_vlm/trainer/trainer.py", "added_lines": [ 98, 99, 100, 103, 104, 106, 223, 224, 225, 226, ...
[ "mlx_vlm/models/qwen2_vl/vision.py", "mlx_vlm/trainer/trainer.py" ]
[ "mlx_vlm/models/qwen2_vl", "mlx_vlm/trainer" ]
BrandwatchLtd__api_sdk-62
0570363bdee1621b85f8290599e0c86c75bcf802
2018-09-13 12:45:58
0570363bdee1621b85f8290599e0c86c75bcf802
diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b33d109..0000000 --- a/.travis.yml +++ /dev/null @@ -1,24 +0,0 @@ -language: python - -matrix: - include: - - python: 3.3 - - python: 3.4 - - python: 3.5 - - python: 3.6 - - python: 3.7 - dist: xenial - sudo: true - - pyt...
username with capital letters I came across an issue when I use the token_path instead of the password to request my project: BWProject(username=YOUR_ACCOUNT, project=YOUR_PROJECT) When at the beginning I used my username and password, the tokens.txt was generated with the username in lowercase (_read_auth_file). ...
BrandwatchLtd/api_sdk
diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/test/test_bwproject.py b/test/test_bwproject.py new file mode 100644 index 0000000..4820262 --- /dev/null +++ b/test/test_bwproject.py @@ -0,0 +1,69 @@ +import unittest +import responses +import os +import tempfile...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_removed_files", "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": 0 }, "num_modified_files": 3 }
unknown
{ "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", "responses" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3...
-e git+https://github.com/BrandwatchLtd/api_sdk.git@0570363bdee1621b85f8290599e0c86c75bcf802#egg=bwapi certifi==2025.1.31 charset-normalizer==3.4.1 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 PyYAML==6.0.2 requests==2.32.3 responses==0.25.7 tomli==2.2.1 urllib3==2.3.0
name: api_sdk 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=1...
[ "test/test_bwproject.py::TestBWProjectUsernameCaseSensitivity::test_mixedcase_username", "test/test_bwproject.py::TestBWProjectUsernameCaseSensitivity::test_uppercase_username" ]
[]
[ "test/test_bwproject.py::TestBWProjectUsernameCaseSensitivity::test_lowercase_username" ]
[]
MIT License
swerebench/sweb.eval.x86_64.brandwatchltd_1776_api_sdk-62
swerebench/sweb.eval.x86_64.brandwatchltd_1776_api_sdk-62
[ { "file_path": ".travis.yml", "added_lines": [], "deleted_lines": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 ] ...
[ ".travis.yml", "README.md", "bwproject.py", "setup.py" ]
[ "." ]
BurnzZ__scrapy-loader-upkeep-3
0b36309d1c9ea814e097e06e9d7220cfef6e6f9e
2019-07-18 07:42:47
0b36309d1c9ea814e097e06e9d7220cfef6e6f9e
diff --git a/README.rst b/README.rst index 6fb0e87..3112d48 100644 --- a/README.rst +++ b/README.rst @@ -58,8 +58,8 @@ This only works for the following ``ItemLoader`` methods: - ``add_xpath()`` - ``replace_xpath()`` -Spider Example -~~~~~~~~~~~~~~ +Basic Spider Example +~~~~~~~~~~~~~~~~~~~~ This is taken fr...
Allow paths to be named When having several amounts of xpaths for each field, is really difficult to determine which one was added firsts, specially when there are different workflows on the code. To make easier the task to identify the paths on the stats, it would be great if we could name them. For example: ```...
BurnzZ/scrapy-loader-upkeep
diff --git a/examples/quotestoscrape/items.py b/examples/quotestoscrape/items.py index 360d6f0..2eac930 100644 --- a/examples/quotestoscrape/items.py +++ b/examples/quotestoscrape/items.py @@ -3,3 +3,4 @@ import scrapy class QuotesToScrapeItem(scrapy.Item): quote = scrapy.Field() author = scrapy.Field() + ...
{ "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": 3 }
0.12
{ "env_vars": null, "env_yml_path": [], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "Pipfile", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.9", "reqs_path": [], "test_cmd": "pytest --no-header -rA --tb=line --color=no...
attrs==25.3.0 Automat==24.8.1 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 constantly==23.10.4 cryptography==44.0.2 cssselect==1.3.0 defusedxml==0.7.1 exceptiongroup==1.2.2 filelock==3.18.0 hyperlink==21.0.0 idna==3.10 incremental==24.7.2 iniconfig==2.1.0 itemadapter==0.11.0 itemloaders==1.3.2 jmespath==1....
name: scrapy-loader-upkeep 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 ...
[ "tests/test_loader.py::test_get_selector_values", "tests/test_loader.py::test_multiple_1_with_name", "tests/test_loader.py::test_multiple_2_with_name" ]
[]
[ "tests/test_loader.py::test_get_selector_values_with_no_selector", "tests/test_loader.py::test_write_to_stats_with_uninjected_stat_dependency", "tests/test_loader.py::test_write_to_stats_with_no_parsed_data", "tests/test_loader.py::test_write_to_stats_with_no_field_name", "tests/test_loader.py::test_write_t...
[]
BSD 3-Clause "New" or "Revised" License
swerebench/sweb.eval.x86_64.burnzz_1776_scrapy-loader-upkeep-3
swerebench/sweb.eval.x86_64.burnzz_1776_scrapy-loader-upkeep-3
[ { "file_path": "README.rst", "added_lines": [ 61, 62, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, ...
[ "README.rst", "examples/README.rst", "scrapy_loader_upkeep/loader.py" ]
[ ".", "examples", "scrapy_loader_upkeep" ]
CODAIT__exchange-metadata-converter-25
a5432d877fe947a12c169d2d84c22e034d555289
2020-10-14 23:33:51
a5432d877fe947a12c169d2d84c22e034d555289
diff --git a/metadata_converter/apply.py b/metadata_converter/apply.py index f20d451..34cd14f 100644 --- a/metadata_converter/apply.py +++ b/metadata_converter/apply.py @@ -16,6 +16,8 @@ from argparse import ArgumentParser from pathlib import Path from ruamel.yaml import YAML +from ruamel.yaml.tokens import CommentT...
Support optional properties Currently all `{{...}}` placeholders in https://github.com/CODAIT/exchange-metadata-converter/tree/main/templates are considered to be required and therefore each placeholder input file must define them. Annotations would solve this issue. Investigate what it takes to support something like ...
CODAIT/exchange-metadata-converter
diff --git a/tests/inputs/annotations.yaml b/tests/inputs/annotations.yaml new file mode 100644 index 0000000..84678c1 --- /dev/null +++ b/tests/inputs/annotations.yaml @@ -0,0 +1,6 @@ +# This YAML document does not define the following properties: +# noprop1value, noprop2value, noprop3value, noprop3value, +# noprop4va...
{ "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": 2, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
unknown
{ "env_vars": null, "env_yml_path": [], "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [], "python": "3.7", "reqs_path": [ "test_requirements.txt" ], "test_cmd": "pytest -...
certifi @ file:///croot/certifi_1671487769961/work/certifi exceptiongroup==1.2.2 -e git+https://github.com/CODAIT/exchange-metadata-converter.git@a5432d877fe947a12c169d2d84c22e034d555289#egg=exchange_metadata_converter flake8==5.0.4 importlib-metadata==4.2.0 importlib-resources==5.12.0 iniconfig==2.0.0 mccabe==0.7.0 pa...
name: exchange-metadata-converter 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....
[ "tests/test_annotations.py::TestAnnotations::test_optional_annotation" ]
[]
[ "tests/test_annotations.py::TestAnnotations::test_without_optional_annotation" ]
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.codait_1776_exchange-metadata-converter-25
swerebench/sweb.eval.x86_64.codait_1776_exchange-metadata-converter-25
[ { "file_path": "metadata_converter/apply.py", "added_lines": [ 19, 20, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, ...
[ "metadata_converter/apply.py", "setup.py" ]
[ ".", "metadata_converter" ]
CODAIT__exchange-metadata-converter-38
c306552b0a2fc25f868cfc7daee7b26a1c99f31b
2020-11-05 20:45:48
c306552b0a2fc25f868cfc7daee7b26a1c99f31b
diff --git a/setup.py b/setup.py index 1e62eb5..afb9bf4 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ with open('README.md') as readme: setup( name='exchange-metadata-converter', packages=find_packages(), - version='0.0.8', + version='0.0.9', license='Apache-2.0', description='exchange metadata ...
Non-compliant metadata.name in the generated DLF YAML The `metadata.name` in the generated DLF YAML does not comply with the Kubernetes spec for DNS-1123 subdomain names. ```JSON { "kind": "Status", "apiVersion": "v1", "metadata": {}, "status": "Failure", "message": "Dataset.com.ie.ibm.hpsys \"Fina...
CODAIT/exchange-metadata-converter
diff --git a/tests/test_dlf.py b/tests/test_dlf.py index 9e37f60..e593f79 100644 --- a/tests/test_dlf.py +++ b/tests/test_dlf.py @@ -48,7 +48,7 @@ class TestDLF(unittest.TestCase): 'com.ie.ibm.hpsys/v1alpha1') self.assertEqual(out_dict['kind'], 'Dataset') self.ass...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 2 }
0.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "flake8", "pytest" ], "pre_install": null, "python": "3.8", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=l...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work -e git+https://github.com/CODAIT/exchange-metadata-converter.git@c306552b0a2fc25f868cfc7daee7b26a1c99f31b#egg=exchange_metadata_converter flake8==7.1.2 importlib_resources==6.4.5 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work mcca...
name: exchange-metadata-converter 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=py38h06a4308_0 - iniconfig=1.1.1=...
[ "tests/test_dlf.py::TestDLF::test_dtest_dlf" ]
[]
[ "tests/test_dlf.py::TestDLF::test_dax_dataset_descriptors" ]
[]
Apache License 2.0
swerebench/sweb.eval.x86_64.codait_1776_exchange-metadata-converter-38
swerebench/sweb.eval.x86_64.codait_1776_exchange-metadata-converter-38
[ { "file_path": "setup.py", "added_lines": [ 25 ], "deleted_lines": [ 25 ] }, { "file_path": "templates/dlf_out.yaml", "added_lines": [ 17 ], "deleted_lines": [ 17 ] } ]
[ "setup.py", "templates/dlf_out.yaml" ]
[ ".", "templates" ]
CORE-GATECH-GROUP__serpent-tools-24
4b93cd86c6149b94960984892dad25de6fbbb41f
2017-10-05 20:12:21
224ef748f519903554f346d48071e58b43dcf902
drewejohnson: Reopened to squash and merge
diff --git a/serpentTools/__init__.py b/serpentTools/__init__.py index fdaf895..8d07887 100644 --- a/serpentTools/__init__.py +++ b/serpentTools/__init__.py @@ -3,10 +3,6 @@ from serpentTools import parsers # List TODOS/feature requests here for now -# Messages/Errors -# TODO: Add verbosity control -# TODO: A...
Feature: Implement a messaging and exception framework Implement a overarching data logger that controls warnings, errors, and debug statements that allows the user to set the verbosity through the `rc` system. Maybe piggyback off of the [logging module](https://docs.python.org/3.6/library/logging.html) Create a `Se...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_loaders.py b/serpentTools/tests/test_loaders.py index f6895e1..3bbd24e 100644 --- a/serpentTools/tests/test_loaders.py +++ b/serpentTools/tests/test_loaders.py @@ -57,7 +57,8 @@ class UserSettingsTester(unittest.TestCase): 'metadataKeys': ['ZAI', 'NAMES', 'DAYS', 'BU'],...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "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": 3 }, "num_modi...
1.00
{ "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", "drewtils>=0.1.5" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "pytho...
contourpy==1.3.0 cycler==0.12.1 drewtils==0.1.9 exceptiongroup==1.2.2 fonttools==4.56.0 importlib_resources==6.5.2 iniconfig==2.1.0 kiwisolver==1.4.7 matplotlib==3.9.4 numpy==2.0.2 packaging==24.2 pillow==11.1.0 pluggy==1.5.0 pyparsing==3.2.3 pytest==8.3.5 python-dateutil==2.9.0.post0 -e git+https://github.com/CORE-GAT...
name: serpent-tools 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 - libgc...
[ "serpentTools/tests/test_loaders.py::UserSettingsTester::test_returnReaderSettings" ]
[]
[ "serpentTools/tests/test_loaders.py::DefaultSettingsTester::test_cannotChangeDefaults", "serpentTools/tests/test_loaders.py::DefaultSettingsTester::test_getDefault", "serpentTools/tests/test_loaders.py::UserSettingsTester::test_failAtBadSetting_options", "serpentTools/tests/test_loaders.py::UserSettingsTester...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-24
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-24
[ { "file_path": "serpentTools/__init__.py", "added_lines": [ 18, 19 ], "deleted_lines": [ 6, 7, 8, 9, 17 ] }, { "file_path": "serpentTools/parsers/depletion.py", "added_lines": [ 11, 12, 65, 66, 71, 82, ...
[ "serpentTools/__init__.py", "serpentTools/parsers/depletion.py", "serpentTools/settings/__init__.py", "serpentTools/settings/messages.py", "setup.py" ]
[ ".", "serpentTools", "serpentTools/parsers", "serpentTools/settings" ]
CORE-GATECH-GROUP__serpent-tools-243
67846baca60f959ac92bdf208e6f1c6744688890
2018-09-15 13:51:41
13961f3712a08e069c1ac96aaecf07ea7e7e5524
diff --git a/serpentTools/parsers/results.py b/serpentTools/parsers/results.py index d46a7fd..095cb6c 100644 --- a/serpentTools/parsers/results.py +++ b/serpentTools/parsers/results.py @@ -183,9 +183,10 @@ class ResultsReader(XSReader): """Process universes' data""" brState = self._getBUstate() # obt...
[BUG] ResultsReader fails when only group constants are requested ## Summary of issue When restricting the scope of the variables extracted from the results file to only group constants, the reader fails. It is also worth noting that, when non-group constant data are requested as well, 'ABS_KEFF' and 'INF_FLX', fo...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_ResultsReader.py b/serpentTools/tests/test_ResultsReader.py index 03e9d28..1384c4d 100644 --- a/serpentTools/tests/test_ResultsReader.py +++ b/serpentTools/tests/test_ResultsReader.py @@ -8,7 +8,7 @@ from numpy.testing import assert_equal from six import iteritems from serpentTo...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
0.6
{ "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", "flake8>=3.1.0", "pandas>=0.21.0", "jupyter>=1.0", "coverage==4.5.1" ], "pre_install": null, "python": ...
anyio==3.6.2 argon2-cffi==21.3.0 argon2-cffi-bindings==21.2.0 async-generator==1.10 attrs @ file:///opt/conda/conda-bld/attrs_1642510447205/work Babel==2.11.0 backcall==0.2.0 bleach==4.1.0 certifi==2021.5.30 cffi==1.15.1 charset-normalizer==2.0.12 comm==0.1.4 contextvars==2.4 coverage==4.5.1 cycler==0.11.0 dataclasses=...
name: serpent-tools 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=21.4.0=pyhd3eb1b0_0 - ca-certificates=2025.2.25=h06a4308_0 - certifi=2021.5.30=py36h06a4308_0 - imp...
[ "serpentTools/tests/test_ResultsReader.py::RestrictedResultsReader::test_fluxAndKeff", "serpentTools/tests/test_ResultsReader.py::RestrictedResultsReader::test_justFlux" ]
[ "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_allVarsNone", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_noUnivState", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_nonPostiveIndex", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_validUniv", "serpe...
[ "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_emptyFile_noGcu", "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_noResults", "serpentTools/tests/test_ResultsReader.py::TestEmptyAttributes::test_emptyAttributes", "serpentTools/tests/test_ResultsReader.py::TestReadAllResults::test_b...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-243
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-243
[ { "file_path": "serpentTools/parsers/results.py", "added_lines": [ 186, 189 ], "deleted_lines": [ 186 ] } ]
[ "serpentTools/parsers/results.py" ]
[ "serpentTools/parsers" ]
CORE-GATECH-GROUP__serpent-tools-288
1c730ef70c6f9ce98247e1d8b935d3bb98366e4a
2019-03-05 03:45:05
13961f3712a08e069c1ac96aaecf07ea7e7e5524
diff --git a/docs/changelog.rst b/docs/changelog.rst index dd57dbc..90d13c3 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -39,6 +39,15 @@ Next The API for the |branchCollector| may be subject to change through revisions until ``0.7.0`` +Incompatible API Changes +------------------------ + +* |ho...
Universes in results reader are not zero-indexed ## Summary of issue The first index for universes is 1, likely taken directly from the result file burnup index. This misconstrues some of the style and pythonicness of the layout, as python arrays start at 0. ## Code for reproducing the issue Read a result file wit...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_ResultsReader.py b/serpentTools/tests/test_ResultsReader.py index 1384c4d..50209a5 100644 --- a/serpentTools/tests/test_ResultsReader.py +++ b/serpentTools/tests/test_ResultsReader.py @@ -122,11 +122,6 @@ class TestGetUniv(unittest.TestCase): with self.assertRaises(SerpentT...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 4 }
0.6
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio" ], "pre_install": [ "apt-get update", "apt-get instal...
attrs==22.2.0 certifi==2021.5.30 coverage==6.2 cycler==0.11.0 execnet==1.9.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.16.0 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 pytest-asyncio==0.16.0 pytest-cov==4.0.0 pytest-mock==3.6.1 pyte...
name: serpent-tools 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 ...
[ "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_validUniv", "serpentTools/tests/test_ResultsReader.py::TestFilterResults::test_universes", "serpentTools/tests/test_ResultsReader.py::TestReadAllResults::test_universes", "serpentTools/tests/test_ResultsReader.py::TestFilterResultsNoBurnup::test_uni...
[]
[ "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_emptyFile_noGcu", "serpentTools/tests/test_ResultsReader.py::TestBadFiles::test_noResults", "serpentTools/tests/test_ResultsReader.py::TestEmptyAttributes::test_emptyAttributes", "serpentTools/tests/test_ResultsReader.py::TestGetUniv::test_allVarsN...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-288
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-288
[ { "file_path": "docs/changelog.rst", "added_lines": [ 42, 43, 44, 45, 46, 47, 48, 49, 50 ], "deleted_lines": [] }, { "file_path": "docs/examples/ResultsReader.rst", "added_lines": [ 304, 305, 306, 307, 30...
[ "docs/changelog.rst", "docs/examples/ResultsReader.rst", "examples/ResultsReader.ipynb", "serpentTools/parsers/results.py" ]
[ "docs", "docs/examples", "examples", "serpentTools/parsers" ]
CORE-GATECH-GROUP__serpent-tools-289
85f47bd559fdc8b1bef3bdea7d64db4a1c5b6271
2019-03-05 04:11:09
13961f3712a08e069c1ac96aaecf07ea7e7e5524
diff --git a/docs/changelog.rst b/docs/changelog.rst index 90d13c3..f7dec84 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -47,6 +47,9 @@ Incompatible API Changes burnup step was one. All burnup indices are now decreased by one. Similarly, if no burnup was present in the file, the values of burnup...
[API] Detector tallies of a single bin are difficult to work with ## Summary of issue When using a detector w/ a single bin, e.g. one group flux, the bin data in the output file is a single bin. Rather than a proper array, these are floats cast into array form. Indexing doesn't work, but you can get the "values" by co...
CORE-GATECH-GROUP/serpent-tools
diff --git a/serpentTools/tests/test_detector.py b/serpentTools/tests/test_detector.py index 4b34ad3..6a79aee 100644 --- a/serpentTools/tests/test_detector.py +++ b/serpentTools/tests/test_detector.py @@ -9,25 +9,19 @@ from six import iteritems from numpy import arange, array from numpy.testing import assert_equal ...
{ "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": 3 }
0.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" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.6", "reqs_path...
attrs==22.2.0 certifi==2021.5.30 cycler==0.11.0 importlib-metadata==4.8.3 iniconfig==1.1.1 kiwisolver==1.3.1 matplotlib==3.3.4 numpy==1.16.0 packaging==21.3 Pillow==8.4.0 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 python-dateutil==2.9.0.post0 PyYAML==3.13 -e git+https://github.com/CORE-GATECH-GROUP/serpent...
name: serpent-tools 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 ...
[ "serpentTools/tests/test_detector.py::SingleTallyTester::test_singleTally" ]
[]
[ "serpentTools/tests/test_detector.py::CartesianDetectorTester::test_detectorGrids", "serpentTools/tests/test_detector.py::CartesianDetectorTester::test_detectorIndex", "serpentTools/tests/test_detector.py::CartesianDetectorTester::test_detectorSlice", "serpentTools/tests/test_detector.py::CartesianDetectorTes...
[]
MIT License
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-289
swerebench/sweb.eval.x86_64.core-gatech-group_1776_serpent-tools-289
[ { "file_path": "docs/changelog.rst", "added_lines": [ 50, 51, 52 ], "deleted_lines": [] }, { "file_path": "serpentTools/objects/base.py", "added_lines": [ 176, 178, 180 ], "deleted_lines": [ 176, 178, 180 ] }, { "f...
[ "docs/changelog.rst", "serpentTools/objects/base.py", "serpentTools/objects/detectors.py" ]
[ "docs", "serpentTools/objects" ]