instance_id
stringlengths
12
57
base_commit
stringlengths
40
40
created_at
stringdate
2015-01-06 14:05:07
2025-04-29 17:56:51
environment_setup_commit
stringlengths
40
40
hints_text
stringlengths
0
158k
patch
stringlengths
261
20.8k
problem_statement
stringlengths
11
52.5k
repo
stringlengths
7
53
test_patch
stringlengths
280
206k
meta
dict
version
stringclasses
463 values
install_config
dict
requirements
stringlengths
93
34k
environment
stringlengths
772
20k
FAIL_TO_PASS
listlengths
1
856
FAIL_TO_FAIL
listlengths
0
536
PASS_TO_PASS
listlengths
0
7.87k
PASS_TO_FAIL
listlengths
0
92
license_name
stringclasses
35 values
__index_level_0__
int64
11
21.4k
num_tokens_patch
int64
103
4.99k
before_filepaths
listlengths
0
14
tianocore__edk2-pytool-library-698
12a2956838eafaa6ee36c0aba94b6819850fd2ec
2025-02-20 21:16:39
12a2956838eafaa6ee36c0aba94b6819850fd2ec
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/tianocore/edk2-pytool-library/pull/698?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tianocore) Report All modified and coverable lines are covered by tests :white_check_mark: > Project cove...
diff --git a/edk2toollib/uefi/edk2/parsers/base_parser.py b/edk2toollib/uefi/edk2/parsers/base_parser.py index 49f85c6..b6549ce 100644 --- a/edk2toollib/uefi/edk2/parsers/base_parser.py +++ b/edk2toollib/uefi/edk2/parsers/base_parser.py @@ -47,6 +47,7 @@ def __init__(self, log: str = "BaseParser") -> "BaseParser": ...
[Bug]: base_parser: !ifdef / !ifndef crashes when value defined as "" ### Contact Details _No response_ ### Describe the Bug The current base parser raises an exception when you have an `!ifdef` or `!ifndef` for a macro, and that macro is defined, but is defined as an empty string. This is because the string replace...
tianocore/edk2-pytool-library
diff --git a/tests.unit/parsers/test_base_parser.py b/tests.unit/parsers/test_base_parser.py index bdf870c..ea99511 100644 --- a/tests.unit/parsers/test_base_parser.py +++ b/tests.unit/parsers/test_base_parser.py @@ -53,49 +53,49 @@ def test_replace_macro_ifdef_dollarsign(self): parser = BaseParser("") ...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
0.22
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --co...
cffi==1.17.1 cfgv==3.4.0 chardet==5.2.0 coverage==7.6.1 cryptography==44.0.2 distlib==0.3.9 -e git+https://github.com/tianocore/edk2-pytool-library.git@12a2956838eafaa6ee36c0aba94b6819850fd2ec#egg=edk2_pytool_library filelock==3.18.0 gitdb==4.0.12 GitPython==3.1.44 greenlet==3.1.1 identify==2.6.9 iniconfig @ file:///ho...
name: edk2-pytool-library channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_i...
[ "tests.unit/parsers/test_base_parser.py::TestBaseParserConditionals::test_def_conditional_with_empty_define", "tests.unit/parsers/test_base_parser.py::TestBaseParserConditionals::test_replace_macro_ifdef", "tests.unit/parsers/test_base_parser.py::TestBaseParserConditionals::test_replace_macro_ifdef_dollarsign",...
[]
[ "tests.unit/parsers/test_base_parser.py::TestBaseParser::test_replace_boolean_constants", "tests.unit/parsers/test_base_parser.py::TestBaseParser::test_replace_macro_local_var_priority", "tests.unit/parsers/test_base_parser.py::TestBaseParser::test_replace_macro_using_dollarsign", "tests.unit/parsers/test_bas...
[]
BSD-2-Clause-Patent
21,103
662
[ "edk2toollib/uefi/edk2/parsers/base_parser.py" ]
mesonbuild__meson-14291
4386e2afe17f8a399d7c202476261c760cdce1e3
2025-02-22 12:41:28
1447fff171a5f6e76f9b56504f4f983a152eda79
diff --git a/mesonbuild/options.py b/mesonbuild/options.py index 838ccb794..8cad1d1ca 100644 --- a/mesonbuild/options.py +++ b/mesonbuild/options.py @@ -810,7 +810,13 @@ class OptionStore: assert key.subproject is not None if potential is not None and potential.yielding: paren...
Option refactor: Yielding option is broken when main project does not define it This breaks GStreamer: ``` subprojects/gst-plugins-good/meson.build:442:17: ERROR: Option asm does not exist for subproject gst-plugins-good. ``` That options is defined in `subprojects/gst-plugins-good/meson_options.txt` as follow: `option...
mesonbuild/meson
diff --git a/unittests/optiontests.py b/unittests/optiontests.py index bbf9c0e05..94d52ae2e 100644 --- a/unittests/optiontests.py +++ b/unittests/optiontests.py @@ -100,6 +100,22 @@ class OptionTests(unittest.TestCase): self.assertEqual(optstore.get_value_for(name, 'sub'), top_value) self.assertEqual(...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
1.7
{ "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-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt-get updat...
coverage==7.8.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work execnet==2.1.1 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work -e git+https://github.com/mesonbuild/meson.git@4386e2afe17f8a399d7c202476261c760cdce1e3#egg=meson packaging @ file:///croot/packaging_1734472117206/work...
name: meson channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_im...
[ "unittests/optiontests.py::OptionTests::test_project_yielding_not_defined_in_top_project" ]
[]
[ "unittests/optiontests.py::OptionTests::test_augment_set_sub", "unittests/optiontests.py::OptionTests::test_augments", "unittests/optiontests.py::OptionTests::test_basic", "unittests/optiontests.py::OptionTests::test_parsing", "unittests/optiontests.py::OptionTests::test_project_nonyielding", "unittests/o...
[]
Apache License 2.0
21,117
211
[ "mesonbuild/options.py" ]
neuroinformatics-unit__movement-432
470cf6aadc301ca8c47020fef570b0cebe0f5c03
2025-02-24 10:23:18
3b328a4e17e89a6421b8040a21075141f8e8c3f8
sonarqubecloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=neuroinformatics-unit_movement&pullRequest=432) **Quality Gate passed** Issues ![](https://sonarso...
diff --git a/movement/utils/vector.py b/movement/utils/vector.py index 965d269..16beb38 100644 --- a/movement/utils/vector.py +++ b/movement/utils/vector.py @@ -254,7 +254,7 @@ def compute_signed_angle_2d( angles = np.arctan2(cross, dot) # arctan2 returns values in [-pi, pi]. # We need to map -pi angles ...
compute_forward_vector_angle throws IndexError **Describe the bug** Calling the `compute_forward_vector_angle` on some "normal" movement datasets (e.g. our sample data) leads to an `IndexError`. <details> <summary>Expand to see the Traceback</summary> ```python --------------------------------------------------------...
neuroinformatics-unit/movement
diff --git a/tests/test_unit/test_vector.py b/tests/test_unit/test_vector.py index db43b03..57cbcc3 100644 --- a/tests/test_unit/test_vector.py +++ b/tests/test_unit/test_vector.py @@ -1,3 +1,4 @@ +from collections.abc import Iterable from contextlib import nullcontext as does_not_raise import numpy as np @@ -297,3...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
0.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pip", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": null, "python": "3.11...
attrs==25.3.0 Bottleneck==1.4.2 build==1.2.2.post1 cachetools==5.5.2 Cartopy==0.24.1 certifi==2025.1.31 cfgv==3.4.0 cftime==1.6.4.post1 chardet==5.2.0 charset-normalizer==3.4.1 check-manifest==0.50 codespell==2.4.1 colorama==0.4.6 contourpy==1.3.1 coverage==7.8.0 cycler==0.12.1 distlib==0.3.9 execnet==2.1.1 filelock==3...
name: movement channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4....
[ "tests/test_unit/test_vector.py::TestComputeSignedAngle::test_multidimensional_input[[1D]", "tests/test_unit/test_vector.py::TestComputeSignedAngle::test_multidimensional_input[[2D]" ]
[]
[ "tests/test_unit/test_vector.py::TestVector::test_cart2pol[cart_pol_dataset-expected_exception0]", "tests/test_unit/test_vector.py::TestVector::test_cart2pol[cart_pol_dataset_with_nan-expected_exception1]", "tests/test_unit/test_vector.py::TestVector::test_cart2pol[cart_pol_dataset_missing_cart_dim-expected_exc...
[]
BSD 3-Clause "New" or "Revised" License
21,130
161
[ "movement/utils/vector.py" ]
getsentry__sentry-python-4098
d5a09bcd18d1dde0a5e6cfeeabb6779174bbd4d4
2025-02-25 13:00:09
7406113dfd012ce35b52e18b7c1e1b711555d5e0
codecov[bot]: ### :x: 12 Tests Failed: | Tests completed | Failed | Passed | Skipped | |---|---|---|---| | 122 | 12 | 110 | 0 | <details><summary>View the top 3 failed test(s) by shortest run time</summary> > > ```python > tests.integrations.httpx.test_httpx test_crumb_capture_client_error[405-warning-httpx_client0] ...
diff --git a/sentry_sdk/integrations/opentelemetry/span_processor.py b/sentry_sdk/integrations/opentelemetry/span_processor.py index c7b3fa30..d82d6a03 100644 --- a/sentry_sdk/integrations/opentelemetry/span_processor.py +++ b/sentry_sdk/integrations/opentelemetry/span_processor.py @@ -18,6 +18,7 @@ from sentry_sdk.uti...
Port continuous profiler changes to POTEL See - https://github.com/getsentry/sentry-python/commit/2724d65aa6739e391bfc19e689b0c7f0f403b4aa - https://github.com/getsentry/sentry-python/commit/797e82ffb808cb0962c212b39b46204194aabdd9
getsentry/sentry-python
diff --git a/tests/profiler/test_continuous_profiler.py b/tests/profiler/test_continuous_profiler.py index 860307e2..a3c3e548 100644 --- a/tests/profiler/test_continuous_profiler.py +++ b/tests/profiler/test_continuous_profiler.py @@ -239,7 +239,7 @@ def test_continuous_profiler_auto_start_and_manual_stop( with ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
2.24
{ "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-asyncio", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements-...
APScheduler==3.11.0 asttokens==3.0.0 attrs==25.3.0 black==25.1.0 Brotli==1.1.0 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 dnspython==2.7.0 docker==7.1.0 docopt==0.6.2 exceptiongroup==1.2.2 exec...
name: sentry-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgc...
[ "tests/profiler/test_continuous_profiler.py::test_continuous_profiler_auto_start_and_stop_sampled[non-experiment-thread]", "tests/profiler/test_continuous_profiler.py::test_continuous_profiler_auto_start_and_stop_sampled[experiment-thread]" ]
[ "tests/profiler/test_continuous_profiler.py::test_continuous_profiler_invalid_mode[experiment-foo]" ]
[ "tests/profiler/test_continuous_profiler.py::test_continuous_profiler_invalid_mode[non-experiment-foo]", "tests/profiler/test_continuous_profiler.py::test_continuous_profiler_valid_mode[non-experiment-thread]", "tests/profiler/test_continuous_profiler.py::test_continuous_profiler_valid_mode[experiment-thread]",...
[]
MIT License
21,136
629
[ "sentry_sdk/integrations/opentelemetry/span_processor.py" ]
streamlink__streamlink-6455
b8247ffb1a26289039d8e5c00e4d55c061d0c373
2025-03-01 14:31:15
178d0dbde6167b0f1a83c9faabf1bf33ba0087d8
diff --git a/src/streamlink_cli/argparser.py b/src/streamlink_cli/argparser.py index a0cacd2e..bc6c18fd 100644 --- a/src/streamlink_cli/argparser.py +++ b/src/streamlink_cli/argparser.py @@ -816,13 +816,16 @@ def build_parser(): stream.add_argument( "--retry-streams", metavar="DELAY", - ty...
Extend the behavior of the CLI-argument "--retry-max" to disable retries altogether ### Checklist - [x] This is a feature request and not [a different kind of issue](https://github.com/streamlink/streamlink/issues/new/choose) - [x] [I have read the contribution guidelines](https://github.com/streamlink/streamlink/blob...
streamlink/streamlink
diff --git a/tests/cli/main/test_handle_url.py b/tests/cli/main/test_handle_url.py index 06460007..2e18a1dd 100644 --- a/tests/cli/main/test_handle_url.py +++ b/tests/cli/main/test_handle_url.py @@ -2,12 +2,13 @@ from __future__ import annotations import json import re +from typing import Iterator from unittest.mo...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 2 }
7.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.9", "reqs_path": [ "dev-requirements.txt" ], "test_cmd": "...
async-generator==1.10 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 exceptiongroup==1.2.2 freezegun==1.5.1 h11==0.14.0 idna==3.10 importlib_metadata==8.6.1 iniconfig==2.1.0 isodate==0.7.2 lxml==5.3.1 lxml-stubs==0.5.1 mypy==1.15.0 mypy-extensions==1.0.0 orjson==3.10.16 outcome==1.3.0.post0 ...
name: streamlink channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc-n...
[ "tests/cli/main/test_handle_url.py::test_handle_url_retry[no-retries-explicit]", "tests/cli/main/test_handle_url.py::test_handle_url_retry[fatal-plugin-error-on-first-attempt]" ]
[]
[ "tests/cli/main/test_handle_url.py::test_handle_url_text_output[no-plugin]", "tests/cli/main/test_handle_url.py::test_handle_url_text_output[fetch-streams-exception]", "tests/cli/main/test_handle_url.py::test_handle_url_text_output[no-streams]", "tests/cli/main/test_handle_url.py::test_handle_url_text_output[...
[]
BSD 2-Clause "Simplified" License
21,162
605
[ "src/streamlink_cli/argparser.py", "src/streamlink_cli/main.py" ]
matthewwithanm__python-markdownify-200
ac5736f0a3ccd072202aa99edcbe3cc31340461b
2025-03-01 16:01:32
5122c973c1a0d4351e64f02e2782912afbada9ef
diff --git a/markdownify/__init__.py b/markdownify/__init__.py index 3763a49..69ec328 100644 --- a/markdownify/__init__.py +++ b/markdownify/__init__.py @@ -106,6 +106,7 @@ def should_remove_whitespace_inside(el): return el.name in ('p', 'blockquote', 'article', 'div', 'section', ...
Definition lists do not insert required newlines If the HTML input does not contain any newlines around definition list tags: ```python import markdownify md = markdownify.MarkdownConverter().convert print(md(""" text<dl><dt>Term 1</dt><dd>Definition 1</dd><dt>Term 2</dt><dd>Definition 2</dd></dl>text """.strip())) ...
matthewwithanm/python-markdownify
diff --git a/tests/test_conversions.py b/tests/test_conversions.py index b406a9f..6939329 100644 --- a/tests/test_conversions.py +++ b/tests/test_conversions.py @@ -102,13 +102,13 @@ def test_code(): def test_dl(): - assert md('<dl><dt>term</dt><dd>definition</dd></dl>') == '\nterm\n: definition\n' - asser...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 1 }, "num_modified_files": 1 }
1.0
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.8", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --col...
beautifulsoup4==4.13.3 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work -e git+https://github.com/matthewwithanm/python-markdownify.git@ac5736f0a3ccd072202aa99edcbe3cc31340461b#egg=markdownify packaging @ file:///croot/packaging_172...
name: python-markdownify channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py38h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b...
[ "tests/test_conversions.py::test_dl" ]
[]
[ "tests/test_conversions.py::test_a", "tests/test_conversions.py::test_a_spaces", "tests/test_conversions.py::test_a_with_title", "tests/test_conversions.py::test_a_shortcut", "tests/test_conversions.py::test_a_no_autolinks", "tests/test_conversions.py::test_a_in_code", "tests/test_conversions.py::test_b...
[]
MIT License
21,163
379
[ "markdownify/__init__.py" ]
dask__dask-11803
0e1418f02576c81d80c96e9fbed31257345a9e5f
2025-03-03 16:20:15
a78141473222e253eefd30ab83685f210d8819cf
github-actions[bot]: ## Unit Test Results _See [test report](https://dask.github.io/dask/test_report.html) for an extended history of previous test failures. This is useful for diagnosing flaky tests._       9 files  ±0        9 suites  ±0   3h 27m 32s ⏱️ + 3m 33s  17 813 tests +1   16 598 ✅ + 1   1 215 💤 ±0  0 ❌ ±0 ...
diff --git a/dask/dataframe/dask_expr/_indexing.py b/dask/dataframe/dask_expr/_indexing.py index 7758c032d..b2b733472 100644 --- a/dask/dataframe/dask_expr/_indexing.py +++ b/dask/dataframe/dask_expr/_indexing.py @@ -15,10 +15,12 @@ from dask.dataframe.dask_expr import from_dask_array from dask.dataframe.dask_expr._co...
assertionerror when trying to compute reversed cumulative sum <!-- Please include a self-contained copy-pastable example that generates the issue if possible. Please be concise with code posted. See guidelines below on how to provide a good bug report: - Craft Minimal Bug Reports http://matthewrocklin.com/blog/work/2...
dask/dask
diff --git a/dask/dataframe/dask_expr/tests/test_indexing.py b/dask/dataframe/dask_expr/tests/test_indexing.py index fc476ad85..aba79a11e 100644 --- a/dask/dataframe/dask_expr/tests/test_indexing.py +++ b/dask/dataframe/dask_expr/tests/test_indexing.py @@ -4,6 +4,7 @@ import numpy as np import pytest from dask.data...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
2025.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[complete,test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.10", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb...
attrs==25.3.0 bokeh==3.7.2 cfgv==3.4.0 click==8.1.8 cloudpickle==3.1.1 contourpy==1.3.1 coverage==7.8.0 -e git+https://github.com/dask/dask.git@0e1418f02576c81d80c96e9fbed31257345a9e5f#egg=dask distlib==0.3.9 distributed==2025.2.0 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work execnet==2.1.1 filelock=...
name: dask 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 - exceptiongroup=1.2.0=py310h06a4308_0 - iniconfig=1...
[ "dask/dataframe/dask_expr/tests/test_indexing.py::test_reverse_indexing" ]
[]
[ "dask/dataframe/dask_expr/tests/test_indexing.py::test_iloc", "dask/dataframe/dask_expr/tests/test_indexing.py::test_iloc_errors", "dask/dataframe/dask_expr/tests/test_indexing.py::test_loc_slice", "dask/dataframe/dask_expr/tests/test_indexing.py::test_iloc_slice", "dask/dataframe/dask_expr/tests/test_index...
[]
BSD 3-Clause "New" or "Revised" License
21,173
771
[ "dask/dataframe/dask_expr/_indexing.py" ]
dag-hammarskjold-library__dlx-512
117817f3321b71ef5061a84aaf99877f514ecb1c
2025-03-03 18:49:04
aef49b3814de5d0bed103e5642fa3d8ab0ba96ed
diff --git a/dlx/marc/query.py b/dlx/marc/query.py index 47abc1b..b3cf408 100644 --- a/dlx/marc/query.py +++ b/dlx/marc/query.py @@ -109,9 +109,7 @@ class Query(): '''Returns: dlx.query.Condition''' # fully qualified syntax - match = re.match(r'(\d{3})(.)(.)([a-z0-9]):...
Regex in querystrings not properly matching beginning of strings The following regex in querystrings does not return the proper results: `520:/corn/`. Whereas this search does: `520:/.*corn/`. These should both return the same results. Adresses https://github.com/dag-hammarskjold-library/dlx-rest/issues/1643
dag-hammarskjold-library/dlx
diff --git a/tests/test_marc.py b/tests/test_marc.py index 519bbc4..6df7723 100644 --- a/tests/test_marc.py +++ b/tests/test_marc.py @@ -367,6 +367,10 @@ def test_querystring(db): query = Query.from_string('650:\'Header\'') results = list(BibSet.from_query(query.compile())) assert len(results) == 2 + + ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 1 }
1.4
{ "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": [ ...
attrs==25.3.0 boto3==1.37.0 botocore==1.37.27 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8 cryptography==44.0.2 -e git+https://github.com/dag-hammarskjold-library/dlx.git@117817f3321b71ef5061a84aaf99877f514ecb1c#egg=dlx dnspython==2.7.0 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 Jinja2=...
name: dlx 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_marc.py::test_querystring" ]
[]
[ "tests/test_marc.py::test_init_marc", "tests/test_marc.py::test_init_bib", "tests/test_marc.py::test_init_auth", "tests/test_marc.py::test_init_auth_check", "tests/test_marc.py::test_commit", "tests/test_marc.py::test_delete", "tests/test_marc.py::test_from_id", "tests/test_marc.py::test_querydocument...
[]
null
21,175
887
[ "dlx/marc/query.py" ]
angr__claripy-603
19da57b37f8ae2a6021c3e898e7d7390c84571e6
2025-03-04 01:00:43
19da57b37f8ae2a6021c3e898e7d7390c84571e6
diff --git a/claripy/backends/backend_z3.py b/claripy/backends/backend_z3.py index 3eb193bc..8f66cb96 100644 --- a/claripy/backends/backend_z3.py +++ b/claripy/backends/backend_z3.py @@ -546,6 +546,12 @@ class BackendZ3(Backend): if op_name == "fpToSBV": bv_size = z3.Z3_get_bv_sort_size(ctx, z3_so...
New versions of claripy cannot convert z3.SignExt properly and introduce BVNone ### Description ``` >>> import claripy >>> claripy.backends.z3._abstract(z3.SignExt(32,z3.BitVec('x',32))) <BVNone SignExt(32, x)> >>> claripy.__version__ '9.2.143' ``` vs. ``` >>> claripy.backends.z3._abstract(z3.SignExt(32,z3.BitVec('x',...
angr/claripy
diff --git a/tests/test_bv.py b/tests/test_bv.py index dd81d4cc..cafdb26b 100644 --- a/tests/test_bv.py +++ b/tests/test_bv.py @@ -126,6 +126,20 @@ class TestBv(unittest.TestCase): _check_exception(a, b, "SMod") _check_exception(a, b, "SDiv") + def test_signext_convert(self): + x = claripy...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
9.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[docs,testing]", "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.10", "reqs_path...
alabaster==1.0.0 babel==2.17.0 beautifulsoup4==4.13.3 cachetools==5.5.2 certifi==2025.1.31 charset-normalizer==3.4.1 -e git+https://github.com/angr/claripy.git@19da57b37f8ae2a6021c3e898e7d7390c84571e6#egg=claripy docutils==0.21.2 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work furo==2024.8.6 idna==3.10...
name: claripy 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 - exceptiongroup=1.2.0=py310h06a4308_0 - iniconfi...
[ "tests/test_bv.py::TestBv::test_signext_convert", "tests/test_bv.py::TestBv::test_zeroext_convert" ]
[]
[ "tests/test_bv.py::TestBv::test_bv", "tests/test_bv.py::TestBv::test_get_byte", "tests/test_bv.py::TestBv::test_get_bytes", "tests/test_bv.py::TestBv::test_none_value", "tests/test_bv.py::TestBv::test_type_errors", "tests/test_bv.py::TestBv::test_zero_division_errors", "tests/test_bv.py::TestBv::test_ze...
[]
BSD 2-Clause "Simplified" License
21,177
266
[ "claripy/backends/backend_z3.py" ]
huggingface__smolagents-868
e2a469032a3625b00048416437c02a57fde5d9cb
2025-03-04 07:10:10
ff7ba5117fa6329af1f7b21e6c174320c729bfb4
diff --git a/src/smolagents/cli.py b/src/smolagents/cli.py index 6d5c070..7d93a3b 100644 --- a/src/smolagents/cli.py +++ b/src/smolagents/cli.py @@ -79,7 +79,7 @@ def parse_arguments(description): return parser.parse_args() -def load_model(model_type: str, model_id: str, api_base: str | None, api_key: str | No...
[BUG] CI is broken: AssertionError with message role in test_action_step_to_messages **Describe the bug** CI is broken: https://github.com/huggingface/smolagents/actions/runs/13647944821/job/38150144811?pr=861 ``` FAILED tests/test_memory.py::test_action_step_to_messages - AssertionError: assert <MessageRole....: 'tool...
huggingface/smolagents
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e3592cc..9ac958d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -53,6 +53,11 @@ jobs: # run: | # uv run pytest ./tests/test_all_docs.py + - name: CLI tests + run: | + uv...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 4 }
1.9
{ "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.10", "reqs_path": [ "requirements.txt" ], "test_cmd": "pyt...
accelerate==1.6.0 aiofiles==23.2.1 aiohappyeyeballs==2.6.1 aiohttp==3.11.16 aioitertools==0.12.0 aiosignal==1.3.2 aiosqlite==0.21.0 alembic==1.15.2 annotated-types==0.7.0 anyio==4.9.0 arize-phoenix==8.21.0 arize-phoenix-client==1.1.0 arize-phoenix-evals==0.20.4 arize-phoenix-otel==0.9.0 asttokens==3.0.0 async-timeout==...
name: smolagents channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3....
[ "tests/test_cli.py::test_load_model_openai_server_model", "tests/test_cli.py::test_load_model_transformers_model", "tests/test_cli.py::test_load_model_hf_api_model", "tests/test_cli.py::test_load_model_invalid_model_type", "tests/test_local_python_executor.py::TestLocalPythonExecutorSecurity::test_vulnerabi...
[]
[ "tests/test_cli.py::test_load_model_litellm_model", "tests/test_local_python_executor.py::PythonInterpreterTester::test_access_attributes", "tests/test_local_python_executor.py::PythonInterpreterTester::test_adding_int_to_list_raises_error", "tests/test_local_python_executor.py::PythonInterpreterTester::test_...
[]
Apache License 2.0
21,178
968
[ "src/smolagents/cli.py", "src/smolagents/local_python_executor.py", "src/smolagents/memory.py", "src/smolagents/models.py" ]
Kozea__WeasyPrint-2398
20197135f56dcd886248e671058933c14cdf5f78
2025-03-04 16:26:42
fb462618190e87b4f0dec0bb677bcdea40b448a7
diff --git a/weasyprint/layout/inline.py b/weasyprint/layout/inline.py index da8a4405..d67806d2 100644 --- a/weasyprint/layout/inline.py +++ b/weasyprint/layout/inline.py @@ -1119,17 +1119,18 @@ def text_align(context, line, available_width, last): def justify_line(context, line, extra_width): # TODO: We should u...
"badly scaped name" causes PDF merge issues I tried to merge PDFs generated by WeasyPrint with `cpdf` v2.4 and v2.8 and ran into an error: ```txt Recovering from Lex error: Failure("int_of_string") Malformed file: odd length dictionary. Carrying on... <repeats> ``` When combined, the resulting PDF was missing the "ma...
Kozea/WeasyPrint
diff --git a/tests/draw/test_text.py b/tests/draw/test_text.py index 9d655f91..95440ba2 100644 --- a/tests/draw/test_text.py +++ b/tests/draw/test_text.py @@ -453,31 +453,6 @@ def test_text_align_justify(assert_pixels): <div>a c e</div>''') -def test_text_align_justify_nbsp(assert_pixels): - assert_pixels...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 3 }
64.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[doc,test]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-xdist", "ruff" ], "pre_install": [ "apt-get update", "apt-get install -y gcc ...
alabaster==0.7.16 babel==2.17.0 beautifulsoup4==4.13.3 Brotli==1.1.0 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 cssselect2==0.8.0 docutils==0.21.2 exceptiongroup==1.2.2 execnet==2.1.1 fonttools==4.57.0 furo==2024.8.6 idna==3.10 imagesize==1.4.1 importlib_metadata==8.6.1 iniconfig==2.1.0 Jinja2==3.1.6 Mar...
name: WeasyPrint 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_api.py::test_pdf_font_name" ]
[ "tests/draw/test_text.py::test_text_overflow_clip", "tests/draw/test_text.py::test_text_overflow_ellipsis", "tests/draw/test_text.py::test_text_align_rtl_trailing_whitespace", "tests/draw/test_text.py::test_max_lines_ellipsis", "tests/draw/test_text.py::test_line_clamp", "tests/draw/test_text.py::test_lin...
[ "tests/test_api.py::test_html_parsing", "tests/test_api.py::test_css_parsing", "tests/test_api.py::test_unknown_options", "tests/test_api.py::test_command_line_render", "tests/test_api.py::test_pdfa[1-1.4]", "tests/test_api.py::test_pdfa[2-1.7]", "tests/test_api.py::test_pdfa[3-1.7]", "tests/test_api....
[]
BSD 3-Clause "New" or "Revised" License
21,179
1,122
[ "weasyprint/layout/inline.py", "weasyprint/pdf/fonts.py", "weasyprint/text/line_break.py" ]
unionai-oss__pandera-1936
3409cb0886b37dd104a9d822b540c9c83bc14034
2025-03-06 02:18:04
3409cb0886b37dd104a9d822b540c9c83bc14034
diff --git a/pandera/api/pandas/model.py b/pandera/api/pandas/model.py index 3975e43..91658b5 100644 --- a/pandera/api/pandas/model.py +++ b/pandera/api/pandas/model.py @@ -214,7 +214,13 @@ class DataFrameModel(_DataFrameModel[pd.DataFrame, DataFrameSchema]): def _field_json_schema(field): return ...
Datasets that fail DataFrameModel validation unexpectedly alter field properties **Describe the bug** When a dataframe fails validation, it can corrupts the state of the `coerce` attribute for a particular field. In my case, a field is defined as coerce=True, but after trying to validate the bad dataset, the field now...
unionai-oss/pandera
diff --git a/tests/core/test_pydantic.py b/tests/core/test_pydantic.py index cf1755b..dc7c3c1 100644 --- a/tests/core/test_pydantic.py +++ b/tests/core/test_pydantic.py @@ -180,3 +180,31 @@ def test_invalid_seriesschema(): with pytest.raises(TypeError if PYDANTIC_V2 else ValidationError): SeriesSchemaPy...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 2 }
0.23
{ "env_vars": null, "env_yml_path": [ "environment.yml" ], "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-asyncio" ], "pre_install": null, ...
aiosignal==1.3.2 alabaster @ file:///home/conda/feedstock_root/build_artifacts/alabaster_1704848697227/work annotated-types @ file:///home/conda/feedstock_root/build_artifacts/annotated-types_1733247046149/work anyio @ file:///home/conda/feedstock_root/build_artifacts/bld/rattler-build_anyio_1742243108/work argcomplete...
name: pandera channels: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - _python_abi3_support=1.0=hd8ed1ab_1 - alabaster=0.7.16=pyhd8ed1ab_0 - annotated-types=0.7.0=pyhd8ed1ab_1 - anyio=4.9....
[ "tests/core/test_pydantic.py::test_model_with_extensiondtype_column[STRING-string-hello]", "tests/core/test_schemas.py::test_schema_coerce_preserve_value" ]
[]
[ "tests/core/test_pydantic.py::test_typed_dataframe", "tests/core/test_pydantic.py::test_invalid_typed_dataframe", "tests/core/test_pydantic.py::test_dataframemodel", "tests/core/test_pydantic.py::test_invalid_dataframemodel", "tests/core/test_pydantic.py::test_dataframemodel_inheritance", "tests/core/test...
[]
MIT License
21,193
597
[ "pandera/api/pandas/model.py", "pandera/backends/pandas/container.py" ]
J535D165__pyalex-64
4ef72fb080b850013fc19042cf2f5d30d2b70e38
2025-03-06 09:17:33
4ef72fb080b850013fc19042cf2f5d30d2b70e38
diff --git a/pyalex/api.py b/pyalex/api.py index f50fb2c..0e59d13 100644 --- a/pyalex/api.py +++ b/pyalex/api.py @@ -14,6 +14,26 @@ except ImportError: class AlexConfig(dict): + """Configuration class for OpenAlex API. + + Attributes + ---------- + email : str + Email address for API requests. +...
Calling `__next__` before `__iter__` on `Paginator` gives error The paginator class implements both `__iter__` and `__next__`, but if you call `__next__` before `__iter__` you get an error: ```[python] import pyalex pager = pyalex.Works().paginate() next(pager) ``` gives: ``` Traceback (most recent call last)...
J535D165/pyalex
diff --git a/tests/test_paging.py b/tests/test_paging.py index cf03007..1fad142 100644 --- a/tests/test_paging.py +++ b/tests/test_paging.py @@ -102,3 +102,7 @@ def test_cursor_paging_n_max_none(): def test_paging_with_sample(): with pytest.raises(ValueError): Authors().sample(1).paginate(method="cursor"...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
0.16
{ "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...
certifi==2025.1.31 charset-normalizer==3.4.1 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work execnet==2.1.1 idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/pluggy_1733169602837/work -e git+h...
name: pyalex channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_i...
[ "tests/test_paging.py::test_paging_next" ]
[]
[ "tests/test_paging.py::test_cursor", "tests/test_paging.py::test_page", "tests/test_paging.py::test_paginate_counts", "tests/test_paging.py::test_paginate_instance", "tests/test_paging.py::test_paginate_cursor_n_max", "tests/test_paging.py::test_cursor_paging_n_max_none", "tests/test_paging.py::test_pag...
[]
MIT License
21,195
4,471
[ "pyalex/api.py" ]
tefra__xsdata-1126
b6bd7e912ee346a0f5471543db31e2d6aa8a9809
2025-03-08 15:08:57
2b96e1d6c02684e8a866708b36635c44b2944a61
sonarqubecloud[bot]: ## [![Quality Gate Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png 'Quality Gate Passed')](https://sonarcloud.io/dashboard?id=tefra_xsdata&pullRequest=1126) **Quality Gate passed** Issues ![](https://sonarsource.github.io/so...
diff --git a/xsdata/codegen/handlers/process_attributes_types.py b/xsdata/codegen/handlers/process_attributes_types.py index cf44ac56..bbf52ee4 100644 --- a/xsdata/codegen/handlers/process_attributes_types.py +++ b/xsdata/codegen/handlers/process_attributes_types.py @@ -1,4 +1,4 @@ -from typing import Optional +from ty...
Enum naming conflict <details> <summary>Consider the following simple schema</summary> ``` <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Root"> <xs:complexType> <xs:sequence> <xs:element name="UniqueName1"> <xs:complexType> <xs:sequence> ...
tefra/xsdata
diff --git a/tests/codegen/handlers/test_process_attributes_types.py b/tests/codegen/handlers/test_process_attributes_types.py index 4652c807..d13ef335 100644 --- a/tests/codegen/handlers/test_process_attributes_types.py +++ b/tests/codegen/handlers/test_process_attributes_types.py @@ -372,6 +372,13 @@ class ProcessAtt...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 2 }
24.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[cli,lxml,soap]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest", "pytest-benchmark", "pytest-cov" ], "pre_install": null, "python": "3.10", "reqs_path": null, ...
certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 click-default-group==1.2.4 coverage==7.8.0 docformatter==1.7.5 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work Jinja2==3.1.6 lxml==5.3.1 MarkupSafe==3.0.2 packagi...
name: xsdata 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 - exceptiongroup=1.2.0=py310h06a4308_0 - iniconfig...
[ "tests/codegen/handlers/test_unnest_inner_classes.py::UnnestInnerClassesTests::test_update_types" ]
[]
[ "tests/codegen/handlers/test_process_attributes_types.py::ProcessAttributeTypesTests::test_cascade_properties", "tests/codegen/handlers/test_process_attributes_types.py::ProcessAttributeTypesTests::test_copy_attribute_properties", "tests/codegen/handlers/test_process_attributes_types.py::ProcessAttributeTypesTe...
[]
MIT License
21,207
879
[ "xsdata/codegen/handlers/process_attributes_types.py", "xsdata/codegen/handlers/unnest_inner_classes.py" ]
iris-hep__func_adl-176
2b6a6a82042349a29e0463439145f1ca9fbf934b
2025-03-11 03:49:48
ed624ca912e6ad70ff32acc14a6cb8a52a321492
diff --git a/func_adl/ast/syntatic_sugar.py b/func_adl/ast/syntatic_sugar.py index fc2658d..1e788db 100644 --- a/func_adl/ast/syntatic_sugar.py +++ b/func_adl/ast/syntatic_sugar.py @@ -1,4 +1,6 @@ import ast +import inspect +from dataclasses import is_dataclass from typing import Any, List from func_adl.util_ast i...
Named Tuples and data classes Data classes are very useful as typed objects to be passed around. As a way to avoid problems with dictionaries, allow typed data classes (or if untyped, then untyped!). This is being done in part to help with the [idap test](https://github.com/iris-hep/idap-200gbps-atlas/issues/47).
iris-hep/func_adl
diff --git a/tests/ast/test_syntatic_sugar.py b/tests/ast/test_syntatic_sugar.py index 75a85ac..d425102 100644 --- a/tests/ast/test_syntatic_sugar.py +++ b/tests/ast/test_syntatic_sugar.py @@ -1,8 +1,12 @@ import ast +from collections import namedtuple +from dataclasses import dataclass import pytest +from func_a...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 3 }, "num_modified_files": 2 }
3.4
{ "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": [ "make-it-sync", "pytest", "pytest-asyncio", "pytest-cov", "flake8", "coverage", "twine", "wheel", ...
anyio==4.9.0 astunparse==1.6.3 backports.tarfile==1.2.0 black==25.1.0 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8 coverage==7.8.0 cryptography==44.0.2 distlib==0.3.9 docutils==0.21.2 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work filelock==3.18.0 flake8==7.2.0 -e git+https:/...
name: func_adl 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/ast/test_syntatic_sugar.py::test_resolve_dataclass_no_args", "tests/ast/test_syntatic_sugar.py::test_resolve_dataclass_named_args", "tests/ast/test_syntatic_sugar.py::test_resolve_dataclass_mixed_args", "tests/ast/test_syntatic_sugar.py::test_resolve_dataclass_too_few_args", "tests/ast/test_syntatic_...
[]
[ "tests/ast/test_syntatic_sugar.py::test_resolve_normal_expression", "tests/ast/test_syntatic_sugar.py::test_resolve_listcomp", "tests/ast/test_syntatic_sugar.py::test_resolve_generator", "tests/ast/test_syntatic_sugar.py::test_resolve_listcomp_if", "tests/ast/test_syntatic_sugar.py::test_resolve_listcomp_2i...
[]
MIT License
21,223
1,185
[ "func_adl/ast/syntatic_sugar.py", "func_adl/util_ast.py" ]
modin-project__modin-7466
b8a6783a5cd05f55b89371833e9e1feaed7050cc
2025-03-11 21:15:20
69843fc55a3d9aacb8aa453562f5b78cf7360fbe
diff --git a/modin/pandas/series.py b/modin/pandas/series.py index 7245f0e6..ebf190cd 100644 --- a/modin/pandas/series.py +++ b/modin/pandas/series.py @@ -1714,6 +1714,29 @@ class Series(BasePandasDataset): mapper=mapper, index=index, axis=axis, copy=copy, inplace=inplace ) + def _set_axis_na...
BUG: Series.rename_axis raises AttributeError ### Modin version checks - [x] I have checked that this issue has not already been reported. - [x] I have confirmed this bug exists on the latest released version of Modin. - [x] I have confirmed this bug exists on the main branch of Modin. (In order to do this you can f...
modin-project/modin
diff --git a/modin/tests/pandas/test_series.py b/modin/tests/pandas/test_series.py index f4821c93..828cc158 100644 --- a/modin/tests/pandas/test_series.py +++ b/modin/tests/pandas/test_series.py @@ -5197,3 +5197,21 @@ def test_argmax_argmin_7413(op): result_md = getattr(series_md, op)() result_pd = getattr(se...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_git_commit_hash" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
0.32
{ "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": [ "pytest pytest-cov pytest-xdist pytest-benchmark", "pytest" ], "pre_install": [ "apt-get update", "apt-g...
aiobotocore==2.21.1 aiohappyeyeballs==2.6.1 aiohttp==3.11.16 aioitertools==0.12.0 aiosignal==1.3.2 alabaster==0.7.16 anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==3.0.0 asv==0.5.1 async-lru==2.0.5 async-timeout==5.0.1 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 black==25.1...
name: modin 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....
[ "modin/tests/pandas/test_series.py::test_rename_axis" ]
[]
[ "modin/tests/pandas/test_series.py::test_to_frame[int_data]", "modin/tests/pandas/test_series.py::test_to_frame[float_nan_data]", "modin/tests/pandas/test_series.py::test_to_list[int_data]", "modin/tests/pandas/test_series.py::test_to_list[float_nan_data]", "modin/tests/pandas/test_series.py::test_accessing...
[]
Apache License 2.0
21,232
304
[ "modin/pandas/series.py" ]
matchms__matchms-759
61c837f3a8e0d7ed946910bcf167937360809a9f
2025-03-12 16:11:38
61c837f3a8e0d7ed946910bcf167937360809a9f
diff --git a/matchms/filtering/peak_processing/normalize_intensities.py b/matchms/filtering/peak_processing/normalize_intensities.py index b80ac38e..1cf3a4d1 100644 --- a/matchms/filtering/peak_processing/normalize_intensities.py +++ b/matchms/filtering/peak_processing/normalize_intensities.py @@ -21,9 +21,8 @@ def nor...
load_from_usi API call is deprecated **Describe the bug** `load_from_usi` always returns None. **To Reproduce** Try to load any USI. Tested on the USI from the README and the documentation: ```python from matchms.importing import load_from_usi load_from_usi("mzspec:GNPS:GNPS-LIBRARY:accession:CCMSLIB00000424840") l...
matchms/matchms
diff --git a/tests/filtering/test_normalize_intensities.py b/tests/filtering/test_normalize_intensities.py index 4b149525..e5713d62 100644 --- a/tests/filtering/test_normalize_intensities.py +++ b/tests/filtering/test_normalize_intensities.py @@ -52,9 +52,8 @@ def test_normalize_intensities_all_zeros(caplog): sp...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 2 }
0.28
{ "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-cov", "prospector" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "p...
astroid==3.3.9 certifi==2025.1.31 charset-normalizer==3.4.1 contourpy==1.3.1 coverage==7.8.0 cycler==0.12.1 Deprecated==1.2.18 dill==0.3.9 dodgy==0.2.1 flake8==7.2.0 flake8-polyfill==1.0.2 fonttools==4.57.0 gitdb==4.0.12 GitPython==3.1.44 idna==3.10 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/wor...
name: matchms channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_impl_linux-64...
[ "tests/filtering/test_normalize_intensities.py::test_normalize_intensities_all_zeros", "tests/importing/test_load_from_usi.py::test_normal", "tests/importing/test_load_from_usi.py::test_api_call" ]
[]
[ "tests/filtering/test_normalize_intensities.py::test_normalize_intensities[mz0-intensities0]", "tests/filtering/test_normalize_intensities.py::test_normalize_intensities_losses_present[mz0-intensities0-metadata0-expected_losses0]", "tests/filtering/test_normalize_intensities.py::test_normalize_intensities_empty...
[]
Apache License 2.0
21,236
518
[ "matchms/filtering/peak_processing/normalize_intensities.py", "matchms/importing/load_from_usi.py" ]
dag-hammarskjold-library__dlx-524
437508ae10eb43ed8cb08c095c48aedf231a96b7
2025-03-12 17:36:38
aef49b3814de5d0bed103e5642fa3d8ab0ba96ed
diff --git a/dlx/marc/__init__.py b/dlx/marc/__init__.py index 968aa7d..7948e91 100644 --- a/dlx/marc/__init__.py +++ b/dlx/marc/__init__.py @@ -171,14 +171,12 @@ class MarcSet(): value = table.index[temp_id][field_name] # parse the column header into tag, code and pl...
Don't add 001 to seriazliations if there is no record ID New and temporary records don't have record IDs. In serialization to MRK, a 001 field with a value of None is being added to these records. The field should not be added at all.
dag-hammarskjold-library/dlx
diff --git a/tests/test_marc.py b/tests/test_marc.py index c980457..5df686a 100644 --- a/tests/test_marc.py +++ b/tests/test_marc.py @@ -726,6 +726,9 @@ def test_to_xml(db): control = '<record><controlfield tag="000">leader</controlfield><controlfield tag="001">1</controlfield><controlfield tag="008">controlfield<...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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": 1 }
1.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" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.txt" ], "test_cmd": "pyte...
attrs==25.3.0 boto3==1.37.10 botocore==1.37.27 certifi==2025.1.31 cffi==1.17.1 charset-normalizer==3.4.1 click==8.1.8 cryptography==44.0.2 -e git+https://github.com/dag-hammarskjold-library/dlx.git@437508ae10eb43ed8cb08c095c48aedf231a96b7#egg=dlx dnspython==2.7.0 exceptiongroup==1.2.2 idna==3.10 iniconfig==2.1.0 Jinja2...
name: dlx 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_marc.py::test_from_mrk", "tests/test_marc.py::test_from_xml", "tests/test_marcset.py::test_from_table" ]
[]
[ "tests/test_marc.py::test_init_marc", "tests/test_marc.py::test_init_bib", "tests/test_marc.py::test_init_auth", "tests/test_marc.py::test_init_auth_check", "tests/test_marc.py::test_commit", "tests/test_marc.py::test_delete", "tests/test_marc.py::test_from_id", "tests/test_marc.py::test_querydocument...
[]
null
21,237
1,556
[ "dlx/marc/__init__.py" ]
Point72__ccflow-55
aa8e661c50699fcb93a11f93c75981c83c369bb0
2025-03-12 23:59:17
aa8e661c50699fcb93a11f93c75981c83c369bb0
diff --git a/ccflow/exttypes/arrow.py b/ccflow/exttypes/arrow.py index dbed26c..ebdf79b 100644 --- a/ccflow/exttypes/arrow.py +++ b/ccflow/exttypes/arrow.py @@ -4,7 +4,7 @@ import narwhals.stable.v1 as nw import pyarrow as pa from pydantic import TypeAdapter from pydantic_core import core_schema -from typing_extensi...
Allow Validation of ArrowSchema External Type **Is your feature request related to a problem? Please describe.** Pydantic cannot validate the schema of the `ArrowSchema` ext type, requiring that any model containing them to allow arbitrary types. **Describe the solution you'd like** Allow validation of the `ArrowSchem...
Point72/ccflow
diff --git a/ccflow/tests/exttypes/test_arrow.py b/ccflow/tests/exttypes/test_arrow.py index ffafba8..2e82d7b 100644 --- a/ccflow/tests/exttypes/test_arrow.py +++ b/ccflow/tests/exttypes/test_arrow.py @@ -40,6 +40,24 @@ class TestArrowSchema(TestCase): # You can't actually construct the schema type (because th...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 1 }
0.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[develop]", "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 -...
aiosignal==1.3.2 annotated-types==0.7.0 antlr4-python3-runtime==4.9.3 anyio==4.9.0 asttokens==3.0.0 attrs==25.3.0 backports.tarfile==1.2.0 bracex==2.5.post1 build==1.2.2.post1 bump-my-version==1.1.1 -e git+https://github.com/Point72/ccflow.git@aa8e661c50699fcb93a11f93c75981c83c369bb0#egg=ccflow certifi==2025.1.31 cexpr...
name: ccflow channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - exceptiongroup=1.2.0=py39h06a4308_0 - iniconfig=1.1.1=pyhd3eb1b0_0 - ld_i...
[ "ccflow/tests/exttypes/test_arrow.py::TestArrowSchema::test_validate" ]
[]
[ "ccflow/tests/exttypes/test_arrow.py::TestArrowSchema::test_init", "ccflow/tests/exttypes/test_arrow.py::TestArrowTable::test_bad_type", "ccflow/tests/exttypes/test_arrow.py::TestArrowTable::test_missing_column", "ccflow/tests/exttypes/test_arrow.py::TestArrowTable::test_out_of_order", "ccflow/tests/exttype...
[]
Apache License 2.0
21,241
465
[ "ccflow/exttypes/arrow.py" ]
kedro-org__kedro-4570
f1f49e51bd6cfce827f9090fc3d10096d6edab9c
2025-03-13 09:57:45
6696353417c0435a227a9bd5cb3f353ed2758e1d
ElenaKhaustova: > Not sure why the code coverage is failing for python 3.9 ![Screenshot 2025-03-17 at 10 06 26](https://github.com/user-attachments/assets/313dcf11-1b19-4479-b20f-8cb49e457e47) I think that's because of odd continue
diff --git a/kedro/pipeline/pipeline.py b/kedro/pipeline/pipeline.py index b434bae4..b4e2c6fa 100644 --- a/kedro/pipeline/pipeline.py +++ b/kedro/pipeline/pipeline.py @@ -371,15 +371,17 @@ class Pipeline: @property def grouped_nodes_by_namespace(self) -> dict[str, dict[str, Any]]: - """Return a dicti...
Update node grouping API to only work with top level namespace ## Description re #4427 Currently the node grouping API i.e. `pipeline.grouped_nodes_by_namespace` treats nested namespaces as individual namespaces. They should be grouped on top level namespace groups only.
kedro-org/kedro
diff --git a/tests/pipeline/test_pipeline.py b/tests/pipeline/test_pipeline.py index 1315e759..848d33cf 100644 --- a/tests/pipeline/test_pipeline.py +++ b/tests/pipeline/test_pipeline.py @@ -452,6 +452,21 @@ class TestValidPipeline: names = [node.name for node in value["nodes"]] assert set(nam...
{ "commit_name": "merge_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.19
{ "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": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": null, "python": "3.9",...
aiobotocore==2.21.1 aiohappyeyeballs==2.6.1 aiohttp==3.11.16 aioitertools==0.12.0 aiosignal==1.3.2 alabaster==0.7.16 antlr4-python3-runtime==4.9.3 anyio==4.9.0 appdirs==1.4.4 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 asttokens==3.0.0 asv==0.6.4 asv_runner==0.2.1 async-lru==2.0.5 async-timeout==5.0.1...
name: kedro 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/pipeline/test_pipeline.py::TestValidPipeline::test_node_grouping_by_namespace_nested" ]
[]
[ "tests/pipeline/test_pipeline.py::test_deprecation", "tests/pipeline/test_pipeline.py::TestTranscodeHelpers::test_split_no_transcode_part", "tests/pipeline/test_pipeline.py::TestTranscodeHelpers::test_split_with_transcode", "tests/pipeline/test_pipeline.py::TestTranscodeHelpers::test_split_too_many_parts", ...
[]
Apache License 2.0
21,244
446
[ "kedro/pipeline/pipeline.py" ]
ASPP__pelita-863
ab9217f298fa4897b06e5e9e9e7fad7e29ba7114
2025-03-13 17:07:06
ab9217f298fa4897b06e5e9e9e7fad7e29ba7114
diff --git a/pelita/team.py b/pelita/team.py index a3ef1138..aea97327 100644 --- a/pelita/team.py +++ b/pelita/team.py @@ -726,6 +726,9 @@ class Bot: out.write(footer) return out.getvalue() + def __repr__(self): + return f'<Bot: {self.char} ({"blue" if self.is_blue else "red"}), {s...
Better Bot repr For reference, this is the current `repr(bot)`: <pelita.team.Bot object at 0x102778b90> This is `str(bot)`: ``` Playing on red side. Current turn: 1. Bot: y. Round: 1, score: 0:0. timeouts: 0:0 ################################ #. . #. . . #.y# # # #### ### . # . .x# # ...
ASPP/pelita
diff --git a/test/test_team.py b/test/test_team.py index f6db4eb9..babe7ccc 100644 --- a/test/test_team.py +++ b/test/test_team.py @@ -695,3 +695,34 @@ def test_bot_html_repr(): # check that all is good assert state['fatal_errors'] == [[], []] + +def test_bot_repr(): + test_layout = """ + ########...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 1 }
2.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest pytest-cov pytest-timestamper flit sphinx", "pytest" ], "pre_install": [ "python -m pip install --up...
alabaster==1.0.0 babel==2.17.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 coverage==7.8.0 docutils==0.21.2 flit==3.12.0 flit_core==3.12.0 idna==3.10 ifaddr==0.2.0 imagesize==1.4.1 iniconfig==2.1.0 Jinja2==3.1.6 markdown-it-py==3.0.0 MarkupSafe==3.0.2 mdurl==0.1.2 networkx==3.4.2 numpy==2.2.4 packaging==2...
name: pelita channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=...
[ "test/test_team.py::test_bot_repr" ]
[]
[ "test/test_team.py::TestStoppingTeam::test_stopping", "test/test_team.py::test_track_and_kill_count", "test/test_team.py::test_eaten_flag_kill[0]", "test/test_team.py::test_eaten_flag_kill[1]", "test/test_team.py::test_eaten_flag_kill[2]", "test/test_team.py::test_eaten_flag_kill[3]", "test/test_team.py...
[]
BSD License
21,246
200
[ "pelita/team.py" ]
dpkp__kafka-python-2548
cebfed210c7bca4a6c699df6748b008dbb7ce087
2025-03-16 16:28:51
a520232f267e396cd1f275799606019f023e0fff
diff --git a/kafka/conn.py b/kafka/conn.py index b276d3d..c941548 100644 --- a/kafka/conn.py +++ b/kafka/conn.py @@ -531,6 +531,9 @@ class BrokerConnection(object): if self._api_versions_future is None: if self.config['api_version'] is not None: self._api_version = self.config['ap...
`TypeError: exceptions must derive from BaseException` when unable to determine broker version Traceback of an error when we tried upgrading to 2.1.0 Scenario, we try to connect to a kafka broker that's just starting up (so failures and retries are expected) ``` /opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/...
dpkp/kafka-python
diff --git a/test/test_conn.py b/test/test_conn.py index ea88fd0..6af0149 100644 --- a/test/test_conn.py +++ b/test/test_conn.py @@ -69,6 +69,36 @@ def test_connect(_socket, conn, states): assert conn.state is state +def test_api_versions_check(_socket): + conn = BrokerConnection('localhost', 9092, sock...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 1 }, "num_modified_files": 2 }
2.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-mock" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements-dev.txt" ...
alabaster==0.7.16 astroid==3.3.9 babel==2.17.0 certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 coveralls==4.0.1 cramjam==2.9.1 crc32c==2.7.1 dill==0.3.9 docker-py==1.10.6 docker-pycreds==0.4.0 docopt==0.6.2 docutils==0.21.2 exceptiongroup==1.2.2 flake8==7.2.0 idna==3.10 imagesize==1.4.1 importlib_metadata=...
name: kafka-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgcc...
[ "test/test_conn.py::test_api_versions_check", "test/test_conn.py::test_api_versions_check_unrecognized" ]
[]
[ "test/test_conn.py::test_connect[states0]", "test/test_conn.py::test_connect[states1]", "test/test_conn.py::test_connect[states2]", "test/test_conn.py::test_connect[states3]", "test/test_conn.py::test_connect[states4]", "test/test_conn.py::test_connect_timeout", "test/test_conn.py::test_blacked_out", ...
[]
Apache License 2.0
21,261
990
[ "kafka/conn.py", "kafka/future.py" ]
autrainer__autrainer-115
174668001c70c03ef6f19ff60a232c473cc1f016
2025-03-16 18:08:10
8d86aa969d30209ed0c25c11c06d42791bb975d1
diff --git a/autrainer/transforms/specific_transforms.py b/autrainer/transforms/specific_transforms.py index 17867ec..cf95104 100644 --- a/autrainer/transforms/specific_transforms.py +++ b/autrainer/transforms/specific_transforms.py @@ -18,6 +18,7 @@ from transformers import ( ) from .abstract_transform import Abst...
Resolve Global Standardizer based on Transform Order The `Standardizer` transform was refactored in https://github.com/autrainer/autrainer/pull/82, allowing it to calculate the mean and std deviation on the fly before training for a specific subset. For simplicity, the transform has to be placed at the beginning of the...
autrainer/autrainer
diff --git a/tests/test_transforms.py b/tests/test_transforms.py index 824a0bd..cbd3231 100644 --- a/tests/test_transforms.py +++ b/tests/test_transforms.py @@ -386,7 +386,11 @@ class TestOpenSMILE: class TestStandardizer: - def _mock_dataset(self, feature_shape: List[int]) -> AbstractDataset: + def _mock_da...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
0.5
{ "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": [ "pytest pytest-cov pytest-xdist pytest-mock pytest-asyncio", "pytest" ], "pre_install": [ "apt-get update", ...
absl-py==2.2.2 albucore==0.0.23 albumentations==1.4.24 alembic==1.15.2 annotated-types==0.7.0 antlr4-python3-runtime==4.9.3 anyio==4.9.0 audeer==2.2.1 audformat==1.3.1 audinterface==1.2.3 audiofile==1.5.1 audiomentations==0.37.0 audioread==3.0.1 audmath==1.4.1 audmetric==1.2.2 audobject==0.7.11 audresample==1.3.3 audto...
name: autrainer 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_transforms.py::TestStandardizer::test_setup_multiple_setup", "tests/test_transforms.py::TestStandardizer::test_transform_order" ]
[]
[ "tests/test_transforms.py::TestAllTransforms::test_output_shape[AnyToTensor-params0-input_shape0-output_shape0]", "tests/test_transforms.py::TestAllTransforms::test_output_shape[Expand-params1-input_shape1-output_shape1]", "tests/test_transforms.py::TestAllTransforms::test_output_shape[GrayscaleToRGB-params2-in...
[]
MIT License
21,262
824
[ "autrainer/transforms/specific_transforms.py" ]
ej2__python-quickbooks-381
5efc53561e31a71870d0ed5417d07847d25502c0
2025-03-16 20:12:53
5efc53561e31a71870d0ed5417d07847d25502c0
diff --git a/quickbooks/client.py b/quickbooks/client.py index ef2a251..45d6ca4 100644 --- a/quickbooks/client.py +++ b/quickbooks/client.py @@ -76,14 +76,19 @@ class QuickBooks(object): if 'company_id' in kwargs: instance.company_id = kwargs['company_id'] - if 'minorversion' in kwargs: -...
Minor version should be 75 by default I see in `client.py` there is a condition that raises a deprecation warning if the minor version is less than 75. However, if the minor version is not passed as an argument it stays `None`. In this case, there is a condition in the method `make_request` that will not send the minor...
ej2/python-quickbooks
diff --git a/tests/unit/test_client.py b/tests/unit/test_client.py index 6231eae..6740b7c 100644 --- a/tests/unit/test_client.py +++ b/tests/unit/test_client.py @@ -47,7 +47,8 @@ class ClientTest(QuickbooksUnitTestCase): self.assertEqual(self.qb_client.minorversion, 74) self.assertEqual(len(w)...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
0.9
{ "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", "coverage", "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements.t...
certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 ecdsa==0.19.1 enum-compat==0.0.3 exceptiongroup==1.2.2 future==1.0.0 idna==3.10 iniconfig==2.1.0 intuit-oauth==1.2.4 nose==1.3.7 oauthlib==3.2.2 packaging==24.2 pluggy==1.5.0 pyasn1==0.4.8 pytest==8.3.5 python-dateutil==2.9.0.post0 python-jose==3.4.0 -e git+h...
name: python-quickbooks channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - l...
[ "tests/unit/test_client.py::ClientTest::test_get_report", "tests/unit/test_client.py::ClientTest::test_get_single_object", "tests/unit/test_client.py::ClientTest::test_get_single_object_with_params", "tests/unit/test_client.py::ClientTest::test_make_request", "tests/unit/test_client.py::ClientTest::test_upd...
[ "tests/unit/test_client.py::ClientTest::test_client_with_deprecated_minor_version" ]
[ "tests/unit/test_client.py::ClientTest::test_api_url", "tests/unit/test_client.py::ClientTest::test_api_url_sandbox", "tests/unit/test_client.py::ClientTest::test_batch_operation", "tests/unit/test_client.py::ClientTest::test_client_new", "tests/unit/test_client.py::ClientTest::test_create_object", "tests...
[]
MIT License
21,263
967
[ "quickbooks/client.py" ]
nilearn__nilearn-5242
defce5dc78faa2a4f1ad320307f2f02c43a9a127
2025-03-17 14:36:39
65fb1e9803ec04b293b845499423b3ed63d19e3b
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/nilearn/nilearn/pull/5242?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=nilearn) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 95.40%....
diff --git a/examples/02_decoding/plot_haxby_searchlight.py b/examples/02_decoding/plot_haxby_searchlight.py index 7486a3b86..914c4c48f 100644 --- a/examples/02_decoding/plot_haxby_searchlight.py +++ b/examples/02_decoding/plot_haxby_searchlight.py @@ -16,11 +16,11 @@ the :term:`fMRI` (see the generated figures). # --...
Excessive number of warning when running searchlight Just ran `examples/02_decoding/plot_haxby_searchlight.py` and getting MANY non convergence warning: ``` warnings.warn( /home/remi/miniconda3/lib/python3.12/site-packages/sklearn/svm/_base.py:1235: ConvergenceWarning: Liblinear failed to converge, increase the numb...
nilearn/nilearn
diff --git a/nilearn/connectome/tests/test_connectivity_matrices.py b/nilearn/connectome/tests/test_connectivity_matrices.py index dbefbd0de..cd509da85 100644 --- a/nilearn/connectome/tests/test_connectivity_matrices.py +++ b/nilearn/connectome/tests/test_connectivity_matrices.py @@ -7,11 +7,13 @@ import pytest from n...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 8 }
0.11
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
alabaster==0.7.16 ansi2html==1.9.2 babel==2.17.0 beautifulsoup4==4.13.3 cachetools==5.5.2 certifi==2025.1.31 chardet==5.2.0 charset-normalizer==3.4.1 colorama==0.4.6 contourpy==1.3.0 coverage==7.8.0 cycler==0.12.1 distlib==0.3.9 docutils==0.21.2 exceptiongroup==1.2.2 execnet==2.1.1 filelock==3.18.0 fonttools==4.57.0 fu...
name: nilearn 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...
[ "nilearn/connectome/tests/test_connectivity_matrices.py::test_check_estimator_group_sparse_covariance[estimator19-check19-check_transformer_n_iter]", "nilearn/connectome/tests/test_connectivity_matrices.py::test_check_estimator_group_sparse_covariance[estimator28-check_estimator_has_sklearn_is_fitted-check_estima...
[]
[ "nilearn/connectome/tests/test_connectivity_matrices.py::test_connectivity_measure_generic[tangent-cov_estimator1]", "nilearn/connectome/tests/test_connectivity_matrices.py::test_geometric_mean_properties", "nilearn/connectome/tests/test_connectivity_matrices.py::test_connectivity_measure_check_inverse_transfor...
[]
New BSD License
21,268
2,491
[ "examples/02_decoding/plot_haxby_searchlight.py", "nilearn/_utils/estimator_checks.py", "nilearn/_utils/helpers.py", "nilearn/decoding/searchlight.py", "nilearn/glm/_utils.py", "nilearn/glm/first_level/first_level.py", "nilearn/glm/first_level/hemodynamic_models.py", "nilearn/surface/surface.py" ]
pydap__pydap-455
21f3b0ea1ee9341deec055059ed445b2da9ce9b7
2025-03-17 20:57:59
d5269088ceb67937ac510a32e9a083c8160b7815
diff --git a/src/pydap/parsers/das.py b/src/pydap/parsers/das.py index c2c4daf..bda6dcc 100644 --- a/src/pydap/parsers/das.py +++ b/src/pydap/parsers/das.py @@ -108,8 +108,20 @@ def add_attributes(dataset, attributes): Returns the dataset with added attributes. """ - dataset.attributes["NC_GLOBAL"] = ...
das parser does not flatten container type attributes (`NC_Global` and `DODS_Extra`) My understanding is that `NC_Global` and `DODS_extra` are global, container type attributes that opendap servers should no longer support, but many servers continue to support these. As a result, pydap is able to flatten these containe...
pydap/pydap
diff --git a/src/pydap/tests/test_client.py b/src/pydap/tests/test_client.py index fc7fbbc..69c5ef5 100644 --- a/src/pydap/tests/test_client.py +++ b/src/pydap/tests/test_client.py @@ -210,8 +210,8 @@ def test_open_dods_16bits(sequence_app): def test_open_dods_with_attributes(sequence_app): """Open the dods respo...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
3.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[server,netcdf]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pip", "pip_packages": [ "pytest", "pytest-cov", "pytest-attrib", "requests-mock", "WebTest", "flake8", "werkzeug>=2.2.2", ...
attrs==25.3.0 beautifulsoup4==4.13.3 cattrs==24.1.3 certifi==2025.1.31 cffi==1.17.1 cftime==1.6.4.post1 charset-normalizer==3.4.1 coards==1.0.5 coverage==7.8.0 cryptography==44.0.2 docopt-ng==0.9.0 exceptiongroup==1.2.2 flake8==7.2.0 gsw==3.6.19 gunicorn==23.0.0 idna==3.10 iniconfig==2.1.0 Jinja2==3.1.6 lxml==5.3.1 Mar...
name: pydap channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h...
[ "src/pydap/tests/test_client.py::test_open_dods_with_attributes", "src/pydap/tests/test_parsers_das.py::TestParseDAS::test_global_attributes" ]
[]
[ "src/pydap/tests/test_client.py::test_open_url", "src/pydap/tests/test_client.py::test_open_url_dap4", "src/pydap/tests/test_client.py::test_open_url_dap4_shape", "src/pydap/tests/test_client.py::test_open_url_seqCE", "src/pydap/tests/test_client.py::test_session_client[None]", "src/pydap/tests/test_clien...
[]
MIT License
21,273
296
[ "src/pydap/parsers/das.py" ]
googleapis__python-genai-541
2d12f544bc3f8d1e2720855f0fe3519881baaeb0
2025-03-20 08:19:18
2d12f544bc3f8d1e2720855f0fe3519881baaeb0
diff --git a/google/genai/chats.py b/google/genai/chats.py index a0f2b3c..5e6ce5a 100644 --- a/google/genai/chats.py +++ b/google/genai/chats.py @@ -19,7 +19,7 @@ from typing import AsyncIterator, Awaitable, Optional, Union, get_args from . import _transformers as t from . import types from .models import AsyncModel...
Getting `AttributeError: 'dict' object has no attribute 'role'` when trying to use chats interface When trying to use chat interface with populated chat history, I get an error saying `AttributeError: 'dict' object has no attribute 'role'` which the error suddenly appears, and this hasn't been an issue before, this sho...
googleapis/python-genai
diff --git a/google/genai/tests/chats/test_get_history.py b/google/genai/tests/chats/test_get_history.py index 40df837..8606b8d 100644 --- a/google/genai/tests/chats/test_get_history.py +++ b/google/genai/tests/chats/test_get_history.py @@ -15,13 +15,14 @@ from unittest import mock -from ... import types -from ......
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 2 }, "num_modified_files": 1 }
1.7
{ "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": [ ...
absl-py==2.1.0 annotated-types==0.7.0 anyio==4.8.0 cachetools==5.5.0 certifi==2024.8.30 charset-normalizer==3.4.0 coverage==7.6.9 exceptiongroup==1.2.2 google-auth==2.37.0 -e git+https://github.com/googleapis/python-genai.git@2d12f544bc3f8d1e2720855f0fe3519881baaeb0#egg=google_genai h11==0.14.0 httpcore==1.0.7 httpx==0...
name: python-genai 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...
[ "google/genai/tests/chats/test_get_history.py::test_sync_chat_create_with_history_dict", "google/genai/tests/chats/test_get_history.py::test_async_chat_create_with_history_dict" ]
[]
[ "google/genai/tests/chats/test_get_history.py::test_history_start_with_model_content", "google/genai/tests/chats/test_get_history.py::test_unrecognized_role_in_history", "google/genai/tests/chats/test_get_history.py::test_sync_chat_create", "google/genai/tests/chats/test_get_history.py::test_async_chat_create...
[]
Apache License 2.0
21,283
718
[ "google/genai/chats.py" ]
Materials-Consortia__optimade-python-tools-2250
98cb352464082019f10b6c7b0659c53f6240fbbb
2025-03-20 13:08:43
e2732329cceb411983099fbf04fef09434848b3e
diff --git a/optimade/client/client.py b/optimade/client/client.py index 5f592aaa..d225773f 100644 --- a/optimade/client/client.py +++ b/optimade/client/client.py @@ -90,6 +90,12 @@ class OptimadeClient: max_attempts: int """The maximum number of times to repeat a failed query before giving up.""" + max_...
Client can be forced into infinite loop by bad API responses Reported by @mehmetgiritli (and then addressed in #2248). Currently the `OptimadeClient` will happily visit an infinite loop of `next_url`s if provided by an API, even if no data is served. This is fixed in #2248 by halting operation if the page contains n...
Materials-Consortia/optimade-python-tools
diff --git a/tests/server/test_client.py b/tests/server/test_client.py index 69d9b7bb..aa89db2b 100644 --- a/tests/server/test_client.py +++ b/tests/server/test_client.py @@ -599,3 +599,34 @@ async def test_raw_get_one_async(async_http_client): paginate=False, ) assert len(override[TEST_URL].data) ==...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "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": 1 }
1.2
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": [ "git submodule update --init" ], "python": "3.10", "reqs_path": [ "requir...
annotated-types==0.7.0 anyio==4.9.0 babel==2.17.0 backrefs==5.8 bracex==2.5.post1 build==1.2.2.post1 certifi==2025.1.31 cfgv==3.4.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 distlib==0.3.9 dnspython==2.7.0 email_validator==2.2.0 exceptiongroup==1.2.2 fastapi==0.115.12 filelock==3.18.0 ghp-i...
name: optimade-python-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 - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 ...
[ "tests/server/test_client.py::test_guardrail_async", "tests/server/test_client.py::test_guardrail_sync" ]
[]
[ "tests/server/test_client.py::test_client_endpoints[False]", "tests/server/test_client.py::test_client_endpoints[True]", "tests/server/test_client.py::test_filter_validation[True]", "tests/server/test_client.py::test_filter_validation[False]", "tests/server/test_client.py::test_client_response_fields[True]"...
[]
MIT License
21,284
1,138
[ "optimade/client/client.py" ]
getsentry__sentry-python-4179
5715734eac1c5fb4b6ec61ef459080c74fa777b5
2025-03-20 16:23:17
dd02f574e1248e94edd8329eb0d3fbc9b7596276
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/getsentry/sentry-python/pull/4179?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage ...
diff --git a/sentry_sdk/tracing_utils.py b/sentry_sdk/tracing_utils.py index 6aa4e488..ba566957 100644 --- a/sentry_sdk/tracing_utils.py +++ b/sentry_sdk/tracing_utils.py @@ -5,7 +5,7 @@ import re import sys from collections.abc import Mapping from datetime import timedelta -from decimal import ROUND_DOWN, Decimal +...
Sentry crashing - python 3.11, AWS Lambda - x86_64 ### How do you use Sentry? Sentry Saas (sentry.io) ### Version 2.23.1 ### Steps to Reproduce Invoke a lambda more than once. The first time works. All subsequent invocations fail. ### Expected Result No crash. :) ### Actual Result Crashes with the following s...
getsentry/sentry-python
diff --git a/tests/tracing/test_sample_rand.py b/tests/tracing/test_sample_rand.py index b8f5c042..ef277a3d 100644 --- a/tests/tracing/test_sample_rand.py +++ b/tests/tracing/test_sample_rand.py @@ -1,3 +1,4 @@ +import decimal from unittest import mock import pytest @@ -53,3 +54,28 @@ def test_transaction_uses_inco...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 1 }
2.23
{ "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-asyncio" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python...
APScheduler==3.11.0 asttokens==3.0.0 attrs==25.3.0 black==25.1.0 Brotli==1.1.0 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 dnspython==2.7.0 docker==7.1.0 docopt==0.6.2 exceptiongroup==1.2.2 exec...
name: sentry-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgc...
[ "tests/tracing/test_sample_rand.py::test_decimal_context" ]
[]
[ "tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.0]", "tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.25]", "tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.5]", "tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.75]", "tests/tra...
[]
MIT License
21,286
280
[ "sentry_sdk/tracing_utils.py" ]
zwicker-group__py-pde-683
69fe10cfeaa20dd9454bfa8e9adfa9769026baae
2025-03-21 15:58:57
69fe10cfeaa20dd9454bfa8e9adfa9769026baae
diff --git a/pde/trackers/base.py b/pde/trackers/base.py index b5bdec1..a15b47a 100644 --- a/pde/trackers/base.py +++ b/pde/trackers/base.py @@ -92,7 +92,7 @@ class TrackerBase(metaclass=ABCMeta): float: The first time the tracker needs to handle data """ if info is not None: - ...
Wrong storage times for explicit/implicit integrator with an interval time range ### Discussed in https://github.com/zwicker-group/py-pde/discussions/681 <div type='discussions-op-text'> <sup>Originally posted by **nyuhanc** March 21, 2025</sup> Hello, first thank you for writing this nice repo. I think I have foun...
zwicker-group/py-pde
diff --git a/tests/trackers/test_interrupts.py b/tests/trackers/test_interrupts.py index d861d4e..a56b98d 100644 --- a/tests/trackers/test_interrupts.py +++ b/tests/trackers/test_interrupts.py @@ -5,6 +5,7 @@ import numpy as np import pytest +import pde from pde.trackers.interrupts import ( ConstantInterrupts...
{ "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": 1 }, "num_modified_files": 1 }
0.44
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest>=5.4", "pytest-cov>=2.8", "pytest-xdist>=1.30", "ruff>=0.6", "pytest" ], "pre_install": [ ...
contourpy==1.3.0 coverage==7.8.0 cycler==0.12.1 exceptiongroup==1.2.2 execnet==2.1.1 fonttools==4.57.0 importlib_resources==6.5.2 iniconfig==2.1.0 kiwisolver==1.4.7 llvmlite==0.43.0 matplotlib==3.9.4 mpmath==1.3.0 numba==0.60.0 numpy==2.0.2 packaging==24.2 pillow==11.1.0 pluggy==1.5.0 -e git+https://github.com/zwicker-...
name: py-pde 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/trackers/test_interrupts.py::test_interrupt_integrated[1]" ]
[]
[ "tests/trackers/test_interrupts.py::test_interrupt_constant", "tests/trackers/test_interrupts.py::test_interrupt_tstart", "tests/trackers/test_interrupts.py::test_interrupt_logarithmic", "tests/trackers/test_interrupts.py::test_interrupt_logarithmic_seq", "tests/trackers/test_interrupts.py::test_interrupt_g...
[]
MIT License
21,292
164
[ "pde/trackers/base.py" ]
lmmentel__mendeleev-233
a19f676ebc7346343301df6fd7d0ab7f0eb74d99
2025-03-22 17:03:10
9c4c1efab8fccb11166d0d636a3d4a3f9408d71c
diff --git a/mendeleev/electronegativity.py b/mendeleev/electronegativity.py index 514aac5..608a4a6 100644 --- a/mendeleev/electronegativity.py +++ b/mendeleev/electronegativity.py @@ -43,6 +43,38 @@ def n_effective(n: int, source: str = "slater") -> Union[float, None]: ) +def interpolate_property( + x:...
[MNT] Move `fetch_attrs_for_group` and `estimate_from_group` from `models.py` to `electronegativity.py` **Is your feature request related to a problem? Please describe.** **Describe the solution you'd like** The two functions are only needed for calculating Sanderson's electronegativity and should live in the electro...
lmmentel/mendeleev
diff --git a/tests/test_electronegativity.py b/tests/test_electronegativity.py index e821873..d5e590e 100644 --- a/tests/test_electronegativity.py +++ b/tests/test_electronegativity.py @@ -2,16 +2,17 @@ import pytest from mendeleev.models import Element from mendeleev.electronegativity import ( - n_effective, ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 2 }
0.20
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-xdist" ], "pre_install": [ "apt-get update", "apt-get install -y gcc...
annotated-types==0.7.0 colorama==0.4.6 coverage==7.8.0 Deprecated==1.2.18 exceptiongroup==1.2.2 execnet==2.1.1 greenlet==3.1.1 iniconfig==2.1.0 -e git+https://github.com/lmmentel/mendeleev.git@a19f676ebc7346343301df6fd7d0ab7f0eb74d99#egg=mendeleev numpy==1.26.4 packaging==24.2 pandas==2.2.3 pluggy==1.5.0 pydantic==2.11...
name: mendeleev 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_electronegativity.py::test_sanderson", "tests/test_electronegativity.py::test_n_effective", "tests/test_electronegativity.py::test_mulliken", "tests/test_electronegativity.py::test_nagle", "tests/test_electronegativity.py::test_martynov_batsanov", "tests/test_electronegativity.py::test_allred_...
[]
[]
[]
MIT License
21,299
1,749
[ "mendeleev/electronegativity.py", "mendeleev/models.py" ]
networkx__networkx-7928
f02879d8bd86e7634c384d896e356d02611bcb26
2025-03-23 18:51:07
f02879d8bd86e7634c384d896e356d02611bcb26
diff --git a/networkx/algorithms/centrality/betweenness.py b/networkx/algorithms/centrality/betweenness.py index 42e09771d..df8f21d10 100644 --- a/networkx/algorithms/centrality/betweenness.py +++ b/networkx/algorithms/centrality/betweenness.py @@ -127,6 +127,12 @@ def betweenness_centrality( https://doi.org/10...
cytoscape JSON is not valid The cytoscape JSON exporter does not export valid JSON. ### Current Behavior The `networkx.cytoscape_data` function serializes a dictionary into a string, using regular Python string serialization. However, this uses: - single quote for strings, - raw values for booleans, thus with an ...
networkx/networkx
diff --git a/networkx/algorithms/centrality/tests/test_betweenness_centrality.py b/networkx/algorithms/centrality/tests/test_betweenness_centrality.py index 4c059cf98..d92338112 100644 --- a/networkx/algorithms/centrality/tests/test_betweenness_centrality.py +++ b/networkx/algorithms/centrality/tests/test_betweenness_c...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 4 }
3.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[default]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest>=7.2", "pytest-cov>=4.0", "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": [ ...
contourpy==1.3.1 coverage==7.8.0 cycler==0.12.1 fonttools==4.57.0 iniconfig==2.1.0 kiwisolver==1.4.8 matplotlib==3.10.1 -e git+https://github.com/networkx/networkx.git@f02879d8bd86e7634c384d896e356d02611bcb26#egg=networkx numpy==2.2.4 packaging==24.2 pandas==2.2.3 pillow==11.1.0 pluggy==1.5.0 pyparsing==3.2.3 pytest==8...
name: networkx channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4....
[ "networkx/algorithms/centrality/tests/test_betweenness_centrality.py::TestBetweennessCentrality::test_sample_from_P3", "networkx/algorithms/centrality/tests/test_betweenness_centrality.py::TestBetweennessCentrality::test_scale_with_k_on_star_graph[True-False-True-1-expected5]", "networkx/algorithms/centrality/t...
[]
[ "networkx/algorithms/centrality/tests/test_betweenness_centrality.py::TestBetweennessCentrality::test_K5", "networkx/algorithms/centrality/tests/test_betweenness_centrality.py::TestBetweennessCentrality::test_K5_endpoints", "networkx/algorithms/centrality/tests/test_betweenness_centrality.py::TestBetweennessCen...
[]
BSD 3-Clause
21,301
1,855
[ "networkx/algorithms/centrality/betweenness.py", "networkx/algorithms/cycles.py", "networkx/drawing/layout.py", "networkx/readwrite/json_graph/cytoscape.py" ]
iterative__dvc-10711
31270c14e30901ae5b178f72c67a83efe070768c
2025-03-26 16:15:37
31270c14e30901ae5b178f72c67a83efe070768c
RMCrean: Thanks for the suggestions and advice, I've added a new commit to implement idea 2 which I think is now ready for review. I decide to not change the ordering or the remotes (to put the default first) like I had initially done for the sake of keeping the code simpler. Of course, happy to reorder if preferred. ...
diff --git a/dvc/commands/remote.py b/dvc/commands/remote.py index 4b6921dd7..325eeda25 100644 --- a/dvc/commands/remote.py +++ b/dvc/commands/remote.py @@ -110,8 +110,16 @@ class CmdRemoteDefault(CmdRemote): class CmdRemoteList(CmdRemote): def run(self): conf = self.config.read(self.args.level) + ...
Show default in `dvc remote list` `dvc remote list` does not show which is the default. It would be very helpful to add this as another column.
iterative/dvc
diff --git a/tests/func/test_remote.py b/tests/func/test_remote.py index 9604f1807..da8826dfb 100644 --- a/tests/func/test_remote.py +++ b/tests/func/test_remote.py @@ -115,6 +115,20 @@ def test_show_default(dvc, capsys): assert out == "foo\n" +def test_list_shows_default(dvc, capsys): + default_remote = "f...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_short_problem_statement" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
3.59
{ "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": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-lazy-fixture", "pytest-timeout", ...
adlfs==2024.12.0 aiobotocore==2.21.1 aiohappyeyeballs==2.6.1 aiohttp==3.11.14 aiohttp-retry==2.9.1 aioitertools==0.12.0 aiooss2==0.2.10 aiosignal==1.3.2 aliyun-python-sdk-core==2.16.0 aliyun-python-sdk-kms==2.16.5 amqp==5.3.1 annotated-types==0.7.0 antlr4-python3-runtime==4.9.3 anyio==4.9.0 appdirs==1.4.4 argcomplete==...
name: dvc 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/func/test_remote.py::test_list_shows_default" ]
[]
[ "tests/func/test_remote.py::test_remote", "tests/func/test_remote.py::test_remote_add_relative_path", "tests/func/test_remote.py::test_remote_overwrite", "tests/func/test_remote.py::test_referencing_other_remotes", "tests/func/test_remote.py::test_remove_default", "tests/func/test_remote.py::test_remote_r...
[]
Apache License 2.0
21,318
235
[ "dvc/commands/remote.py" ]
modelcontextprotocol__python-sdk-384
689c54c5915dda3ba484e55a59c126cb46dfc739
2025-03-27 12:36:29
689c54c5915dda3ba484e55a59c126cb46dfc739
diff --git a/src/mcp/server/fastmcp/utilities/func_metadata.py b/src/mcp/server/fastmcp/utilities/func_metadata.py index cf93049..629580e 100644 --- a/src/mcp/server/fastmcp/utilities/func_metadata.py +++ b/src/mcp/server/fastmcp/utilities/func_metadata.py @@ -88,7 +88,7 @@ class FuncMetadata(BaseModel): ...
Input should be a valid string [type=string_type, input_value=123, input_type=int] MCP Server tools code: `@mcp.tool(description="查询物流信息") async def query_logistics(order_id: str) -> str: """查询物流信息。当用户需要根据订单号查询物流信息时,调用此工具 Args: order_id: 订单号 Returns: 物流信息的字符串描述 """ # 统一的物流信息数据 tracking_info = [...
modelcontextprotocol/python-sdk
diff --git a/tests/server/fastmcp/test_func_metadata.py b/tests/server/fastmcp/test_func_metadata.py index 6461648..b1828ff 100644 --- a/tests/server/fastmcp/test_func_metadata.py +++ b/tests/server/fastmcp/test_func_metadata.py @@ -399,3 +399,18 @@ def test_complex_function_json_schema(): "title": "complex_ar...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 3 }, "num_modified_files": 1 }
1.3
{ "env_vars": null, "env_yml_path": [], "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "", "pip_packages": [ "pytest>=8.3.4", "pyright>=1.1.391", "pytest" ], "pre_install": [], "python": "3.10", "reqs_path": [], "test_cmd": "pyte...
annotated-types==0.7.0 anyio==4.9.0 certifi==2025.1.31 click==8.1.8 exceptiongroup==1.2.2 h11==0.14.0 httpcore==1.0.7 httpx==0.28.1 httpx-sse==0.4.0 idna==3.10 iniconfig==2.1.0 -e git+https://github.com/modelcontextprotocol/python-sdk.git@689c54c5915dda3ba484e55a59c126cb46dfc739#egg=mcp nodeenv==1.9.1 packaging==24.2 p...
name: python-sdk channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3....
[ "tests/server/fastmcp/test_func_metadata.py::test_str_vs_int" ]
[]
[ "tests/server/fastmcp/test_func_metadata.py::test_complex_function_runtime_arg_validation_non_json", "tests/server/fastmcp/test_func_metadata.py::test_complex_function_runtime_arg_validation_with_json", "tests/server/fastmcp/test_func_metadata.py::test_str_vs_list_str", "tests/server/fastmcp/test_func_metadat...
[]
MIT License
21,323
209
[ "src/mcp/server/fastmcp/utilities/func_metadata.py" ]
simpeg__simpeg-1637
33c4221d8f4d9c2e4e3e51b948ac755c4d3d78c4
2025-03-28 21:25:40
33c4221d8f4d9c2e4e3e51b948ac755c4d3d78c4
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/simpeg/simpeg/pull/1637?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=simpeg) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 86.58%. Co...
diff --git a/simpeg/electromagnetics/base_1d.py b/simpeg/electromagnetics/base_1d.py index a871d56bf..afba17062 100644 --- a/simpeg/electromagnetics/base_1d.py +++ b/simpeg/electromagnetics/base_1d.py @@ -558,8 +558,9 @@ class BaseEM1DSimulation(BaseSimulation): C1s.append(np.exp(-lambd * (z + h)[:, No...
BUG: fdem.Simulation1DLayered fails for more than one receiver ### Describe the issue: I followed the tutorial https://simpeg.xyz/user-tutorials/fwd-fdem-1d, and tried to change the receiver from a single receiver to many receivers, as indicated in the comment for the receiver locations (`or (N, 3) numpy.ndarray`). Ho...
simpeg/simpeg
diff --git a/tests/em/em1d/test_EM1D_FD_fwd.py b/tests/em/em1d/test_EM1D_FD_fwd.py index 8a62a1398..498602433 100644 --- a/tests/em/em1d/test_EM1D_FD_fwd.py +++ b/tests/em/em1d/test_EM1D_FD_fwd.py @@ -9,6 +9,7 @@ from geoana.em.fdem import ( vertical_magnetic_field_horizontal_loop as mag_field, ) import empymod ...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
0.23
{ "env_vars": null, "env_yml_path": [ "environment.yml" ], "install": "pip install --no-deps -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "environment.yml", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.11", "reqs_path": null, "test_cmd": "...
accessible-pygments @ file:///home/conda/feedstock_root/build_artifacts/accessible-pygments_1734956106558/work aiohappyeyeballs @ file:///home/conda/feedstock_root/build_artifacts/aiohappyeyeballs_1741775197943/work aiohttp @ file:///home/conda/feedstock_root/build_artifacts/aiohttp_1743596967296/work aiosignal @ file:...
name: simpeg channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _openmp_mutex=4.5=3_kmp_llvm - accessible-pygments=0.0.5=pyhd8ed1ab_1 - aiohappyeyeballs=2.6.1=pyhd8ed1ab_0 - aiohttp=3.11.16=py311h2dc5d0c_0 - aiosignal=1.3.2=pyhd8...
[ "tests/em/em1d/test_EM1D_FD_fwd.py::test_rx_loc_shapes[real-x-1-4-PointMagneticField]", "tests/em/em1d/test_EM1D_FD_fwd.py::test_rx_loc_shapes[real-x-1-4-PointMagneticFieldSecondary]", "tests/em/em1d/test_EM1D_FD_fwd.py::test_rx_loc_shapes[real-x-4-1-PointMagneticField]", "tests/em/em1d/test_EM1D_FD_fwd.py::t...
[]
[ "tests/em/em1d/test_EM1D_FD_fwd.py::EM1D_FD_test_failures::test_height_failures", "tests/em/em1d/test_EM1D_FD_fwd.py::EM1D_FD_test_failures::test_loop_orientation_failures", "tests/em/em1d/test_EM1D_FD_fwd.py::EM1D_FD_FwdProblemTests::test_EM1DFDfwd_CircularLoop_ComplexCond", "tests/em/em1d/test_EM1D_FD_fwd.p...
[]
MIT License
21,332
457
[ "simpeg/electromagnetics/base_1d.py", "simpeg/electromagnetics/frequency_domain/simulation_1d.py" ]
flairNLP__flair-3657
6adefcc1f5cd98db1b4cbafac133879a72d0e976
2025-03-30 14:02:53
6adefcc1f5cd98db1b4cbafac133879a72d0e976
diff --git a/flair/tokenization.py b/flair/tokenization.py index afd61ca23..69226c4ed 100644 --- a/flair/tokenization.py +++ b/flair/tokenization.py @@ -316,18 +316,20 @@ class StaccatoTokenizer(Tokenizer): - Sequences of numbers are kept together as single tokens - Kanji characters are split into individual ...
[Bug]: StaccatoTokenizer splits zero-length characters The StaccatoTokenizer currently introduces some unnecessary splits due to zero-length characters. For instance: ```python from flair.tokenization import StaccatoTokenizer from flair.data import Sentence text = "so out of the norm ❤ ️ enjoyed every moment️" sente...
flairNLP/flair
diff --git a/tests/test_tokenize_sentence.py b/tests/test_tokenize_sentence.py index c626298cc..bc7e76a0c 100644 --- a/tests/test_tokenize_sentence.py +++ b/tests/test_tokenize_sentence.py @@ -48,29 +48,6 @@ def test_create_sentence_with_extra_whitespace(): assert sentence.get_token(4).text == "." -@pytest.mar...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
0.15
{ "env_vars": null, "env_yml_path": null, "install": "pip install -r requirements-dev.txt && 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": [ "requirem...
accelerate==1.6.0 asttokens==3.0.0 attrs==25.3.0 beautifulsoup4==4.13.3 bioc==2.1 black==24.2.0 boto3==1.37.27 botocore==1.37.27 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 conllu==4.5.3 contourpy==1.3.0 cycler==0.12.1 decorator==5.2.1 Deprecated==1.2.18 docopt==0.6.2 exceptiongroup==1.2.2 executing==2.2....
name: flair 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_tokenize_sentence.py::test_create_sentence_difficult_encoding[False]" ]
[]
[ "tests/test_tokenize_sentence.py::mypy", "tests/test_tokenize_sentence.py::mypy-status", "tests/test_tokenize_sentence.py::black", "tests/test_tokenize_sentence.py::test_create_sentence_on_empty_string[False]", "tests/test_tokenize_sentence.py::test_create_sentence_with_newline[False]", "tests/test_tokeni...
[]
MIT License
21,338
1,097
[ "flair/tokenization.py" ]
streamlink__streamlink-6491
178d0dbde6167b0f1a83c9faabf1bf33ba0087d8
2025-03-31 17:49:59
178d0dbde6167b0f1a83c9faabf1bf33ba0087d8
diff --git a/src/streamlink/plugins/kick.py b/src/streamlink/plugins/kick.py index e91d9aef..bdafec4f 100644 --- a/src/streamlink/plugins/kick.py +++ b/src/streamlink/plugins/kick.py @@ -11,8 +11,9 @@ $metadata title import re from ssl import OP_NO_TICKET -from streamlink.plugin import Plugin, pluginmatcher -from s...
plugins.kick: 403 error ### Checklist - [x] This is a [plugin issue](https://streamlink.github.io/plugins.html) and not [a different kind of issue](https://github.com/streamlink/streamlink/issues/new/choose) - [x] [I have read the contribution guidelines](https://github.com/streamlink/streamlink/blob/master/CONTRIBUTI...
streamlink/streamlink
diff --git a/tests/plugins/test_kick.py b/tests/plugins/test_kick.py index eafe2682..f13bf6e9 100644 --- a/tests/plugins/test_kick.py +++ b/tests/plugins/test_kick.py @@ -6,8 +6,28 @@ class TestPluginCanHandleUrlKick(PluginCanHandleUrl): __plugin__ = Kick should_match_groups = [ - (("live", "https://...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
7.1
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "pytest-trio", "requests-mock", "freezegun", "coverage[toml]" ], "pre_in...
async-generator==1.10 attrs==25.3.0 certifi==2025.1.31 charset-normalizer==3.4.1 coverage==7.8.0 exceptiongroup==1.2.2 freezegun==1.5.1 h11==0.14.0 idna==3.10 importlib_metadata==8.6.1 iniconfig==2.1.0 isodate==0.7.2 lxml==5.3.1 lxml-stubs==0.5.1 mypy==1.15.0 mypy-extensions==1.0.0 orjson==3.10.16 outcome==1.3.0.post0 ...
name: streamlink 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/plugins/test_kick.py::TestPluginCanHandleUrlKick::test_all_matchers_match[clip]", "tests/plugins/test_kick.py::TestPluginCanHandleUrlKick::test_url_matches_positive_named[NAME=clip", "tests/plugins/test_kick.py::TestPluginCanHandleUrlKick::test_url_matches_groups_named[NAME=clip" ]
[]
[ "tests/plugins/test_kick.py::TestPluginCanHandleUrlKick::test_class_setup", "tests/plugins/test_kick.py::TestPluginCanHandleUrlKick::test_class_name", "tests/plugins/test_kick.py::TestPluginCanHandleUrlKick::test_all_matchers_match[live]", "tests/plugins/test_kick.py::TestPluginCanHandleUrlKick::test_all_matc...
[]
BSD 2-Clause "Simplified" License
21,342
2,271
[ "src/streamlink/plugins/kick.py" ]
Davidyz__VectorCode-49
43df44ccf8bc43c1f0e9b0685bfdd8bf7446b3bd
2025-03-31 17:52:31
43df44ccf8bc43c1f0e9b0685bfdd8bf7446b3bd
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/Davidyz/VectorCode/pull/49?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Davidyz) Report Attention: Patch coverage is `20.00000%` with `4 lines` in your changes missing coverage. Please revi...
diff --git a/src/vectorcode/common.py b/src/vectorcode/common.py index 7d1941c..349cdff 100644 --- a/src/vectorcode/common.py +++ b/src/vectorcode/common.py @@ -134,7 +134,7 @@ def get_collection_name(full_path: str) -> str: return collection_id -def get_embedding_function(configs: Config) -> chromadb.Embeddin...
[BUG] doc says to install vectorcode via pipx but logger error says to use pip install for optimum **Describe the bug** I follow the doc and installs via pipx vectorcode. I see vectorcode is crazy slow (40 seconds each request) so I enabled openvivo (I have amd but it works on CPU AMD acceleration, but not GPU) (I also...
Davidyz/VectorCode
diff --git a/tests/test_common.py b/tests/test_common.py index 371daf0..930228f 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -9,6 +9,7 @@ import httpx import pytest from chromadb.api import AsyncClientAPI from chromadb.api.models.AsyncCollection import AsyncCollection +from chromadb.utils import e...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 1 }, "num_modified_files": 1 }
0.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pdm", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.11", "reqs_path": null, "...
annotated-types==0.7.0 anyio==4.9.0 asgiref==3.8.1 backoff==2.2.1 bcrypt==4.3.0 blinker @ file:///croot/blinker_1737448726027/work Brotli @ file:///croot/brotli-split_1736182456865/work build==1.2.2.post1 CacheControl @ file:///croot/cachecontrol-split_1712341954984/work cachetools==5.5.2 certifi @ file:///croot/certif...
name: VectorCode 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 - blinker=1.9.0=py311h06a4308_0 - brotli-python=1.0.9=py311h6a678d5_9 - bzip2=1.0.8=h5eee18b_6 - ca-certificat...
[ "tests/test_common.py::test_get_embedding_function_init_exception" ]
[]
[ "tests/test_common.py::test_get_collection_name", "tests/test_common.py::test_get_embedding_function", "tests/test_common.py::test_verify_ef", "tests/test_common.py::test_get_embedding_function_fallback" ]
[]
MIT License
21,343
295
[ "src/vectorcode/common.py" ]
tobymao__sqlglot-4935
7042603ecb5693795b15219ec9cebf2f76032c03
2025-04-02 09:54:37
7042603ecb5693795b15219ec9cebf2f76032c03
diff --git a/sqlglot/dialects/duckdb.py b/sqlglot/dialects/duckdb.py index b362cfea..61d8ac58 100644 --- a/sqlglot/dialects/duckdb.py +++ b/sqlglot/dialects/duckdb.py @@ -1032,10 +1032,10 @@ class DuckDB(Dialect): case = ( exp.case(self.func("TYPEOF", arg)) - .when( - ...
Length transpiled to duckdb doesn't handle json type ``` sqlglot.parse_one( """select length('{"ids": [1,2]}'::json)""", read="snowflake", ).sql(dialect="duckdb") ``` produces ``` SELECT CASE TYPEOF(CAST('{"ids": [1,2]}' AS JSON)) WHEN 'VARCHAR' THEN LENGTH(CAST(CAST('{"ids": [1,2]}' AS JSO...
tobymao/sqlglot
diff --git a/tests/dialects/test_bigquery.py b/tests/dialects/test_bigquery.py index def45287..1a682512 100644 --- a/tests/dialects/test_bigquery.py +++ b/tests/dialects/test_bigquery.py @@ -1486,7 +1486,7 @@ WHERE "snowflake": "SELECT LENGTH(foo)", }, write={ - ...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
26.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pandas>=1.0.0 python-dateutil", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-hea...
cfgv==3.4.0 distlib==0.3.9 duckdb==1.2.1 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work filelock==3.18.0 identify==2.6.9 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work Jinja2==3.1.6 MarkupSafe==3.0.2 maturin==1.8.3 mypy==1.15.0 mypy-extensions==1.0.0 nodeenv==1.9.1 numpy==2.0....
name: sqlglot 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/dialects/test_bigquery.py::TestBigQuery::test_bigquery" ]
[]
[ "tests/dialects/test_bigquery.py::TestBigQuery::test_annotate_timestamps", "tests/dialects/test_bigquery.py::TestBigQuery::test_convert", "tests/dialects/test_bigquery.py::TestBigQuery::test_errors", "tests/dialects/test_bigquery.py::TestBigQuery::test_format_temporal", "tests/dialects/test_bigquery.py::Tes...
[]
MIT License
21,346
207
[ "sqlglot/dialects/duckdb.py" ]
getsentry__sentry-python-4231
2c3776c582a23b6936c76ef53008bf63f861b6fd
2025-04-02 10:52:44
2c3776c582a23b6936c76ef53008bf63f861b6fd
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/getsentry/sentry-python/pull/4231?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=getsentry) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage ...
diff --git a/sentry_sdk/tracing.py b/sentry_sdk/tracing.py index ae0b9025..ca249fe8 100644 --- a/sentry_sdk/tracing.py +++ b/sentry_sdk/tracing.py @@ -1,3 +1,4 @@ +from decimal import Decimal import uuid import warnings from datetime import datetime, timedelta, timezone @@ -1198,10 +1199,8 @@ class Transaction(Span)...
Custom settings for decimal context broke the app ### How do you use Sentry? Sentry Saas (sentry.io) ### Version 2.24.0 ### Steps to Reproduce Hi! I have an issue with decimal. I defined custom rules for decimal type like this: ``` def decimal_setup() -> None: BasicContext.traps[Inexact] = True BasicContex...
getsentry/sentry-python
diff --git a/tests/tracing/test_sample_rand.py b/tests/tracing/test_sample_rand.py index ef277a3d..f9c10aa0 100644 --- a/tests/tracing/test_sample_rand.py +++ b/tests/tracing/test_sample_rand.py @@ -1,4 +1,5 @@ import decimal +from decimal import Inexact, FloatOperation from unittest import mock import pytest @@ -...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 0 }, "num_modified_files": 2 }
2.26
{ "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-forked", "pytest-localserver", "pytest-watch", "tox", "jsonschema", ...
APScheduler==3.11.0 asttokens==3.0.0 attrs==25.3.0 black==25.1.0 Brotli==1.1.0 certifi==2025.1.31 cffi==1.17.1 cfgv==3.4.0 charset-normalizer==3.4.1 click==8.1.8 colorama==0.4.6 coverage==7.8.0 cryptography==44.0.2 Deprecated==1.2.18 distlib==0.3.9 dnspython==2.7.0 docker==7.1.0 docopt==0.6.2 exceptiongroup==1.2.2 exec...
name: sentry-python channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgc...
[ "tests/tracing/test_sample_rand.py::test_decimal_context" ]
[]
[ "tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.0]", "tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.25]", "tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.5]", "tests/tracing/test_sample_rand.py::test_deterministic_sampled[0.0-0.75]", "tests/tra...
[]
MIT License
21,347
560
[ "sentry_sdk/tracing.py", "sentry_sdk/tracing_utils.py" ]
google__flax-4681
e16cfc44f85a9c4b26f3ebb28249ba49ce3e1527
2025-04-04 00:52:21
e16cfc44f85a9c4b26f3ebb28249ba49ce3e1527
diff --git a/flax/nnx/nn/lora.py b/flax/nnx/nn/lora.py index 76725f0a..36f19d8b 100644 --- a/flax/nnx/nn/lora.py +++ b/flax/nnx/nn/lora.py @@ -19,6 +19,7 @@ from flax.nnx import rnglib, variablelib from flax.nnx.module import Module from flax.nnx.nn import initializers from flax.nnx.nn.linear import Linear +from fla...
nnx.nn.LoRA does not respect dtype argument Provide as much information as possible. At least, this should include a description of your issue and steps to reproduce the problem. If possible also provide a summary of what steps or workarounds you have already tried. ### System information Reproduced on Google Colab (C...
google/flax
diff --git a/tests/nnx/nn/lora_test.py b/tests/nnx/nn/lora_test.py index db501e5e..1e89ca58 100644 --- a/tests/nnx/nn/lora_test.py +++ b/tests/nnx/nn/lora_test.py @@ -17,6 +17,7 @@ from absl.testing import absltest import numpy as np from flax import nnx +from jax import numpy as jnp class TestLora(absltest.Te...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_hyperlinks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
0.1
{ "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": [ "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", "pytest-asyncio" ], "pre_install": [ "apt...
absl-py==2.2.2 chex==0.1.89 contourpy==1.3.1 coverage==7.8.0 cycler==0.12.1 etils==1.12.2 exceptiongroup==1.2.2 execnet==2.1.1 -e git+https://github.com/google/flax.git@541385015d1925f50e47530ed838a485c315d58d#egg=flax fonttools==4.57.0 fsspec==2025.3.2 humanize==4.12.2 importlib_resources==6.5.2 iniconfig==2.1.0 jax==...
name: flax channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6...
[ "tests/nnx/nn/lora_test.py::TestLora::test_dtype" ]
[]
[ "tests/nnx/nn/lora_test.py::TestLora::test_basic", "tests/nnx/nn/lora_test.py::TestLora::test_layer_swap_lora", "tests/nnx/nn/lora_test.py::TestLora::test_layer_swap_loralinear", "tests/nnx/nn/lora_test.py::TestLora::test_lora_base_module", "tests/nnx/nn/lora_test.py::TestLora::test_lora_param_type" ]
[]
Apache License 2.0
21,351
303
[ "flax/nnx/nn/lora.py" ]
stuartmaxwell__djpress-117
62898afc246da3e96a0b8f753cf5e9853d75b40e
2025-04-04 09:36:36
62898afc246da3e96a0b8f753cf5e9853d75b40e
diff --git a/src/djpress/models/category.py b/src/djpress/models/category.py index 56eceba..ce1a91d 100644 --- a/src/djpress/models/category.py +++ b/src/djpress/models/category.py @@ -98,14 +98,6 @@ class Category(models.Model): msg = f"A category with the slug {self.slug} already exists." ra...
Remove `permalink` field from models We now have the `url` field, and we have `url_utils.py` for the central logic for figuring out URL paths. I think `permalink` is now redundant.
stuartmaxwell/djpress
diff --git a/tests/test_models_category.py b/tests/test_models_category.py index 026ffc6..5b710d4 100644 --- a/tests/test_models_category.py +++ b/tests/test_models_category.py @@ -154,24 +154,6 @@ def test_get_category_by_slug_not_exists(settings): assert "Category not found" in str(excinfo.value) -@pytest.ma...
{ "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": 1, "test_score": 3 }, "num_modified_files": 2 }
0.16
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-django", "pytest-coverage", "django-debug-toolbar", "nox" ], "pre_install": [ ...
argcomplete==3.6.1 asgiref==3.8.1 attrs==25.3.0 colorlog==6.9.0 coverage==7.8.0 dependency-groups==1.3.0 distlib==0.3.9 Django==5.1.7 django-debug-toolbar==5.1.0 -e git+https://github.com/stuartmaxwell/djpress.git@60b00fe899461513dc4f8ed4b14b62bc71c6f157#egg=djpress exceptiongroup==1.2.2 filelock==3.18.0 iniconfig==2.1...
name: djpress channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4...
[ "tests/test_models_tag.py::test_tag_url", "tests/test_url_utils.py::test_get_category_url_blank", "tests/test_url_utils.py::test_get_tag_url_blank" ]
[]
[ "tests/test_models_category.py::test_category_model", "tests/test_models_category.py::test_category_save_slug_generation", "tests/test_models_category.py::test_category_save_slug_uniqueness", "tests/test_models_category.py::test_category_save_invalid_name", "tests/test_models_category.py::test_category_slug...
[]
MIT License
21,352
549
[ "src/djpress/models/category.py", "src/djpress/url_utils.py" ]
tobymao__sqlglot-4941
09882e32f057670a9cbd97c1e5cf1a00c774b5d2
2025-04-04 13:34:16
09882e32f057670a9cbd97c1e5cf1a00c774b5d2
diff --git a/sqlglot/expressions.py b/sqlglot/expressions.py index 4a2531bd..531b740f 100644 --- a/sqlglot/expressions.py +++ b/sqlglot/expressions.py @@ -2660,6 +2660,10 @@ class Sort(Order): class Ordered(Expression): arg_types = {"this": True, "desc": False, "nulls_first": True, "with_fill": False} + @pro...
Crash while reformatting a valid Sqlite statement This piece of code used to run perfectly for months, at least until `sqlglot 26.2.1`. After a recent update of our `sqlglot` version, it fails. Bisection shows the issue appears specifically with` sqlglot 26.3.0` (and upper versions). The code to reproduce the error i...
tobymao/sqlglot
diff --git a/tests/dialects/test_sqlite.py b/tests/dialects/test_sqlite.py index ce5185b4..e34c0148 100644 --- a/tests/dialects/test_sqlite.py +++ b/tests/dialects/test_sqlite.py @@ -109,6 +109,10 @@ class TestSQLite(Validator): "SELECT * FROM station WHERE NOT city IS ''", ) self.validat...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
26.12
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-header -rA --tb=line --color=no ...
cfgv==3.4.0 distlib==0.3.9 duckdb==1.2.1 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work filelock==3.18.0 identify==2.6.9 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work Jinja2==3.1.6 MarkupSafe==3.0.2 maturin==1.8.3 mypy==1.15.0 mypy-extensions==1.0.0 nodeenv==1.9.1 numpy==2.0....
name: sqlglot 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/dialects/test_sqlite.py::TestSQLite::test_sqlite" ]
[]
[ "tests/dialects/test_sqlite.py::TestSQLite::test_analyze", "tests/dialects/test_sqlite.py::TestSQLite::test_datediff", "tests/dialects/test_sqlite.py::TestSQLite::test_ddl", "tests/dialects/test_sqlite.py::TestSQLite::test_hexadecimal_literal", "tests/dialects/test_sqlite.py::TestSQLite::test_longvarchar_dt...
[]
MIT License
21,353
160
[ "sqlglot/expressions.py" ]
pypa__auditwheel-568
8964d1e5e5daee875c324c2e0b73cc8f3e5af1c9
2025-04-05 08:06:31
8964d1e5e5daee875c324c2e0b73cc8f3e5af1c9
codecov[bot]: ## [Codecov](https://app.codecov.io/gh/pypa/auditwheel/pull/568?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pypa) Report All modified and coverable lines are covered by tests :white_check_mark: > Project coverage is 89.87%. Com...
diff --git a/src/auditwheel/tools.py b/src/auditwheel/tools.py index 423cfa8..a84532e 100644 --- a/src/auditwheel/tools.py +++ b/src/auditwheel/tools.py @@ -142,6 +142,9 @@ def dir2zip( st = in_dir.stat() date_time = datetime.fromtimestamp(st.st_mtime, tz=timezone.utc) date_time_args = date_time....
auditwheel crashes when SOURCE_DATE_EPOCH is less than 315532800 This likely arises as a consequence of the fact that auditwheel uses SOURCE_DATE_EPOCH to set ZIP timestamps, but ZIP uses DOS timestamps that cannot express times before unix epoch time 315532800. Minimal example to reproduce: ```shell wget https://git...
pypa/auditwheel
diff --git a/tests/integration/test_bundled_wheels.py b/tests/integration/test_bundled_wheels.py index aa11ed1..28065a0 100644 --- a/tests/integration/test_bundled_wheels.py +++ b/tests/integration/test_bundled_wheels.py @@ -3,7 +3,6 @@ from __future__ import annotations import importlib import os import platform -i...
{ "commit_name": "merge_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
6.3
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path": [ "...
-e git+https://github.com/pypa/auditwheel.git@d270db8188386891fd1a653a6737ce5553de568c#egg=auditwheel exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work packaging @ file:///croot/packaging_1734472117206/work pluggy @ file:///croot/plu...
name: auditwheel 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 - ...
[ "[100%]", "tests/integration/test_bundled_wheels.py::test_wheel_source_date_epoch[timestamp0]", "tests/integration/test_bundled_wheels.py::test_wheel_source_date_epoch[timestamp1]", "tests/integration/test_bundled_wheels.py::test_wheel_source_date_epoch[timestamp4]" ]
[ "tests/integration/test_bundled_wheels.py::test_analyze_wheel_abi_static_exe" ]
[ "[", "tests/integration/test_bundled_wheels.py::test_analyze_wheel_abi[cffi-1.5.0-cp27-none-linux_x86_64.whl-external_libs0-exclude0]", "tests/integration/test_bundled_wheels.py::test_analyze_wheel_abi[cffi-1.5.0-cp27-none-linux_x86_64.whl-external_libs1-exclude1]", "tests/integration/test_bundled_wheels.py::...
[]
MIT License
21,354
235
[ "src/auditwheel/tools.py" ]
lincc-frameworks__nested-pandas-236
b59d701c95bc0a31ec51df2775f8097f1e002b4f
2025-04-08 21:56:28
b59d701c95bc0a31ec51df2775f8097f1e002b4f
diff --git a/src/nested_pandas/series/ext_array.py b/src/nested_pandas/series/ext_array.py index 43735db..7536c7f 100644 --- a/src/nested_pandas/series/ext_array.py +++ b/src/nested_pandas/series/ext_array.py @@ -798,7 +798,10 @@ class NestedExtensionArray(ExtensionArray): @property def flat_length(self) -> i...
Cannot assign a new column to an empty NestedFrame **Bug report** ``` from nested_pandas.datasets import generate_data nf = generate_data(3, 10).iloc[:0] nf['nested.x'] = [] ``` ``` ValueError Traceback (most recent call last) Cell In[7], line 1 ----> 1 nf['nested.x'] = [] File ~/proj...
lincc-frameworks/nested-pandas
diff --git a/tests/nested_pandas/nestedframe/test_nestedframe.py b/tests/nested_pandas/nestedframe/test_nestedframe.py index 5d5918f..9d4faf6 100644 --- a/tests/nested_pandas/nestedframe/test_nestedframe.py +++ b/tests/nested_pandas/nestedframe/test_nestedframe.py @@ -1277,3 +1277,9 @@ def test_issue193(): ndf.que...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 0 }, "num_modified_files": 1 }
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" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], "python": "3.9", "reqs_path...
accessible-pygments==0.0.5 alabaster==0.7.16 anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 astroid==3.3.9 astropy==6.0.1 astropy-iers-data==0.2025.3.31.0.36.18 astroquery==0.4.10 asttokens==3.0.0 asv==0.6.4 asv_runner==0.2.1 async-lru==2.0.5 attrs==25.3.0 babel==2.17.0 backports.tarfile==1....
name: nested-pandas channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgc...
[ "tests/nested_pandas/nestedframe/test_nestedframe.py::test_issue235" ]
[]
[ "tests/nested_pandas/nestedframe/test_nestedframe.py::test_nestedframe_construction", "tests/nested_pandas/nestedframe/test_nestedframe.py::test_nestedseries_construction", "tests/nested_pandas/nestedframe/test_nestedframe.py::test_html_repr", "tests/nested_pandas/nestedframe/test_nestedframe.py::test_all_col...
[]
MIT License
21,359
183
[ "src/nested_pandas/series/ext_array.py" ]
PennLINC__xcp_d-1433
d9ca3ade1438326d898a1b7cbffed00ee12e9483
2025-04-16 18:47:28
d9ca3ade1438326d898a1b7cbffed00ee12e9483
diff --git a/xcp_d/utils/bids.py b/xcp_d/utils/bids.py index e6cc6ff..eeeda7a 100644 --- a/xcp_d/utils/bids.py +++ b/xcp_d/utils/bids.py @@ -271,45 +271,51 @@ def collect_data( raise FileNotFoundError('No T1w or T2w files found.') elif t1w_files and t2w_files: LOGGER.warning('Both T1w and T2w fou...
Native-space T2w is collected even when no T1w-space T2w is available ## Summary <!--What is the nature of the bug?--> Tim Hendrickson noticed that T2w images were being collected and used in the executive summary even when the T1w was the primary anatomical modality (i.e., transforms to standard spaces used the T1w, n...
PennLINC/xcp_d
diff --git a/xcp_d/data/tests/skeletons/nibabies_ignore_t1w.yml b/xcp_d/data/tests/skeletons/nibabies_ignore_t1w.yml new file mode 100644 index 0000000..bff0114 --- /dev/null +++ b/xcp_d/data/tests/skeletons/nibabies_ignore_t1w.yml @@ -0,0 +1,369 @@ +# Skeleton based on Nibabies derivatives +# There are both T1w and T2...
{ "commit_name": "head_commit", "failed_lite_validators": [ "has_issue_reference", "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 1 }
0.1
{ "env_vars": null, "env_yml_path": [], "install": "pip install -e .[all]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest", "pytest-cov", "flake8", "flake8-absolute-import", "flake8-black", "flake8-docstrings", "...
acres==0.3.0 alabaster==1.0.0 astor==0.8.1 attrs==25.3.0 babel==2.17.0 beautifulsoup4==4.13.3 bids-validator==1.14.7.post0 bidsschematools==1.0.4 black==25.1.0 certifi==2025.1.31 charset-normalizer==3.4.1 ci-info==0.3.0 click==8.1.8 commonmark==0.9.1 contourpy==1.3.1 coverage==7.8.0 cycler==0.12.1 docopt==0.6.2 doctest...
name: xcp_d channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h...
[ "xcp_d/tests/test_utils_bids.py::test_collect_data_nibabies_ignore_t2w", "xcp_d/tests/test_utils_bids.py::test_collect_data_nibabies_ignore_t1w" ]
[ "xcp_d/tests/test_utils_bids.py::test_collect_participants", "xcp_d/tests/test_utils_bids.py::test_collect_data_ds001419", "xcp_d/tests/test_utils_bids.py::test_collect_data_nibabies", "xcp_d/tests/test_utils_bids.py::test_collect_mesh_data", "xcp_d/tests/test_utils_bids.py::test_collect_morphometry_data", ...
[ "xcp_d/tests/test_utils_bids.py::test_collect_data_nibabies_t1w_only", "xcp_d/tests/test_utils_bids.py::test_collect_data_nibabies_t2w_only", "xcp_d/tests/test_utils_bids.py::test_collect_data_nibabies_no_t1w_t2w", "xcp_d/tests/test_utils_bids.py::test_collect_data_nibabies_t1wspace_t2w", "xcp_d/tests/test_...
[]
BSD 3-Clause "New" or "Revised" License
21,368
1,068
[ "xcp_d/utils/bids.py" ]
tobymao__sqlglot-4987
2369195635e25dabd5ce26c13e402076508bba04
2025-04-17 16:51:22
2369195635e25dabd5ce26c13e402076508bba04
diff --git a/sqlglot/expressions.py b/sqlglot/expressions.py index e08c6098..e4f07067 100644 --- a/sqlglot/expressions.py +++ b/sqlglot/expressions.py @@ -1933,7 +1933,7 @@ class TransformColumnConstraint(ColumnConstraintKind): class PrimaryKeyColumnConstraint(ColumnConstraintKind): - arg_types = {"desc": False...
Support Snowflake's RELY Constraint Property As part of Snowflake's Join Elimination feature they introduced a Constraint Property called "RELY" that hints the engine about the join key columns. The docs are here: https://docs.snowflake.com/en/user-guide/join-elimination Currently, when trying to parse queries such as...
tobymao/sqlglot
diff --git a/tests/dialects/test_snowflake.py b/tests/dialects/test_snowflake.py index 43ac6c85..9a4d1af8 100644 --- a/tests/dialects/test_snowflake.py +++ b/tests/dialects/test_snowflake.py @@ -2563,3 +2563,12 @@ SINGLE = TRUE""", "duckdb": f"SELECT LISTAGG({distinct}col, '|SEPARATOR|' ORDER BY co...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_hyperlinks", "has_many_modified_files", "has_many_hunks" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 1, "test_score": 2 }, "num_modified_files": 3 }
26.14
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "requirements.txt", "pip_packages": [ "pytest" ], "pre_install": null, "python": "3.9", "reqs_path": [ "requirements/dev.txt" ], "test_cmd": "...
cfgv==3.4.0 distlib==0.3.9 duckdb==1.2.1 exceptiongroup @ file:///croot/exceptiongroup_1706031385326/work filelock==3.18.0 identify==2.6.9 iniconfig @ file:///home/linux1/recipes/ci/iniconfig_1610983019677/work Jinja2==3.1.6 MarkupSafe==3.0.2 maturin==1.8.3 mypy==1.15.0 mypy-extensions==1.0.0 nodeenv==1.9.1 numpy==2.0....
name: sqlglot 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/dialects/test_snowflake.py::TestSnowflake::test_rely_options" ]
[]
[ "tests/dialects/test_snowflake.py::TestSnowflake::test_alter_set_unset", "tests/dialects/test_snowflake.py::TestSnowflake::test_copy", "tests/dialects/test_snowflake.py::TestSnowflake::test_ddl", "tests/dialects/test_snowflake.py::TestSnowflake::test_describe_table", "tests/dialects/test_snowflake.py::TestS...
[]
MIT License
21,370
1,436
[ "sqlglot/expressions.py", "sqlglot/generator.py", "sqlglot/parser.py" ]
pyvista__pyvista-7455
a7269d5477de1687f92b79d55ab10694c13c0410
2025-04-25 18:16:29
a7269d5477de1687f92b79d55ab10694c13c0410
user27182: After reading https://docs.vtk.org/en/latest/design_documents/VTKFileFormats.html more closely, I think the convention is that the `.vtk` is the extension is used exclusively for the legacy format, whereas `.vt*` is used exclusively for XML formats. This was not obvious to me, and I thought these two exte...
diff --git a/pyvista/core/dataobject.py b/pyvista/core/dataobject.py index 30d593d3..154408a4 100644 --- a/pyvista/core/dataobject.py +++ b/pyvista/core/dataobject.py @@ -175,6 +175,14 @@ class DataObject(_vtk.DisableVtkSnakeCase, _vtk.vtkPyVistaOverride): 'Use `move_nested_field_data_to_root` ...
Direction matrix not preserved when saving and loading ImageData objects ### Describe the bug, what's wrong, and what you expected. When saving a PyVista `ImageData` object with a custom direction matrix to a `.vtk` file and loading it back, the `direction_matrix` is not preserved. Hence, manipulations of the `ImageDa...
pyvista/pyvista
diff --git a/tests/core/test_grid.py b/tests/core/test_grid.py index 9352ec45..919629da 100644 --- a/tests/core/test_grid.py +++ b/tests/core/test_grid.py @@ -1083,21 +1083,33 @@ def test_save_rectilinear(extension, binary, tmpdir): @pytest.mark.parametrize('binary', [True, False]) @pytest.mark.parametrize('extensi...
{ "commit_name": "merge_commit", "failed_lite_validators": [ "has_pytest_match_arg" ], "has_test_patch": true, "is_lite": false, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 3 }, "num_modified_files": 1 }
0.45
{ "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...
accessible-pygments==0.0.5 aiohappyeyeballs @ file:///home/conda/feedstock_root/build_artifacts/aiohappyeyeballs_1741775197943/work aiohttp @ file:///home/conda/feedstock_root/build_artifacts/aiohttp_1743596967296/work aiosignal @ file:///home/conda/feedstock_root/build_artifacts/aiosignal_1734342155601/work alabaster=...
name: pyvista channels: - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - aiohappyeyeballs=2.6.1=pyhd8ed1ab_0 - aiohttp=3.11.16=py39h9399b63_0 - aiosignal=1.3.2=pyhd8ed1ab_0 - alsa-lib=1.2.13...
[ "tests/core/test_grid.py::test_save_uniform[direction_matrix1-ImageData-.vtk-True]", "tests/core/test_grid.py::test_save_uniform[direction_matrix1-ImageData-.vtk-False]", "tests/core/test_grid.py::test_save_uniform[direction_matrix1-read-.vtk-True]", "tests/core/test_grid.py::test_save_uniform[direction_matri...
[]
[ "tests/core/test_grid.py::test_volume", "tests/core/test_grid.py::test_init_from_polydata", "tests/core/test_grid.py::test_init_from_structured", "tests/core/test_grid.py::test_init_from_unstructured", "tests/core/test_grid.py::test_init_from_numpy_arrays", "tests/core/test_grid.py::test_init_bad_input", ...
[]
MIT License
21,376
404
[ "pyvista/core/dataobject.py" ]
ASPP__pelita-875
68af15d8d4199882d32bb4ede363195e2c5b5a99
2025-04-28 23:00:41
68af15d8d4199882d32bb4ede363195e2c5b5a99
diff --git a/pelita/utils.py b/pelita/utils.py index c5bdf54c..1f3bec36 100644 --- a/pelita/utils.py +++ b/pelita/utils.py @@ -104,7 +104,7 @@ def run_background_game(*, blue_move, red_move, layout=None, max_rounds=300, see if layout is None: layout_dict = generate_maze(rng=rng) else: - layout...
run_background_game breaks when layout= is passed ``` def test_run_background_game_with_layout(): test_layout = ( """ ################## #a#. . # . # #b##### #####x# # . # . .#y# ################## """) result = utils.run_background_game(blue_move=stopping_play...
ASPP/pelita
diff --git a/test/test_utils.py b/test/test_utils.py index 10118cbc..a06bde11 100644 --- a/test/test_utils.py +++ b/test/test_utils.py @@ -112,6 +112,38 @@ def test_run_background_game(): 'draw': True } +def test_run_background_game_with_layout(): + test_layout = ( + """ ################## + ...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 2, "test_score": 0 }, "num_modified_files": 1 }
2.5
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest-cov", "pytest-timestamper", "pytest" ], "pre_install": [ "apt-get update", "apt-get install -y gcc" ], ...
alabaster==1.0.0 babel==2.17.0 certifi==2025.1.31 charset-normalizer==3.4.1 click==8.1.8 coverage==7.8.0 docutils==0.21.2 flit==3.12.0 flit_core==3.12.0 idna==3.10 ifaddr==0.2.0 imagesize==1.4.1 iniconfig==2.1.0 Jinja2==3.1.6 markdown-it-py==3.0.0 MarkupSafe==3.0.2 mdurl==0.1.2 networkx==3.4.2 numpy==2.2.4 packaging==2...
name: pelita channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - bzip2=1.0.8=h5eee18b_6 - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=...
[ "test/test_utils.py::test_run_background_game_with_layout" ]
[]
[ "test/test_utils.py::test_default_rng", "test/test_utils.py::test_default_rng_init_self", "test/test_utils.py::test_default_rng_init_none", "test/test_utils.py::test_setup_test_game[True]", "test/test_utils.py::test_setup_test_game[False]", "test/test_utils.py::test_setup_test_game_incomplete_noisy_dict[T...
[]
BSD License
21,380
172
[ "pelita/utils.py" ]
lincc-frameworks__nested-pandas-247
c771a8b712f14c7721b8b375b1fdf4df338d0a68
2025-04-29 17:56:51
c771a8b712f14c7721b8b375b1fdf4df338d0a68
diff --git a/src/nested_pandas/nestedframe/core.py b/src/nested_pandas/nestedframe/core.py index 36fed5f..69dcfa9 100644 --- a/src/nested_pandas/nestedframe/core.py +++ b/src/nested_pandas/nestedframe/core.py @@ -1007,8 +1007,9 @@ class NestedFrame(pd.DataFrame): columns to apply the function to. See the N...
Make it harder to pass a wrong column name to NestedFrame.reduce **Feature request** One of the bugs I make in my code all the time is passing a wrong column name to `NestedFrame.reduce(func, *args)`. This makes it a "constant" argument, instead of a variable value/array from the actual data frame. Sometimes this type...
lincc-frameworks/nested-pandas
diff --git a/tests/nested_pandas/nestedframe/test_nestedframe.py b/tests/nested_pandas/nestedframe/test_nestedframe.py index 5857c40..45f6f1c 100644 --- a/tests/nested_pandas/nestedframe/test_nestedframe.py +++ b/tests/nested_pandas/nestedframe/test_nestedframe.py @@ -966,7 +966,7 @@ def test_reduce(): sum([7,...
{ "commit_name": "head_commit", "failed_lite_validators": [], "has_test_patch": true, "is_lite": true, "llm_score": { "difficulty_score": 1, "issue_text_score": 0, "test_score": 2 }, "num_modified_files": 1 }
0.4
{ "env_vars": null, "env_yml_path": null, "install": "pip install -e .[dev]", "log_parser": "parse_log_pytest", "no_use_env": null, "packages": "pytest", "pip_packages": [ "pytest" ], "pre_install": [ "apt-get update" ], "python": "3.9", "reqs_path": null, "test_cmd": "pytest --no-head...
accessible-pygments==0.0.5 alabaster==0.7.16 anyio==4.9.0 argon2-cffi==23.1.0 argon2-cffi-bindings==21.2.0 arrow==1.3.0 astroid==3.3.9 astropy==6.0.1 astropy-iers-data==0.2025.3.31.0.36.18 astroquery==0.4.10 asttokens==3.0.0 asv==0.6.4 asv_runner==0.2.1 async-lru==2.0.5 attrs==25.3.0 babel==2.17.0 backports.tarfile==1....
name: nested-pandas channels: - defaults - https://repo.anaconda.com/pkgs/main - https://repo.anaconda.com/pkgs/r - conda-forge dependencies: - _libgcc_mutex=0.1=main - _openmp_mutex=5.1=1_gnu - ca-certificates=2025.2.25=h06a4308_0 - ld_impl_linux-64=2.40=h12ee557_0 - libffi=3.4.4=h6a678d5_1 - libgc...
[ "tests/nested_pandas/nestedframe/test_nestedframe.py::test_reduce_arg_errors" ]
[]
[ "tests/nested_pandas/nestedframe/test_nestedframe.py::test_nestedframe_construction", "tests/nested_pandas/nestedframe/test_nestedframe.py::test_nestedseries_construction", "tests/nested_pandas/nestedframe/test_nestedframe.py::test_html_repr", "tests/nested_pandas/nestedframe/test_nestedframe.py::test_all_col...
[]
MIT License
21,383
514
[ "src/nested_pandas/nestedframe/core.py" ]