instance_id stringlengths 10 57 | base_commit stringlengths 40 40 | created_at stringdate 2016-04-05 08:28:29 2025-04-30 20:14:11 | environment_setup_commit stringlengths 40 40 | hints_text stringlengths 0 196k | patch stringlengths 261 854k | problem_statement stringlengths 33 51.5k | repo stringlengths 7 52 | test_patch stringlengths 283 997k | meta dict | version stringclasses 599
values | install_config dict | requirements stringlengths 96 34.2k | environment stringlengths 810 20.5k | FAIL_TO_PASS listlengths 1 2.36k | FAIL_TO_FAIL listlengths 0 589 | PASS_TO_PASS listlengths 0 2.98k | PASS_TO_FAIL listlengths 0 92 | license_name stringclasses 43
values | docker_image stringlengths 42 89 | image_name stringlengths 42 89 | file_changes listlengths 0 13 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 | [] |
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": "src/mbed_tools/project/mbed_program.py",
"changes": {
"edited_entities": [
"src/mbed_tools/project/mbed_program.py:parse_url"
],
"edited_modules": [
"src/mbed_tools/project/mbed_program.py:parse_url"
],
"added_entities": [],
"added_modules": []
... |
AI4S2S__lilio-58 | 416ea560d41b57502cf204fbf4e65e79c21373bf | 2023-05-30 06:43:39 | 416ea560d41b57502cf204fbf4e65e79c21373bf | sonarcloud[bot]: Kudos, SonarCloud Quality Gate passed! [](https://sonarcloud.io/dashboard?id=AI4S2S_lilio&pullRequest=58)
[
@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": "lilio/calendar.py",
"changes": {
"edited_entities": [
"lilio/calendar.py:Calendar.n_targets"
],
"edited_modules": [
"lilio/calendar.py:Calendar"
],
"added_entities": [
"lilio/calendar.py:Calendar.n_precursors"
],
"added_modules": [... |
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": "schematics_to_swagger/__init__.py",
"changes": {
"edited_entities": [
"schematics_to_swagger/__init__.py:model_to_definition"
],
"edited_modules": [
"schematics_to_swagger/__init__.py:model_to_definition"
],
"added_entities": [],
"added_modules"... | |
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": "yotta/lib/sourceparse.py",
"changes": {
"edited_entities": [
"yotta/lib/sourceparse.py:_getNonRegistryRef"
],
"edited_modules": [
"yotta/lib/sourceparse.py:_getNonRegistryRef"
],
"added_entities": [],
"added_modules": []
}
}
] | |
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": "setup.py",
"changes": {
"edited_entities": [],
"edited_modules": [],
"added_entities": [],
"added_modules": []
}
},
{
"file": "spectree/utils.py",
"changes": {
"edited_entities": [
"spectree/utils.py:parse_params"
],
"edited_module... | |
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": "sepal_ui/sepalwidgets/alert.py",
"changes": {
"edited_entities": [
"sepal_ui/sepalwidgets/alert.py:Alert.update_progress"
],
"edited_modules": [
"sepal_ui/sepalwidgets/alert.py:Alert"
],
"added_entities": [],
"added_modules": []
}
}
] | |
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": "sepal_ui/sepalwidgets/alert.py",
"changes": {
"edited_entities": [
"sepal_ui/sepalwidgets/alert.py:Alert.update_progress"
],
"edited_modules": [
"sepal_ui/sepalwidgets/alert.py:Alert"
],
"added_entities": [],
"added_modules": []
}
}
] | |
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": "abjadext/nauert/gracehandlers.py",
"changes": {
"edited_entities": [
"abjadext/nauert/gracehandlers.py:ConcatenatingGraceHandler.__init__"
],
"edited_modules": [
"abjadext/nauert/gracehandlers.py:ConcatenatingGraceHandler"
],
"added_entities": [],
... | |
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

> 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": "openhands_aci/editor/editor.py",
"changes": {
"edited_entities": [
"openhands_aci/editor/editor.py:OHEditor.view"
],
"edited_modules": [
"openhands_aci/editor/editor.py:OHEditor"
],
"added_entities": [],
"added_modules": []
}
}
] |
4degrees__clique-26 | a89507304acce5931f940c34025a6547fa8227b5 | 2016-04-30 17:21:04 | a89507304acce5931f940c34025a6547fa8227b5 | diff --git a/source/clique/collection.py b/source/clique/collection.py
index 0c3b296..db9276c 100644
--- a/source/clique/collection.py
+++ b/source/clique/collection.py
@@ -251,15 +251,25 @@ class Collection(object):
else:
data['padding'] = '%d'
- if self.indexes:
+ if '{holes}' in... | collection.format hits maximum recursion depth for collections with lots of holes.
The following code gives an example.
```python
paths = ["name.{0:04d}.jpg".format(x) for x in range(2000)[::2]]
collection = clique.assemble(paths)[0][0]
collection.format("{head}####{tail}")
``` | 4degrees/clique | diff --git a/test/unit/test_collection.py b/test/unit/test_collection.py
index ce4daa7..11cb01e 100644
--- a/test/unit/test_collection.py
+++ b/test/unit/test_collection.py
@@ -2,6 +2,7 @@
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
+import sys
import inspect
import py... | {
"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": 2
},
"num_modified_files": 1
} | 1.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": [
"pytest>=2.3.5"
],
"pre_install": null,
"python": "2.7",
"reqs_path": null,
"test_cmd": "pytest --no-header -rA --t... | attrs==22.2.0
certifi==2021.5.30
-e git+https://github.com/4degrees/clique.git@a89507304acce5931f940c34025a6547fa8227b5#egg=Clique
importlib-metadata==4.8.3
iniconfig==1.1.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
tomli==1.2.3
typing_extensions==4.1.1
zipp==3.6.0
| name: clique
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
- lib... | [
"test/unit/test_collection.py::test_format_sparse_collection"
] | [
"test/unit/test_collection.py::test_change_property[head-diff_head.-^diff\\\\_head\\\\.(?P<index>(?P<padding>0*)\\\\d+?)\\\\.tail$-diff_head.1.tail]",
"test/unit/test_collection.py::test_change_property[tail-.diff_tail-^head\\\\.(?P<index>(?P<padding>0*)\\\\d+?)\\\\.diff\\\\_tail$-head.1.diff_tail]"
] | [
"test/unit/test_collection.py::test_change_property[padding-4-^head\\\\.(?P<index>(?P<padding>0*)\\\\d+?)\\\\.tail$-head.0001.tail]",
"test/unit/test_collection.py::test_unsettable_indexes",
"test/unit/test_collection.py::test_str",
"test/unit/test_collection.py::test_repr",
"test/unit/test_collection.py::t... | [] | Apache License 2.0 | swerebench/sweb.eval.x86_64.4degrees_1776_clique-26 | swerebench/sweb.eval.x86_64.4degrees_1776_clique-26 | [
{
"file": "source/clique/collection.py",
"changes": {
"edited_entities": [
"source/clique/collection.py:Collection.format"
],
"edited_modules": [
"source/clique/collection.py:Collection"
],
"added_entities": [],
"added_modules": []
}
}
] | |
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": "crypto/transactions/builder/htlc_lock.py",
"changes": {
"edited_entities": [
"crypto/transactions/builder/htlc_lock.py:HtlcLock.__init__"
],
"edited_modules": [
"crypto/transactions/builder/htlc_lock.py:HtlcLock"
],
"added_entities": [],
"added_... | |
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": "scrapy_loader_upkeep/loader.py",
"changes": {
"edited_entities": [
"scrapy_loader_upkeep/loader.py:ItemLoader.get_selector_values",
"scrapy_loader_upkeep/loader.py:ItemLoader.write_to_stats"
],
"edited_modules": [
"scrapy_loader_upkeep/loader.py:ItemLoade... | |
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": "src/mbed_tools/targets/_internal/board_database.py",
"changes": {
"edited_entities": [
"src/mbed_tools/targets/_internal/board_database.py:_get_request"
],
"edited_modules": [
"src/mbed_tools/targets/_internal/board_database.py:_get_request"
],
"added... |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 47