Dataset Viewer
Auto-converted to Parquet Duplicate
instance_id
stringlengths
10
57
base_commit
stringlengths
40
40
created_at
stringdate
2016-04-05 08:28:29
2025-03-31 17:49:59
environment_setup_commit
stringlengths
40
40
hints_text
stringlengths
0
196k
patch
stringlengths
261
213k
problem_statement
stringlengths
33
51.5k
repo
stringlengths
7
52
test_patch
stringlengths
283
997k
meta
dict
version
stringclasses
590 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
25
license_name
stringclasses
43 values
__index_level_0__
int64
492
21.3k
andialbrecht__sqlparse-231
ee5799fbb60e9739e42922861cd9f24990fc52dd
2016-04-05 08:28:29
058f6fdcfdb0c84bedbaea0745d9b6b92cb20fe4
diff --git a/sqlparse/engine/grouping.py b/sqlparse/engine/grouping.py index 4e45f65..68960d5 100644 --- a/sqlparse/engine/grouping.py +++ b/sqlparse/engine/grouping.py @@ -135,7 +135,8 @@ def group_comparison(tlist): T.Name, T.Number, T.Number.Float, T....
Functions are not grouped into a Comparison I.e. `foo = DATE(bar.baz)` is not grouped.
andialbrecht/sqlparse
diff --git a/tests/test_grouping.py b/tests/test_grouping.py index e846176..a6c4028 100644 --- a/tests/test_grouping.py +++ b/tests/test_grouping.py @@ -325,6 +325,29 @@ def test_comparison_with_strings(): # issue148 assert p.tokens[0].right.ttype == T.String.Single +def test_comparison_with_functions(): # i...
{ "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 }
0.1
{ "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" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --...
coverage==7.8.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work pytest @ file:///croot/pytest_1738938843180/work pytest-cov==6....
name: sqlparse 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_grouping.py::test_comparison_with_functions" ]
[]
[ "tests/test_grouping.py::TestGrouping::test_alias", "tests/test_grouping.py::TestGrouping::test_alias_case", "tests/test_grouping.py::TestGrouping::test_alias_returns_none", "tests/test_grouping.py::TestGrouping::test_assignment", "tests/test_grouping.py::TestGrouping::test_comments", "tests/test_grouping...
[]
BSD 3-Clause "New" or "Revised" License
492
nickstenning__honcho-174
5af4cf1d98926fa63eae711e6a89f8e2ef5d8539
2016-04-13 06:21:38
5af4cf1d98926fa63eae711e6a89f8e2ef5d8539
diff --git a/honcho/command.py b/honcho/command.py index 3796a39..9a7323d 100644 --- a/honcho/command.py +++ b/honcho/command.py @@ -39,6 +39,7 @@ def _add_common_args(parser, with_defaults=False): help='procfile directory (default: .)') parser.add_argument('-f', '--procfile', ...
-f argument before command is suppressed System information: Mac OS X, 10.11.1 Honcho version: 0.7.0 With the latest release of honcho (0.7.0), I've noticed that the -f argument is processed properly **after** a command, but not **before** a command. -e and -d arguments don't exhibit this order-dependent behavior....
nickstenning/honcho
diff --git a/tests/integration/test_start.py b/tests/integration/test_start.py index 2388bda..73c8693 100644 --- a/tests/integration/test_start.py +++ b/tests/integration/test_start.py @@ -53,6 +53,39 @@ def test_start_env_procfile(testenv): assert 'mongoose' in out +@pytest.mark.parametrize('testenv', [{ + ...
{ "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 }
0.7
{ "env_vars": null, "env_yml_path": [], "install": "pip install -e .[export]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "", "pip_packages": [ "jinja2", "flake8" ], "pre_install": [], "python": "3.5", "reqs_path": [], "test_cmd": "pytest --no-header -rA --tb=line ...
certifi==2021.5.30 flake8==5.0.4 -e git+https://github.com/nickstenning/honcho.git@5af4cf1d98926fa63eae711e6a89f8e2ef5d8539#egg=honcho importlib-metadata==4.2.0 Jinja2==2.7.3 MarkupSafe==2.0.1 mccabe==0.7.0 pycodestyle==2.9.1 pyflakes==2.5.0 typing_extensions==4.1.1 zipp==3.6.0
name: honcho 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...
[ "tests/integration/test_start.py::test_start_procfile_before_command[testenv0]" ]
[]
[ "tests/integration/test_start.py::test_start[testenv0]", "tests/integration/test_start.py::test_start_env[testenv0]", "tests/integration/test_start.py::test_start_env_procfile[testenv0]", "tests/integration/test_start.py::test_start_procfile_after_command[testenv0]", "tests/integration/test_start.py::test_s...
[]
MIT License
502
pysmt__pysmt-243
2abfb4538fa93379f9b2671bce30f27967dedbcf
2016-04-15 16:24:27
2abfb4538fa93379f9b2671bce30f27967dedbcf
diff --git a/pysmt/formula.py b/pysmt/formula.py index 0a4dcd3..4fdcbfe 100644 --- a/pysmt/formula.py +++ b/pysmt/formula.py @@ -477,7 +477,7 @@ class FormulaManager(object): A -> !(B \/ C) B -> !(C) """ - args = list(*args) + args = self._polymorph_args_to_tuple(args) ...
issue in processing arguments for ExactlyOne() Hi, I noticed that instantiating shortcuts.ExactlyOne() throws e.g. TypeError: list() takes at most 1 argument (3 given) at formula.py, line 480. I believe args shouldn't be unpacked in the list constructor. Martin
pysmt/pysmt
diff --git a/pysmt/test/test_formula.py b/pysmt/test/test_formula.py index 0ddbec4..924328a 100644 --- a/pysmt/test/test_formula.py +++ b/pysmt/test/test_formula.py @@ -494,6 +494,16 @@ class TestFormulaManager(TestCase): self.assertEqual(c, self.mgr.Bool(False), "ExactlyOne should no...
{ "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": 1, "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", "nose", "nose-cov" ], "pre_install": [ "apt-get update", "apt-get instal...
cov-core==1.15.0 coverage==7.8.0 exceptiongroup==1.2.2 iniconfig==2.1.0 nose==1.3.7 nose-cov==1.6 packaging==24.2 pluggy==1.5.0 -e git+https://github.com/pysmt/pysmt.git@2abfb4538fa93379f9b2671bce30f27967dedbcf#egg=PySMT pytest==8.3.5 pytest-cov==6.0.0 six==1.17.0 tomli==2.2.1
name: pysmt 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....
[ "pysmt/test/test_formula.py::TestFormulaManager::test_exactly_one", "pysmt/test/test_regressions.py::TestRegressions::test_exactly_one_unpacking" ]
[ "pysmt/test/test_regressions.py::TestRegressions::test_parse_define_fun", "pysmt/test/test_regressions.py::TestRegressions::test_parse_define_fun_bind" ]
[ "pysmt/test/test_formula.py::TestFormulaManager::test_0arity_function", "pysmt/test/test_formula.py::TestFormulaManager::test_all_different", "pysmt/test/test_formula.py::TestFormulaManager::test_and_node", "pysmt/test/test_formula.py::TestFormulaManager::test_at_most_one", "pysmt/test/test_formula.py::Test...
[]
Apache License 2.0
504
pystorm__pystorm-31
506568d7033169811423a08f3af83c15abe5fd3e
2016-04-15 18:03:37
7f0d6b320e9943082bcdfd6de93d161a3b174e12
diff --git a/pystorm/bolt.py b/pystorm/bolt.py index 4e60879..c6a1538 100644 --- a/pystorm/bolt.py +++ b/pystorm/bolt.py @@ -128,7 +128,7 @@ class Bolt(Component): pass def emit(self, tup, stream=None, anchors=None, direct_task=None, - need_task_ids=True): + need_task_ids=False):...
need_task_ids should default to False We currently default to True for backward compatibility reasons, but I would venture to guess that vast majority of users do not care about the IDs of the tasks that their emitted tuples went to. Disabling is a nice free speedup, but if we made it disabled by default, we would be ...
pystorm/pystorm
diff --git a/test/pystorm/test_bolt.py b/test/pystorm/test_bolt.py index 277ac1a..24cb868 100644 --- a/test/pystorm/test_bolt.py +++ b/test/pystorm/test_bolt.py @@ -110,7 +110,8 @@ class BoltTests(unittest.TestCase): send_message_mock.assert_called_with(self.bolt, {'command': 'emit', ...
{ "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": 3 }
2.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "mock", "pytest", "unittest2" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements....
exceptiongroup==1.2.2 iniconfig==2.1.0 linecache2==1.0.0 mock==5.2.0 msgpack-python==0.5.6 packaging==24.2 pluggy==1.5.0 -e git+https://github.com/pystorm/pystorm.git@506568d7033169811423a08f3af83c15abe5fd3e#egg=pystorm pytest==8.3.5 pytest-timeout==2.3.1 simplejson==3.20.1 six==1.17.0 tomli==2.2.1 traceback2==1.4.0 un...
name: pystorm 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/pystorm/test_bolt.py::BoltTests::test_emit_direct", "test/pystorm/test_spout.py::SpoutTests::test_emit" ]
[]
[ "test/pystorm/test_bolt.py::BoltTests::test_ack_id", "test/pystorm/test_bolt.py::BoltTests::test_ack_tuple", "test/pystorm/test_bolt.py::BoltTests::test_auto_ack_off", "test/pystorm/test_bolt.py::BoltTests::test_auto_ack_on", "test/pystorm/test_bolt.py::BoltTests::test_auto_anchor_off", "test/pystorm/test...
[]
Apache License 2.0
505
zalando-stups__zign-14
46f296b8952b518c9f93d398ef890d5d4001a37a
2016-04-19 17:40:40
e2641d7972e25769830f527c1bd81f6729f4d3ea
diff --git a/zign/api.py b/zign/api.py index d98ed9a..065afae 100644 --- a/zign/api.py +++ b/zign/api.py @@ -100,6 +100,11 @@ def get_named_token(scope, realm, name, user, password, url=None, if existing_token: return existing_token + if name and not realm: + access_token = get_service...
Transparently get service tokens via "tokens" library if possible We already have the `zign.api.get_token` function and we should consider getting service tokens transparently also when using `zign token` directly.
zalando-stups/zign
diff --git a/tests/test_api.py b/tests/test_api.py index ad3cc20..e6e2f6c 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -1,4 +1,5 @@ import pytest +import time import tokens import zign.api @@ -72,3 +73,18 @@ def test_get_token_fallback_success(monkeypatch): monkeypatch.setattr('zign.api.get_new_t...
{ "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 }
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.9",...
backports.tarfile==1.2.0 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8 clickclick==20.10.2 coverage==7.8.0 cryptography==44.0.2 dnspython==2.7.0 exceptiongroup==1.2.2 idna==3.10 importlib_metadata==8.6.1 iniconfig==2.1.0 jaraco.classes==3.4.0 jaraco.context==6.0.1 jaraco.functools==4.1.0 jeepne...
name: zign 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.2...
[ "tests/test_api.py::test_get_named_token_services" ]
[ "tests/test_api.py::test_get_new_token_auth_fail", "tests/test_api.py::test_get_new_token_server_error" ]
[ "tests/test_api.py::test_get_new_token_invalid_json", "tests/test_api.py::test_get_new_token_missing_access_token", "tests/test_api.py::test_get_token_existing", "tests/test_api.py::test_get_token_configuration_error", "tests/test_api.py::test_get_token_service_success", "tests/test_api.py::test_get_token...
[]
Apache License 2.0
509
auth0__auth0-python-40
013851d48025ec202464721c23d65156cd138565
2016-04-29 12:24:26
9a1050760af2337e0a32d68038e6b1df62ca45f9
diff --git a/auth0/v2/authentication/users.py b/auth0/v2/authentication/users.py index e031a75..bec1b4d 100644 --- a/auth0/v2/authentication/users.py +++ b/auth0/v2/authentication/users.py @@ -46,5 +46,5 @@ class Users(AuthenticationBase): return self.post( url='https://%s/tokeninfo' % self.domain...
authentication.Users(client_domain).tokeninfo fails I've got a traceback: ```python In [78]: user_authentication.tokeninfo(id_token) --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-78-decf4417...
auth0/auth0-python
diff --git a/auth0/v2/test/authentication/test_users.py b/auth0/v2/test/authentication/test_users.py index c842f55..446301d 100644 --- a/auth0/v2/test/authentication/test_users.py +++ b/auth0/v2/test/authentication/test_users.py @@ -27,5 +27,5 @@ class TestUsers(unittest.TestCase): mock_post.assert_called_with...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 1 }
2.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" ], "pre_install": null, "python": "3.5", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
attrs==22.2.0 -e git+https://github.com/auth0/auth0-python.git@013851d48025ec202464721c23d65156cd138565#egg=auth0_python certifi==2021.5.30 importlib-metadata==4.8.3 iniconfig==1.1.1 mock==1.3.0 packaging==21.3 pbr==6.1.1 pluggy==1.0.0 py==1.11.0 pyparsing==3.1.4 pytest==7.0.1 requests==2.8.1 six==1.17.0 tomli==1.2.3 t...
name: auth0-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=h12ee557_0 ...
[ "auth0/v2/test/authentication/test_users.py::TestUsers::test_tokeninfo" ]
[]
[ "auth0/v2/test/authentication/test_users.py::TestUsers::test_userinfo" ]
[]
MIT License
517
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
518
kapouille__mongoquery-4
759677a81968ec264caa65020777cdae11d8a5e2
2016-05-17 11:51:11
759677a81968ec264caa65020777cdae11d8a5e2
foolswood: The Travis failure is python 3.2 only (and resolved by https://www.python.org/dev/peps/pep-0414/). There are a couple of options I can see to sort this out: - Remove (or find another way to create) the unicode literal in the tests. - Stop supporting python 3.2. rajcze: > The Travis failure is python 3.2 o...
diff --git a/mongoquery/__init__.py b/mongoquery/__init__.py index 9fa9482..83dc2ff 100644 --- a/mongoquery/__init__.py +++ b/mongoquery/__init__.py @@ -15,6 +15,10 @@ class _Undefined(object): pass +def is_non_string_sequence(entry): + return isinstance(entry, Sequence) and not isinstance(entry, string_typ...
Checks against strings don't work properly See the following case: ``` >>> import mongoquery >>> a = {"a": "5", "b": 6} >>> query = mongoquery.Query({"a": 2}) >>> query.match(a) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python2.7/site-packages/mongoquery/_...
kapouille/mongoquery
diff --git a/tests/test_query.py b/tests/test_query.py index 27d44e9..22ef7c8 100644 --- a/tests/test_query.py +++ b/tests/test_query.py @@ -103,6 +103,11 @@ class TestQuery(TestCase): self._query({"qty": {"$type": 'number'}}) ) + self.assertEqual( + _ALL, + self._qu...
{ "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 }
list
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "", "pip_packages": [ "nose", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --co...
exceptiongroup==1.2.2 iniconfig==2.1.0 -e git+https://github.com/kapouille/mongoquery.git@759677a81968ec264caa65020777cdae11d8a5e2#egg=mongoquery nose==1.3.7 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 tomli==2.2.1
name: mongoquery 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_query.py::TestQuery::test_query_string" ]
[]
[ "tests/test_query.py::TestQuery::test_array", "tests/test_query.py::TestQuery::test_bad_query_doesnt_infinitely_recurse", "tests/test_query.py::TestQuery::test_comparison", "tests/test_query.py::TestQuery::test_element", "tests/test_query.py::TestQuery::test_evaluation", "tests/test_query.py::TestQuery::t...
[]
The Unlicense
542
jubatus__jubatus-python-client-69
34f9f83ee2d230672518102e541286425c92c287
2016-05-19 05:04:03
ecbdecb8eb9ee40694ee39c4bf1de7e7fd984ae5
diff --git a/jubatus/common/client.py b/jubatus/common/client.py index d599319..9cd91a8 100644 --- a/jubatus/common/client.py +++ b/jubatus/common/client.py @@ -54,6 +54,10 @@ class ClientBase(object): (`unpack_encoding=None`) """ def __init__(self, host, port, name, timeout=10): + check_types(h...
no type validation for constructor arguments Currently argument types are validated, but constructor arguments are not. For example, the following code: ``` c = jubatus.Classifier("localhost", 9199, 0) # it should be ("localhost", 9199, "") to work c.get_status() ``` raises "TypeMismatch (error 2)" on RPC ca...
jubatus/jubatus-python-client
diff --git a/test/jubatus_test/common/test_client.py b/test/jubatus_test/common/test_client.py index 0e929f8..065b538 100644 --- a/test/jubatus_test/common/test_client.py +++ b/test/jubatus_test/common/test_client.py @@ -67,5 +67,22 @@ class ClientTest(unittest.TestCase): self.assertEqual("test", c.call("test"...
{ "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": 0 }, "num_modified_files": 1 }
0.9
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "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 --co...
exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work -e git+https://github.com/jubatus/jubatus-python-client.git@34f9f83ee2d230672518102e541286425c92c287#egg=jubatus msgpack-python==0.5.6 msgpack-rpc-python==0.4.1 packaging @ file:///cr...
name: jubatus-python-client 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=pyhd3e...
[ "test/jubatus_test/common/test_client.py::ClientBaseTest::test_constructor" ]
[]
[ "test/jubatus_test/common/test_client.py::ClientTest::test_remote_error", "test/jubatus_test/common/test_client.py::ClientTest::test_type_mismatch", "test/jubatus_test/common/test_client.py::ClientTest::test_unknown_method", "test/jubatus_test/common/test_client.py::ClientTest::test_wrong_number_of_arguments"...
[]
MIT License
550
Duke-GCB__DukeDSClient-61
81d8fc03fdbb9209d949f319bf4b4691b1615a59
2016-05-25 18:51:33
d43333d5372a8115eaaba0a68991a696124bf837
diff --git a/ddsc/core/filedownloader.py b/ddsc/core/filedownloader.py index 5049aac..e8ab7f5 100644 --- a/ddsc/core/filedownloader.py +++ b/ddsc/core/filedownloader.py @@ -106,8 +106,9 @@ class FileDownloader(object): Write out a empty file so the workers can seek to where they should write and write their da...
“range() step argument must not be zero” Crash at approx. 30% completion, uploading a folder to a new project: “range() step argument must not be zero” <img width="806" alt="screen shot 2016-05-25 at 1 31 11 pm" src="https://cloud.githubusercontent.com/assets/11540881/15551266/38d08f16-2283-11e6-9708-c5f93edb99d9.png"...
Duke-GCB/DukeDSClient
diff --git a/ddsc/core/tests/test_fileuploader.py b/ddsc/core/tests/test_fileuploader.py index f8ca72b..44bfb7e 100644 --- a/ddsc/core/tests/test_fileuploader.py +++ b/ddsc/core/tests/test_fileuploader.py @@ -47,6 +47,7 @@ class TestParallelChunkProcessor(TestCase): (100, 900000, 9000), (125, ...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_media", "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": 3 }
0.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": [ "nose", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test...
-e git+https://github.com/Duke-GCB/DukeDSClient.git@81d8fc03fdbb9209d949f319bf4b4691b1615a59#egg=DukeDSClient exceptiongroup==1.2.2 iniconfig==2.1.0 nose==1.3.7 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 PyYAML==3.11 requests==2.9.1 tomli==2.2.1
name: DukeDSClient 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...
[ "ddsc/core/tests/test_fileuploader.py::TestParallelChunkProcessor::test_determine_num_chunks" ]
[]
[ "ddsc/core/tests/test_fileuploader.py::TestFileUploader::test_make_chunk_processor_with_none", "ddsc/core/tests/test_fileuploader.py::TestFileUploader::test_make_chunk_processor_with_one", "ddsc/core/tests/test_fileuploader.py::TestFileUploader::test_make_chunk_processor_with_two", "ddsc/core/tests/test_fileu...
[]
MIT License
554
ifosch__accloudtant-82
9dd6000060b4bddfa5366ef3102fe7d42371d514
2016-05-29 14:55:50
33f90ff0bc1639c9fe793afd837eee80170caf3e
diff --git a/accloudtant/aws/instance.py b/accloudtant/aws/instance.py index 4e19b2d..2073f28 100644 --- a/accloudtant/aws/instance.py +++ b/accloudtant/aws/instance.py @@ -62,7 +62,7 @@ class Instance(object): @property def name(self): names = [tag for tag in self.tags if tag['Key'] == 'Name'] - ...
Fails with Python 3 My system have Python 3 installed by default (Archlinux). This is the output of `accloudtant report`: ``` Traceback (most recent call last): File "/usr/bin/accloudtant", line 22, in <module> cli() File "/usr/lib/python3.5/site-packages/click/core.py", line 716, in __call__ return...
ifosch/accloudtant
diff --git a/tests/aws/test_instance.py b/tests/aws/test_instance.py index d90e2c5..a016f7b 100644 --- a/tests/aws/test_instance.py +++ b/tests/aws/test_instance.py @@ -73,6 +73,57 @@ def test_instance(): assert(instance.best == 0.293) +def test_unnamed_instance(): + az = 'us-east-1b' + region = 'us-east...
{ "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 }
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": [], "python": "3.9", "reqs_path": [ "requirements/base.txt" ], "test_cmd": "p...
-e git+https://github.com/ifosch/accloudtant.git@9dd6000060b4bddfa5366ef3102fe7d42371d514#egg=accloudtant boto3==1.37.23 botocore==1.37.23 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 jmespath==1.0.1 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 python-dateut...
name: accloudtant 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-...
[ "tests/aws/test_instance.py::test_unnamed_instance" ]
[]
[ "tests/aws/test_instance.py::test_instance", "tests/aws/test_instance.py::test_guess_os", "tests/aws/test_instance.py::test_match_reserved_instance" ]
[]
null
563
zalando-stups__pierone-cli-37
991c05e9c7496b2aac071d85d0a9ca6b8afcf9dd
2016-05-31 08:47:53
560cae1b4fc185c7a8aa3a1a50e0a96b2c7dd8e7
diff --git a/pierone/cli.py b/pierone/cli.py index 1af5790..50dba86 100644 --- a/pierone/cli.py +++ b/pierone/cli.py @@ -232,7 +232,8 @@ def get_clair_features(url, layer_id, access_token): return [] else: r.raise_for_status() - return r.json()['Layer']['Features'] + + return r.json()['Laye...
pierone fails with backtrace when the CVE status is COULDNT_FIGURE_OUT ``` Traceback (most recent call last): File "/usr/local/bin/pierone", line 11, in <module> sys.exit(main()) File "/usr/local/lib/python3.4/dist-packages/pierone/cli.py", line 485, in main cli() File "/usr/local/lib/python3.4/dist...
zalando-stups/pierone-cli
diff --git a/tests/test_cli.py b/tests/test_cli.py index 6282253..087d27d 100644 --- a/tests/test_cli.py +++ b/tests/test_cli.py @@ -221,6 +221,61 @@ def test_cves(monkeypatch, tmpdir): assert re.match('[^\n]+\n[^\n]+HIGH', result.output), 'Results should be ordered by highest priority' +def test_no_cves_f...
{ "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.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", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt-get ...
certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 clickclick==20.10.2 coverage==7.8.0 dnspython==2.7.0 exceptiongroup==1.2.2 execnet==2.1.1 idna==3.10 iniconfig==2.1.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 pytest-asyncio==0.26.0 pytest-cov==6.0.0 pytest-mock==3.14.0 pytest-xdist==3.6.1 PyYAML==6.0.2 reque...
name: pierone-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 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-...
[ "tests/test_cli.py::test_no_cves_found" ]
[]
[ "tests/test_cli.py::test_version", "tests/test_cli.py::test_login", "tests/test_cli.py::test_login_given_url_option", "tests/test_cli.py::test_scm_source", "tests/test_cli.py::test_image", "tests/test_cli.py::test_tags", "tests/test_cli.py::test_cves", "tests/test_cli.py::test_latest", "tests/test_c...
[]
Apache License 2.0
565
aio-libs__multidict-3
ae23ed4adbfff861bd2621223a0e50bb0313cf32
2016-06-04 15:22:44
ae23ed4adbfff861bd2621223a0e50bb0313cf32
diff --git a/multidict/_multidict_py.py b/multidict/_multidict_py.py index f9c8f38..bff8276 100644 --- a/multidict/_multidict_py.py +++ b/multidict/_multidict_py.py @@ -185,12 +185,13 @@ class MultiDict(_Base, abc.MutableMapping): elif hasattr(arg, 'items'): items = arg.items() ...
Python MultiDict constructor discards generator content When using the pure Python implementation, if a `MultiDict` is constructed with a generator argument: headers = CIMultiDict( ( k.decode('utf-8', 'surrogateescape'), v.decode('utf-8', 'surrogateescape'), ) ...
aio-libs/multidict
diff --git a/tests/test_multidict.py b/tests/test_multidict.py index 8fa6e78..268a26e 100644 --- a/tests/test_multidict.py +++ b/tests/test_multidict.py @@ -73,6 +73,15 @@ class _BaseTest(_Root): self.assertEqual(sorted(d.items()), [('key', 'value1'), ('key2', 'val...
{ "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": 1 }, "num_modified_files": 1 }
1.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": [ "pip install -U -r requirements-dev.txt" ], "python": "3.5", "reqs_path": [ "r...
alabaster==0.7.13 attrs==22.2.0 Babel==2.11.0 backcall==0.2.0 certifi==2021.5.30 charset-normalizer==2.0.12 coverage==6.2 Cython==3.0.12 decorator==5.1.1 distlib==0.3.9 docutils==0.17.1 filelock==3.4.1 flake8==5.0.4 idna==3.10 imagesize==1.4.1 importlib-metadata==4.2.0 importlib-resources==5.4.0 iniconfig==1.1.1 ipdb==...
name: multidict 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_multidict.py::TestPyMultiDictProxy::test_instantiate__from_generator", "tests/test_multidict.py::PyMutableMultiDictTests::test_instantiate__from_generator" ]
[]
[ "tests/test_multidict.py::TestPyMultiDictProxy::test__iter__", "tests/test_multidict.py::TestPyMultiDictProxy::test__repr__", "tests/test_multidict.py::TestPyMultiDictProxy::test_and", "tests/test_multidict.py::TestPyMultiDictProxy::test_and_issue_410", "tests/test_multidict.py::TestPyMultiDictProxy::test_c...
[]
Apache License 2.0
571
mapbox__mapbox-sdk-py-128
2c11fdee6eee83ea82398cc0756ac7f35aada801
2016-06-09 18:19:51
2c11fdee6eee83ea82398cc0756ac7f35aada801
diff --git a/docs/surface.md b/docs/surface.md index 8fcbb77..c6e9676 100644 --- a/docs/surface.md +++ b/docs/surface.md @@ -86,7 +86,7 @@ contours). ... polyline=True, zoom=12, interpolate=False) >>> points = response.geojson() >>> [f['properties']['ele'] for f in points['features']] -[None, None, None] +[2190, ...
Encoded polylines in wrong coordinate order Currently, we take the geojson point array and encode the point directly in [lon, lat] order. Polylines should be [lat, lon].
mapbox/mapbox-sdk-py
diff --git a/tests/test_encoding.py b/tests/test_encoding.py index fa15f14..9326ae6 100644 --- a/tests/test_encoding.py +++ b/tests/test_encoding.py @@ -113,7 +113,7 @@ def test_unknown_object(): def test_encode_polyline(): - expected = "vdatOwp_~EhupD{xiA" + expected = "wp_~EvdatO{xiAhupD" assert expec...
{ "commit_name": "head_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": 0, "test_score": 0 }, "num_modified_files": 2 }
0.8
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov" ], "pre_install": [ "pip install -U pip" ], "python": "3.5", "reqs_path": [ ...
attrs==22.2.0 boto3==1.23.10 botocore==1.26.10 CacheControl==0.12.14 certifi==2021.5.30 charset-normalizer==2.0.12 click==8.0.4 click-plugins==1.1.1 cligj==0.7.2 coverage==6.2 coveralls==3.3.1 distlib==0.3.9 docopt==0.6.2 filelock==3.4.1 idna==3.10 importlib-metadata==4.8.3 importlib-resources==5.4.0 iniconfig==1.1.1 i...
name: mapbox-sdk-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_encoding.py::test_encode_polyline", "tests/test_surface.py::test_surface_params" ]
[]
[ "tests/test_encoding.py::test_read_geojson_features", "tests/test_encoding.py::test_geo_interface", "tests/test_encoding.py::test_encode_waypoints", "tests/test_encoding.py::test_encode_limits", "tests/test_encoding.py::test_unsupported_geometry", "tests/test_encoding.py::test_unknown_object", "tests/te...
[]
MIT License
580
Axelrod-Python__Axelrod-638
89651f45910f4b41a79c58358d9f5beca4197fc1
2016-06-19 20:45:17
89651f45910f4b41a79c58358d9f5beca4197fc1
diff --git a/axelrod/strategies/finite_state_machines.py b/axelrod/strategies/finite_state_machines.py index defc4770..1c231d43 100644 --- a/axelrod/strategies/finite_state_machines.py +++ b/axelrod/strategies/finite_state_machines.py @@ -54,6 +54,7 @@ class FSMPlayer(Player): initial_state = 1 ...
Finite state machine players don't reset properly ``` >>> import axelrod as axl >>> tft = axl.TitForTat() >>> predator = axl.Predator() >>> predator.fsm.state 1 >>> m = axl.Match((tft, predator), 2) >>> m.play() [('C', 'C'), ('C', 'D')] >>> predator.fsm.state 2 >>> predator.reset() >>> predator.fsm.state ...
Axelrod-Python/Axelrod
diff --git a/axelrod/tests/integration/test_matches.py b/axelrod/tests/integration/test_matches.py new file mode 100644 index 00000000..b6241145 --- /dev/null +++ b/axelrod/tests/integration/test_matches.py @@ -0,0 +1,25 @@ +"""Tests for some expected match behaviours""" +import unittest +import axelrod + +from hypothe...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_issue_reference" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
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", "pytest-cov" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9",...
attrs==25.3.0 -e git+https://github.com/Axelrod-Python/Axelrod.git@89651f45910f4b41a79c58358d9f5beca4197fc1#egg=Axelrod coverage==7.8.0 cycler==0.12.1 exceptiongroup==1.2.2 hypothesis==6.130.5 iniconfig==2.1.0 kiwisolver==1.4.7 matplotlib==3.3.4 numpy==2.0.2 packaging==24.2 pillow==11.1.0 pluggy==1.5.0 pyparsing==2.1.1...
name: Axelrod 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...
[ "axelrod/tests/integration/test_matches.py::TestMatchOutcomes::test_outcome_repeats", "axelrod/tests/unit/test_finite_state_machines.py::TestFSMPlayer::test_reset_initial_state", "axelrod/tests/unit/test_finite_state_machines.py::TestFortress3::test_reset_initial_state", "axelrod/tests/unit/test_finite_state_...
[]
[ "axelrod/tests/unit/test_finite_state_machines.py::TestPlayer::test_clone", "axelrod/tests/unit/test_finite_state_machines.py::TestPlayer::test_initialisation", "axelrod/tests/unit/test_finite_state_machines.py::TestPlayer::test_match_attributes", "axelrod/tests/unit/test_finite_state_machines.py::TestPlayer:...
[]
MIT License
592
ifosch__accloudtant-88
79e3cf915208ffd58a63412ffc87bd48f8bfb2dd
2016-06-24 12:10:46
33f90ff0bc1639c9fe793afd837eee80170caf3e
diff --git a/accloudtant/aws/instance.py b/accloudtant/aws/instance.py index d83c3dc..f360c03 100644 --- a/accloudtant/aws/instance.py +++ b/accloudtant/aws/instance.py @@ -28,6 +28,9 @@ class Instance(object): 'best': 0.0, } + def __repr__(self): + return "<accloudtant.aws.instance.In...
Iterate over appropriate subsets for performance improvement When generating reports, the code iterates over all instances, and all reserved instances, to get the links between these, the report should iterate over running instances and active reserved instances, only.
ifosch/accloudtant
diff --git a/tests/aws/conftest.py b/tests/aws/conftest.py index 0594830..5a97b58 100644 --- a/tests/aws/conftest.py +++ b/tests/aws/conftest.py @@ -65,6 +65,14 @@ def ec2_resource(): for instance in self.instances: yield MockEC2Instance(instance) + def filter(self, Filters=None):...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "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": "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...
-e git+https://github.com/ifosch/accloudtant.git@79e3cf915208ffd58a63412ffc87bd48f8bfb2dd#egg=accloudtant boto3==1.1.4 botocore==1.2.10 click==4.1 docutils==0.21.2 exceptiongroup==1.2.2 futures==2.2.0 iniconfig==2.1.0 jmespath==0.10.0 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 python-dateutil==2.9.0.post0 requests==2....
name: accloudtant 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-...
[ "tests/aws/test_reports.py::test_reports" ]
[]
[]
[]
null
597
closeio__freezefrog-3
c7089ad8d9b3900f2528a94b43bfc842f62023c9
2016-06-29 19:12:56
c7089ad8d9b3900f2528a94b43bfc842f62023c9
diff --git a/freezefrog/__init__.py b/freezefrog/__init__.py index 44a232a..60463f3 100644 --- a/freezefrog/__init__.py +++ b/freezefrog/__init__.py @@ -47,6 +47,12 @@ class FakeDateTime(with_metaclass(FakeDateTimeMeta, real_datetime)): cls._start = real_datetime.utcnow() return (real_datetime.utc...
FreezeFrog should also mock datetime.datetime.now FreezeFrog should raise an exception when datetime.datetime.now() is used without a TZ instead of not mocking it at all.
closeio/freezefrog
diff --git a/tests/__init__.py b/tests/__init__.py index dd74be2..093fc1c 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -27,3 +27,9 @@ class FreezeFrogTestCase(unittest.TestCase): end = datetime.datetime(2014, 1, 1, 0, 0, 1) self.assertTrue(start < dt < end) self.asser...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 0, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 1 }
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": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pytest --...
exceptiongroup==1.2.2 -e git+https://github.com/closeio/freezefrog.git@c7089ad8d9b3900f2528a94b43bfc842f62023c9#egg=freezefrog iniconfig==2.1.0 mock==1.3.0 packaging==24.2 pbr==6.1.1 pluggy==1.5.0 pytest==8.3.5 six==1.17.0 tomli==2.2.1
name: freezefrog 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/__init__.py::FreezeFrogTestCase::test_now" ]
[]
[ "tests/__init__.py::FreezeFrogTestCase::test_freeze", "tests/__init__.py::FreezeFrogTestCase::test_freeze_tick" ]
[]
MIT License
606
googlemaps__google-maps-services-python-139
8013de5d7c1b4867dcafb4449b97c1cebab33127
2016-07-13 00:34:27
2ccf0b2912019341aa60aeb65fc36ca6d9d02a56
diff --git a/googlemaps/convert.py b/googlemaps/convert.py index 1c2264e..6206cfa 100644 --- a/googlemaps/convert.py +++ b/googlemaps/convert.py @@ -220,9 +220,17 @@ def components(arg): :rtype: basestring """ + + # Components may have multiple values per type, here we + # expand them into individual ...
Allow user to append several values for same component filter type It would be nice to allow several values for same component type. Use case: You may want to filter sublocalities via locality component type ("locality matches against both locality and sublocality types") and in addition you may restrict result set b...
googlemaps/google-maps-services-python
diff --git a/test/test_convert.py b/test/test_convert.py index 851eda1..090a95f 100644 --- a/test/test_convert.py +++ b/test/test_convert.py @@ -91,6 +91,9 @@ class ConvertTest(unittest.TestCase): c = {"country": "US", "foo": 1} self.assertEqual("country:US|foo:1", convert.components(c)) + c ...
{ "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": 2, "test_score": 0 }, "num_modified_files": 1 }
2.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": [ "nose", "responses==0.3", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ...
certifi==2025.1.31 charset-normalizer==3.4.1 exceptiongroup==1.2.2 -e git+https://github.com/googlemaps/google-maps-services-python.git@8013de5d7c1b4867dcafb4449b97c1cebab33127#egg=googlemaps idna==3.10 iniconfig==2.1.0 mock==5.2.0 nose==1.3.7 packaging==24.2 pluggy==1.5.0 pytest==8.3.5 requests==2.10.0 responses==0.3....
name: google-maps-services-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=h6a678...
[ "test/test_convert.py::ConvertTest::test_components" ]
[]
[ "test/test_convert.py::ConvertTest::test_as_list", "test/test_convert.py::ConvertTest::test_bounds", "test/test_convert.py::ConvertTest::test_join_list", "test/test_convert.py::ConvertTest::test_latlng", "test/test_convert.py::ConvertTest::test_location_list", "test/test_convert.py::ConvertTest::test_poly...
[]
Apache License 2.0
626
EdinburghGenomics__EGCG-Core-11
a835cffab69da2193d4653f31230f0d487596b78
2016-07-15 13:03:14
43f124d6f77db73cff13117003295ad715d9aabc
diff --git a/egcg_core/ncbi.py b/egcg_core/ncbi.py index 13f74d6..69cc44c 100644 --- a/egcg_core/ncbi.py +++ b/egcg_core/ncbi.py @@ -76,7 +76,7 @@ def _fetch_from_eutils(species): rank = None if match: rank = match.group(1) - if rank == 'species': + if rank in ['species', 's...
Canis lupus familiaris NCBI query returns None Because _C. l. familiaris_ has `subspecies` in its efetch, the regex system in `fetch_from_eutils` breaks down. We should query the XML more robustly.
EdinburghGenomics/EGCG-Core
diff --git a/tests/test_ncbi.py b/tests/test_ncbi.py index ef931bb..af10556 100644 --- a/tests/test_ncbi.py +++ b/tests/test_ncbi.py @@ -24,6 +24,11 @@ def test_fetch_from_eutils(): <OtherNames><CommonName>a common name</CommonName></OtherNames> <Rank>species</Rank> ''' + ncbi_fetch_data_sub_s...
{ "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": 1, "test_score": 2 }, "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": [ "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 -e git+https://github.com/EdinburghGenomics/EGCG-Core.git@a835cffab69da2193d4653f31230f0d487596b78#egg=EGCG_Core exceptiongroup==1.2.2 genologics==1.0.0 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 tomli==2.2.1 urllib...
name: EGCG-Core 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_ncbi.py::test_fetch_from_eutils" ]
[]
[ "tests/test_ncbi.py::test_cache", "tests/test_ncbi.py::test_get_species_name" ]
[]
MIT License
634
simphony__simphony-remote-117
61ec23ffe44463cbc41f6fa54b4247963093ed79
2016-07-18 09:48:08
61ec23ffe44463cbc41f6fa54b4247963093ed79
diff --git a/remoteappmanager/restresources/container.py b/remoteappmanager/restresources/container.py index 864e1fd..3191c6b 100644 --- a/remoteappmanager/restresources/container.py +++ b/remoteappmanager/restresources/container.py @@ -202,7 +202,7 @@ class Container(Resource): server_url = "http://{}:{}{}/"....
remoteapprest app start error due to unfound `base_url` ``` (simremote)kit@kit-virtual-machine:jupyterhub$ remoteapprest app start 629b1d86d69bfb4b400dfee204f5e3a0 [W 160718 10:37:39 container:154] HOME (None) is not available for kit [I 160718 10:37:39 container_manager:218] Got container image: simphonyproject/sim...
simphony/simphony-remote
diff --git a/tests/restmodel/test_container.py b/tests/restmodel/test_container.py index f9862e9..ba87141 100644 --- a/tests/restmodel/test_container.py +++ b/tests/restmodel/test_container.py @@ -29,7 +29,7 @@ class TestContainer(AsyncHTTPTestCase): app.file_config = Mock() app.file_config.network_ti...
{ "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": 2 }, "num_modified_files": 1 }
0.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", "flake8", "sphinx", "coverage" ], "pre_install": [ "apt-get update", "apt-get install ...
alabaster==0.7.16 alembic==1.15.2 annotated-types==0.7.0 arrow==1.3.0 async-generator==1.10 attrs==25.3.0 babel==2.17.0 certifi==2025.1.31 certipy==0.2.2 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8 coverage==7.8.0 cryptography==44.0.2 docker-py==1.10.6 docker-pycreds==0.4.0 docutils==0.21.2 escapism==1.0.1 exce...
name: simphony-remote 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 - lib...
[ "tests/restmodel/test_container.py::TestContainer::test_create" ]
[]
[ "tests/restmodel/test_container.py::TestContainer::test_delete", "tests/restmodel/test_container.py::TestContainer::test_items", "tests/restmodel/test_container.py::TestContainer::test_retrieve" ]
[]
BSD 3-Clause "New" or "Revised" License
645
zalando-stups__senza-280
46c3172d27a4e02375f71a3aee408e73c668b5e0
2016-07-26 14:24:47
35b73f49b8cb58e7892908413bdf2a61cfe3058e
diff --git a/senza/manaus/acm.py b/senza/manaus/acm.py index 0c16faa..ad918e8 100644 --- a/senza/manaus/acm.py +++ b/senza/manaus/acm.py @@ -80,16 +80,16 @@ class ACMCertificate: arn = certificate['CertificateArn'] subject_alternative_name = certificate['SubjectAlternativeNames'] domain_valid...
ACM Cert lookup fails with KeyError ``` Generating Cloud Formation template.. EXCEPTION OCCURRED: 'Serial' Unknown Error: 'Serial'. Please create an issue with the content of /tmp/senza-traceback-078eseqg $ cat /tmp/senza-traceback-078eseqg Traceback (most recent call last): File "/usr/local/lib/python3.5/dis...
zalando-stups/senza
diff --git a/tests/test_manaus/test_acm.py b/tests/test_manaus/test_acm.py index 13691ed..51e12d4 100644 --- a/tests/test_manaus/test_acm.py +++ b/tests/test_manaus/test_acm.py @@ -85,6 +85,24 @@ CERT2 = {'CertificateArn': 'arn:aws:acm:eu-west-1:cert2', '*.senza.aws.example.net', ...
{ "commit_name": "head_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 }
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.9",...
boto3==1.37.23 botocore==1.37.23 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 clickclick==20.10.2 coverage==7.8.0 dnspython==1.15.0 dnspython3==1.15.0 exceptiongroup==1.2.2 idna==3.10 importlib_metadata==8.6.1 iniconfig==2.1.0 jmespath==1.0.1 packaging==24.2 pluggy==1.5.0 pystache==0.6.8 pytest==8.3.5 pyte...
name: senza 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_manaus/test_acm.py::test_certificate_valid" ]
[]
[ "tests/test_manaus/test_acm.py::test_certificate_comparison", "tests/test_manaus/test_acm.py::test_certificate_get_by_arn", "tests/test_manaus/test_acm.py::test_certificate_matches", "tests/test_manaus/test_acm.py::test_get_certificates", "tests/test_manaus/test_acm.py::test_arn_is_acm_certificate" ]
[]
Apache License 2.0
663
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
12