instance_id
stringlengths
13
45
pull_number
int64
7
30.1k
repo
stringclasses
83 values
version
stringclasses
68 values
base_commit
stringlengths
40
40
created_at
stringdate
2013-05-16 18:15:55
2025-01-08 15:12:50
patch
stringlengths
347
35.2k
test_patch
stringlengths
432
113k
non_py_patch
stringlengths
0
18.3k
new_components
listlengths
0
40
FAIL_TO_PASS
listlengths
1
2.53k
PASS_TO_PASS
listlengths
0
1.7k
problem_statement
stringlengths
607
52.7k
hints_text
stringlengths
0
57.4k
environment_setup_commit
stringclasses
167 values
RDFLib__rdflib-1237
1,237
RDFLib/rdflib
null
8e3c771a5c6a2787b5a34a9288c7d5d6967ecbbe
2021-01-27T22:01:52Z
diff --git a/rdflib/namespace.py b/rdflib/namespace.py index aa1b4d0d8..993d82a4d 100644 --- a/rdflib/namespace.py +++ b/rdflib/namespace.py @@ -112,7 +112,11 @@ class Namespace(str): rdflib.term.URIRef(u'http://example.org/Person') >>> n['first-name'] # as item - for things that are not valid python identifi...
diff --git a/test/test_namespace.py b/test/test_namespace.py index 2706467ff..12fa0600b 100644 --- a/test/test_namespace.py +++ b/test/test_namespace.py @@ -1,7 +1,7 @@ import unittest from rdflib.graph import Graph -from rdflib.namespace import FOAF +from rdflib.namespace import Namespace, FOAF, RDF, RDFS, SH fro...
[ { "components": [ { "doc": "", "lines": [ 149, 150 ], "name": "Namespace.__contains__", "signature": "def __contains__(self, ref):", "type": "function" }, { "doc": "", "lines": [ 223, 224 ...
[ "test/test_namespace.py::NamespacePrefixTest::test_contains_method" ]
[ "test/test_namespace.py::NamespacePrefixTest::test_closed_namespace", "test/test_namespace.py::NamespacePrefixTest::test_compute_qname", "test/test_namespace.py::NamespacePrefixTest::test_n3", "test/test_namespace.py::NamespacePrefixTest::test_n32", "test/test_namespace.py::NamespacePrefixTest::test_reset",...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Adding Namespace.__contains__() No issue for this, just a quick addition for usability/literacy while working with the library. ## Proposed Changes - Adds a `Namespace.__contains__()` method t...
0c11debb5178157baeac27b735e49a757916d2a6
pvlib__pvlib-python-1150
1,150
pvlib/pvlib-python
0.8
750b1fad5242e46a3abccd9768f1c4b0de799fa7
2021-01-27T21:05:28Z
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 5586c4e44e..7372dad3df 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -630,8 +630,8 @@ ModelChain model definitions. modelchain.ModelChain.desoto modelchain.ModelChain.pvsyst modelchain.ModelChain.pvwatts...
diff --git a/pvlib/tests/test_modelchain.py b/pvlib/tests/test_modelchain.py index 9085b02b13..63f5c56153 100644 --- a/pvlib/tests/test_modelchain.py +++ b/pvlib/tests/test_modelchain.py @@ -3,7 +3,7 @@ import numpy as np import pandas as pd -from pvlib import iam, modelchain, pvsystem, temperature +from pvlib impo...
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 5586c4e44e..7372dad3df 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -630,8 +630,8 @@ ModelChain model definitions. modelchain.ModelChain.desoto modelchain.ModelChain.pvsyst modelchain.ModelChain.pvwatts...
[ { "components": [ { "doc": "", "lines": [ 802, 808 ], "name": "ModelChain.sandia_inverter", "signature": "def sandia_inverter(self):", "type": "function" }, { "doc": "", "lines": [ 810, 816 ...
[ "pvlib/tests/test_modelchain.py::test_ModelChain_invalid_inverter_params_arrays[adr]", "pvlib/tests/test_modelchain.py::test_ac_models[sandia_multi]", "pvlib/tests/test_modelchain.py::test_ac_models[pvwatts_multi]", "pvlib/tests/test_modelchain.py::test_with_sapm_pvsystem_arrays", "pvlib/tests/test_modelcha...
[ "pvlib/tests/test_modelchain.py::test_ModelChain_creation", "pvlib/tests/test_modelchain.py::test_with_sapm", "pvlib/tests/test_modelchain.py::test_with_pvwatts", "pvlib/tests/test_modelchain.py::test_orientation_strategy[None-expected0]", "pvlib/tests/test_modelchain.py::test_orientation_strategy[None-expe...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> refactor ModelChain inverter methods to use PVSystem.get_ac - follow up to #1147 - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributi...
311781d2380997044da0e484dc90aa146a74ca44
sphinx-doc__sphinx-8771
8,771
sphinx-doc/sphinx
4.0
647510e184f3bb8c14d82911b6a0e1d9f8a2b15b
2021-01-27T17:09:38Z
diff --git a/CHANGES b/CHANGES index a2ef4f73ee8..4198e57bb25 100644 --- a/CHANGES +++ b/CHANGES @@ -192,6 +192,9 @@ Features added * #8775: autodoc: Support type union operator (PEP-604) in Python 3.10 or above * #8297: autodoc: Allow to extend :confval:`autodoc_default_options` via directive options +* #759: aut...
diff --git a/tests/roots/test-ext-autodoc/target/preserve_defaults.py b/tests/roots/test-ext-autodoc/target/preserve_defaults.py new file mode 100644 index 00000000000..c927fa03521 --- /dev/null +++ b/tests/roots/test-ext-autodoc/target/preserve_defaults.py @@ -0,0 +1,19 @@ +from datetime import datetime +from typing i...
diff --git a/CHANGES b/CHANGES index a2ef4f73ee8..4198e57bb25 100644 --- a/CHANGES +++ b/CHANGES @@ -192,6 +192,9 @@ Features added * #8775: autodoc: Support type union operator (PEP-604) in Python 3.10 or above * #8297: autodoc: Allow to extend :confval:`autodoc_default_options` via directive options +* #759: aut...
[ { "components": [ { "doc": "", "lines": [ 25, 30 ], "name": "DefaultValue", "signature": "class DefaultValue:", "type": "class" }, { "doc": "", "lines": [ 26, 27 ], "name": "...
[ "tests/test_ext_autodoc_preserve_defaults.py::test_preserve_defaults" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Fix #759: autodoc: Add sphinx.ext.autodoc.preserve_defaults extension ### Feature or Bugfix - Feature ### Purpose - Add a new extension `sphinx.ext.autodoc.preserve_defaults`. - It preserves the...
Here is the discussion in the issues of the pull request. <issues> Keeping original signatures for functions/methods I'm using Sphinx's autodoc feature to document my API. Example: ``` #!python DEFAULT_OPTION = 'default' def do_something(msg, option=DEFAULT_OPTION): print msg ``` The generated documentation now...
cd75f8fea1cdd509615b58ba2b32756795fbaa03
scikit-learn__scikit-learn-19278
19,278
scikit-learn/scikit-learn
1.0
f081f5829182529eb1ab666f79c9b917b0b07f09
2021-01-26T10:48:43Z
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 230802e10ef2a..bdea970117f96 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -452,6 +452,14 @@ Changelog class methods and will be removed in 1.2. :pr:`18543` by `Guillaume Lemaitre`_. +- |API| :class:`metrics.DetCurveDisplay...
diff --git a/sklearn/metrics/_plot/tests/test_common_curve_display.py b/sklearn/metrics/_plot/tests/test_common_curve_display.py new file mode 100644 index 0000000000000..8e676018f222e --- /dev/null +++ b/sklearn/metrics/_plot/tests/test_common_curve_display.py @@ -0,0 +1,138 @@ +import pytest + +from sklearn.base impo...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 230802e10ef2a..bdea970117f96 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -452,6 +452,14 @@ Changelog class methods and will be removed in 1.2. :pr:`18543` by `Guillaume Lemaitre`_. +- |API| :class:`metrics.DetCurveDisplay...
[ { "components": [ { "doc": "Plot DET curve given an estimator and data.\n\nRead more in the :ref:`User Guide <visualizations>`.\n\n.. versionadded:: 1.0\n\nParameters\n----------\nestimator : estimator instance\n Fitted classifier or a fitted :class:`~sklearn.pipeline.Pipeline`\n in which th...
[ "sklearn/metrics/_plot/tests/test_common_curve_display.py::test_display_curve_error_non_binary[DetCurveDisplay]", "sklearn/metrics/_plot/tests/test_common_curve_display.py::test_display_curve_error_no_response[DetCurveDisplay-predict_proba-response", "sklearn/metrics/_plot/tests/test_common_curve_display.py::te...
[ "sklearn/metrics/_plot/tests/test_plot_curve_common.py::test_plot_curve_error_non_binary[plot_det_curve]", "sklearn/metrics/_plot/tests/test_plot_curve_common.py::test_plot_curve_error_non_binary[plot_roc_curve]", "sklearn/metrics/_plot/tests/test_plot_curve_common.py::test_plot_curve_error_no_response[plot_det...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> API deprecate plot_det_curve in favor of display class methods Address some of #15880 Create 2 class methods `from_estimator` and `from_predictions` to build the plot for the DET curve. ---------- ...
3c732b9f6a77e95dfa6beb154ca2e1e7848b74f9
pydata__xarray-4836
4,836
pydata/xarray
0.12
bc35548d96caaec225be9a26afbbaa94069c9494
2021-01-21T12:38:58Z
diff --git a/xarray/backends/cfgrib_.py b/xarray/backends/cfgrib_.py index 4a0ac7d67f9..65c5bc2a02b 100644 --- a/xarray/backends/cfgrib_.py +++ b/xarray/backends/cfgrib_.py @@ -12,7 +12,7 @@ BackendEntrypoint, ) from .locks import SerializableLock, ensure_lock -from .store import open_backend_dataset_store +from...
diff --git a/xarray/tests/test_plugins.py b/xarray/tests/test_plugins.py index 38ebce6da1a..64a1c563dba 100644 --- a/xarray/tests/test_plugins.py +++ b/xarray/tests/test_plugins.py @@ -6,19 +6,24 @@ from xarray.backends import common, plugins -def dummy_open_dataset_args(filename_or_obj, *args): - pass +class D...
[ { "components": [ { "doc": "", "lines": [ 89, 139 ], "name": "CfgribfBackendEntrypoint", "signature": "class CfgribfBackendEntrypoint(BackendEntrypoint):", "type": "class" }, { "doc": "", "lines": [ 9...
[ "xarray/tests/test_plugins.py::test_set_missing_parameters", "xarray/tests/test_plugins.py::test_set_missing_parameters_raise_error", "xarray/tests/test_plugins.py::test_build_engines" ]
[ "xarray/tests/test_plugins.py::test_remove_duplicates", "xarray/tests/test_plugins.py::test_remove_duplicates_warnings", "xarray/tests/test_plugins.py::test_create_engines_dict" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> backend interface, now it uses subclassing Currently, the interface between the backend and xarray is the class/container BackendEntrypoint, that must be instantiated by the backend. With this pull ...
1c198a191127c601d091213c4b3292a8bb3054e1
sympy__sympy-20827
20,827
sympy/sympy
1.8
3cef36ad8d79fb359236192bd067c267a9a51271
2021-01-19T22:28:05Z
diff --git a/sympy/tensor/array/array_expressions.py b/sympy/tensor/array/array_expressions.py new file mode 100644 index 000000000000..678b57ffc0e0 --- /dev/null +++ b/sympy/tensor/array/array_expressions.py @@ -0,0 +1,22 @@ +from sympy import Expr, ImmutableDenseNDimArray +from sympy.core.sympify import _sympify + + ...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index 9ad07fb7782e..d9533aa5adf3 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -4361,6 +4361,12 @@ def test_sympy__tensor__array__array_derivatives__ArrayDerivative(): assert _test_args(arrder) +def t...
[ { "components": [ { "doc": "Symbolic array of zeros. Equivalent to ``ZeroMatrix`` for matrices.", "lines": [ 5, 22 ], "name": "ZeroArray", "signature": "class ZeroArray(Expr):", "type": "class" }, { "doc": "", ...
[ "test_sympy__tensor__array__array_expressions__ZeroArray" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_predicates", "test_sympy__assumptions__assume__UndefinedPredicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers_...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add class ZeroArray for array expressions of zero-valued elements <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### Re...
284db64e44124856accce4abff75d2d8990c301d
pvlib__pvlib-python-1132
1,132
pvlib/pvlib-python
0.8
f94b5ad0d64e176f79105c27b9c37cc6493269f0
2021-01-18T23:05:20Z
diff --git a/docs/sphinx/source/whatsnew/v0.9.0.rst b/docs/sphinx/source/whatsnew/v0.9.0.rst index 1094973bd5..8b323fdad8 100644 --- a/docs/sphinx/source/whatsnew/v0.9.0.rst +++ b/docs/sphinx/source/whatsnew/v0.9.0.rst @@ -42,10 +42,12 @@ Enhancements :py:class:`~pvlib.modelchain.ModelChain`. This includes substanti...
diff --git a/pvlib/tests/test_modelchain.py b/pvlib/tests/test_modelchain.py index 2987ae563f..10acc469eb 100644 --- a/pvlib/tests/test_modelchain.py +++ b/pvlib/tests/test_modelchain.py @@ -166,6 +166,26 @@ def pvwatts_dc_pvwatts_ac_system(sapm_temperature_cs5p_220m): return system +@pytest.fixture(scope="fun...
diff --git a/docs/sphinx/source/whatsnew/v0.9.0.rst b/docs/sphinx/source/whatsnew/v0.9.0.rst index 1094973bd5..8b323fdad8 100644 --- a/docs/sphinx/source/whatsnew/v0.9.0.rst +++ b/docs/sphinx/source/whatsnew/v0.9.0.rst @@ -42,10 +42,12 @@ Enhancements :py:class:`~pvlib.modelchain.ModelChain`. This includes substanti...
[ { "components": [ { "doc": "", "lines": [ 813, 815 ], "name": "ModelChain.pvwatts_multi_inverter", "signature": "def pvwatts_multi_inverter(self):", "type": "function" } ], "file": "pvlib/modelchain.py" }, { "compone...
[ "pvlib/tests/test_modelchain.py::test_ModelChain_invalid_inverter_params_arrays[adr]", "pvlib/tests/test_modelchain.py::test_run_model_arrays_weather[tuple-pvwatts]", "pvlib/tests/test_modelchain.py::test_run_model_arrays_weather[list-pvwatts]", "pvlib/tests/test_modelchain.py::test_ac_models[pvwatts_multi]",...
[ "pvlib/tests/test_modelchain.py::test_ModelChain_creation", "pvlib/tests/test_modelchain.py::test_with_sapm", "pvlib/tests/test_modelchain.py::test_with_pvwatts", "pvlib/tests/test_modelchain.py::test_orientation_strategy[None-expected0]", "pvlib/tests/test_modelchain.py::test_orientation_strategy[None-expe...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implement pvwatts_multi methods for PVSystem and ModelChain - [x] Closes #1117 - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing.html...
Here is the discussion in the issues of the pull request. <issues> Integrate inverter.pvwatts_multi into PVSystem and ModelChain #1106 added a PVWatts variation that supports multiple DC power inputs. After #1076 is merged we should add this function as an option for the AC power model in `ModelChain`. Requires adding ...
311781d2380997044da0e484dc90aa146a74ca44
joblib__joblib-1149
1,149
joblib/joblib
null
9f7edc2f67d1d27757be88168ffe533a916e1032
2021-01-11T23:51:23Z
diff --git a/CHANGES.rst b/CHANGES.rst index b6c361035..25d3f2756 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -32,6 +32,10 @@ In development previous versions of Joblib. https://github.com/joblib/joblib/pull/1374 +- Add ``cache_validation_callback`` in :meth:`joblib.Memory.cache`, to allow + custom cache inv...
diff --git a/joblib/test/test_memory.py b/joblib/test/test_memory.py index 98cfce681..ff018fb8a 100644 --- a/joblib/test/test_memory.py +++ b/joblib/test/test_memory.py @@ -22,6 +22,7 @@ import pytest from joblib.memory import Memory +from joblib.memory import expires_after from joblib.memory import MemorizedFunc,...
diff --git a/CHANGES.rst b/CHANGES.rst index b6c361035..25d3f2756 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -32,6 +32,10 @@ In development previous versions of Joblib. https://github.com/joblib/joblib/pull/1374 +- Add ``cache_validation_callback`` in :meth:`joblib.Memory.cache`, to allow + custom cache inv...
[ { "components": [ { "doc": "Check if the function call is cached and valid for given arguments.\n\n- Compare the function code with the one from the cached function,\nasserting if it has changed.\n- Check if the function call is present in the cache.\n- Call `cache_validation_callback` for user de...
[ "joblib/test/test_memory.py::test_memory_integration", "joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter[True]", "joblib/test/test_memory.py::test_parallel_call_cached_function_defined_in_jupyter[False]", "joblib/test/test_memory.py::test_no_memory", "joblib/test/test_memory...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> ENH add cache_validation_callback in Memory Tentative to implement a way to validate the cache results with user define rules. - Add an argument `validate_cache` that takes a callable `validate_cac...
Here is the discussion in the issues of the pull request. <issues> Expiry of old results I've added a small extra feature that recalculates if a result is older than a certain age. ``` @memory.cache(expires_after=60) def f(x): ... ``` Will recompute if cached result is older than 60 seconds. Code is in this branch:...
41b70ff10c293bd292465456434620e406d90d88
Textualize__rich-904
904
Textualize/rich
null
0c3db4e6411c6c6c9d9fb68bc91dd81e3f74172c
2021-01-10T22:01:32Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index a0f1d036c6..ff35333440 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
diff --git a/tests/test_align.py b/tests/test_align.py index 3faec95e3a..47ba47f440 100644 --- a/tests/test_align.py +++ b/tests/test_align.py @@ -3,7 +3,7 @@ import pytest from rich.console import Console -from rich.align import Align +from rich.align import Align, VerticalCenter from rich.measure import Measurem...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a0f1d036c6..ff35333440 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,8 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
[ { "components": [ { "doc": "", "lines": [ 51, 52 ], "name": "Align.__repr__", "signature": "def __repr__(self) -> str:", "type": "function" }, { "doc": "Vertically aligns a renderable.\n\nArgs:\n renderable (Rendera...
[ "tests/test_align.py::test_bad_align_legal", "tests/test_align.py::test_repr", "tests/test_align.py::test_align_left", "tests/test_align.py::test_align_center", "tests/test_align.py::test_align_right", "tests/test_align.py::test_align_fit", "tests/test_align.py::test_align_right_style", "tests/test_al...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add rich_measure to tree and VerticalCenter ## Type of changes - [ ] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [ ] I've run the lat...
b0661de34bab35af9b4b1d3ba8e28b186b225e84
Textualize__rich-901
901
Textualize/rich
null
a9c0f917aed8d0bba232b7584742962f03a9a293
2021-01-09T16:12:28Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index d8378b729a..acb53b1308 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Added rich.tree +- Added no_color argument to Console ## [9.6.2] - 2021-01-07 diff --...
diff --git a/tests/test_console.py b/tests/test_console.py index b82c765911..82bc5b48d4 100644 --- a/tests/test_console.py +++ b/tests/test_console.py @@ -467,3 +467,14 @@ def test_console_style() -> None: expected = "\x1b[31mfoo\x1b[0m\n" result = console.file.getvalue() assert result == expected + + +d...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d8378b729a..acb53b1308 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Added rich.tree +- Added no_color argument to Console ## [9.6.2] - 2021-01-07
[ { "components": [ { "doc": "Remove all color from an iterable of segments.\n\nArgs:\n segments (Iterable[Segment]): An iterable segments.\n\nYields:\n Segment: Segments with colorless style.", "lines": [ 344, 363 ], "name": "Segment.remove_color", ...
[ "tests/test_console.py::test_no_color", "tests/test_segment.py::test_remove_color", "tests/test_style.py::test_without_color" ]
[ "tests/test_console.py::test_dumb_terminal", "tests/test_console.py::test_soft_wrap", "tests/test_console.py::test_16color_terminal", "tests/test_console.py::test_truecolor_terminal", "tests/test_console.py::test_console_options_update", "tests/test_console.py::test_init", "tests/test_console.py::test_s...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> No color Fixes https://github.com/willmcgugan/rich/issues/882 Adds a no_color mode which strips color before render. ## Type of changes - [ ] Bug fix - [ ] New feature - [ ] Documentation /...
b0661de34bab35af9b4b1d3ba8e28b186b225e84
sympy__sympy-20761
20,761
sympy/sympy
1.8
07a6388bc237a2c43e65dc3cf932373e4d06d91b
2021-01-08T08:14:30Z
diff --git a/sympy/matrices/decompositions.py b/sympy/matrices/decompositions.py index 1233c5981e19..c34cb3e42ee9 100644 --- a/sympy/matrices/decompositions.py +++ b/sympy/matrices/decompositions.py @@ -1123,6 +1123,222 @@ def _LUdecompositionFF(M): return P, L, DD, U +def _singular_value_decomposition(A): + ...
diff --git a/sympy/matrices/tests/test_decompositions.py b/sympy/matrices/tests/test_decompositions.py index a16901824eb3..82ef110ae69d 100644 --- a/sympy/matrices/tests/test_decompositions.py +++ b/sympy/matrices/tests/test_decompositions.py @@ -91,6 +91,41 @@ def test_LUdecomp(): ) raises(ValueError, lambda...
[ { "components": [ { "doc": "Returns a Condensed Singular Value decomposition.\n\nExplanation\n===========\n\nA Singular Value decomposition is a decomposition in the form $A = U \\Sigma V$\nwhere\n\n- $U, V$ are column orthogonal matrix.\n- $\\Sigma$ is a diagonal matrix, where the main diagonal c...
[ "test_singular_value_decompositionD" ]
[ "test_LUdecomp", "test_QR", "test_QR_non_square", "test_QR_trivial", "test_QR_float", "test_LUdecomposition_Simple_iszerofunc", "test_LUdecomposition_iszerofunc", "test_LDLdecomposition", "test_pinv_succeeds_with_rank_decomposition_method", "test_rank_decomposition" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implemented Singular Value Decomposition #### References to other Issues or PRs Implemented code in #20029 #### Brief description of what is fixed or changed Implemented Condensed Singular Valu...
284db64e44124856accce4abff75d2d8990c301d
openvinotoolkit__datumaro-70
70
openvinotoolkit/datumaro
null
6f1f49421cf407958cd9aa4fe635c2edbbbe0332
2021-01-04T13:34:56Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index 21c110c5c7..7040309353 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ### Fixed -- +- Allow plugins inherited from `Extractor` (instead of only `SourceExtractor`) (<https...
diff --git a/tests/test_util.py b/tests/test_util.py new file mode 100644 index 0000000000..de5470092e --- /dev/null +++ b/tests/test_util.py @@ -0,0 +1,106 @@ +from unittest import TestCase + +from datumaro.util import Rollback, error_rollback + + +class TestRollback(TestCase): + def test_does_not_call_on_no_error(...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 21c110c5c7..7040309353 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ### Fixed -- +- Allow plugins inherited from `Extractor` (instead of only `SourceExtractor`) (<https...
[ { "components": [ { "doc": "", "lines": [ 18, 47 ], "name": "Registry", "signature": "class Registry:", "type": "class" }, { "doc": "", "lines": [ 19, 25 ], "name": "Registry...
[ "tests/test_util.py::TestRollback::test_calls_on_error", "tests/test_util.py::TestRollback::test_can_fowrard_args", "tests/test_util.py::TestRollback::test_decorator_calls_on_error", "tests/test_util.py::TestRollback::test_decorator_does_not_call_on_no_error", "tests/test_util.py::TestRollback::test_decorat...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Refactor Environment class <!-- Contributing guide: https://github.com/openvinotoolkit/datumaro/blob/develop/CONTRIBUTING.md --> ### Summary <!-- Resolves #111 and #222. Depends on #1000 (for se...
9478b9a2fe38229cf679defa9cc9c7c4a5682f7e
DLR-RM__stable-baselines3-277
277
DLR-RM/stable-baselines3
null
06498e8be71b9c8aee38226176dbd28443afbb4f
2020-12-28T16:54:04Z
diff --git a/docs/guide/tensorboard.rst b/docs/guide/tensorboard.rst index cf5c4cf21..788ccc158 100644 --- a/docs/guide/tensorboard.rst +++ b/docs/guide/tensorboard.rst @@ -81,6 +81,78 @@ Here is a simple example on how to log both additional tensor or arbitrary scala model.learn(50000, callback=TensorboardCallb...
diff --git a/tests/test_logger.py b/tests/test_logger.py index 98f832d8f..c1cce8559 100644 --- a/tests/test_logger.py +++ b/tests/test_logger.py @@ -3,11 +3,14 @@ import numpy as np import pytest import torch as th +from matplotlib import pyplot as plt from pandas.errors import EmptyDataError from stable_baselin...
diff --git a/docs/guide/tensorboard.rst b/docs/guide/tensorboard.rst index cf5c4cf21..788ccc158 100644 --- a/docs/guide/tensorboard.rst +++ b/docs/guide/tensorboard.rst @@ -81,6 +81,78 @@ Here is a simple example on how to log both additional tensor or arbitrary scala model.learn(50000, callback=TensorboardCallb...
[ { "components": [ { "doc": "Figure data class storing a matplotlib figure and whether to close the figure after logging it\n\n:param figure: figure to log\n:param close: if true, close the figure after logging it", "lines": [ 40, 50 ], "name": "Figure", ...
[ "tests/test_logger.py::test_main", "tests/test_logger.py::test_make_output[stdout]", "tests/test_logger.py::test_make_output[log]", "tests/test_logger.py::test_make_output[json]", "tests/test_logger.py::test_make_output[csv]", "tests/test_logger.py::test_make_output_fail", "tests/test_logger.py::test_ex...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add image and figure to tensorboard logger ## Description Addition of Image and Figure as wrappers for images and maplotlib's figures respectively. These wrappers can be logged (only Tensorboard's im...
Here is the discussion in the issues of the pull request. <issues> [Feature Request] Add image to tensorboard ### 🚀 Feature Add image logging support for logging to TensorBoard. ### Motivation There is currently a way to log video into tensorBoard. Nevertheless, many environments need to log images, not video...
512eea923afad6f6da4bb53d72b6ea4c6d856e59
Textualize__rich-858
858
Textualize/rich
null
0511792c33e15b3e71f3bef089b0d1f387c6c511
2020-12-28T16:30:16Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index ad254e30de..7a195f113e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
diff --git a/tests/test_palette.py b/tests/test_palette.py new file mode 100644 index 0000000000..8ddd7cc907 --- /dev/null +++ b/tests/test_palette.py @@ -0,0 +1,8 @@ +from rich._palettes import STANDARD_PALETTE +from rich.table import Table + + +def test_rich_cast(): + table = STANDARD_PALETTE.__rich__() + asser...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ad254e30de..7a195f113e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
[ { "components": [ { "doc": "", "lines": [ 20, 41 ], "name": "Palette.__rich__", "signature": "def __rich__(self) -> \"Table\":", "type": "function" }, { "doc": "", "lines": [ 82, 96 ...
[ "tests/test_palette.py::test_rich_cast", "tests/test_progress.py::test_bar_columns", "tests/test_progress.py::test_text_column", "tests/test_progress.py::test_time_remaining_column", "tests/test_progress.py::test_download_progress_uses_decimal_units", "tests/test_progress.py::test_download_progress_uses_b...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> added time elapsed column ## Type of changes - [ ] Bug fix - [ ] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [ ] I've run the latest [black](https:...
b0661de34bab35af9b4b1d3ba8e28b186b225e84
joke2k__faker-1355
1,355
joke2k/faker
null
79df7b05f1785508c07f8ab290bc92c6b83019c1
2020-12-28T09:27:29Z
diff --git a/faker/providers/person/en_IN/__init__.py b/faker/providers/person/en_IN/__init__.py new file mode 100644 index 0000000000..5d66568f71 --- /dev/null +++ b/faker/providers/person/en_IN/__init__.py @@ -0,0 +1,680 @@ +from .. import Provider as PersonProvider + + +class Provider(PersonProvider): + formats =...
diff --git a/tests/providers/test_person.py b/tests/providers/test_person.py index ec7bb91015..d1f5e23e9e 100644 --- a/tests/providers/test_person.py +++ b/tests/providers/test_person.py @@ -8,6 +8,7 @@ from faker.providers.person.ar_AA import Provider as ArProvider from faker.providers.person.cs_CZ import Provider a...
[ { "components": [ { "doc": "", "lines": [ 4, 679 ], "name": "Provider", "signature": "class Provider(PersonProvider):", "type": "class" } ], "file": "faker/providers/person/en_IN/__init__.py" } ]
[ "tests/providers/test_person.py::TestAr::test_first_name", "tests/providers/test_person.py::TestAr::test_last_name", "tests/providers/test_person.py::TestJaJP::test_person", "tests/providers/test_person.py::TestNeNP::test_names", "tests/providers/test_person.py::TestFiFI::test_gender_first_names", "tests/...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> en_IN person provider ### What does this changes With this PR, I add a new provider for Indian Names in English script and the tests for it too. ### What was wrong There wasn't a way to gener...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
conan-io__conan-8263
8,263
conan-io/conan
null
da8de69618d75da5ac7d77e0eb7a38ee4d564eb9
2020-12-25T13:42:54Z
diff --git a/conans/client/build/autotools_environment.py b/conans/client/build/autotools_environment.py index e1a3bff7dcc..bad6f2c746a 100644 --- a/conans/client/build/autotools_environment.py +++ b/conans/client/build/autotools_environment.py @@ -41,6 +41,7 @@ def __init__(self, conanfile, win_bash=False, include_rpa...
diff --git a/conans/test/unittests/util/apple_test.py b/conans/test/unittests/util/apple_test.py index e36990152b4..24abe18be13 100644 --- a/conans/test/unittests/util/apple_test.py +++ b/conans/test/unittests/util/apple_test.py @@ -11,15 +11,18 @@ class FakeSettings(object): - def __init__(self, _os, _arch): +...
[ { "components": [ { "doc": "", "lines": [ 25, 35 ], "name": "_guess_apple_sdk_name", "signature": "def _guess_apple_sdk_name(os_, arch):", "type": "function" } ], "file": "conans/client/tools/apple.py" } ]
[ "conans/test/unittests/util/apple_test.py::AppleTest::test_apple_sdk_name", "conans/test/unittests/util/apple_test.py::AppleTest::test_deployment_target_flag_name" ]
[ "conans/test/unittests/util/apple_test.py::AppleTest::test_apple_sdk_name_custom_settings", "conans/test/unittests/util/apple_test.py::AppleTest::test_deployment_target_env_name", "conans/test/unittests/util/apple_test.py::AppleTest::test_is_apple_os", "conans/test/unittests/util/apple_test.py::AppleTest::tes...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Feature: add os.sdk sub-settings for Apple related: #8113 - add `os.sdk` sub-setting for Apple platforms (iOS/watchOS/tvOS/macOS) - select correct SDK in `apple_sdk_name` based on `os.sdk` - ret...
4a5b19a75db9225316c8cb022a2dfb9705a2af34
sympy__sympy-20659
20,659
sympy/sympy
1.8
dd9188277caada7161b64bfb56cf900b5480772b
2020-12-25T08:14:58Z
diff --git a/sympy/core/__init__.py b/sympy/core/__init__.py index 43d7e0525eb3..dfca31f902c4 100644 --- a/sympy/core/__init__.py +++ b/sympy/core/__init__.py @@ -28,6 +28,7 @@ from .containers import Tuple, Dict from .exprtools import gcd_terms, factor_terms, factor_nc from .parameters import evaluate +from .kind i...
diff --git a/sympy/core/tests/test_kind.py b/sympy/core/tests/test_kind.py index fd056f138ba9..eabf9ad0c40f 100644 --- a/sympy/core/tests/test_kind.py +++ b/sympy/core/tests/test_kind.py @@ -1,11 +1,12 @@ from sympy.core.add import Add from sympy.core.kind import NumberKind, UndefinedKind +from sympy.core.mul import ...
[ { "components": [ { "doc": "Default kind for all SymPy object. If the kind is not defined for\nthe object, or if the object cannot infer the kind from its\narguments, this will be returned.\n\nExamples\n========\n\n>>> from sympy import Expr\n>>> Expr().kind\nUndefinedKind", "lines": [ ...
[ "test_mul_kind" ]
[ "test_NumberKind", "test_Add_kind", "test_Symbol_kind", "test_Integral_kind", "test_Matrix_kind" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Introduce KindDispatcher <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to other Issues or PRs <!-- If ...
284db64e44124856accce4abff75d2d8990c301d
sympy__sympy-20656
20,656
sympy/sympy
1.8
5288eb336d12e4f3c3070bce67d75f38ab4d8376
2020-12-24T06:35:06Z
diff --git a/doc/src/modules/assumptions/handlers/index.rst b/doc/src/modules/assumptions/handlers/index.rst index 48781760ed35..31f9f79030f2 100644 --- a/doc/src/modules/assumptions/handlers/index.rst +++ b/doc/src/modules/assumptions/handlers/index.rst @@ -10,8 +10,8 @@ Contents .. toctree:: :maxdepth: 3 - ...
diff --git a/sympy/assumptions/tests/test_query.py b/sympy/assumptions/tests/test_query.py index a6228a4827ea..5226275ee256 100644 --- a/sympy/assumptions/tests/test_query.py +++ b/sympy/assumptions/tests/test_query.py @@ -1,14 +1,14 @@ from sympy.abc import t, w, x, y, z, n, k, m, p, i from sympy.assumptions import ...
diff --git a/doc/src/modules/assumptions/handlers/index.rst b/doc/src/modules/assumptions/handlers/index.rst index 48781760ed35..31f9f79030f2 100644 --- a/doc/src/modules/assumptions/handlers/index.rst +++ b/doc/src/modules/assumptions/handlers/index.rst @@ -10,8 +10,8 @@ Contents .. toctree:: :maxdepth: 3 - ...
[ { "components": [ { "doc": "Return the predicate.", "lines": [ 153, 158 ], "name": "AppliedPredicate.function", "signature": "def function(self):", "type": "function" }, { "doc": "Return the arguments which are applied...
[ "test_key_extensibility", "test_custom_AskHandler", "test_polyadic_predicate" ]
[ "test_int_1", "test_int_11", "test_int_12", "test_float_1", "test_zero_0", "test_negativeone", "test_infinity", "test_neg_infinity", "test_nan", "test_Rational_number", "test_sqrt_2", "test_pi", "test_E", "test_GoldenRatio", "test_TribonacciConstant", "test_I", "test_bounded", "tes...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Introduce polyadic predicate based on multipledispatch <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to...
Here is the discussion in the issues of the pull request. <issues> Using multipledispatch for handlers in assumptions module Related to #20153 and #20148 As implemented in #20153 for polyadic predicate, we can use multipledispatch instead of handler classes for monadic predicates as well. Benefits: 1. Handlers w...
284db64e44124856accce4abff75d2d8990c301d
sympy__sympy-20631
20,631
sympy/sympy
1.8
1e76752f545a2ed44a8af008c76c9ca7dd77e41d
2020-12-19T18:56:17Z
diff --git a/doc/src/modules/polys/agca.rst b/doc/src/modules/polys/agca.rst index 032416d26405..1d851f728dc8 100644 --- a/doc/src/modules/polys/agca.rst +++ b/doc/src/modules/polys/agca.rst @@ -334,3 +334,6 @@ as it is generated by a single element $t$. .. autoclass:: MonogenicFiniteExtension :members: + +.. au...
diff --git a/sympy/polys/agca/tests/test_extensions.py b/sympy/polys/agca/tests/test_extensions.py index 432687e2cf20..f7bb9b897a6e 100644 --- a/sympy/polys/agca/tests/test_extensions.py +++ b/sympy/polys/agca/tests/test_extensions.py @@ -1,8 +1,14 @@ +from sympy import symbols, sin, cos +from sympy.polys import QQ, ZZ...
diff --git a/doc/src/modules/polys/agca.rst b/doc/src/modules/polys/agca.rst index 032416d26405..1d851f728dc8 100644 --- a/doc/src/modules/polys/agca.rst +++ b/doc/src/modules/polys/agca.rst @@ -334,3 +334,6 @@ as it is generated by a single element $t$. .. autoclass:: MonogenicFiniteExtension :members: + +.. au...
[ { "components": [ { "doc": "", "lines": [ 28, 29 ], "name": "ExtensionElement.parent", "signature": "def parent(f):", "type": "function" }, { "doc": "Raise if division is not implemented for this divisor", "lin...
[ "test_FiniteExtension", "test_FiniteExtension_eq_hash", "test_FiniteExtension_mod", "test_FiniteExtension_from_sympy", "test_FiniteExtension_set_domain", "test_FiniteExtension_exquo", "test_FiniteExtension_convert", "test_FiniteExtension_division_ring", "test_FiniteExtension_Poly", "test_Domain_un...
[ "test_Domain_unify", "test_Domain_unify_composite", "test_Domain_unify_algebraic", "test_Domain_unify_with_symbols", "test_Domain__contains__", "test_Domain_get_ring", "test_Domain_get_field", "test_Domain_get_exact", "test_Domain_convert", "test_PolynomialRing__init", "test_FractionField__init"...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(polys): make FiniteExtension a proper Domain <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to othe...
284db64e44124856accce4abff75d2d8990c301d
sympy__sympy-20619
20,619
sympy/sympy
1.8
989300eda95d4a7661479d64bb7dac44240c036d
2020-12-17T10:28:20Z
diff --git a/sympy/stats/__init__.py b/sympy/stats/__init__.py index ed4ee9734088..e72ed56c7a4d 100644 --- a/sympy/stats/__init__.py +++ b/sympy/stats/__init__.py @@ -122,7 +122,7 @@ 'Trapezoidal', 'Triangular', 'Uniform', 'UniformSum', 'VonMises', 'Wald', 'Weibull', 'WignerSemicircle', 'ContinuousDistributio...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index d33b2617503c..c3f38c3596a8 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -1595,6 +1595,9 @@ def test_sympy__stats__drv_types__NegativeBinomialDistribution(): from sympy.stats.drv_types import Negati...
[ { "components": [ { "doc": "", "lines": [ 114, 132 ], "name": "FlorySchulzDistribution", "signature": "class FlorySchulzDistribution(SingleDiscreteDistribution):", "type": "class" }, { "doc": "", "lines": [ ...
[ "test_sympy__stats__drv_types__FlorySchulzDistribution", "test_PoissonDistribution", "test_Poisson", "test_FlorySchulz", "test_Hermite", "test_Logarithmic", "test_negative_binomial", "test_skellam", "test_yule_simon", "test_zeta", "test_discrete_probability", "test_DiscreteRV", "test_precomp...
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added FlorySchulz Distribution <!-- BEGIN RELEASE NOTES --> * stats * Implemented FlorySchulz Distribution <!-- END RELEASE NOTES --> ---------- </request> There are several new functions or cl...
284db64e44124856accce4abff75d2d8990c301d
joke2k__faker-1350
1,350
joke2k/faker
null
d6117b28b36dd4f3ead76026654000ba9f410c3c
2020-12-17T05:00:02Z
diff --git a/faker/providers/misc/__init__.py b/faker/providers/misc/__init__.py index cb129ce5b8..68ca213d37 100644 --- a/faker/providers/misc/__init__.py +++ b/faker/providers/misc/__init__.py @@ -2,6 +2,7 @@ import hashlib import io import json +import re import string import tarfile import uuid @@ -399,12 +40...
diff --git a/tests/providers/test_misc.py b/tests/providers/test_misc.py index d51d80c3f5..d54dfa2b0b 100644 --- a/tests/providers/test_misc.py +++ b/tests/providers/test_misc.py @@ -477,11 +477,13 @@ def test_json_multiple_rows(self, faker_with_foobar): assert isinstance(json_data, list) and len(json_data) ...
[ { "components": [ { "doc": "Formats the string in different ways depending on it's contents.\n\nThe return can be the '@word' itself, a '{{ token }}' passed to PyStr,\nor a 'provider:argument_group' format field that returns potentially\na non-string type.\n\nThis ensures that Numbers, Boolean typ...
[ "tests/providers/test_misc.py::TestMiscProvider::test_json_passthrough_values" ]
[ "tests/providers/test_misc.py::TestMiscProvider::test_uuid4_str", "tests/providers/test_misc.py::TestMiscProvider::test_uuid4_int", "tests/providers/test_misc.py::TestMiscProvider::test_uuid4_uuid_object", "tests/providers/test_misc.py::TestMiscProvider::test_uuid4_seedability", "tests/providers/test_misc.p...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> FW and JSON Improvements ### What does this changes The Format Value Selector was a bit clunky, and needed some updating. It now allows for strings to be fixed or pinned to a static value by using '...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
sympy__sympy-20612
20,612
sympy/sympy
1.8
deb3bb44be784538526ef4a03af030518426f715
2020-12-15T23:09:38Z
diff --git a/sympy/utilities/matchpy_connector.py b/sympy/utilities/matchpy_connector.py index fcad28e3399f..7c523a647674 100644 --- a/sympy/utilities/matchpy_connector.py +++ b/sympy/utilities/matchpy_connector.py @@ -1,9 +1,14 @@ +""" +The objects in this module allow the usage of the MatchPy pattern matching +librar...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index d33b2617503c..88b6b106ce71 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -1830,6 +1830,21 @@ def test_sympy__stats__matrix_distributions__MatrixNormalDistribution(): assert _test_args(MatrixNormalDi...
[ { "components": [ { "doc": "", "lines": [ 92, 94 ], "name": "Wildcard", "signature": "class Wildcard:", "type": "class" }, { "doc": "", "lines": [ 93, 94 ], "name": "Wildcard...
[ "test_sympy__utilities__matchpy_connector__WildDot", "test_sympy__utilities__matchpy_connector__WildPlus", "test_sympy__utilities__matchpy_connector__WildStar" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added WildDot, WildPlus and WildStar classes to MatchPy connector <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### Re...
284db64e44124856accce4abff75d2d8990c301d
sympy__sympy-20569
20,569
sympy/sympy
1.8
68c32660057d2309b796b355e1b3be2e8c1e7cbe
2020-12-10T14:00:15Z
diff --git a/sympy/__init__.py b/sympy/__init__.py index 2e882f1e22e4..fa6bcd33124c 100644 --- a/sympy/__init__.py +++ b/sympy/__init__.py @@ -128,7 +128,7 @@ def __sympy_debug(): chebyshevu, chebyshevu_root, chebyshevt_root, laguerre, assoc_laguerre, gegenbauer, jacobi, jacobi_normalized, Ynm, Ynm_c,...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index d33b2617503c..724df1993d92 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -2492,8 +2492,17 @@ def test_sympy__functions__special__gamma_functions__multigamma(): def test_sympy__functions__special__beta...
[ { "components": [ { "doc": "", "lines": [ 8, 13 ], "name": "betainc_mpmath_fix", "signature": "def betainc_mpmath_fix(a, b, x1, x2, reg=0):", "type": "function" }, { "doc": "", "lines": [ 141, ...
[ "test_sympy__functions__special__beta_functions__beta", "test_sympy__functions__special__beta_functions__betainc", "test_sympy__functions__special__beta_functions__betainc_regularized", "test_beta", "test_betainc", "test_no_args", "test_single_arg", "test_list_args", "test_nested_args", "test_str_...
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_predicates", "test_sympy__assumptions__assume__UndefinedPredicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers_...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added central, generalized incomplete and regularized beta functions I have added a `betainc` class through which generalized incomplete and generalized regularized incomplete beta functions can be co...
Here is the discussion in the issues of the pull request. <issues> Add incomplete and regularized beta functions and regularized gamma functions I found that these functions are missing in SymPy. They are described in MathWorld at: https://mathworld.wolfram.com/IncompleteBetaFunction.html https://mathworld.wolfram...
284db64e44124856accce4abff75d2d8990c301d
pvlib__pvlib-python-1104
1,104
pvlib/pvlib-python
0.7
6e5148f59c5050e8f7a0084b7ae39e93b80f72e6
2020-12-08T21:06:18Z
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 9d79aab177..1306ed79d1 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -181,7 +181,7 @@ DNI estimation models irradiance.dirint irradiance.dirindex irradiance.erbs - irradiance.liujordan + irradiance.c...
diff --git a/pvlib/tests/test_forecast.py b/pvlib/tests/test_forecast.py index 75b3badb74..ff14de7629 100644 --- a/pvlib/tests/test_forecast.py +++ b/pvlib/tests/test_forecast.py @@ -10,7 +10,7 @@ requires_siphon, has_siphon, skip_windows, - requires_recent_cftime, + requires_recent_cftime ) from...
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 9d79aab177..1306ed79d1 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -181,7 +181,7 @@ DNI estimation models irradiance.dirint irradiance.dirindex irradiance.erbs - irradiance.liujordan + irradiance.c...
[ { "components": [ { "doc": "Estimates irradiance from cloud cover in the following steps:\n\n1. Determine transmittance using a function of cloud cover e.g.\n :py:meth:`~ForecastModel.cloud_cover_to_transmittance_linear`\n2. Calculate GHI, DNI, DHI using the\n :py:func:`pvlib.irradiance.campbe...
[ "pvlib/tests/test_irradiance.py::test_liujordan", "pvlib/tests/test_irradiance.py::test_campbell_norman" ]
[ "pvlib/tests/test_forecast.py::test_latest", "pvlib/tests/test_forecast.py::test_full", "pvlib/tests/test_forecast.py::test_temp_convert", "pvlib/tests/test_forecast.py::test_set_location", "pvlib/tests/test_forecast.py::test_set_query_time_range_tzfail", "pvlib/tests/test_forecast.py::test_cloud_cover_to...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Convert irradiance.liujordan to irradiance.campbell_norman - [x] Closes #1100 - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing.html...
Here is the discussion in the issues of the pull request. <issues> Docstring for irradiance.liujordan isn't clear Docstring lists a parameter `pressure` but the parameter should be `airmass`. Appears to be an oversight in #386. I examined the 1960 Liu/Jordan paper and don't recognize the equation coded https://githu...
aa1635bcb40dc83f82e9fd72158670c235bfe99b
sympy__sympy-20549
20,549
sympy/sympy
1.8
1e76752f545a2ed44a8af008c76c9ca7dd77e41d
2020-12-05T19:36:55Z
diff --git a/doc/src/modules/core.rst b/doc/src/modules/core.rst index 0323aed5cfd0..fd6d3c88e96d 100644 --- a/doc/src/modules/core.rst +++ b/doc/src/modules/core.rst @@ -549,3 +549,22 @@ ordered ^^^^^^^ .. autofunction:: sympy.core.compatibility.ordered + +kind +---- +.. module:: sympy.core.kind + +Kind +^^^^ +.. ...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index 88b6b106ce71..39a1341f9fc0 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -52,6 +52,9 @@ def is_Basic(name): cls = getattr(mod, name) if hasattr(cls, '_sympy_deprecated_f...
diff --git a/doc/src/modules/core.rst b/doc/src/modules/core.rst index 0323aed5cfd0..fd6d3c88e96d 100644 --- a/doc/src/modules/core.rst +++ b/doc/src/modules/core.rst @@ -549,3 +549,22 @@ ordered ^^^^^^^ .. autofunction:: sympy.core.compatibility.ordered + +kind +---- +.. module:: sympy.core.kind + +Kind +^^^^ +.. ...
[ { "components": [ { "doc": "", "lines": [ 204, 205 ], "name": "ExprWithLimits.kind", "signature": "def kind(self):", "type": "function" } ], "file": "sympy/concrete/expr_with_limits.py" }, { "components": [ { ...
[ "test_NumberKind", "test_Add_kind", "test_Symbol_kind", "test_Integral_kind" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Introduce kind <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to other Issues or PRs <!-- If this pull ...
284db64e44124856accce4abff75d2d8990c301d
sympy__sympy-20465
20,465
sympy/sympy
1.8
fb3f1fe09a89f5c6d6233ec10903469cf3a284ba
2020-11-20T23:22:52Z
diff --git a/doc/src/modules/tensor/array.rst b/doc/src/modules/tensor/array.rst index 4b9498294556..cc8d70a29315 100644 --- a/doc/src/modules/tensor/array.rst +++ b/doc/src/modules/tensor/array.rst @@ -32,3 +32,5 @@ Functions .. autofunction:: tensorcontraction .. autofunction:: tensorproduct + +.. autofunction:: ...
diff --git a/sympy/tensor/array/tests/test_arrayop.py b/sympy/tensor/array/tests/test_arrayop.py index 065984563145..0bc3738ba517 100644 --- a/sympy/tensor/array/tests/test_arrayop.py +++ b/sympy/tensor/array/tests/test_arrayop.py @@ -7,7 +7,8 @@ from sympy import symbols, sin, exp, log, cos, transpose, adjoint, conju...
diff --git a/doc/src/modules/tensor/array.rst b/doc/src/modules/tensor/array.rst index 4b9498294556..cc8d70a29315 100644 --- a/doc/src/modules/tensor/array.rst +++ b/doc/src/modules/tensor/array.rst @@ -32,3 +32,5 @@ Functions .. autofunction:: tensorcontraction .. autofunction:: tensorproduct + +.. autofunction:: ...
[ { "components": [ { "doc": "", "lines": [ 71, 116 ], "name": "_util_contraction_diagonal", "signature": "def _util_contraction_diagonal(array, *contraction_or_diagonal_axes):", "type": "function" }, { "doc": "Diagonali...
[ "test_import_NDimArray", "test_tensorproduct", "test_tensorcontraction", "test_derivative_by_array", "test_issue_emerged_while_discussing_10972", "test_array_permutedims", "test_flatten" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> added tensordiagonal( ) function to perform diagonalization of arrays <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> ###...
284db64e44124856accce4abff75d2d8990c301d
pydata__xarray-4577
4,577
pydata/xarray
0.12
8ac3d862197204e6212a9882051808eb4b1cf3ff
2020-11-12T15:53:00Z
diff --git a/setup.cfg b/setup.cfg index 2a7762fb9f5..0a82f80ebd6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -81,6 +81,12 @@ setup_requires = setuptools >= 38.4 setuptools_scm +[options.entry_points] +xarray.backends = + zarr = xarray.backends.zarr:zarr_backend + h5netcdf = xarray.backends.h5netcdf_:h5...
diff --git a/xarray/tests/test_plugins.py b/xarray/tests/test_plugins.py new file mode 100644 index 00000000000..7e9bb58f140 --- /dev/null +++ b/xarray/tests/test_plugins.py @@ -0,0 +1,93 @@ +from unittest import mock + +import pkg_resources +import pytest + +from xarray.backends import plugins + + +def dummy_open_data...
diff --git a/setup.cfg b/setup.cfg index 2a7762fb9f5..0a82f80ebd6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -81,6 +81,12 @@ setup_requires = setuptools >= 38.4 setuptools_scm +[options.entry_points] +xarray.backends = + zarr = xarray.backends.zarr:zarr_backend + h5netcdf = xarray.backends.h5netcdf_:h5...
[ { "components": [ { "doc": "", "lines": [ 329, 377 ], "name": "open_backend_dataset_h5netcdf", "signature": "def open_backend_dataset_h5netcdf( filename_or_obj, *, mask_and_scale=True, decode_times=None, concat_characters=None, decode_coords=None...
[ "xarray/tests/test_plugins.py::test_remove_duplicates", "xarray/tests/test_plugins.py::test_remove_duplicates_warnings", "xarray/tests/test_plugins.py::test_create_engines_dict", "xarray/tests/test_plugins.py::test_set_missing_parameters", "xarray/tests/test_plugins.py::test_set_missing_parameters_raise_err...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Backends entrypoints - It's an update of @jhamman pull request https://github.com/pydata/xarray/pull/3166 - It uses `entrypoints` module to detect the installed engines. The detection is done at `o...
1c198a191127c601d091213c4b3292a8bb3054e1
sympy__sympy-20406
20,406
sympy/sympy
1.8
4f95487032a53342bdef5b76b566f59b381fb6e3
2020-11-10T08:13:05Z
diff --git a/sympy/matrices/decompositions.py b/sympy/matrices/decompositions.py index 0d59313c3b94..4084d88877a3 100644 --- a/sympy/matrices/decompositions.py +++ b/sympy/matrices/decompositions.py @@ -244,7 +244,7 @@ def _cholesky(M, hermitian=True): ======== sympy.matrices.dense.DenseMatrix.LDLdecomposit...
diff --git a/sympy/matrices/expressions/tests/test_blockmatrix.py b/sympy/matrices/expressions/tests/test_blockmatrix.py index aaf90ccfb10b..35a6d79805c4 100644 --- a/sympy/matrices/expressions/tests/test_blockmatrix.py +++ b/sympy/matrices/expressions/tests/test_blockmatrix.py @@ -129,7 +129,7 @@ def test_BlockMatrix_...
[ { "components": [ { "doc": "Return the Schur Complement of the 2x2 BlockMatrix\n\nParameters\n==========\n\nmat : String, optional\n The matrix with respect to which the\n Schur Complement is calculated. 'A' is\n used by default\n\ngeneralized : bool, optional\n If True, returns the ge...
[ "test_BlockMatrix_Determinant", "test_BlockMatrix_2x2_inverse_symbolic" ]
[ "test_bc_matmul", "test_bc_matadd", "test_bc_transpose", "test_bc_dist_diag", "test_block_plus_ident", "test_BlockMatrix", "test_block_collapse_explicit_matrices", "test_issue_17624", "test_issue_18618", "test_BlockMatrix_trace", "test_squareBlockMatrix", "test_BlockMatrix_2x2_inverse_numeric"...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added schur complement and block decompositions Added Schur Complement, Generalized Schur Complement and LDU, UDL and LU Block Decompositions #### References to other Issues or PRs Fixes #20401 ...
Here is the discussion in the issues of the pull request. <issues> Schur complement and Block LU decomposition Schur complement can be implemented for block matrices. Using this, inverse of block matrices, block LU, block LDU and block UDL decomposition can be computed as expressions. [Schur complement](https://en.wi...
284db64e44124856accce4abff75d2d8990c301d
sympy__sympy-20377
20,377
sympy/sympy
1.8
4674883018b333ea2049cf88ec04b291c01439a0
2020-11-03T16:28:28Z
diff --git a/sympy/__init__.py b/sympy/__init__.py index 3d5cab161a99..e242b55c5ca0 100644 --- a/sympy/__init__.py +++ b/sympy/__init__.py @@ -190,7 +190,7 @@ def __sympy_debug(): Adjoint, hadamard_product, HadamardProduct, HadamardPower, Determinant, det, diagonalize_vector, DiagMatrix, DiagonalMatri...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index ea71ddbeefef..b63816de7907 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -3137,6 +3137,10 @@ def test_sympy__matrices__expressions__determinant__Determinant(): from sympy.matrices.expressions import...
[ { "components": [ { "doc": "Returns the permanent of a matrix. Unlike determinant,\npermanent is defined for both square and non-square matrices.\n\nFor an m x n matrix, with m less than or equal to n,\nit is given as the sum over the permutations s of size\nless than or equal to m on [1, 2, . . ....
[ "test_sympy__matrices__expressions__determinant__Permanent", "test_permanent" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Permanent of matrix Added a method to compute permanent of a matrix #### References to other Issues or PRs #19041 #### Brief description of what is fixed or changed The previous PR is obselet...
284db64e44124856accce4abff75d2d8990c301d
scikit-learn__scikit-learn-18736
18,736
scikit-learn/scikit-learn
1.0
bf0886bae0ccbc8c5d285b6e2affe7e40474f970
2020-11-02T20:40:00Z
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 0cd1d6a89d158..6e3c063a45dcb 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -76,6 +76,11 @@ Changelog - For :class:`tree.ExtraTreeRegressor`, `criterion="mse"` is deprecated, use `"squared_error"` instead which is now the de...
diff --git a/sklearn/tests/test_config.py b/sklearn/tests/test_config.py index 22ec862ef24a3..6d458088a37a8 100644 --- a/sklearn/tests/test_config.py +++ b/sklearn/tests/test_config.py @@ -1,5 +1,13 @@ +import time +from concurrent.futures import ThreadPoolExecutor + +from joblib import Parallel +import joblib import ...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index 0cd1d6a89d158..6e3c063a45dcb 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -76,6 +76,11 @@ Changelog - For :class:`tree.ExtraTreeRegressor`, `criterion="mse"` is deprecated, use `"squared_error"` instead which is now the de...
[ { "components": [ { "doc": "Get a threadlocal **mutable** configuration. If the configuration\ndoes not exist, copy the default global configuration.", "lines": [ 16, 21 ], "name": "_get_threadlocal_config", "signature": "def _get_threadlocal_con...
[ "sklearn/tests/test_config.py::test_config_threadsafe_joblib[threading]", "sklearn/tests/test_config.py::test_config_threadsafe" ]
[ "sklearn/tests/test_config.py::test_config_context", "sklearn/tests/test_config.py::test_config_context_exception", "sklearn/tests/test_config.py::test_set_config", "sklearn/tests/test_config.py::test_config_threadsafe_joblib[loky]", "sklearn/tests/test_config.py::test_config_threadsafe_joblib[multiprocessi...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> ENH Makes global configuration thread local This PR makes it so that the global config is thread local. This means that changing the global config in one thread does not change the global config on an...
3c732b9f6a77e95dfa6beb154ca2e1e7848b74f9
falconry__falcon-1781
1,781
falconry/falcon
null
7009096bac1cfbd542a9e6c4d05b625607da81f2
2020-10-30T20:07:59Z
diff --git a/docs/_newsfragments/1583.breakingchange.rst b/docs/_newsfragments/1583.breakingchange.rst new file mode 100644 index 000000000..fb1b07cfb --- /dev/null +++ b/docs/_newsfragments/1583.breakingchange.rst @@ -0,0 +1,3 @@ +Referencing the class :class:`falcon.stream.BoundedStream` through the +``falcon.request...
diff --git a/tests/test_boundedstream.py b/tests/test_boundedstream.py index f2a8cb7b9..3c9ec2091 100644 --- a/tests/test_boundedstream.py +++ b/tests/test_boundedstream.py @@ -2,7 +2,7 @@ import pytest -from falcon.request_helpers import BoundedStream +from falcon.stream import BoundedStream @pytest.fixture ...
diff --git a/docs/_newsfragments/1583.breakingchange.rst b/docs/_newsfragments/1583.breakingchange.rst new file mode 100644 index 000000000..fb1b07cfb --- /dev/null +++ b/docs/_newsfragments/1583.breakingchange.rst @@ -0,0 +1,3 @@ +Referencing the class :class:`falcon.stream.BoundedStream` through the +``falcon.request...
[ { "components": [ { "doc": "Wrap *wsgi.input* streams to make them more robust.\n\n``socket._fileobject`` and ``io.BufferedReader`` are sometimes used\nto implement *wsgi.input*. However, app developers are often burned\nby the fact that the `read()` method for these objects block\nindefinitely if...
[ "tests/test_boundedstream.py::test_not_writable", "tests/test_deprecations.py::test_bounded_stream", "tests/test_request_body.py::TestRequestBody::test_empty_body", "tests/test_request_body.py::TestRequestBody::test_tiny_body", "tests/test_request_body.py::TestRequestBody::test_tiny_body_overflow", "tests...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> refactor(request_helpers): move BoundedStream to stream module (#1583) v2 Continuing from https://github.com/falconry/falcon/pull/1732 # Summary of Changes Closes #1583 This PR moves WSGI `Boun...
Here is the discussion in the issues of the pull request. <issues> Move falcon.request_helpers.BoundedStream to its own module The ASGI version is in it's own module, so let's do the same thing on the WSGI side. It should make it a bit more on-topic to have it in a separate module, and make it easier for contributors t...
77d5e6394a88ead151c9469494749f95f06b24bf
matplotlib__matplotlib-18829
18,829
matplotlib/matplotlib
3.3
c1e021178a409c532b23cd2caa322c4d2e6c8763
2020-10-28T04:24:11Z
diff --git a/doc/users/next_whats_new/range_slider.rst b/doc/users/next_whats_new/range_slider.rst new file mode 100644 index 000000000000..07ddae8e0626 --- /dev/null +++ b/doc/users/next_whats_new/range_slider.rst @@ -0,0 +1,4 @@ +New RangeSlider widget +---------------------- +`.widgets.RangeSlider` allows for creati...
diff --git a/lib/matplotlib/tests/test_widgets.py b/lib/matplotlib/tests/test_widgets.py index 0da6e6a52112..a90dc55d1e8e 100644 --- a/lib/matplotlib/tests/test_widgets.py +++ b/lib/matplotlib/tests/test_widgets.py @@ -298,6 +298,33 @@ def test_slider_horizontal_vertical(): assert_allclose(box.bounds, [0, 0, 1, 10...
diff --git a/doc/users/next_whats_new/range_slider.rst b/doc/users/next_whats_new/range_slider.rst new file mode 100644 index 000000000000..07ddae8e0626 --- /dev/null +++ b/doc/users/next_whats_new/range_slider.rst @@ -0,0 +1,4 @@ +New RangeSlider widget +---------------------- +`.widgets.RangeSlider` allows for creati...
[ { "components": [ { "doc": "", "lines": [ 38, 51 ], "name": "update", "signature": "def update(val):", "type": "function" } ], "file": "examples/widgets/range_slider.py" }, { "components": [ { "doc": "T...
[ "lib/matplotlib/tests/test_widgets.py::test_range_slider[horizontal]", "lib/matplotlib/tests/test_widgets.py::test_range_slider[vertical]" ]
[ "lib/matplotlib/tests/test_widgets.py::test_rectangle_selector", "lib/matplotlib/tests/test_widgets.py::test_ellipse", "lib/matplotlib/tests/test_widgets.py::test_rectangle_handles", "lib/matplotlib/tests/test_widgets.py::test_span_selector", "lib/matplotlib/tests/test_widgets.py::test_lasso_selector", "l...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Create a RangeSlider widget ## PR Summary Closes: https://github.com/matplotlib/matplotlib/issues/18563 Creates a SliderWidget that has a movable min and movable max. This enables doing things lik...
59b32afde60e46407b60c766b878c840a9bfa490
dpkp__kafka-python-2151
2,151
dpkp/kafka-python
null
53dc740bce8ef19c32fad2881021d1f6bb055f7a
2020-10-27T19:20:00Z
diff --git a/kafka/protocol/__init__.py b/kafka/protocol/__init__.py index e739b5cb1..025447f99 100644 --- a/kafka/protocol/__init__.py +++ b/kafka/protocol/__init__.py @@ -43,5 +43,7 @@ 40: 'ExpireDelegationToken', 41: 'DescribeDelegationToken', 42: 'DeleteGroups', + 45: 'AlterPartitionReassignments'...
diff --git a/test/test_protocol.py b/test/test_protocol.py index e295174d4..6a77e19d6 100644 --- a/test/test_protocol.py +++ b/test/test_protocol.py @@ -9,7 +9,7 @@ from kafka.protocol.fetch import FetchRequest, FetchResponse from kafka.protocol.message import Message, MessageSet, PartialMessage from kafka.protocol....
[ { "components": [ { "doc": "", "lines": [ 968, 985 ], "name": "AlterPartitionReassignmentsResponse_v0", "signature": "class AlterPartitionReassignmentsResponse_v0(Response):", "type": "class" }, { "doc": "", "l...
[ "test/test_protocol.py::test_create_message", "test/test_protocol.py::test_encode_message_v0", "test/test_protocol.py::test_encode_message_v1", "test/test_protocol.py::test_decode_message", "test/test_protocol.py::test_decode_message_validate_crc", "test/test_protocol.py::test_encode_message_set", "test...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> KIP-482: add support for flexible versions / tagged fields - Add support for varints - Add support for compact collections (byte array, string, array) - Add support for new request and response head...
53dc740bce8ef19c32fad2881021d1f6bb055f7a
Project-MONAI__MONAI-1138
1,138
Project-MONAI/MONAI
null
614659093c891ef479695aec16ca048b8fe69e6b
2020-10-25T19:21:52Z
diff --git a/docs/source/data.rst b/docs/source/data.rst index c79ed15e75..c45f9a4a73 100644 --- a/docs/source/data.rst +++ b/docs/source/data.rst @@ -130,3 +130,8 @@ Decathlon Datalist DataLoader ~~~~~~~~~~ .. autofunction:: monai.data.DataLoader + + +ThreadBuffer +~~~~~~~~~~~~ +.. autofunction:: monai.data.ThreadB...
diff --git a/tests/test_thread_buffer.py b/tests/test_thread_buffer.py new file mode 100644 index 0000000000..2688f1ae40 --- /dev/null +++ b/tests/test_thread_buffer.py @@ -0,0 +1,57 @@ +import time +import unittest + +from monai.data import DataLoader, Dataset, ThreadBuffer +from monai.transforms import Compose, Simul...
diff --git a/docs/source/data.rst b/docs/source/data.rst index c79ed15e75..c45f9a4a73 100644 --- a/docs/source/data.rst +++ b/docs/source/data.rst @@ -130,3 +130,8 @@ Decathlon Datalist DataLoader ~~~~~~~~~~ .. autofunction:: monai.data.DataLoader + + +ThreadBuffer +~~~~~~~~~~~~ +.. autofunction:: monai.data.ThreadB...
[ { "components": [ { "doc": "Iterates over values from self.src in a separate thread but yielding them in the current thread. This allows values\nto be queued up asynchronously. The internal thread will continue running so long as the source has values or until\nthe stop() method is called.\n\nOne ...
[ "tests/test_thread_buffer.py::TestDataLoader::test_time", "tests/test_thread_buffer.py::TestDataLoader::test_values" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Threadbuffer ### Description Adds `ThreadBuffer` for generating batches in a separate thread from the main thread. This allows a batch to be generated while the GPU is busy with training, allowing so...
e73257caa79309dcce1e93abf1632f4bfd75b11f
matplotlib__matplotlib-18807
18,807
matplotlib/matplotlib
3.3
6d629a1f9a6a09a90fd6b7e20f0fa8ed97945055
2020-10-24T23:01:01Z
diff --git a/doc/users/next_whats_new/animatable_FancyArrow.rst b/doc/users/next_whats_new/animatable_FancyArrow.rst new file mode 100644 index 000000000000..55513fba6db0 --- /dev/null +++ b/doc/users/next_whats_new/animatable_FancyArrow.rst @@ -0,0 +1,5 @@ +``set_data`` method for ``FancyArrow`` patch +---------------...
diff --git a/lib/matplotlib/tests/test_patches.py b/lib/matplotlib/tests/test_patches.py index 2a908098364e..33b86dfcdad5 100644 --- a/lib/matplotlib/tests/test_patches.py +++ b/lib/matplotlib/tests/test_patches.py @@ -522,7 +522,37 @@ def test_fancyarrow_units(): dtime = datetime(2000, 1, 1) fig, ax = plt.su...
diff --git a/doc/users/next_whats_new/animatable_FancyArrow.rst b/doc/users/next_whats_new/animatable_FancyArrow.rst new file mode 100644 index 000000000000..55513fba6db0 --- /dev/null +++ b/doc/users/next_whats_new/animatable_FancyArrow.rst @@ -0,0 +1,5 @@ +``set_data`` method for ``FancyArrow`` patch +---------------...
[ { "components": [ { "doc": "Set `.FancyArrow` x, y, dx, dy, width, head_with, and head_length.\nValues left as None will not be updated.\n\nParameters\n----------\nx, y : float or None, default: None\n The x and y coordinates of the arrow base.\n\ndx, dy : float or None, default: None\n The ...
[ "lib/matplotlib/tests/test_patches.py::test_fancyarrow_setdata" ]
[ "lib/matplotlib/tests/test_patches.py::test_Polygon_close", "lib/matplotlib/tests/test_patches.py::test_rotate_rect", "lib/matplotlib/tests/test_patches.py::test_negative_rect", "lib/matplotlib/tests/test_patches.py::test_clip_to_bbox[png]", "lib/matplotlib/tests/test_patches.py::test_patch_alpha_coloring[p...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> make FancyArrow animatable ## PR Summary Addresses point 7 of https://github.com/matplotlib/matplotlib/issues/5699 Makes the `FancyArrow` Patch animatable. While `FancyArrowPatch` is somewhat ani...
59b32afde60e46407b60c766b878c840a9bfa490
pydata__xarray-4534
4,534
pydata/xarray
0.12
764ffc95af41602b7ba216bad4be438330c3dc45
2020-10-24T22:13:29Z
diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst index b10271b13f5..5d9a0263c35 100644 --- a/doc/api-hidden.rst +++ b/doc/api-hidden.rst @@ -298,6 +298,7 @@ core.accessor_dt.DatetimeAccessor.is_quarter_start core.accessor_dt.DatetimeAccessor.is_year_end core.accessor_dt.DatetimeAccessor.is_year_start + ...
diff --git a/xarray/tests/test_accessor_dt.py b/xarray/tests/test_accessor_dt.py index ae5b0b6d7cf..984bfc763bc 100644 --- a/xarray/tests/test_accessor_dt.py +++ b/xarray/tests/test_accessor_dt.py @@ -1,3 +1,5 @@ +from distutils.version import LooseVersion + import numpy as np import pandas as pd import pytest @@ -6...
diff --git a/doc/api-hidden.rst b/doc/api-hidden.rst index b10271b13f5..5d9a0263c35 100644 --- a/doc/api-hidden.rst +++ b/doc/api-hidden.rst @@ -298,6 +298,7 @@ core.accessor_dt.DatetimeAccessor.is_quarter_start core.accessor_dt.DatetimeAccessor.is_year_end core.accessor_dt.DatetimeAccessor.is_year_start + ...
[ { "components": [ { "doc": "Dataset containing ISO year, week number, and weekday.\n\nNote\n----\nThe iso year and weekday differ from the nominal year and weekday.", "lines": [ 322, 347 ], "name": "DatetimeAccessor.isocalendar", "signature": "de...
[ "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_field_access[week]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_field_access[weekofyear]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_isocalendar[year-year]", "xarray/tests/test_accessor_dt.py::TestDatetimeAcce...
[ "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_field_access[year]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_field_access[month]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test_field_access[day]", "xarray/tests/test_accessor_dt.py::TestDatetimeAccessor::test...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add isocalendar to dt fields <!-- Feel free to remove check-list items aren't relevant to your change --> - [x] Tests added - [x] Passes `isort . && black . && mypy . && flake8` - [ ] User vis...
1c198a191127c601d091213c4b3292a8bb3054e1
slackapi__python-slack-sdk-860
860
slackapi/python-slack-sdk
null
141da1fd220fdcb0749d514ec8c6c6a729f1424b
2020-10-24T03:34:46Z
diff --git a/slack_sdk/oauth/installation_store/async_cacheable_installation_store.py b/slack_sdk/oauth/installation_store/async_cacheable_installation_store.py new file mode 100644 index 000000000..c0c889ebf --- /dev/null +++ b/slack_sdk/oauth/installation_store/async_cacheable_installation_store.py @@ -0,0 +1,34 @@ +...
diff --git a/tests/slack_sdk/oauth/installation_store/test_simple_cache.py b/tests/slack_sdk/oauth/installation_store/test_simple_cache.py new file mode 100644 index 000000000..c57c84adc --- /dev/null +++ b/tests/slack_sdk/oauth/installation_store/test_simple_cache.py @@ -0,0 +1,39 @@ +import os +import unittest + +fro...
[ { "components": [ { "doc": "", "lines": [ 8, 34 ], "name": "AsyncCacheableInstallationStore", "signature": "class AsyncCacheableInstallationStore(AsyncInstallationStore):", "type": "class" }, { "doc": "A simple memory ...
[ "tests/slack_sdk/oauth/installation_store/test_simple_cache.py::TestCacheable::test_save_and_find", "tests/slack_sdk_async/oauth/installation_store/test_simple_cache.py::TestCacheable::test_save_and_find" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [v3] Add memory-cache wrapper for InstallationStore/AsyncInstallationStore ## Summary This pull request adds optional classes that are useful for improving Slack apps' performance. Using the wrappe...
2997a1786c4fd969b00ce69af888ebae8e8ebed0
DLR-RM__stable-baselines3-196
196
DLR-RM/stable-baselines3
null
19c1a89a3add1bef4eb45ce79625fc3b3e41eee5
2020-10-20T19:06:32Z
diff --git a/docs/guide/tensorboard.rst b/docs/guide/tensorboard.rst index 7ae2ffa60..cf5c4cf21 100644 --- a/docs/guide/tensorboard.rst +++ b/docs/guide/tensorboard.rst @@ -80,3 +80,76 @@ Here is a simple example on how to log both additional tensor or arbitrary scala model.learn(50000, callback=TensorboardCal...
diff --git a/tests/test_logger.py b/tests/test_logger.py index 5ab540f4a..98f832d8f 100644 --- a/tests/test_logger.py +++ b/tests/test_logger.py @@ -2,11 +2,14 @@ import numpy as np import pytest +import torch as th from pandas.errors import EmptyDataError from stable_baselines3.common.logger import ( DEBU...
diff --git a/docs/guide/tensorboard.rst b/docs/guide/tensorboard.rst index 7ae2ffa60..cf5c4cf21 100644 --- a/docs/guide/tensorboard.rst +++ b/docs/guide/tensorboard.rst @@ -80,3 +80,76 @@ Here is a simple example on how to log both additional tensor or arbitrary scala model.learn(50000, callback=TensorboardCal...
[ { "components": [ { "doc": "Video data class storing the video frames and the frame per seconds", "lines": [ 26, 33 ], "name": "Video", "signature": "class Video(object):", "type": "class" }, { "doc": "", "line...
[ "tests/test_logger.py::test_main", "tests/test_logger.py::test_make_output[stdout]", "tests/test_logger.py::test_make_output[log]", "tests/test_logger.py::test_make_output[json]", "tests/test_logger.py::test_make_output[csv]", "tests/test_logger.py::test_make_output_fail", "tests/test_logger.py::test_ex...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add support to log videos via tensorboard ## Description I've introduced a new Video type which simply consists of the frames and the requested frames per second of the video. This type can then be c...
Here is the discussion in the issues of the pull request. <issues> [feature request] Support Tensorboard video logging (convenience) When investigating RL algorithms I've found it quite useful to report videos of a trajectory to Tensorboard, to directly relate it to other performance measures and look at the agent at d...
512eea923afad6f6da4bb53d72b6ea4c6d856e59
scikit-learn__scikit-learn-18649
18,649
scikit-learn/scikit-learn
1.0
fe897c0ba0f00171333dcbdb483ca0d0346fed95
2020-10-19T20:41:58Z
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index c658bc6b12452..d019af3cfb1ff 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1176,6 +1176,7 @@ Splitter Classes model_selection.ShuffleSplit model_selection.StratifiedKFold model_selection.StratifiedShuffleSplit + ...
diff --git a/sklearn/model_selection/tests/test_split.py b/sklearn/model_selection/tests/test_split.py index 80c19c7f2e08c..c66d8e1836ac9 100644 --- a/sklearn/model_selection/tests/test_split.py +++ b/sklearn/model_selection/tests/test_split.py @@ -35,6 +35,7 @@ from sklearn.model_selection import GridSearchCV from s...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index c658bc6b12452..d019af3cfb1ff 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -1176,6 +1176,7 @@ Splitter Classes model_selection.ShuffleSplit model_selection.StratifiedKFold model_selection.StratifiedShuffleSplit + ...
[ { "components": [ { "doc": "Stratified K-Folds iterator variant with non-overlapping groups.\n\nThis cross-validation object is a variation of StratifiedKFold attempts to\nreturn stratified folds with non-overlapping groups. The folds are made by\npreserving the percentage of samples for each clas...
[ "sklearn/model_selection/tests/test_split.py::test_cross_validator_with_default_params", "sklearn/model_selection/tests/test_split.py::test_2d_y", "sklearn/model_selection/tests/test_split.py::test_kfold_valueerrors", "sklearn/model_selection/tests/test_split.py::test_kfold_indices", "sklearn/model_selectio...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Stratified Group KFold implementation #### Reference Issues/PRs Fixes #13621. #### What does this implement/fix? Explain your changes. Implementation of StratifiedGroupKFold based on the PR https...
Here is the discussion in the issues of the pull request. <issues> Stratified GroupKFold <!-- If your issue is a usage question, submit it here instead: - StackOverflow with the scikit-learn tag: https://stackoverflow.com/questions/tagged/scikit-learn - Mailing List: https://mail.python.org/mailman/listinfo/scikit-l...
3c732b9f6a77e95dfa6beb154ca2e1e7848b74f9
Textualize__rich-389
389
Textualize/rich
null
e1cb4796bad9cbf06b4ee15fa349b84215001b4f
2020-10-16T11:16:36Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b2992626e..3c0259a54d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,16 +22,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added Console.out - Added Progress.reset - Added Style.background_style property - -### Added - -- ...
diff --git a/tests/_card_render.py b/tests/_card_render.py index 805bab4753..8d71f7c255 100644 --- a/tests/_card_render.py +++ b/tests/_card_render.py @@ -1,1 +1,1 @@ -expected='\x1b[3m Rich features \x1b[0m\n\x1b[1;31m ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b2992626e..3c0259a54d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,16 +22,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added Console.out - Added Progress.reset - Added Style.background_style property - -### Added - -- ...
[ { "components": [ { "doc": "Create a truecolor from three color components in the range(0->255).\n\nArgs:\n red (float): Red component.\n green (float): Green component.\n blue (float): Blue component.\n\nReturns:\n Color: A new color object.", "lines": [ 343, ...
[ "tests/test_bar.py::test_init", "tests/test_bar.py::test_update", "tests/test_bar.py::test_render", "tests/test_bar.py::test_measure", "tests/test_bar.py::test_zero_total", "tests/test_bar.py::test_pulse", "tests/test_bar.py::test_get_pulse_segments", "tests/test_block_bar.py::test_repr", "tests/tes...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Bar A refactor of bar.py. rich.bar.Bar is now rich.progress_bar.ProgressBar to better reflect its use. There is a new rich.bar.Bar which renders a simple solid bar. ---------- </request> There...
b0661de34bab35af9b4b1d3ba8e28b186b225e84
pre-commit__pre-commit-1643
1,643
pre-commit/pre-commit
null
6ba50f3aa7adfc215d00862bbc74613534b2026b
2020-10-14T17:05:22Z
diff --git a/pre_commit/languages/pygrep.py b/pre_commit/languages/pygrep.py index 40adba0f7..c80d6794b 100644 --- a/pre_commit/languages/pygrep.py +++ b/pre_commit/languages/pygrep.py @@ -1,6 +1,7 @@ import argparse import re import sys +from typing import NamedTuple from typing import Optional from typing import...
diff --git a/tests/languages/pygrep_test.py b/tests/languages/pygrep_test.py index 6eef56b7a..d8bacc484 100644 --- a/tests/languages/pygrep_test.py +++ b/tests/languages/pygrep_test.py @@ -8,6 +8,9 @@ def some_files(tmpdir): tmpdir.join('f1').write_binary(b'foo\nbar\n') tmpdir.join('f2').write_binary(b'[INFO]...
[ { "components": [ { "doc": "", "lines": [ 49, 59 ], "name": "_process_filename_by_line_negated", "signature": "def _process_filename_by_line_negated( pattern: Pattern[bytes], filename: str, ) -> int:", "type": "function" }, { ...
[ "tests/languages/pygrep_test.py::test_negate_by_line_no_match", "tests/languages/pygrep_test.py::test_negate_by_line_two_match", "tests/languages/pygrep_test.py::test_negate_by_line_all_match", "tests/languages/pygrep_test.py::test_negate_by_file_no_match", "tests/languages/pygrep_test.py::test_negate_by_fi...
[ "tests/languages/pygrep_test.py::test_main[baz-0-]", "tests/languages/pygrep_test.py::test_main[foo-1-f1:1:foo\\n]", "tests/languages/pygrep_test.py::test_main[bar-1-f1:2:bar\\n]", "tests/languages/pygrep_test.py::test_main[(?i)\\\\[info\\\\]-1-f2:1:[INFO]", "tests/languages/pygrep_test.py::test_main[h'q-1-...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> ENH add --negate flag to pygrep xref this comment on StackOverflow: https://stackoverflow.com/a/64344519/9988333 > A PR may be considered if you can demonstrate a real use case for it A use-cas...
ceb429b25380dacee34ba6997e5dd3d5f09b811a
Textualize__rich-382
382
Textualize/rich
null
f98cd319650f4dd6263a757029dfc88244f30f64
2020-10-13T15:57:18Z
diff --git a/.gitignore b/.gitignore index 233804adff..bc0dfdb715 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ mypy_report docs/build docs/source/_build tools/*.txt +playground/ # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index de322cbf7e..57530...
diff --git a/tests/_card_render.py b/tests/_card_render.py index 17783d030b..8f7f6279d1 100644 --- a/tests/_card_render.py +++ b/tests/_card_render.py @@ -1,1 +1,1 @@ -expected='\x1b[3m Rich features \x1b[0m\n\x1b[1;31m \x...
diff --git a/.gitignore b/.gitignore index 233804adff..bc0dfdb715 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ mypy_report docs/build docs/source/_build tools/*.txt +playground/ # Byte-compiled / optimized / DLL files __pycache__/ diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index de322cbf7e..57530...
[ { "components": [ { "doc": "", "lines": [ 16, 35 ], "name": "Process", "signature": "class Process:", "type": "class" }, { "doc": "", "lines": [ 26, 31 ], "name": "Process.me...
[ "tests/test_live.py::test_live_state", "tests/test_live.py::test_growing_display", "tests/test_live.py::test_growing_display_transient", "tests/test_live.py::test_growing_display_overflow_ellipsis", "tests/test_live.py::test_growing_display_overflow_crop", "tests/test_live.py::test_growing_display_overflo...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add live updating for any render ## Type of changes - [ ] Bug fix - [x] New feature - [x] Documentation / docstrings - [x] Tests - [ ] Other ## Checklist - [x] I've run the latest [black]...
b0661de34bab35af9b4b1d3ba8e28b186b225e84
Textualize__rich-376
376
Textualize/rich
null
a83ee864e67d97be926894c7b5d3cf470194d6c1
2020-10-11T16:35:48Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index f813ffeb0a..132fafbbc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Addded box.SQUARE_DOUBLE_HEAD - Added highlighting of EUI-48 and EUI-64 (MAC addresses) - Added Conso...
diff --git a/tests/test_console.py b/tests/test_console.py index eca300095a..8dbe06933a 100644 --- a/tests/test_console.py +++ b/tests/test_console.py @@ -370,3 +370,10 @@ def mock_pager(content: str) -> None: console.print("[bold link https:/example.org]Hello World") assert pager_content == "Hello Worl...
diff --git a/CHANGELOG.md b/CHANGELOG.md index f813ffeb0a..132fafbbc2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Addded box.SQUARE_DOUBLE_HEAD - Added highlighting of EUI-48 and EUI-64 (MAC addresses) - Added Conso...
[ { "components": [ { "doc": "Output to the terminal. This is a low-level way of writing to the terminal which unlike\n:meth:`~rich.console.Console.print` doesn't pretty print, wrap text, nor markup, but will highlighting\nand apply basic style.\n\nArgs:\n sep (str, optional): String to write bet...
[ "tests/test_console.py::test_out" ]
[ "tests/test_console.py::test_dumb_terminal", "tests/test_console.py::test_16color_terminal", "tests/test_console.py::test_truecolor_terminal", "tests/test_console.py::test_console_options_update", "tests/test_console.py::test_init", "tests/test_console.py::test_size", "tests/test_console.py::test_repr",...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> console out Adds a Console.out method which is like a low-level print does simple styling only. ## Type of changes - [ ] Bug fix - [x] New feature - [x] Documentation / docstrings - [ ] Tests...
b0661de34bab35af9b4b1d3ba8e28b186b225e84
joke2k__faker-1303
1,303
joke2k/faker
null
9e360fa90eb6bfe3fde4c320ac32f033cc803e00
2020-10-11T10:23:02Z
diff --git a/faker/providers/bank/de_CH/__init__.py b/faker/providers/bank/de_CH/__init__.py new file mode 100644 index 0000000000..6aabca48b3 --- /dev/null +++ b/faker/providers/bank/de_CH/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as BankProvider + + +class Provider(BankProvider): + """Implement bank pro...
diff --git a/tests/providers/test_bank.py b/tests/providers/test_bank.py index 2ce36aff55..57b8acabe2 100644 --- a/tests/providers/test_bank.py +++ b/tests/providers/test_bank.py @@ -3,6 +3,7 @@ import pytest from faker.providers.bank import Provider as BankProvider +from faker.providers.bank.de_CH import Provider ...
[ { "components": [ { "doc": "Implement bank provider for ``de_CH`` locale.", "lines": [ 4, 8 ], "name": "Provider", "signature": "class Provider(BankProvider):", "type": "class" } ], "file": "faker/providers/bank/de_CH/__init...
[ "tests/providers/test_bank.py::TestNoNo::test_bban", "tests/providers/test_bank.py::TestNoNo::test_iban", "tests/providers/test_bank.py::TestFiFi::test_bban", "tests/providers/test_bank.py::TestFiFi::test_iban", "tests/providers/test_bank.py::TestPlPl::test_bban", "tests/providers/test_bank.py::TestPlPl::...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add Swiss bank provider locales ### What does this changes Add Swiss `de_CH`, `fr_CH` and `it_CH` bank provider locales. Closes #1196 ---------- </request> There are several new functions o...
Here is the discussion in the issues of the pull request. <issues> Fake IBAN for Switzerland should be of 21 characters in length * Faker version: 4.1.0 Fake IBAN for Swiss locale should be 21 characters long, is 22 characters long now. ### Steps to reproduce >>> swiss_iban = Faker('de_CH').iban() >>>...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
Textualize__rich-373
373
Textualize/rich
null
9c5d790488062909877dc03ace9bf4a4cfc4aa57
2020-10-10T14:07:04Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index d7854b3ea3..f813ffeb0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added ascii_only to ConsoleOptions - Addded box.SQUARE_DOUBLE_HEAD - Added highlighting of EUI-48 and...
diff --git a/tests/test_console.py b/tests/test_console.py index 3df8e7cef5..eca300095a 100644 --- a/tests/test_console.py +++ b/tests/test_console.py @@ -2,12 +2,14 @@ import os import sys import tempfile +from typing import Optional import pytest +from rich import errors from rich.color import ColorSystem f...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d7854b3ea3..f813ffeb0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added ascii_only to ConsoleOptions - Addded box.SQUARE_DOUBLE_HEAD - Added highlighting of EUI-48 and...
[ { "components": [ { "doc": "A context manager that 'pages' content. See :meth:`~rich.console.Console.pager` for usage.", "lines": [ 209, 240 ], "name": "PagerContext", "signature": "class PagerContext:", "type": "class" }, { ...
[ "tests/test_console.py::test_dumb_terminal", "tests/test_console.py::test_16color_terminal", "tests/test_console.py::test_truecolor_terminal", "tests/test_console.py::test_console_options_update", "tests/test_console.py::test_init", "tests/test_console.py::test_size", "tests/test_console.py::test_repr",...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> pager functionality Adds pager functionality, which uses pydoc to launch a pager and provides hooks for customer pagers. ## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation ...
b0661de34bab35af9b4b1d3ba8e28b186b225e84
sympy__sympy-20238
20,238
sympy/sympy
1.8
c094f1bb9b9047eaa4cf98790c1df997f4f489f8
2020-10-10T07:57:39Z
diff --git a/sympy/stats/stochastic_process_types.py b/sympy/stats/stochastic_process_types.py index e0afad26dc1b..446d417c1887 100644 --- a/sympy/stats/stochastic_process_types.py +++ b/sympy/stats/stochastic_process_types.py @@ -10,7 +10,7 @@ Union, Expr, Function, exp, cacheit, sqrt, pi, gamma, ...
diff --git a/sympy/stats/tests/test_stochastic_process.py b/sympy/stats/tests/test_stochastic_process.py index bfdde46fe9d6..67acba4a0741 100644 --- a/sympy/stats/tests/test_stochastic_process.py +++ b/sympy/stats/tests/test_stochastic_process.py @@ -30,6 +30,9 @@ def test_DiscreteMarkovChain(): assert E(X[0]) == ...
[ { "components": [ { "doc": "Decomposes the transition matrix into submatrices with\nspecial properties.\n\nThe transition matrix can be decomposed into 4 submatrices:\n- A - the submatrix from recurrent states to recurrent states.\n- B - the submatrix from transient to recurrent states.\n- C - the...
[ "test_DiscreteMarkovChain" ]
[ "test_ContinuousMarkovChain", "test_BernoulliProcess", "test_PoissonProcess", "test_WienerProcess", "test_GammaProcess_symbolic" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added canonical form functions for Discrete Markov Chains <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References...
284db64e44124856accce4abff75d2d8990c301d
slackapi__python-slack-sdk-844
844
slackapi/python-slack-sdk
null
c959e4534baa13d0cbc11a10a449a8d93356ddcf
2020-10-09T10:38:43Z
diff --git a/slack/web/classes/blocks.py b/slack/web/classes/blocks.py index 1f412d83e..6bba87021 100644 --- a/slack/web/classes/blocks.py +++ b/slack/web/classes/blocks.py @@ -280,7 +280,9 @@ class InputBlock(Block): @property def attributes(self) -> Set[str]: - return super().attributes.union({"lab...
diff --git a/tests/web/classes/test_blocks.py b/tests/web/classes/test_blocks.py index 547ac7e97..8f69b649f 100644 --- a/tests/web/classes/test_blocks.py +++ b/tests/web/classes/test_blocks.py @@ -607,6 +607,19 @@ def test_document(self): "emoji": True, }, }, + ...
[ { "components": [ { "doc": "", "lines": [ 545, 574 ], "name": "DispatchActionConfig", "signature": "class DispatchActionConfig(JsonObject):", "type": "class" }, { "doc": "", "lines": [ 549, ...
[ "tests/web/classes/test_blocks.py::InputBlockTests::test_document", "tests/web/classes/test_elements.py::PlainTextInputElementTests::test_document_3" ]
[ "tests/web/classes/test_blocks.py::BlockTests::test_parse", "tests/web/classes/test_blocks.py::SectionBlockTests::test_document_1", "tests/web/classes/test_blocks.py::SectionBlockTests::test_document_2", "tests/web/classes/test_blocks.py::SectionBlockTests::test_document_3", "tests/web/classes/test_blocks.p...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add Dispatch Action in Block Kit #841 ## Summary This pull request adds the feature described in #841 to 2.9 series. ### Category (place an `x` in each of the `[ ]`) - [ ] **slack.web.WebClie...
2997a1786c4fd969b00ce69af888ebae8e8ebed0
slackapi__python-slack-sdk-843
843
slackapi/python-slack-sdk
null
5f4d92a8048814fc4938753594e74d7cfc74c27a
2020-10-09T10:31:07Z
diff --git a/slack_sdk/models/blocks/basic_components.py b/slack_sdk/models/blocks/basic_components.py index f2e18cee3..adc575192 100644 --- a/slack_sdk/models/blocks/basic_components.py +++ b/slack_sdk/models/blocks/basic_components.py @@ -465,3 +465,35 @@ def to_dict(self, option_type: str = "block") -> dict: # skip...
diff --git a/tests/slack_sdk/web/classes/test_blocks.py b/tests/slack_sdk/web/classes/test_blocks.py index c630d8f39..f020947c1 100644 --- a/tests/slack_sdk/web/classes/test_blocks.py +++ b/tests/slack_sdk/web/classes/test_blocks.py @@ -545,6 +545,19 @@ def test_document(self): "label": {"type": "plain...
[ { "components": [ { "doc": "", "lines": [ 470, 499 ], "name": "DispatchActionConfig", "signature": "class DispatchActionConfig(JsonObject):", "type": "class" }, { "doc": "", "lines": [ 474, ...
[ "tests/slack_sdk/web/classes/test_blocks.py::InputBlockTests::test_document", "tests/slack_sdk/web/classes/test_elements.py::PlainTextInputElementTests::test_document_3" ]
[ "tests/slack_sdk/web/classes/test_blocks.py::BlockTests::test_parse", "tests/slack_sdk/web/classes/test_blocks.py::SectionBlockTests::test_document_1", "tests/slack_sdk/web/classes/test_blocks.py::SectionBlockTests::test_document_2", "tests/slack_sdk/web/classes/test_blocks.py::SectionBlockTests::test_documen...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [v3] Add Dispatch Action in Block Kit #841 ## Summary This pull request adds the new features described in #841 to the v3 branch. ### Category (place an `x` in each of the `[ ]`) - [ ] **slac...
2997a1786c4fd969b00ce69af888ebae8e8ebed0
Textualize__rich-361
361
Textualize/rich
null
e75649a870745b934927040d36fed8a8321dd238
2020-10-08T03:40:29Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a05e68116..97150dffd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [8.0.1] - unreleased +### Added + +- Added solid block bar class + ### Changed - Change the ren...
diff --git a/tests/test_block_bar.py b/tests/test_block_bar.py new file mode 100644 index 0000000000..7210d79d4a --- /dev/null +++ b/tests/test_block_bar.py @@ -0,0 +1,53 @@ +from rich.block_bar import BlockBar + +from .render import render + + +expected = [ + "\x1b[39;49m ▐█████████████████████████ ...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a05e68116..97150dffd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [8.0.1] - unreleased +### Added + +- Added solid block bar class + ### Changed - Change the ren...
[ { "components": [ { "doc": "Renders a solid block bar.\n\nArgs:\n size (float): Value for the end of the bar.\n begin (float): Begin point (between 0 and size, inclusive).\n end (float): End point (between 0 and size, inclusive).\n width (int, optional): Width of the bar, or ``None`` f...
[ "tests/test_block_bar.py::test_repr", "tests/test_block_bar.py::test_render", "tests/test_block_bar.py::test_measure", "tests/test_block_bar.py::test_zero_total" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add block bar ## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [x] I've run the latest [black](https://github.com...
b0661de34bab35af9b4b1d3ba8e28b186b225e84
lark-parser__lark-711
711
lark-parser/lark
null
131012b893dfc253d2454d39a722fd03044e6fc7
2020-10-05T21:38:36Z
diff --git a/lark/lark.py b/lark/lark.py index 770b82136..776469a72 100644 --- a/lark/lark.py +++ b/lark/lark.py @@ -95,7 +95,16 @@ class LarkOptions(Serialize): """ if __doc__: __doc__ += OPTIONS_DOC - + + + # Adding a new option needs to be done in multiple places: + # - In the dictio...
diff --git a/tests/test_tools.py b/tests/test_tools.py index ce995d818..0972f8fb3 100644 --- a/tests/test_tools.py +++ b/tests/test_tools.py @@ -3,7 +3,7 @@ import sys from unittest import TestCase, main -from functools import partial +from lark import Lark from lark.tree import Tree from lark.tools import standa...
[ { "components": [ { "doc": "", "lines": [ 6, 7 ], "name": "indent", "signature": "def indent(text, prefix):", "type": "function" }, { "doc": "", "lines": [ 42, 47 ], "name": ...
[ "tests/test_tools.py::TestStandalone::test_contextual", "tests/test_tools.py::TestStandalone::test_postlex", "tests/test_tools.py::TestStandalone::test_simple", "tests/test_tools.py::TestStandalone::test_transformer" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Allows the standalone parser to take more options at the command line This adds most of the options that can be passed to a normal Lark instantiation to the standalone generator and the serializer. ...
5faea9223cc54d1dbd0985cf830d05a10a7729ec
sympy__sympy-20195
20,195
sympy/sympy
1.7
1b4529a95ef641c2fc15889091b281644069d20e
2020-10-04T06:32:11Z
diff --git a/sympy/stats/stochastic_process_types.py b/sympy/stats/stochastic_process_types.py index 7bc012c532b3..a0da210c2aa8 100644 --- a/sympy/stats/stochastic_process_types.py +++ b/sympy/stats/stochastic_process_types.py @@ -1,10 +1,10 @@ import random import itertools -from typing import Sequence as tSequenc...
diff --git a/sympy/stats/tests/test_stochastic_process.py b/sympy/stats/tests/test_stochastic_process.py index 74fd6172b2f2..3abd19a46e6e 100644 --- a/sympy/stats/tests/test_stochastic_process.py +++ b/sympy/stats/tests/test_stochastic_process.py @@ -138,6 +138,59 @@ def test_DiscreteMarkovChain(): assert Y6.funda...
[ { "components": [ { "doc": "Returns the list of communication classes that partition\nthe states of the markov chain.\n\nA communication class is defined to be a set of states\nsuch that every state in that set is reachable from\nevery other state in that set. Due to its properties\nthis forms a c...
[ "test_DiscreteMarkovChain" ]
[ "test_ContinuousMarkovChain", "test_BernoulliProcess", "test_PoissonProcess", "test_WienerProcess", "test_GammaProcess_symbolic" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added Communication Classes to Discrete Markov Chains <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to ...
1b4529a95ef641c2fc15889091b281644069d20e
joke2k__faker-1294
1,294
joke2k/faker
null
565d3aa016cb986031ad00746c4d3066e9743710
2020-10-03T12:43:26Z
diff --git a/faker/providers/currency/sv_SE/__init__.py b/faker/providers/currency/sv_SE/__init__.py new file mode 100644 index 0000000000..69919686e4 --- /dev/null +++ b/faker/providers/currency/sv_SE/__init__.py @@ -0,0 +1,178 @@ +from .. import Provider as CurrencyProvider + +# Names taken from https://www.iban.se/c...
diff --git a/tests/providers/test_currency.py b/tests/providers/test_currency.py index d88231693c..81bd2220c7 100644 --- a/tests/providers/test_currency.py +++ b/tests/providers/test_currency.py @@ -110,3 +110,25 @@ def test_currency_name(self, faker, num_samples): for _ in range(num_samples): nam...
[ { "components": [ { "doc": "", "lines": [ 6, 177 ], "name": "Provider", "signature": "class Provider(CurrencyProvider):", "type": "class" } ], "file": "faker/providers/currency/sv_SE/__init__.py" } ]
[ "tests/providers/test_currency.py::TestSvSe::test_currency", "tests/providers/test_currency.py::TestSvSe::test_currency_name" ]
[ "tests/providers/test_currency.py::TestCurrencyProvider::test_currency", "tests/providers/test_currency.py::TestCurrencyProvider::test_currency_code", "tests/providers/test_currency.py::TestCurrencyProvider::test_currency_name", "tests/providers/test_currency.py::TestCurrencyProvider::test_currency_symbol_no_...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added currency provider for sv_SE ### What does this changes Added currency provider for sv_SE ### What was wrong There was no provider. ### How this fixes it Implemented a provider and...
Here is the discussion in the issues of the pull request. <issues> sv_SE curreny provider missing There are currently no provider for sv_SE handeling currencies. ---------- -------------------- </issues>
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-1290
1,290
joke2k/faker
null
565d3aa016cb986031ad00746c4d3066e9743710
2020-10-02T07:49:14Z
diff --git a/faker/providers/job/sk_SK/__init__.py b/faker/providers/job/sk_SK/__init__.py new file mode 100644 index 0000000000..4fb402b5dd --- /dev/null +++ b/faker/providers/job/sk_SK/__init__.py @@ -0,0 +1,513 @@ +from .. import Provider as JobProvider + + +class Provider(JobProvider): + """Translated from Super...
diff --git a/tests/providers/test_job.py b/tests/providers/test_job.py index 33edb985d7..5bca64ead0 100644 --- a/tests/providers/test_job.py +++ b/tests/providers/test_job.py @@ -8,6 +8,7 @@ from faker.providers.job.ko_KR import Provider as KoKrJobProvider from faker.providers.job.pt_BR import Provider as PtBrJobProv...
[ { "components": [ { "doc": "Translated from Super class", "lines": [ 4, 513 ], "name": "Provider", "signature": "class Provider(JobProvider):", "type": "class" }, { "doc": "", "lines": [ 512, ...
[ "tests/providers/test_job.py::TestJobProvider::test_job", "tests/providers/test_job.py::TestJaJp::test_job", "tests/providers/test_job.py::TestKoKr::test_job", "tests/providers/test_job.py::TestHuHu::test_job", "tests/providers/test_job.py::TestHyAm::test_job", "tests/providers/test_job.py::TestDeDe::test...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add sk_SK Job provider ### What does this changes This PR adds sk_SK Job provider ---------- </request> There are several new functions or classes that need to be implemented, using the defin...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-1288
1,288
joke2k/faker
null
b86c2f827fe09b65e3bd3494f385291ef96e0556
2020-10-01T18:44:54Z
diff --git a/faker/providers/automotive/tr_TR/__init__.py b/faker/providers/automotive/tr_TR/__init__.py new file mode 100644 index 0000000000..e5498b23bb --- /dev/null +++ b/faker/providers/automotive/tr_TR/__init__.py @@ -0,0 +1,31 @@ +import re + +from .. import Provider as AutomotiveProvider + + +class Provider(Aut...
diff --git a/tests/providers/test_automotive.py b/tests/providers/test_automotive.py index f79289c6e1..6842b66b18 100644 --- a/tests/providers/test_automotive.py +++ b/tests/providers/test_automotive.py @@ -3,6 +3,7 @@ from faker.providers.automotive.de_DE import Provider as DeDeAutomotiveProvider from faker.provider...
[ { "components": [ { "doc": "Implement automotive provider for ``tr_TR`` locale.\n\nSources:\n\n- https://en.wikipedia.org/wiki/Vehicle_registration_plates_of_Turkey", "lines": [ 6, 31 ], "name": "Provider", "signature": "class Provider(Automotive...
[ "tests/providers/test_automotive.py::TestPtBr::test_license_plate", "tests/providers/test_automotive.py::TestPtPt::test_license_plate", "tests/providers/test_automotive.py::TestHuHu::test_license_plate", "tests/providers/test_automotive.py::TestDeDe::test_license_plate", "tests/providers/test_automotive.py:...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add Turkish translation to automotive provider ### What does this changes Add custom automotive provider for tr_TR locale ### What was wrong The automotive provider of tr_TR was the default a...
Here is the discussion in the issues of the pull request. <issues> Turkish translation for Automotive provider * Faker version: * OS: The job provider does not contain Turkish translation. It is using the base automotive provider (`license_plate`). ### Steps to reproduce import faker f = faker.Faker('tr_TR')...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-1287
1,287
joke2k/faker
null
b86c2f827fe09b65e3bd3494f385291ef96e0556
2020-10-01T18:40:29Z
diff --git a/faker/providers/credit_card/pt_PT/__init__.py b/faker/providers/credit_card/pt_PT/__init__.py new file mode 100644 index 0000000000..57f2e74f38 --- /dev/null +++ b/faker/providers/credit_card/pt_PT/__init__.py @@ -0,0 +1,68 @@ +from collections import OrderedDict + +from .. import CreditCard +from .. impor...
diff --git a/tests/providers/test_credit_card.py b/tests/providers/test_credit_card.py index 11b3df8309..6c2561eb91 100644 --- a/tests/providers/test_credit_card.py +++ b/tests/providers/test_credit_card.py @@ -125,3 +125,26 @@ def test_credit_card_full(self, faker, num_samples): card_data = faker.credit_c...
[ { "components": [ { "doc": "Implementation of ``pt_PT`` locale credit card\n\nFor all methods that take ``card_type`` as an argument a random card type\nwill be used if the supplied value is ``None``. The list of valid card types\nincludes ``'visa'``, ``'mastercard'`` and ``'maestro'``.\n\nSource:...
[ "tests/providers/test_credit_card.py::TestPtPt::test_mastercard", "tests/providers/test_credit_card.py::TestPtPt::test_maestro" ]
[ "tests/providers/test_credit_card.py::TestCreditCardProvider::test_mastercard", "tests/providers/test_credit_card.py::TestCreditCardProvider::test_visa13", "tests/providers/test_credit_card.py::TestCreditCardProvider::test_visa16", "tests/providers/test_credit_card.py::TestCreditCardProvider::test_visa19", ...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add pt_PT credit card provider ### Added pt_PT credit card provider Added visa, mastercard and maestro bins of portugal. ---------- </request> There are several new functions or classes that need t...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-1285
1,285
joke2k/faker
null
c5fc99edf684e13914cf807fe16a6c37cb86511a
2020-10-01T17:48:14Z
diff --git a/faker/providers/job/tr_TR/__init__.py b/faker/providers/job/tr_TR/__init__.py new file mode 100644 index 0000000000..64330999ab --- /dev/null +++ b/faker/providers/job/tr_TR/__init__.py @@ -0,0 +1,737 @@ +from .. import Provider as BaseProvider + + +class Provider(BaseProvider): + """ + Source: https...
diff --git a/tests/providers/test_job.py b/tests/providers/test_job.py index 4bd522746d..33edb985d7 100644 --- a/tests/providers/test_job.py +++ b/tests/providers/test_job.py @@ -8,6 +8,7 @@ from faker.providers.job.ko_KR import Provider as KoKrJobProvider from faker.providers.job.pt_BR import Provider as PtBrJobProv...
[ { "components": [ { "doc": "Source: https://www.turkcebilgi.com/meslekler_listesi", "lines": [ 4, 736 ], "name": "Provider", "signature": "class Provider(BaseProvider):", "type": "class" } ], "file": "faker/providers/job/tr_...
[ "tests/providers/test_job.py::TestJobProvider::test_job", "tests/providers/test_job.py::TestJaJp::test_job", "tests/providers/test_job.py::TestKoKr::test_job", "tests/providers/test_job.py::TestHuHu::test_job", "tests/providers/test_job.py::TestHyAm::test_job", "tests/providers/test_job.py::TestDeDe::test...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add job provider for tr_TR ### What does this changes Add custom job provider for tr_TR locale ### What was wrong The job provider of tr_TR was the default job provider. ### How this fixes...
Here is the discussion in the issues of the pull request. <issues> Turkish translation for job provider * Faker version: * OS: The job provider does not contain Turkish translation. It is using the base job provider. ### Steps to reproduce ```python import faker f = faker.Faker('tr_TR') j = f.job() ``` #...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-1284
1,284
joke2k/faker
null
f58e64eda0af1bd42c04192cee17ab8c98a620e9
2020-10-01T12:08:08Z
diff --git a/faker/providers/company/tr_TR/__init__.py b/faker/providers/company/tr_TR/__init__.py new file mode 100644 index 0000000000..e6866f45ad --- /dev/null +++ b/faker/providers/company/tr_TR/__init__.py @@ -0,0 +1,25 @@ +from .. import Provider as CompanyProvider + + +class Provider(CompanyProvider): + forma...
diff --git a/tests/providers/test_company.py b/tests/providers/test_company.py index 0ba51c0670..5731e6c8e0 100644 --- a/tests/providers/test_company.py +++ b/tests/providers/test_company.py @@ -17,6 +17,7 @@ from faker.providers.company.pt_BR import company_id_checksum from faker.providers.company.ru_RU import Provi...
[ { "components": [ { "doc": "", "lines": [ 4, 25 ], "name": "Provider", "signature": "class Provider(CompanyProvider):", "type": "class" }, { "doc": ":example: 'Peak Games'", "lines": [ 21, 2...
[ "tests/providers/test_company.py::TestFiFi::test_company_business_id", "tests/providers/test_company.py::TestHyAm::test_bs", "tests/providers/test_company.py::TestHyAm::test_catch_phrase", "tests/providers/test_company.py::TestHyAm::test_company", "tests/providers/test_company.py::TestHyAm::test_company_suf...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added Company Provider for tr_TR locale. Added Company Provider for tr_TR locale. 👍 ---------- </request> There are several new functions or classes that need to be implemented, using the definiti...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
joke2k__faker-1283
1,283
joke2k/faker
null
e940094cc1f8998f867346b24983ab08c8f51301
2020-10-01T09:46:47Z
diff --git a/faker/providers/color/sk_SK/__init__.py b/faker/providers/color/sk_SK/__init__.py new file mode 100644 index 0000000000..64cf79d248 --- /dev/null +++ b/faker/providers/color/sk_SK/__init__.py @@ -0,0 +1,11 @@ +from .. import Provider as ColorProvider + + +class Provider(ColorProvider): + """Implement co...
diff --git a/tests/providers/test_color.py b/tests/providers/test_color.py index fd65d6a2b4..0d1e8c4aa8 100644 --- a/tests/providers/test_color.py +++ b/tests/providers/test_color.py @@ -8,6 +8,7 @@ from faker.providers.color.es_ES import Provider as EsEsColorProvider from faker.providers.color.fa_IR import Provider ...
[ { "components": [ { "doc": "Implement color provider for ``sk_SK`` locale.", "lines": [ 4, 10 ], "name": "Provider", "signature": "class Provider(ColorProvider):", "type": "class" } ], "file": "faker/providers/color/sk_SK/__...
[ "tests/providers/test_color.py::TestColorProvider::test_safe_hex_color", "tests/providers/test_color.py::TestColorProvider::test_hex_color", "tests/providers/test_color.py::TestColorProvider::test_rgb_color", "tests/providers/test_color.py::TestColorProvider::test_rgb_css_color", "tests/providers/test_color...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implement color provider for ``sk_SK`` locale ### What does this changes This PR implements color provider for ``sk_SK`` locale ---------- </request> There are several new functions or clas...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
pvlib__pvlib-python-1073
1,073
pvlib/pvlib-python
0.7
b105021f7c1a47f888363af5585083fc27aefd4c
2020-10-01T01:40:51Z
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 2e882e9a46..845ad393fa 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -627,6 +627,7 @@ ModelChain model definitions. modelchain.ModelChain.sapm_temp modelchain.ModelChain.pvsyst_temp modelchain.ModelChain...
diff --git a/pvlib/tests/test_modelchain.py b/pvlib/tests/test_modelchain.py index 4393c5091d..d02611bbf3 100644 --- a/pvlib/tests/test_modelchain.py +++ b/pvlib/tests/test_modelchain.py @@ -138,6 +138,18 @@ def pvwatts_dc_pvwatts_ac_pvsyst_temp_system(): return system +@pytest.fixture(scope="function") +def p...
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 2e882e9a46..845ad393fa 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -627,6 +627,7 @@ ModelChain model definitions. modelchain.ModelChain.sapm_temp modelchain.ModelChain.pvsyst_temp modelchain.ModelChain...
[ { "components": [ { "doc": "", "lines": [ 921, 925 ], "name": "ModelChain.fuentes_temp", "signature": "def fuentes_temp(self):", "type": "function" } ], "file": "pvlib/modelchain.py" }, { "components": [ { ...
[ "pvlib/tests/test_modelchain.py::test_run_model_with_weather_fuentes_temp", "pvlib/tests/test_modelchain.py::test_infer_temp_model[fuentes_temp]", "pvlib/tests/test_pvsystem.py::test_PVSystem_fuentes_celltemp", "pvlib/tests/test_pvsystem.py::test_PVSystem_fuentes_celltemp_override" ]
[ "pvlib/tests/test_modelchain.py::test_ModelChain_creation", "pvlib/tests/test_modelchain.py::test_with_sapm", "pvlib/tests/test_modelchain.py::test_with_pvwatts", "pvlib/tests/test_modelchain.py::test_orientation_strategy[None-expected0]", "pvlib/tests/test_modelchain.py::test_orientation_strategy[None-expe...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Expose temperature.fuentes in PVSystem and ModelChain - [x] Closes #1042 - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing.html) -...
Here is the discussion in the issues of the pull request. <issues> expose pvlib.temperature.fuentes in PVSystem and ModelChain Follow up to #1032 and #1037 ---------- -------------------- </issues>
aa1635bcb40dc83f82e9fd72158670c235bfe99b
minio__minio-py-982
982
minio/minio-py
null
1009b2c84c1736712485582caef390f0a749c6c9
2020-09-30T14:20:17Z
diff --git a/docs/API.md b/docs/API.md index 5a6da598e..e0a427fd2 100644 --- a/docs/API.md +++ b/docs/API.md @@ -41,10 +41,13 @@ s3Client = Minio( | [`set_bucket_versioning`](#set_bucket_versioning) | [`fput_object`](#fput_object) | | [`list...
diff --git a/tests/unit/tagging.py b/tests/unit/tagging.py new file mode 100644 index 000000000..b3ff77295 --- /dev/null +++ b/tests/unit/tagging.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- +# MinIO Python Library for Amazon S3 Compatible Cloud Storage, +# (C) 2020 MinIO, Inc. +# +# Licensed under the Apache License, ...
diff --git a/docs/API.md b/docs/API.md index 5a6da598e..e0a427fd2 100644 --- a/docs/API.md +++ b/docs/API.md @@ -41,10 +41,13 @@ s3Client = Minio( | [`set_bucket_versioning`](#set_bucket_versioning) | [`fput_object`](#fput_object) | | [`list...
[ { "components": [ { "doc": "Delete tags configuration of a bucket.\n\n:param bucket_name: Name of the bucket.\n\nExample::\n minio.delete_bucket_tags(\"my-bucketname\")", "lines": [ 1929, 1939 ], "name": "Minio.delete_bucket_tags", "signature"...
[ "tests/unit/tagging.py::TaggingTest::test_tagging" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add {set,get,delete}_{bucket,object}_tags APIs ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW DEFINITIONS>> There ...
d4cc44095a98edb62ecbc3c5ed09ed86be45edcc
pydicom__pydicom-1196
1,196
pydicom/pydicom
2.0
147641145c09cf38d6c796ed47427aaffb475872
2020-09-27T00:45:17Z
diff --git a/doc/faq/index.rst b/doc/faq/index.rst index 2915b3de30..eceea57c00 100644 --- a/doc/faq/index.rst +++ b/doc/faq/index.rst @@ -45,7 +45,7 @@ Required Optional ~~~~~~~~ -When manipulating *Pixel Data* it's recommended that you install +When manipulating *Pixel Data* it's recommended you install `NumPy <...
diff --git a/pydicom/tests/test_data_manager.py b/pydicom/tests/test_data_manager.py index fd9d6777be..2f17878292 100644 --- a/pydicom/tests/test_data_manager.py +++ b/pydicom/tests/test_data_manager.py @@ -10,7 +10,7 @@ import pytest from pydicom.data import ( - get_charset_files, get_testdata_files, get_palett...
diff --git a/doc/faq/index.rst b/doc/faq/index.rst index 2915b3de30..eceea57c00 100644 --- a/doc/faq/index.rst +++ b/doc/faq/index.rst @@ -45,7 +45,7 @@ Required Optional ~~~~~~~~ -When manipulating *Pixel Data* it's recommended that you install +When manipulating *Pixel Data* it's recommended you install `NumPy <...
[ { "components": [ { "doc": "Download missing test files to the local cache.", "lines": [ 144, 160 ], "name": "fetch_data_files", "signature": "def fetch_data_files():", "type": "function" } ], "file": "pydicom/data/data_mana...
[ "pydicom/tests/test_data_manager.py::TestGetData::test_get_dataset", "pydicom/tests/test_data_manager.py::TestGetData::test_get_dataset_pattern", "pydicom/tests/test_data_manager.py::TestGetData::test_get_testdata_file", "pydicom/tests/test_data_manager.py::TestGetData::test_get_palette_files", "pydicom/tes...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [MRG] Update installation documentation for cache data #### Describe the changes * Update installation documentation * Add `fetch_data_files()` for downloading cache data #### Tasks - [x] Unit t...
c2c6145d679adc97924d6c8a761a50b8e2819e3f
joke2k__faker-1276
1,276
joke2k/faker
null
135738584b799f9b0fabb938095929455f8449a0
2020-09-26T17:42:54Z
diff --git a/faker/providers/bank/tr_TR/__init__.py b/faker/providers/bank/tr_TR/__init__.py new file mode 100644 index 0000000000..e89db54f42 --- /dev/null +++ b/faker/providers/bank/tr_TR/__init__.py @@ -0,0 +1,8 @@ +from .. import Provider as BankProvider + + +class Provider(BankProvider): + """Implement bank pro...
diff --git a/tests/providers/test_bank.py b/tests/providers/test_bank.py index 46f710ecf1..2ce36aff55 100644 --- a/tests/providers/test_bank.py +++ b/tests/providers/test_bank.py @@ -11,6 +11,7 @@ from faker.providers.bank.no_NO import Provider as NoNoBankProvider from faker.providers.bank.pl_PL import Provider as Pl...
[ { "components": [ { "doc": "Implement bank provider for ``tr_TR`` locale.", "lines": [ 4, 8 ], "name": "Provider", "signature": "class Provider(BankProvider):", "type": "class" } ], "file": "faker/providers/bank/tr_TR/__init...
[ "tests/providers/test_bank.py::TestNoNo::test_bban", "tests/providers/test_bank.py::TestNoNo::test_iban", "tests/providers/test_bank.py::TestFiFi::test_bban", "tests/providers/test_bank.py::TestFiFi::test_iban", "tests/providers/test_bank.py::TestPlPl::test_bban", "tests/providers/test_bank.py::TestPlPl::...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added bank provider for tr_TR locale. Added bank provider for tr_TR locale. 👍 #1200 ---------- </request> There are several new functions or classes that need to be implemented, using the definiti...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
scikit-learn__scikit-learn-18447
18,447
scikit-learn/scikit-learn
0.24
54ce4222694819ad52d544ce5cba5da274c34ab7
2020-09-23T20:43:26Z
diff --git a/sklearn/utils/extmath.py b/sklearn/utils/extmath.py index b45ffebea2d6b..0384dc0706334 100644 --- a/sklearn/utils/extmath.py +++ b/sklearn/utils/extmath.py @@ -690,6 +690,105 @@ def _safe_accumulator_op(op, x, *args, **kwargs): return result +def _incremental_weighted_mean_and_var(X, sample_weight...
diff --git a/sklearn/utils/tests/test_extmath.py b/sklearn/utils/tests/test_extmath.py index fba6ef7353375..451acd8d0307c 100644 --- a/sklearn/utils/tests/test_extmath.py +++ b/sklearn/utils/tests/test_extmath.py @@ -11,6 +11,7 @@ from scipy.special import expit import pytest +from sklearn.utils import gen_batches ...
[ { "components": [ { "doc": "Calculate weighted mean and weighted variance incremental update.\n\n.. versionadded:: 0.24\n\nParameters\n----------\nX : array-like of shape (n_samples, n_features)\n Data to use for mean and variance update.\n\nsample_weight : array-like of shape (n_samples,) or N...
[ "sklearn/utils/tests/test_extmath.py::test_density", "sklearn/utils/tests/test_extmath.py::test_uniform_weights", "sklearn/utils/tests/test_extmath.py::test_random_weights", "sklearn/utils/tests/test_extmath.py::test_randomized_svd_low_rank_all_dtypes[int32]", "sklearn/utils/tests/test_extmath.py::test_rand...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> ENH Incremental weighted mean and var Partially address #15601. Supersede and close #16066. ---------- </request> There are several new functions or classes that need to be implemented, using the d...
Here is the discussion in the issues of the pull request. <issues> Incremental weighted mean and var #### Reference Issues/PRs Partially adresses: #15601 #### What does this implement/fix? Explain your changes. Method partial_fit in StandardScaler can be used multiple times to incrementally update mean and varia...
54ce4222694819ad52d544ce5cba5da274c34ab7
Textualize__rich-305
305
Textualize/rich
null
e651e850161a9b84758214e2a24791340aaeb254
2020-09-23T15:12:51Z
diff --git a/CHANGELOG.md b/CHANGELOG.md index a0a2563d71..e411978ebd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
diff --git a/tests/test_console.py b/tests/test_console.py index e16b2a056c..1a07321c6b 100644 --- a/tests/test_console.py +++ b/tests/test_console.py @@ -5,13 +5,11 @@ import pytest -from rich.color import Color, ColorSystem -from rich.console import Console, ConsoleOptions +from rich.color import ColorSystem +fr...
diff --git a/CHANGELOG.md b/CHANGELOG.md index a0a2563d71..e411978ebd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semanti...
[ { "components": [ { "doc": "An error in the Capture context manager.", "lines": [ 153, 154 ], "name": "CaptureError", "signature": "class CaptureError(Exception):", "type": "class" }, { "doc": "Context manager to captu...
[ "tests/test_console.py::test_dumb_terminal", "tests/test_console.py::test_16color_terminal", "tests/test_console.py::test_truecolor_terminal", "tests/test_console.py::test_console_options_update", "tests/test_console.py::test_init", "tests/test_console.py::test_size", "tests/test_console.py::test_repr",...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Capture ## Type of changes - [ ] Bug fix - [x] New feature - [ ] Documentation / docstrings - [ ] Tests - [ ] Other ## Checklist - [ ] I've run the latest [black](https://github.com/psf/b...
b0661de34bab35af9b4b1d3ba8e28b186b225e84
scikit-learn__scikit-learn-18393
18,393
scikit-learn/scikit-learn
1.0
114616d9f6ce9eba7c1aacd3d4a254f868010e25
2020-09-13T16:00:48Z
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index be894774f5a27..a54abb78730a4 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -102,6 +102,13 @@ Changelog - |Enhancement| :func:`datasets.fetch_kddcup99` raises a better message when the cached file is invalid. :pr:`19669` `Thomas...
diff --git a/sklearn/compose/tests/test_column_transformer.py b/sklearn/compose/tests/test_column_transformer.py index ae2e25b68210f..f7c1874d4a1b7 100644 --- a/sklearn/compose/tests/test_column_transformer.py +++ b/sklearn/compose/tests/test_column_transformer.py @@ -225,7 +225,7 @@ def test_column_transformer_datafra...
diff --git a/doc/whats_new/v1.0.rst b/doc/whats_new/v1.0.rst index be894774f5a27..a54abb78730a4 100644 --- a/doc/whats_new/v1.0.rst +++ b/doc/whats_new/v1.0.rst @@ -102,6 +102,13 @@ Changelog - |Enhancement| :func:`datasets.fetch_kddcup99` raises a better message when the cached file is invalid. :pr:`19669` `Thomas...
[ { "components": [ { "doc": "Record which transformer produced which column.", "lines": [ 417, 437 ], "name": "ColumnTransformer._record_output_indices", "signature": "def _record_output_indices(self, Xs):", "type": "function" } ...
[ "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_output_indices", "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_output_indices_df" ]
[ "sklearn/compose/tests/test_column_transformer.py::test_column_transformer", "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_dataframe", "sklearn/compose/tests/test_column_transformer.py::test_column_transformer_empty_columns[False-list-pandas]", "sklearn/compose/tests/test_column_t...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> ENH Record output of transformers in ColumnTransformer This PR adds a fitted attribute to the `ColumnTransformer`, tentatively named `transformers_output_`. It records the columns produced by each tra...
3c732b9f6a77e95dfa6beb154ca2e1e7848b74f9
sympy__sympy-20072
20,072
sympy/sympy
1.7
b6c328e2f057ba81513d19a1451ace358ecc8233
2020-09-11T23:54:49Z
diff --git a/sympy/core/basic.py b/sympy/core/basic.py index bc45798bd939..f66847f623d6 100644 --- a/sympy/core/basic.py +++ b/sympy/core/basic.py @@ -1690,21 +1690,6 @@ def _eval_rewrite(self, pattern, rule, **hints): return self.func(*args) if hints.get('evaluate', True) else self - def _accept_eval_d...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index 14e330a05ddc..f799fdf7b1f2 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -4285,6 +4285,13 @@ def test_sympy__tensor__array__arrayop__Flatten(): assert _test_args(fla) +def test_sympy__tensor__ar...
[ { "components": [ { "doc": "", "lines": [ 1906, 1907 ], "name": "Derivative._get_zero_with_shape_like", "signature": "def _get_zero_with_shape_like(cls, expr):", "type": "function" }, { "doc": "", "lines": [ ...
[ "test_sympy__tensor__array__array_derivatives__ArrayDerivative", "test_matrix_derivative_by_scalar", "test_matrix_derivative_non_matrix_result", "test_matrix_derivative_trivial_cases", "test_matrix_derivative_with_inverse", "test_matrix_derivative_vectors_and_scalars", "test_matrix_derivatives_of_traces...
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Adding ArrayDerivative class as subclass of Derivative, will handle d… Adding ArrayDerivative class as subclass of Derivative, will handle derivatives involving non scalar expressions. Getting rid ...
1b4529a95ef641c2fc15889091b281644069d20e
pvlib__pvlib-python-1045
1,045
pvlib/pvlib-python
0.7
f8b9c04c13228ae74fa3be1cfb7e03ed4cf4eaa5
2020-09-04T16:52:57Z
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 077a5e121d..2e882e9a46 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -236,7 +236,10 @@ PV temperature models temperature.pvsyst_cell temperature.faiman temperature.fuentes + temperature.ross pvsyst...
diff --git a/pvlib/tests/test_temperature.py b/pvlib/tests/test_temperature.py index 411adcfcca..f8ea3a8bc1 100644 --- a/pvlib/tests/test_temperature.py +++ b/pvlib/tests/test_temperature.py @@ -124,6 +124,14 @@ def test_faiman_ndarray(): assert_allclose(expected, result, 3) +def test_ross(): + result = tem...
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 077a5e121d..2e882e9a46 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -236,7 +236,10 @@ PV temperature models temperature.pvsyst_cell temperature.faiman temperature.fuentes + temperature.ross pvsyst...
[ { "components": [ { "doc": "Calculate cell temperature using the Ross model.\n\nThe Ross model [1]_ assumes the difference between cell temperature\nand ambient temperature is proportional to the plane of array irradiance,\nand assumes wind speed of 1 m/s. The model implicitly assumes steady or\ns...
[ "pvlib/tests/test_temperature.py::test_ross" ]
[ "pvlib/tests/test_temperature.py::test_sapm_cell", "pvlib/tests/test_temperature.py::test_sapm_module", "pvlib/tests/test_temperature.py::test_sapm_cell_from_module", "pvlib/tests/test_temperature.py::test_sapm_ndarray", "pvlib/tests/test_temperature.py::test_sapm_series", "pvlib/tests/test_temperature.py...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> add Ross temperature model - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing.html) - [x] Tests added - [x] Updates entries to [`doc...
aa1635bcb40dc83f82e9fd72158670c235bfe99b
lark-parser__lark-681
681
lark-parser/lark
null
4e37b754f56cceccbbc40d1813ba4c2940ea8337
2020-08-28T22:40:56Z
diff --git a/lark/lark.py b/lark/lark.py index d82e723ac..27ec9b05d 100644 --- a/lark/lark.py +++ b/lark/lark.py @@ -75,6 +75,7 @@ class LarkOptions(Serialize): - "resolve" - The parser will automatically choose the simplest derivation (it chooses consistently: greedy for tokens, n...
diff --git a/tests/test_tree_forest_transformer.py b/tests/test_tree_forest_transformer.py new file mode 100644 index 000000000..e7ca56ba9 --- /dev/null +++ b/tests/test_tree_forest_transformer.py @@ -0,0 +1,247 @@ +from __future__ import absolute_import + +import unittest + +from lark import Lark +from lark.lexer impo...
[ { "components": [ { "doc": "", "lines": [ 132, 133 ], "name": "PackedNode.children", "signature": "def children(self):", "type": "function" }, { "doc": "", "lines": [ 164, 168 ], ...
[ "tests/test_tree_forest_transformer.py::TestTreeForestTransformer::test_aliases", "tests/test_tree_forest_transformer.py::TestTreeForestTransformer::test_default_ambig", "tests/test_tree_forest_transformer.py::TestTreeForestTransformer::test_default_rule", "tests/test_tree_forest_transformer.py::TestTreeFores...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> New forest utilities (2) A better version of #675 ready for review. ---------- </request> There are several new functions or classes that need to be implemented, using the definitions below: <<NEW ...
5faea9223cc54d1dbd0985cf830d05a10a7729ec
Project-MONAI__MONAI-964
964
Project-MONAI/MONAI
null
5fff91e72cf0c19e24156265794242b3b7e0957a
2020-08-27T15:01:41Z
diff --git a/docs/source/data.rst b/docs/source/data.rst index ef05c4c0e4..50d44ee709 100644 --- a/docs/source/data.rst +++ b/docs/source/data.rst @@ -68,6 +68,11 @@ NibabelReader .. autoclass:: NibabelReader :members: +NumpyReader +~~~~~~~~~~~ +.. autoclass:: NunpyReader + :members: + Nifti format handling ...
diff --git a/tests/test_numpy_reader.py b/tests/test_numpy_reader.py new file mode 100644 index 0000000000..9c40ded9d1 --- /dev/null +++ b/tests/test_numpy_reader.py @@ -0,0 +1,90 @@ +# Copyright 2020 MONAI Consortium +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except...
diff --git a/docs/source/data.rst b/docs/source/data.rst index ef05c4c0e4..50d44ee709 100644 --- a/docs/source/data.rst +++ b/docs/source/data.rst @@ -68,6 +68,11 @@ NibabelReader .. autoclass:: NibabelReader :members: +NumpyReader +~~~~~~~~~~~ +.. autoclass:: NunpyReader + :members: + Nifti format handling ...
[ { "components": [ { "doc": "Load NPY or NPZ format data based on Numpy library, they can be arrays or pickled objects.\nA typical usage is to load the `mask` data for classification task.\nIt can load part of the npz file with specified `npz_keys`.\n\nArgs:\n npz_keys: if loading npz file, only...
[ "tests/test_numpy_reader.py::TestNumpyReader::test_npy", "tests/test_numpy_reader.py::TestNumpyReader::test_npy_pickle", "tests/test_numpy_reader.py::TestNumpyReader::test_npz1", "tests/test_numpy_reader.py::TestNumpyReader::test_npz2", "tests/test_numpy_reader.py::TestNumpyReader::test_npz3" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> 909 Add NumpyReader for IO factory Part of #909 ### Description This PR implemented `NumpyReader` which is part of the IO factory task. ### Status **Ready** ### Types of changes <!--- Put...
e73257caa79309dcce1e93abf1632f4bfd75b11f
atlassian-api__atlassian-python-api-559
559
atlassian-api/atlassian-python-api
null
eb86bf1b088f235fba9932ea7b06ca8e0d018c52
2020-08-26T10:06:22Z
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 70824f1aa..93eaa4e14 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -77,6 +77,8 @@ All methods based on docs from: https://developer.atlassian.com/docs/ - https://developer.atlassian.com/platform/marketplace/rest * Crowd: - https://developer.atl...
diff --git a/tests/test_base.py b/tests/test_base.py index 9a9f8da5a..4825c9fd6 100644 --- a/tests/test_base.py +++ b/tests/test_base.py @@ -1,5 +1,5 @@ # coding: utf8 -from atlassian import Jira, Confluence, Bitbucket, Bamboo, Crowd, ServiceDesk +from atlassian import Jira, Confluence, Bitbucket, Bamboo, Crowd, Servi...
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 70824f1aa..93eaa4e14 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -77,6 +77,8 @@ All methods based on docs from: https://developer.atlassian.com/docs/ - https://developer.atlassian.com/platform/marketplace/rest * Crowd: - https://developer.atl...
[ { "components": [ { "doc": "", "lines": [ 10, 383 ], "name": "Xray", "signature": "class Xray(AtlassianRestAPI):", "type": "class" }, { "doc": "", "lines": [ 12, 13 ], "name"...
[ "tests/test_base.py::TestBasic::test_init_jira", "tests/test_base.py::TestBasic::test_init_confluence", "tests/test_base.py::TestBasic::test_init_bitbucket", "tests/test_base.py::TestBasic::test_init_bamboo", "tests/test_base.py::TestBasic::test_init_crowd", "tests/test_base.py::TestBasic::test_init_servi...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat: add xray rest api (server/data-center) support Add support for v1.0 of the Xray REST api for Server and Data-Center. Xray is a Jira plugin which provides Test Management support. I use the RES...
3e1ef05e9b570b32985a2a0f14e6666ccde9bd65
sympy__sympy-19998
19,998
sympy/sympy
1.7
8a64de4322db8b1195e930e86fabd925e85e19ea
2020-08-24T09:37:58Z
diff --git a/sympy/solvers/ode/ode.py b/sympy/solvers/ode/ode.py index 5bb0f6b422e5..3963872bdaac 100644 --- a/sympy/solvers/ode/ode.py +++ b/sympy/solvers/ode/ode.py @@ -580,7 +580,7 @@ def dsolve(eq, func=None, hint="default", simplify=True, # changed to show the systems that haven't # been solved. ...
diff --git a/sympy/solvers/ode/tests/test_systems.py b/sympy/solvers/ode/tests/test_systems.py index 950d1c839641..72231bab96c3 100644 --- a/sympy/solvers/ode/tests/test_systems.py +++ b/sympy/solvers/ode/tests/test_systems.py @@ -1,13 +1,13 @@ from sympy import (symbols, Symbol, diff, Function, Derivative, Matrix, Ra...
[ { "components": [ { "doc": "Simplify solutions from dsolve_system.", "lines": [ 73, 201 ], "name": "simpsol", "signature": "def simpsol(sol, wrt1, wrt2, doit=True):", "type": "function" }, { "doc": "Simplify the rhs of...
[ "test_sysode_linear_neq_order1_type1", "test_sysode_linear_neq_order1_type2", "test_sysode_linear_neq_order1_type3", "test_sysode_linear_neq_order1_type5_type6", "test_higher_order_to_first_order", "test_second_order_to_first_order_2", "test_component_division", "test_neq_order1_type4_slow3" ]
[ "test_linear_ode_to_matrix", "test__classify_linear_system", "test_matrix_exp", "test_canonical_odes", "test_linodesolve", "test_dsolve_system", "test_dsolve" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [GSoC] Simplification for the solutions of systems of ODEs <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### Reference...
1b4529a95ef641c2fc15889091b281644069d20e
joke2k__faker-1247
1,247
joke2k/faker
null
a310d09e627fc1e1ddd6e88a3d65cab03fe22e4e
2020-08-19T07:17:49Z
diff --git a/faker/generator.py b/faker/generator.py index 46f176d100..2c7be5e733 100644 --- a/faker/generator.py +++ b/faker/generator.py @@ -99,7 +99,9 @@ def set_formatter(self, name, method): def set_arguments(self, group, argument, value=None): """ Creates an argument group, with an individu...
diff --git a/tests/providers/test_misc.py b/tests/providers/test_misc.py index 3c5814e3b7..f81e7136e6 100644 --- a/tests/providers/test_misc.py +++ b/tests/providers/test_misc.py @@ -12,10 +12,25 @@ from faker import Faker +class _FooBarProvider: + + def foo_bar(self, param: str = None) -> str: + return ...
[ { "components": [ { "doc": "", "lines": [ 442, 461 ], "name": "Provider.json.process_list_structure", "signature": "def process_list_structure(data: list) -> dict:", "type": "function" }, { "doc": "", "lines": ...
[ "tests/providers/test_misc.py::TestMisc::test_fixed_width_invalid_arguments_type", "tests/providers/test_misc.py::TestMisc::test_fixed_width_with_arguments", "tests/providers/test_misc.py::TestMisc::test_json_dict_format_nested_list_of_objects", "tests/providers/test_misc.py::TestMisc::test_json_dict_format_n...
[ "tests/providers/test_misc.py::TestMisc::test_csv_helper_method", "tests/providers/test_misc.py::TestMisc::test_dsv_csvwriter_kwargs", "tests/providers/test_misc.py::TestMisc::test_dsv_data_columns", "tests/providers/test_misc.py::TestMisc::test_dsv_no_header", "tests/providers/test_misc.py::TestMisc::test_...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> JSON and Fixed Width argument group and parser support. ### What does this changes The new Argument Groups is a much cleaner way to handle parsing arguments to provider methods when building data s...
Here is the discussion in the issues of the pull request. <issues> Update python_requires in setup.py https://github.com/joke2k/faker/blob/146f205b942d15c95160df35d3e431624697d079/setup.py#L65 ---------- --------------------Finnish IBAN should be 18 characters of length * Faker version: 4.1.1 Finnish IBAN should be ...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
scikit-learn__scikit-learn-18176
18,176
scikit-learn/scikit-learn
0.24
bf4714f40113ac4e6045d34d89905f146c5274b3
2020-08-17T09:07:16Z
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index f5a0e71e07d1c..2ec617df85cc0 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -947,7 +947,7 @@ details. metrics.cohen_kappa_score metrics.confusion_matrix metrics.dcg_score - metrics.detection_error_tradeoff_curve + ...
diff --git a/sklearn/metrics/_plot/tests/test_plot_curve_common.py b/sklearn/metrics/_plot/tests/test_plot_curve_common.py new file mode 100644 index 0000000000000..c3b56f1724372 --- /dev/null +++ b/sklearn/metrics/_plot/tests/test_plot_curve_common.py @@ -0,0 +1,103 @@ +import pytest + +from sklearn.base import Classi...
diff --git a/doc/modules/classes.rst b/doc/modules/classes.rst index f5a0e71e07d1c..2ec617df85cc0 100644 --- a/doc/modules/classes.rst +++ b/doc/modules/classes.rst @@ -947,7 +947,7 @@ details. metrics.cohen_kappa_score metrics.confusion_matrix metrics.dcg_score - metrics.detection_error_tradeoff_curve + ...
[ { "components": [ { "doc": "DET curve visualization.\n\nIt is recommend to use :func:`~sklearn.metrics.plot_det_curve` to create a\nvisualizer. All parameters are stored as attributes.\n\nRead more in the :ref:`User Guide <visualizations>`.\n\n.. versionadded:: 0.24\n\nParameters\n----------\nfpr ...
[ "sklearn/metrics/_plot/tests/test_plot_curve_common.py::test_plot_curve_error_non_binary[plot_det_curve]", "sklearn/metrics/_plot/tests/test_plot_curve_common.py::test_plot_curve_error_non_binary[plot_roc_curve]", "sklearn/metrics/_plot/tests/test_plot_curve_common.py::test_plot_curve_error_no_response[plot_det...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> ENH Adds plot_det_curve and associated display Add the plotting helpers for the DET curve Follow-up to #18169 Closes #18181 ---------- </request> There are several new functions or classes that...
Here is the discussion in the issues of the pull request. <issues> RFC rename detection_error_tradeoff_curve det_curve I am wondering if we should rename `detection_error_tradeoff_curve` to `det_curve`. It will be consistent with `roc_curve` and the DET curve seems to be quite common in the literature when related to ...
54ce4222694819ad52d544ce5cba5da274c34ab7
sphinx-doc__sphinx-8125
8,125
sphinx-doc/sphinx
3.4
a163bbe870dc5bc7f3863ead37cd391be81fb0cc
2020-08-14T15:50:26Z
diff --git a/CHANGES b/CHANGES index 55c0a833e52..53567756f91 100644 --- a/CHANGES +++ b/CHANGES @@ -18,6 +18,9 @@ Deprecated Features added -------------- +* #8119: autodoc: Allow to determine whether a member not included in + ``__all__`` attribute of the module should be documented or not via + :event:`autodoc...
diff --git a/tests/test_ext_autodoc_events.py b/tests/test_ext_autodoc_events.py index 7ddc952ab38..798f593dcee 100644 --- a/tests/test_ext_autodoc_events.py +++ b/tests/test_ext_autodoc_events.py @@ -80,3 +80,28 @@ def test_between_exclude(app): ' third line', '', ] + + +@pytest.mark.sphinx('h...
diff --git a/CHANGES b/CHANGES index 55c0a833e52..53567756f91 100644 --- a/CHANGES +++ b/CHANGES @@ -18,6 +18,9 @@ Deprecated Features added -------------- +* #8119: autodoc: Allow to determine whether a member not included in + ``__all__`` attribute of the module should be documented or not via + :event:`autodoc...
[ { "components": [ { "doc": "A member of object.\n\nThis is used for the result of `Documenter.get_object_members()` to\nrepresent each member of the object.\n\n.. Note::\n\n An instance of this class behaves as a tuple of (name, object)\n for compatibility to old Sphinx. The behavior will be ...
[ "tests/test_ext_autodoc_events.py::test_skip_module_member" ]
[ "tests/test_ext_autodoc_events.py::test_process_docstring", "tests/test_ext_autodoc_events.py::test_cut_lines", "tests/test_ext_autodoc_events.py::test_between", "tests/test_ext_autodoc_events.py::test_between_exclude" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Close #8119: autodoc: Control visibility of module member not in __all__ ### Feature or Bugfix - Feature ### Purpose - refs: #8119 - This allows `autodoc-skip-member` handlers to determine wh...
Here is the discussion in the issues of the pull request. <issues> All identifiers should be passed to autodoc-skip-member, even if not in __all__ **Is your feature request related to a problem? Please describe.** I have a Python project for which I've generated docs. It did well. Almost everything was doc'ed. I knew ...
c941b9cb14aefc132d6e3691085ce9704c1356e6
pgmpy__pgmpy-1316
1,316
pgmpy/pgmpy
null
b8fc138bfcf384f8e87b928ed19b5cc53ea1c79b
2020-08-13T12:11:39Z
diff --git a/pgmpy/base/DAG.py b/pgmpy/base/DAG.py index cdaa3375e..f12951dc0 100644 --- a/pgmpy/base/DAG.py +++ b/pgmpy/base/DAG.py @@ -647,14 +647,16 @@ def active_trail_nodes(self, variables, observed=None): active_trails[start] = active_nodes return active_trails - def _get_ancestors_of(s...
diff --git a/pgmpy/tests/test_base/test_DAG.py b/pgmpy/tests/test_base/test_DAG.py index 7cf96fd45..f680bf343 100644 --- a/pgmpy/tests/test_base/test_DAG.py +++ b/pgmpy/tests/test_base/test_DAG.py @@ -132,6 +132,12 @@ def test_init_with_cycle(self): self.assertRaises(ValueError, DAG, [("a", "b"), ("b", "a")]) ...
[ { "components": [ { "doc": "Returns the ancestral graph of the given `nodes`. The ancestral graph only\ncontains the nodes which are ancestors of atleast one of the variables in \nnode.\n\nParameters\n----------\nnode: iterable\n List of nodes whose ancestral graph needs to be computed.\n\nRetu...
[ "pgmpy/tests/test_base/test_DAG.py::TestDAGCreation::test_get_ancestral_graph" ]
[ "pgmpy/tests/test_base/test_DAG.py::TestDAGCreation::test_add_edge_nonstring", "pgmpy/tests/test_base/test_DAG.py::TestDAGCreation::test_add_edge_string", "pgmpy/tests/test_base/test_DAG.py::TestDAGCreation::test_add_edge_weight", "pgmpy/tests/test_base/test_DAG.py::TestDAGCreation::test_add_edges_from_nonstr...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Adds DAG.get_ancestral_graph method to get the ancestral graph of the… … given nodes ### Your checklist for this pull request Please review the [guidelines for contributing](CONTRIBUTING.md) to th...
cf8d0f12e2e5be62b01ff8fded85f3f64eab1e84
pvlib__pvlib-python-1022
1,022
pvlib/pvlib-python
0.7
87d1bf21ed7f9c654ef55864eb1035c18fbb1cf4
2020-08-11T03:12:32Z
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index a7087edad0..91c7662a0a 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -495,6 +495,8 @@ Creating a ModelChain object. :toctree: generated/ modelchain.ModelChain + modelchain.ModelChain.with_pvwatts + mod...
diff --git a/pvlib/tests/test_modelchain.py b/pvlib/tests/test_modelchain.py index bba8a711a0..e6d8f70083 100644 --- a/pvlib/tests/test_modelchain.py +++ b/pvlib/tests/test_modelchain.py @@ -170,6 +170,19 @@ def test_ModelChain_creation(sapm_dc_snl_ac_system, location): ModelChain(sapm_dc_snl_ac_system, location) ...
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index a7087edad0..91c7662a0a 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -495,6 +495,8 @@ Creating a ModelChain object. :toctree: generated/ modelchain.ModelChain + modelchain.ModelChain.with_pvwatts + mod...
[ { "components": [ { "doc": "ModelChain that follows the PVWatts methods.\n\nParameters\n----------\nsystem : PVSystem\n A :py:class:`~pvlib.pvsystem.PVSystem` object that represents\n the connected set of modules, inverters, etc.\n\nlocation : Location\n A :py:class:`~pvlib.location.Locat...
[ "pvlib/tests/test_modelchain.py::test_with_sapm", "pvlib/tests/test_modelchain.py::test_with_pvwatts" ]
[ "pvlib/tests/test_modelchain.py::test_ModelChain_creation", "pvlib/tests/test_modelchain.py::test_orientation_strategy[None-expected0]", "pvlib/tests/test_modelchain.py::test_orientation_strategy[None-expected1]", "pvlib/tests/test_modelchain.py::test_orientation_strategy[flat-expected2]", "pvlib/tests/test...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> preconfigured ModelChain for pvwatts, sapm - [x] Closes #1013 - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing.html) - [x] Test...
Here is the discussion in the issues of the pull request. <issues> pre-configured ModelChains **Is your feature request related to a problem? Please describe.** `ModelChain` has a lot of options and can be challenging to configure. This also makes it difficult to implement reference implementations of workflows. **...
aa1635bcb40dc83f82e9fd72158670c235bfe99b
pyocd__pyOCD-929
929
pyocd/pyOCD
null
11c27362c4cb107fe6834c496ba6c03779dac85d
2020-08-10T20:53:30Z
diff --git a/pyocd/coresight/component_ids.py b/pyocd/coresight/component_ids.py index d52a679af..b6b838479 100644 --- a/pyocd/coresight/component_ids.py +++ b/pyocd/coresight/component_ids.py @@ -24,6 +24,7 @@ from .itm import ITM from .tpiu import TPIU from .gpr import GPR +from .sdc600 import SDC600 # Componen...
diff --git a/test/unit/test_sdc600.py b/test/unit/test_sdc600.py new file mode 100644 index 000000000..12dbb8beb --- /dev/null +++ b/test/unit/test_sdc600.py @@ -0,0 +1,94 @@ +# pyOCD debugger +# Copyright (c) 2020 Arm Limited +# SPDX-License-Identifier: Apache-2.0 +# +# Licensed under the Apache License, Version 2.0 (...
[ { "components": [ { "doc": "! @brief Base class for SDC-600 exceptions.", "lines": [ 28, 30 ], "name": "ComPortError", "signature": "class ComPortError(exceptions.Error):", "type": "class" }, { "doc": "! @brief Receive...
[ "test/unit/test_sdc600.py::TestSDC600::test_stuff_nonflag", "test/unit/test_sdc600.py::TestSDC600::test_destuff_nonflag", "test/unit/test_sdc600.py::TestSDC600::test_stuff_flag", "test/unit/test_sdc600.py::TestSDC600::test_destuff_flag" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> SDC-600 component Adds a component class for the Arm SDC-600 debug communications channel, typically used for secure debug. No currently shipping MCUs use SDC-600, so this is mostly useful with design...
fe7d737424be818daa1d55ecbd59be1a0dffdf5b
sphinx-doc__sphinx-8075
8,075
sphinx-doc/sphinx
3.4
487b8436c6e8dc596db4b8d4d06e9145105a2ac2
2020-08-08T11:20:59Z
diff --git a/CHANGES b/CHANGES index b59dc7cd680..99e5cdaf9be 100644 --- a/CHANGES +++ b/CHANGES @@ -13,6 +13,10 @@ Deprecated Features added -------------- +* #6914: Add a new event :event:`warn-missing-reference` to custom warning + messages when failed to resolve a cross-reference +* #6914: Emit a detailed warn...
diff --git a/tests/roots/test-domain-py-xref-warning/conf.py b/tests/roots/test-domain-py-xref-warning/conf.py new file mode 100644 index 00000000000..e69de29bb2d diff --git a/tests/roots/test-domain-py-xref-warning/index.rst b/tests/roots/test-domain-py-xref-warning/index.rst new file mode 100644 index 00000000000..6f...
diff --git a/CHANGES b/CHANGES index b59dc7cd680..99e5cdaf9be 100644 --- a/CHANGES +++ b/CHANGES @@ -13,6 +13,10 @@ Deprecated Features added -------------- +* #6914: Add a new event :event:`warn-missing-reference` to custom warning + messages when failed to resolve a cross-reference +* #6914: Emit a detailed warn...
[ { "components": [ { "doc": "", "lines": [ 1108, 1119 ], "name": "warn_missing_reference", "signature": "def warn_missing_reference(app: \"Sphinx\", domain: Domain, node: pending_xref) -> bool:", "type": "function" } ], "file...
[ "tests/test_domain_py.py::test_warn_missing_reference" ]
[ "tests/test_domain_py.py::test_function_signatures", "tests/test_domain_py.py::test_domain_py_xrefs", "tests/test_domain_py.py::test_domain_py_objects", "tests/test_domain_py.py::test_resolve_xref_for_properties", "tests/test_domain_py.py::test_domain_py_find_obj", "tests/test_domain_py.py::test_get_full_...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Fix #6914: Emit a detailed warning when failed to resolve :ref: ### Feature or Bugfix - Feature ### Purpose - refs: #6914 - To be clear the ambiguous warning for missing-reference :ref:, this ...
Here is the discussion in the issues of the pull request. <issues> References to figures without captions: errors in both HTML and LaTeX **Describe the bug** Using figures without captions causes errors in both HTML (though these are properly reported when source is processed) and in LaTeX (they are not reported until...
c941b9cb14aefc132d6e3691085ce9704c1356e6
sympy__sympy-19896
19,896
sympy/sympy
1.7
d20fcb2086345d9bef7c7651f6b36d7e49b4a804
2020-08-06T01:42:12Z
diff --git a/sympy/physics/control/lti.py b/sympy/physics/control/lti.py index 46fd2ea928f6..72589784c223 100644 --- a/sympy/physics/control/lti.py +++ b/sympy/physics/control/lti.py @@ -1,11 +1,23 @@ -from sympy import Basic, Mul, degree, Symbol, expand, cancel, Expr, exp +from sympy import Basic, Mul, Pow, degree, Sy...
diff --git a/sympy/physics/control/tests/test_lti.py b/sympy/physics/control/tests/test_lti.py index 310231955f1a..209c79ddbe53 100644 --- a/sympy/physics/control/tests/test_lti.py +++ b/sympy/physics/control/tests/test_lti.py @@ -1,8 +1,9 @@ -from sympy import symbols, Matrix, factor, Function, simplify, exp, pi +from...
[ { "components": [ { "doc": "like roots, but works on higher-order polynomials. ", "lines": [ 12, 18 ], "name": "_roots", "signature": "def _roots(poly, var):", "type": "function" }, { "doc": "Computes the gain of the r...
[ "test_TransferFunction_functions" ]
[ "test_TransferFunction_construction", "test_TransferFunction_addition_and_subtraction", "test_TransferFunction_multiplication_and_division", "test_TransferFunction_is_proper", "test_TransferFunction_is_strictly_proper", "test_TransferFunction_is_biproper", "test_Series_construction", "test_Series_func...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [GSoC] Add other useful methods in TransferFunction class <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References...
1b4529a95ef641c2fc15889091b281644069d20e
pvlib__pvlib-python-1017
1,017
pvlib/pvlib-python
0.7
49da0318256d8b46f90d4b29a7023de680f8410b
2020-08-04T03:27:48Z
diff --git a/docs/examples/plot_passias_diffuse_shading.py b/docs/examples/plot_passias_diffuse_shading.py new file mode 100644 index 0000000000..989e977fdb --- /dev/null +++ b/docs/examples/plot_passias_diffuse_shading.py @@ -0,0 +1,84 @@ +""" +Diffuse Self-Shading +==================== + +Modeling the reduction in di...
diff --git a/pvlib/tests/test_shading.py b/pvlib/tests/test_shading.py new file mode 100644 index 0000000000..8a9fd46a69 --- /dev/null +++ b/pvlib/tests/test_shading.py @@ -0,0 +1,71 @@ +import numpy as np +import pandas as pd + +from pandas.testing import assert_series_equal +import pytest + +from pvlib import shading...
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index dd7c618646..a7087edad0 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -354,6 +354,12 @@ Effects on PV System Output soiling.hsu soiling.kimber +.. autosummary:: + :toctree: generated/ + + shading.maskin...
[ { "components": [ { "doc": "The elevation angle below which diffuse irradiance is blocked.\n\nThe ``height`` parameter determines how far up the module's surface to\nevaluate the masking angle. The lower the point, the steeper the masking\nangle [1]_. SAM uses a \"worst-case\" approach where the...
[ "pvlib/tests/test_shading.py::test_masking_angle_series", "pvlib/tests/test_shading.py::test_masking_angle_scalar", "pvlib/tests/test_shading.py::test_masking_angle_passias_series", "pvlib/tests/test_shading.py::test_masking_angle_passias_scalar", "pvlib/tests/test_shading.py::test_sky_diffuse_passias_serie...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add diffuse self-shading functions - ~Closes #xxxx~ - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing.html) - [x] Tests added - [...
aa1635bcb40dc83f82e9fd72158670c235bfe99b
sympy__sympy-19882
19,882
sympy/sympy
1.7
9547fa20eae7f8c9bf475b393e9191b36a9b748c
2020-08-02T23:52:40Z
diff --git a/sympy/polys/domainmatrix.py b/sympy/polys/domainmatrix.py new file mode 100644 index 000000000000..c06f25572785 --- /dev/null +++ b/sympy/polys/domainmatrix.py @@ -0,0 +1,653 @@ +from __future__ import print_function + +from operator import mul + +from sympy.core.sympify import _sympify +from sympy.matrice...
diff --git a/sympy/polys/tests/test_domainmatrix.py b/sympy/polys/tests/test_domainmatrix.py new file mode 100644 index 000000000000..1b20741aafeb --- /dev/null +++ b/sympy/polys/tests/test_domainmatrix.py @@ -0,0 +1,1021 @@ +from sympy.core.compatibility import HAS_GMPY +from sympy.core.numbers import Rational +from s...
[ { "components": [ { "doc": "Base class for errors raised by DDM", "lines": [ 11, 13 ], "name": "DDMError", "signature": "class DDMError(Exception):", "type": "class" }, { "doc": "list of lists is inconsistent with shap...
[ "test_DDM_init", "test_DDM_getsetitem", "test_DDM_str", "test_DDM_eq", "test_DDM_zeros", "test_DDM_eye", "test_DDM_copy", "test_DDM_add", "test_DDM_sub", "test_DDM_neg", "test_DDM_mul", "test_DDM_matmul", "test_DDM_rref", "test_DDM_det", "test_DDM_inv", "test_DDM_lu", "test_DDM_lu_so...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> feat(matrices): Extend and test DomainMatrix <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to other Iss...
1b4529a95ef641c2fc15889091b281644069d20e
sympy__sympy-19880
19,880
sympy/sympy
1.7
9547fa20eae7f8c9bf475b393e9191b36a9b748c
2020-08-02T19:57:09Z
diff --git a/sympy/codegen/cfunctions.py b/sympy/codegen/cfunctions.py index 5b935efe08c3..b55d4b2136dd 100644 --- a/sympy/codegen/cfunctions.py +++ b/sympy/codegen/cfunctions.py @@ -256,6 +256,9 @@ def eval(cls, arg): elif arg.is_Pow and arg.base == _Two: return arg.exp + def _eval_evalf(sel...
diff --git a/sympy/codegen/tests/test_numpy_nodes.py b/sympy/codegen/tests/test_numpy_nodes.py index 46217b65901a..6b4a9ceff43b 100644 --- a/sympy/codegen/tests/test_numpy_nodes.py +++ b/sympy/codegen/tests/test_numpy_nodes.py @@ -1,6 +1,6 @@ from itertools import product -from sympy import symbols, exp, log -from sym...
[ { "components": [ { "doc": "", "lines": [ 259, 260 ], "name": "log2._eval_evalf", "signature": "def _eval_evalf(self, *args, **kwargs):", "type": "function" } ], "file": "sympy/codegen/cfunctions.py" }, { "components...
[ "test_logaddexp", "test_log2_opt", "test_exp2_opt", "test_expm1_opt", "test_log1p_opt", "test_optims_c99", "test_create_expand_pow_optimization", "test_matsolve", "test_logaddexp_opt", "test_sympy__codegen__numpy_nodes__logaddexp2", "test_numpy_piecewise_regression", "test_numpy_logaddexp", ...
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add to codegen: numpy.logaddexp2 <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to other Issues or PRs ...
1b4529a95ef641c2fc15889091b281644069d20e
sphinx-doc__sphinx-8035
8,035
sphinx-doc/sphinx
3.2
5e6da19f0e44a0ae83944fb6ce18f18f781e1a6e
2020-08-01T16:28:05Z
diff --git a/CHANGES b/CHANGES index eadace6dcd4..79efd2c8df0 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,7 @@ Incompatible changes Deprecated ---------- +* ``sphinx.ext.autodoc.merge_special_members_option()`` * ``sphinx.writers.texinfo.TexinfoWriter.desc`` * C, parsing of pre-v3 style type directives and ro...
diff --git a/tests/test_ext_autodoc_private_members.py b/tests/test_ext_autodoc_private_members.py index f4cadd3a543..9d7ff487a03 100644 --- a/tests/test_ext_autodoc_private_members.py +++ b/tests/test_ext_autodoc_private_members.py @@ -60,3 +60,24 @@ def test_private_field_and_private_members(app): ' :meta ...
diff --git a/CHANGES b/CHANGES index eadace6dcd4..79efd2c8df0 100644 --- a/CHANGES +++ b/CHANGES @@ -10,6 +10,7 @@ Incompatible changes Deprecated ---------- +* ``sphinx.ext.autodoc.merge_special_members_option()`` * ``sphinx.writers.texinfo.TexinfoWriter.desc`` * C, parsing of pre-v3 style type directives and ro...
[ { "components": [ { "doc": "Merge :*-members: option to the :members: option.", "lines": [ 141, 152 ], "name": "merge_members_option", "signature": "def merge_members_option(options: Dict) -> None:", "type": "function" } ], ...
[ "tests/test_ext_autodoc_private_members.py::test_private_members" ]
[ "tests/test_ext_autodoc_private_members.py::test_private_field", "tests/test_ext_autodoc_private_members.py::test_private_field_and_private_members" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Close #8034: autodoc: :private-member: can take an list of member names ### Feature or Bugfix - Feature ### Purpose - refs: #8034 - Now :private-member: option can take an explicit list of memb...
Here is the discussion in the issues of the pull request. <issues> Support defining specific `:private-members:` for autodoc **Is your feature request related to a problem? Please describe.** Currently, if I'm using autodoc, the `:private-members:` option does not allow specification of which private members to docume...
5e6da19f0e44a0ae83944fb6ce18f18f781e1a6e
sympy__sympy-19857
19,857
sympy/sympy
1.7
5a9542f27417151ed93242a5e9df6d7911f3c34c
2020-07-30T07:50:29Z
diff --git a/sympy/stats/matrix_distributions.py b/sympy/stats/matrix_distributions.py index 4c3a0162bb35..6534b7195814 100644 --- a/sympy/stats/matrix_distributions.py +++ b/sympy/stats/matrix_distributions.py @@ -1,11 +1,20 @@ from sympy import S, Basic, exp, multigamma, pi from sympy.core.sympify import sympify, _...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index 19640af56275..eeb2ab52accb 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -1135,6 +1135,11 @@ def test_sympy__stats__rv__ConditionalDomain(): D = RandomDomain(FiniteSet(x), FiniteSet(1, 2)) asse...
[ { "components": [ { "doc": "", "lines": [ 34, 35 ], "name": "MatrixPSpace.domain", "signature": "def domain(self):", "type": "function" }, { "doc": "", "lines": [ 42, 43 ], "...
[ "test_sympy__stats__rv__MatrixDomain" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [GSoC] Added sampling from Matrix Distributions <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to other ...
1b4529a95ef641c2fc15889091b281644069d20e
joke2k__faker-1226
1,226
joke2k/faker
null
f58e64eda0af1bd42c04192cee17ab8c98a620e9
2020-07-28T16:37:49Z
diff --git a/README.rst b/README.rst index 23b7b57d6c..5c1a5df0ef 100644 --- a/README.rst +++ b/README.rst @@ -358,6 +358,38 @@ By default all generators share the same instance of ``random.Random``, which can be accessed with ``from faker.generator import random``. Using this may be useful for plugins that want to a...
diff --git a/docs/pytest-fixtures.rst b/docs/pytest-fixtures.rst index ef9e02334a..7c44a983a3 100644 --- a/docs/pytest-fixtures.rst +++ b/docs/pytest-fixtures.rst @@ -9,8 +9,9 @@ Pytest Fixtures assert isinstance(faker.name(), str) Out of the box, the ``faker`` fixture returns a session-scoped ``Faker`` inst...
diff --git a/README.rst b/README.rst index 23b7b57d6c..5c1a5df0ef 100644 --- a/README.rst +++ b/README.rst @@ -358,6 +358,38 @@ By default all generators share the same instance of ``random.Random``, which can be accessed with ``from faker.generator import random``. Using this may be useful for plugins that want to a...
[ { "components": [ { "doc": "The base exception for all Faker exceptions.", "lines": [ 1, 2 ], "name": "BaseFakerException", "signature": "class BaseFakerException(Exception):", "type": "class" }, { "doc": "To avoid inf...
[ "tests/pytest/test_unique_clear.py::test_unique_clears", "tests/test_proxy.py::TestFakerProxyClass::test_unspecified_locale", "tests/test_proxy.py::TestFakerProxyClass::test_locale_as_string", "tests/test_proxy.py::TestFakerProxyClass::test_locale_as_list", "tests/test_proxy.py::TestFakerProxyClass::test_lo...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> 🦄 Add unique values support to Faker Adds support to Faker for guaranteed unique values. A new `.unique` property has been added to the Proxy class, which returns an instance of a `UniqueProxy`. ...
Here is the discussion in the issues of the pull request. <issues> Return list of n unique companies (n_unique keyword for all providers?) * Faker version: 1.0.7 * OS: Ubuntu 16.04 I was wondering if it is possible to generate a list of 'n' unique company names? I saw some PR's which gave a unique keyword for 'wor...
6edfdbf6ae90b0153309e3bf066aa3b2d16494a7
pvlib__pvlib-python-1011
1,011
pvlib/pvlib-python
0.7
9f5666053cf1082886feae9bc4d4836d6a733e98
2020-07-24T14:58:25Z
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 0e9cfa19e0..dd7c618646 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -265,6 +265,15 @@ Low-level functions for solving the single diode equation. singlediode.bishop88_v_from_i singlediode.bishop88_mpp +Fun...
diff --git a/pvlib/tests/test_inverter.py b/pvlib/tests/test_inverter.py index 79d4cc2fb9..de018e95c5 100644 --- a/pvlib/tests/test_inverter.py +++ b/pvlib/tests/test_inverter.py @@ -6,8 +6,10 @@ from conftest import assert_series_equal from numpy.testing import assert_allclose +from conftest import needs_numpy_1_1...
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index 0e9cfa19e0..dd7c618646 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -265,6 +265,15 @@ Low-level functions for solving the single diode equation. singlediode.bishop88_v_from_i singlediode.bishop88_mpp +Fun...
[ { "components": [ { "doc": "Determine parameters for the Sandia inverter model.\n\nParameters\n----------\nac_power : array_like\n AC power output at each data point [W].\ndc_power : array_like\n DC power input at each data point [W].\ndc_voltage : array_like\n DC input voltage at each da...
[ "pvlib/tests/test_inverter.py::test_fit_sandia[infilen0-expected0]", "pvlib/tests/test_inverter.py::test_fit_sandia[infilen1-expected1]" ]
[ "pvlib/tests/test_inverter.py::test_adr", "pvlib/tests/test_inverter.py::test_adr_vtol", "pvlib/tests/test_inverter.py::test_adr_float", "pvlib/tests/test_inverter.py::test_adr_invalid_and_night", "pvlib/tests/test_inverter.py::test_sandia", "pvlib/tests/test_inverter.py::test_sandia_float", "pvlib/test...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add function to fit Sandia inverter model - [x] Closes #975 - [x] I am familiar with the [contributing guidelines](https://pvlib-python.readthedocs.io/en/latest/contributing.html) - [x] Tests ad...
Here is the discussion in the issues of the pull request. <issues> Implement a function to calculate inverter model parameters From measured efficiency curves and datasheets. See the [previous discussion](https://groups.google.com/forum/?#!topic/pvlib-python/R7cs-O9oG6o) for more context. ---------- **Progress repor...
aa1635bcb40dc83f82e9fd72158670c235bfe99b
huggingface__datasets-430
430
huggingface/datasets
null
c70d0c022e5ef2adca580e4fccfc319bdcae88a9
2020-07-23T15:43:49Z
diff --git a/docs/source/package_reference/main_classes.rst b/docs/source/package_reference/main_classes.rst index 5fc244089df..8a89ca6c008 100644 --- a/docs/source/package_reference/main_classes.rst +++ b/docs/source/package_reference/main_classes.rst @@ -26,6 +26,17 @@ The base class :class:`nlp.Dataset` implements a...
diff --git a/tests/test_builder.py b/tests/test_builder.py new file mode 100644 index 00000000000..e439663e2aa --- /dev/null +++ b/tests/test_builder.py @@ -0,0 +1,44 @@ +import os +import tempfile +from unittest import TestCase + +from nlp.arrow_dataset import Dataset +from nlp.arrow_writer import ArrowWriter +from nl...
diff --git a/docs/source/package_reference/main_classes.rst b/docs/source/package_reference/main_classes.rst index 5fc244089df..8a89ca6c008 100644 --- a/docs/source/package_reference/main_classes.rst +++ b/docs/source/package_reference/main_classes.rst @@ -26,6 +26,17 @@ The base class :class:`nlp.Dataset` implements a...
[ { "components": [ { "doc": "A dictionary (dict of str: nlp.Dataset) with dataset transforms methods (map, filter, etc.)", "lines": [ 9, 248 ], "name": "DatasetDict", "signature": "class DatasetDict(dict):", "type": "class" }, ...
[ "tests/test_builder.py::BuilderTest::test_as_dataset", "tests/test_dataset_dict.py::DatasetDictTest::test_check_values_type", "tests/test_dataset_dict.py::DatasetDictTest::test_filter", "tests/test_dataset_dict.py::DatasetDictTest::test_map", "tests/test_dataset_dict.py::DatasetDictTest::test_sort" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> add DatasetDict ## Add DatasetDict ### Overview When you call `load_dataset` it can return a dictionary of datasets if there are several splits (train/test for example). If you wanted to apply ...
5142a8cf61d8a4495eda3d91dc4283a6df01ea14
sympy__sympy-19826
19,826
sympy/sympy
1.7
3d6b5a44dff651642cb480797b0e265c0bf28357
2020-07-23T05:02:27Z
diff --git a/sympy/matrices/__init__.py b/sympy/matrices/__init__.py index 82d5161c48d9..aab95e10f5db 100644 --- a/sympy/matrices/__init__.py +++ b/sympy/matrices/__init__.py @@ -28,7 +28,7 @@ hadamard_product, HadamardProduct, HadamardPower, Determinant, det, diagonalize_vector, DiagMatrix, DiagonalMatrix, D...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index c12553a78909..381ea0ec2642 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -3010,6 +3010,11 @@ def test_sympy__matrices__expressions__matexpr__GenericZeroMatrix(): from sympy.matrices.expressions.mate...
[ { "components": [ { "doc": "MatrixSet represents the set of matrices with ``shape = (n, m)`` over the\ngiven set.\n\nExamples\n========\n\n>>> from sympy.matrices import MatrixSet, Matrix\n>>> from sympy import S, I\n>>> M = MatrixSet(2, 2, set=S.Reals)\n>>> X = Matrix([[1, 2], [3, 4]])\n>>> X in ...
[ "test_sympy__matrices__expressions__matexpr__MatrixSet", "test_matrix_symbol_creation", "test_zero_matrix_creation", "test_one_matrix_creation", "test_identity_matrix_creation", "test_shape", "test_matexpr", "test_subs", "test_ZeroMatrix", "test_ZeroMatrix_doit", "test_OneMatrix", "test_OneMat...
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added `MatrixSet` to represent set of Matrices <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to other I...
1b4529a95ef641c2fc15889091b281644069d20e
sympy__sympy-19808
19,808
sympy/sympy
1.7
947756d0a3e64c354827a8b2db2bb3fcd0acc416
2020-07-21T05:51:56Z
diff --git a/sympy/stats/compound_rv.py b/sympy/stats/compound_rv.py index e0dba16c2e98..12e491d10d46 100644 --- a/sympy/stats/compound_rv.py +++ b/sympy/stats/compound_rv.py @@ -1,6 +1,6 @@ -from sympy import Basic, integrate, Sum, Dummy, Lambda +from sympy import Basic, Sum, Dummy, Lambda, Integral from sympy.stats....
diff --git a/sympy/stats/tests/test_compound_rv.py b/sympy/stats/tests/test_compound_rv.py index 40b661659468..8a8a1564e6c2 100644 --- a/sympy/stats/tests/test_compound_rv.py +++ b/sympy/stats/tests/test_compound_rv.py @@ -1,5 +1,5 @@ from sympy import (symbols, S, erf, sqrt, pi, exp, gamma, Interval, oo, beta, - ...
[ { "components": [ { "doc": "", "lines": [ 41, 42 ], "name": "CompoundPSpace.is_Continuous", "signature": "def is_Continuous(self):", "type": "function" }, { "doc": "", "lines": [ 45, 46 ...
[ "test_unevaluated_CompoundDist", "test_Compound_Distribution" ]
[ "test_normal_CompoundDist", "test_poisson_CompoundDist", "test_bernoulli_CompoundDist" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [GSoC] Allow more than one RV in compound distribution <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to...
1b4529a95ef641c2fc15889091b281644069d20e
sympy__sympy-19807
19,807
sympy/sympy
1.7
5a9542f27417151ed93242a5e9df6d7911f3c34c
2020-07-20T19:14:30Z
diff --git a/sympy/vector/implicitregion.py b/sympy/vector/implicitregion.py index 47bb208d91f5..2760f5b9a562 100644 --- a/sympy/vector/implicitregion.py +++ b/sympy/vector/implicitregion.py @@ -1,9 +1,11 @@ -from sympy import S -from sympy.core import Basic, Tuple, diff, expand, Eq +from sympy import S, Rational, gcd,...
diff --git a/sympy/vector/tests/test_implicitregion.py b/sympy/vector/tests/test_implicitregion.py index c02166c52191..bd518b937313 100644 --- a/sympy/vector/tests/test_implicitregion.py +++ b/sympy/vector/tests/test_implicitregion.py @@ -20,10 +20,16 @@ def test_ImplicitRegion(): def test_regular_point(): r1 = I...
[ { "components": [ { "doc": "", "lines": [ 127, 151 ], "name": "ImplicitRegion._regular_point_parabola", "signature": "def _regular_point_parabola(self, a, b, c, d, e, f):", "type": "function" }, { "doc": "", "l...
[ "test_regular_point" ]
[ "test_ImplicitRegion", "test_singular_points_and_multiplicty" ]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Implemented an algorithm to find a rational point on a conic <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### Referen...
1b4529a95ef641c2fc15889091b281644069d20e
sympy__sympy-19795
19,795
sympy/sympy
1.7
ce85528e6ca95be5ad5822843116d9cbc8913fbe
2020-07-18T07:29:53Z
diff --git a/sympy/stats/__init__.py b/sympy/stats/__init__.py index cab740072483..be9d57f38070 100644 --- a/sympy/stats/__init__.py +++ b/sympy/stats/__init__.py @@ -142,7 +142,7 @@ 'joint_eigen_distribution', 'JointEigenDistribution', 'level_spacing_distribution', - 'MatrixGamma', + 'MatrixGamma', '...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index 381ea0ec2642..598f243a4e6b 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -1788,6 +1788,19 @@ def test_sympy__stats__matrix_distributions__MatrixGammaDistribution(): from sympy import Matrix ass...
[ { "components": [ { "doc": "", "lines": [ 158, 192 ], "name": "WishartDistribution", "signature": "class WishartDistribution(MatrixDistribution):", "type": "class" }, { "doc": "", "lines": [ 163, ...
[ "test_sympy__stats__matrix_distributions__WishartDistribution", "test_sympy__stats__matrix_distributions__MatrixNormalDistribution", "test_MatrixPSpace", "test_MatrixGamma", "test_Wishart" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [GSoC] Added Matrix Normal and Wishart Distribution <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to ot...
Here is the discussion in the issues of the pull request. <issues> [GSoC][Discussion] Matrix Distributions ### Proposal For adding new matrix distributions in `sympy.stats`, I think it probably can be constructed with `random_matrix_models.py`(to avoid creating new Random Symbol) for them, some of the examples of Matr...
1b4529a95ef641c2fc15889091b281644069d20e
matplotlib__matplotlib-17900
17,900
matplotlib/matplotlib
3.2
ff821ba3249401fe7f5fdb11cb7ac5d0564c2697
2020-07-12T18:20:00Z
diff --git a/doc/users/next_whats_new/colormap_get_under_over_bad.rst b/doc/users/next_whats_new/colormap_get_under_over_bad.rst new file mode 100644 index 000000000000..d21e7b4349cc --- /dev/null +++ b/doc/users/next_whats_new/colormap_get_under_over_bad.rst @@ -0,0 +1,7 @@ +Get under/over/bad colors of Colormap objec...
diff --git a/lib/matplotlib/tests/test_colors.py b/lib/matplotlib/tests/test_colors.py index 5e0b2044bcf8..6180e789ac95 100644 --- a/lib/matplotlib/tests/test_colors.py +++ b/lib/matplotlib/tests/test_colors.py @@ -5,6 +5,7 @@ import numpy as np from PIL import Image import pytest +import base64 from numpy.testin...
diff --git a/doc/users/next_whats_new/colormap_get_under_over_bad.rst b/doc/users/next_whats_new/colormap_get_under_over_bad.rst new file mode 100644 index 000000000000..d21e7b4349cc --- /dev/null +++ b/doc/users/next_whats_new/colormap_get_under_over_bad.rst @@ -0,0 +1,7 @@ +Get under/over/bad colors of Colormap objec...
[ { "components": [ { "doc": "Get the color for masked values.", "lines": [ 619, 623 ], "name": "Colormap.get_bad", "signature": "def get_bad(self):", "type": "function" }, { "doc": "Get the color for low out-of-range va...
[ "lib/matplotlib/tests/test_colors.py::test_BoundaryNorm", "lib/matplotlib/tests/test_colors.py::test_repr_html", "lib/matplotlib/tests/test_colors.py::test_get_under_over_bad" ]
[ "lib/matplotlib/tests/test_colors.py::test_create_lookup_table[5-result0]", "lib/matplotlib/tests/test_colors.py::test_create_lookup_table[2-result1]", "lib/matplotlib/tests/test_colors.py::test_create_lookup_table[1-result2]", "lib/matplotlib/tests/test_colors.py::test_resample", "lib/matplotlib/tests/test...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add getters and _repr_html_ for over/under/bad values of Colormap objects. ## PR Summary This PR extends from #17888 to add over/under/bad values in the `_repr_html_` of `matplotlib.colors.Colormap...
ff821ba3249401fe7f5fdb11cb7ac5d0564c2697
Project-MONAI__MONAI-745
745
Project-MONAI/MONAI
null
44fcf772760e7296787a63182e462e331ace31f8
2020-07-12T07:11:57Z
diff --git a/docs/source/transforms.rst b/docs/source/transforms.rst index 692108f980..d5bb39bbb7 100644 --- a/docs/source/transforms.rst +++ b/docs/source/transforms.rst @@ -183,6 +183,12 @@ IO :members: :special-members: __call__ +`LoadNumpy` +""""""""""" +.. autoclass:: LoadNumpy + :members: + :spe...
diff --git a/tests/test_load_numpy.py b/tests/test_load_numpy.py new file mode 100644 index 0000000000..6332e6241d --- /dev/null +++ b/tests/test_load_numpy.py @@ -0,0 +1,89 @@ +# Copyright 2020 MONAI Consortium +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in co...
diff --git a/docs/source/transforms.rst b/docs/source/transforms.rst index 692108f980..d5bb39bbb7 100644 --- a/docs/source/transforms.rst +++ b/docs/source/transforms.rst @@ -183,6 +183,12 @@ IO :members: :special-members: __call__ +`LoadNumpy` +""""""""""" +.. autoclass:: LoadNumpy + :members: + :spe...
[ { "components": [ { "doc": "Load arrays or pickled objects from .npy, .npz or pickled files, file or files are from provided path.\nA typical usage is to load the `mask` data for classification task.\nIf loading a list of files or laoding npz file, stack results together and add a new dimension as...
[ "tests/test_load_numpy.py::TestLoadNumpy::test_npy", "tests/test_load_numpy.py::TestLoadNumpy::test_npy_pickle", "tests/test_load_numpy.py::TestLoadNumpy::test_npz1", "tests/test_load_numpy.py::TestLoadNumpy::test_npz2", "tests/test_load_numpy.py::TestLoadNumpy::test_npz3", "tests/test_load_numpyd.py::Tes...
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> 471 Add LoadNumpy transform Fixes #471 . ### Description This PR implemented `LoadNumpy` and `LoadNumpyd` transforms. It's requested from user and can be useful to load extra data for training or...
Here is the discussion in the issues of the pull request. <issues> IO formats Hello How do I perform multi class semantic (instance) segmentation over my set of 2D PNG/TIF grayscale images and their corresponding masks file (NPY numpy array, TIF or any other) matrix representation with # channels corresponding to th...
e73257caa79309dcce1e93abf1632f4bfd75b11f
Project-MONAI__MONAI-744
744
Project-MONAI/MONAI
null
bbc5e063268182b2d79b02ddb5156a38528cb62a
2020-07-11T18:47:36Z
diff --git a/monai/losses/__init__.py b/monai/losses/__init__.py index c9ab1099fd..ff9814898f 100644 --- a/monai/losses/__init__.py +++ b/monai/losses/__init__.py @@ -9,6 +9,15 @@ # See the License for the specific language governing permissions and # limitations under the License. -from .dice import Dice, DiceLoss...
diff --git a/tests/test_generalized_wasserstein_dice_loss.py b/tests/test_generalized_wasserstein_dice_loss.py new file mode 100644 index 0000000000..77d62d5a86 --- /dev/null +++ b/tests/test_generalized_wasserstein_dice_loss.py @@ -0,0 +1,66 @@ +# Copyright 2020 MONAI Consortium +# Licensed under the Apache License, V...
[ { "components": [ { "doc": "Generalized Wasserstein Dice Loss [1] in PyTorch.\nCompared to [1] we used a weighting method similar to the one\nused in the generalized Dice Loss [2].\n\nReferences:\n===========\n[1] \"Generalised Wasserstein Dice Score for Imbalanced Multi-class\n Segmentation us...
[ "tests/test_generalized_wasserstein_dice_loss.py::TestGeneralizedWassersteinDiceLoss::test_bin_seg_2d", "tests/test_generalized_wasserstein_dice_loss.py::TestGeneralizedWassersteinDiceLoss::test_empty_class_2d" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Worked on the implementation of Generalized Wasserstein Dice Loss Worked on issue #601 . @wyli Please check. ---------- </request> There are several new functions or classes that need to be implemen...
e73257caa79309dcce1e93abf1632f4bfd75b11f
matplotlib__matplotlib-17888
17,888
matplotlib/matplotlib
3.2
ec0132f66170dabc6352ba79d839b1dd9eb02157
2020-07-11T17:31:13Z
diff --git a/doc/users/next_whats_new/colormap_repr.rst b/doc/users/next_whats_new/colormap_repr.rst new file mode 100644 index 000000000000..077f6fca12e9 --- /dev/null +++ b/doc/users/next_whats_new/colormap_repr.rst @@ -0,0 +1,6 @@ +IPython representations for Colormap objects +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
diff --git a/lib/matplotlib/tests/test_colors.py b/lib/matplotlib/tests/test_colors.py index ba1192d16ac3..00ed7fdfb907 100644 --- a/lib/matplotlib/tests/test_colors.py +++ b/lib/matplotlib/tests/test_colors.py @@ -1,7 +1,9 @@ import copy import itertools +from io import BytesIO import numpy as np +from PIL import...
diff --git a/doc/users/next_whats_new/colormap_repr.rst b/doc/users/next_whats_new/colormap_repr.rst new file mode 100644 index 000000000000..077f6fca12e9 --- /dev/null +++ b/doc/users/next_whats_new/colormap_repr.rst @@ -0,0 +1,6 @@ +IPython representations for Colormap objects +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
[ { "components": [ { "doc": "Generate a PNG representation of the Colormap.", "lines": [ 699, 713 ], "name": "Colormap._repr_png_", "signature": "def _repr_png_(self):", "type": "function" }, { "doc": "Generate an HTML ...
[ "lib/matplotlib/tests/test_colors.py::test_repr_png", "lib/matplotlib/tests/test_colors.py::test_repr_html" ]
[ "lib/matplotlib/tests/test_colors.py::test_create_lookup_table[5-result0]", "lib/matplotlib/tests/test_colors.py::test_create_lookup_table[2-result1]", "lib/matplotlib/tests/test_colors.py::test_create_lookup_table[1-result2]", "lib/matplotlib/tests/test_colors.py::test_resample", "lib/matplotlib/tests/test...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Add _repr_png_ and _repr_html_ to Colormap objects. ## PR Summary This PR adds `_repr_png_` and `_repr_html_` methods to the `matplotlib.colors.Colormap` class, enabling visual representations of `Co...
Here is the discussion in the issues of the pull request. <issues> Colormaps should have a `_repr_html_` that is an image of the colormap `colorcet` has a swatch function in the plotting module that creates an image of the colormap. <img width="1048" alt="Screen Shot 2019-11-06 at 3 00 22 PM" src="https://user-image...
ff821ba3249401fe7f5fdb11cb7ac5d0564c2697
sympy__sympy-19734
19,734
sympy/sympy
1.7
47670c187a2088fef92c540b6525594af7fed435
2020-07-10T05:51:25Z
diff --git a/sympy/stats/__init__.py b/sympy/stats/__init__.py index c4b87459aeb4..cab740072483 100644 --- a/sympy/stats/__init__.py +++ b/sympy/stats/__init__.py @@ -142,7 +142,10 @@ 'joint_eigen_distribution', 'JointEigenDistribution', 'level_spacing_distribution', - 'Probability', 'Expectation', 'Vari...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index 498676cbed70..e1f891bbb8b0 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -1772,6 +1772,23 @@ def test_sympy__stats__symbolic_multivariate_probability__CrossCovarianceMatrix( assert _test_args(CrossC...
[ { "components": [ { "doc": "Represents probability space for\nMatrix Distributions", "lines": [ 9, 34 ], "name": "MatrixPSpace", "signature": "class MatrixPSpace(PSpace):", "type": "class" }, { "doc": "", "line...
[ "test_sympy__stats__matrix_distributions__MatrixPSpace", "test_sympy__stats__matrix_distributions__MatrixDistribution", "test_sympy__stats__matrix_distributions__MatrixGammaDistribution", "test_MatrixPSpace", "test_GaussianEnsemble" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [GSoC][WIP] Add Matrix Gamma distribution <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> Add Matrix Gamma Distribution ##...
1b4529a95ef641c2fc15889091b281644069d20e
pvlib__pvlib-python-1000
1,000
pvlib/pvlib-python
0.7
b4bdfd3be8784aba8f194e729b72f5cb9d19c3f4
2020-07-08T15:48:21Z
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index cd5b0ced40..6569202046 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -369,6 +369,13 @@ Other Effects on PV System Output =========================== +Loss models +^^^^^^^^^^^ +.. autosummary:: + :toctree: gene...
diff --git a/pvlib/tests/test_pvsystem.py b/pvlib/tests/test_pvsystem.py index 4febb71f43..2ad26937b4 100644 --- a/pvlib/tests/test_pvsystem.py +++ b/pvlib/tests/test_pvsystem.py @@ -1299,6 +1299,18 @@ def test_PVSystem_pvwatts_ac_kwargs(mocker): assert out < pdc +def test_combine_loss_factors(): + test_ind...
diff --git a/docs/sphinx/source/api.rst b/docs/sphinx/source/api.rst index cd5b0ced40..6569202046 100644 --- a/docs/sphinx/source/api.rst +++ b/docs/sphinx/source/api.rst @@ -369,6 +369,13 @@ Other Effects on PV System Output =========================== +Loss models +^^^^^^^^^^^ +.. autosummary:: + :toctree: gene...
[ { "components": [ { "doc": "Combines Series loss fractions while setting a common index.\n\nThe separate losses are compounded using the following equation:\n\n.. math::\n\n L_{total} = 1 - [ 1 - \\Pi_i ( 1 - L_i ) ]\n\n:math:`L_{total}` is the total loss returned\n:math:`L_i` is each individua...
[ "pvlib/tests/test_pvsystem.py::test_combine_loss_factors" ]
[ "pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam[ashrae-model_params0]", "pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam[physical-model_params1]", "pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam[martin_ruiz-model_params2]", "pvlib/tests/test_pvsystem.py::test_PVSystem_get_iam_sapm", "pvlib/tes...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Added irradiance_loss_pvsyst function to pvsystem Added irradiance_loss_pvsyst function to pvsystem module and method to PVSystem class. Partially addresses Issue #988. I still need to incorpora...
Here is the discussion in the issues of the pull request. <issues> Adding Loss Model Categories Following [this](https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/pvlib-python/O5Dhrz5mlRc/-zZez4UnBgAJ) conversation on the Google Group, it would be helpful to create loss models divided into differ...
aa1635bcb40dc83f82e9fd72158670c235bfe99b
sympy__sympy-19724
19,724
sympy/sympy
1.7
1f7cbeee19200aac259f4ffb8ec208b9b77fd5cf
2020-07-07T11:03:31Z
diff --git a/sympy/stats/__init__.py b/sympy/stats/__init__.py index e2475f13bea6..c4b87459aeb4 100644 --- a/sympy/stats/__init__.py +++ b/sympy/stats/__init__.py @@ -142,7 +142,7 @@ 'joint_eigen_distribution', 'JointEigenDistribution', 'level_spacing_distribution', - 'Probability', 'Expectation', 'Varia...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index 6bdc452c62c2..d2cd263deacb 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -1195,6 +1195,20 @@ def test_sympy__stats__symbolic_probability__Variance(): assert _test_args(Variance(X)) +def test_sym...
[ { "components": [ { "doc": "Symbolic class for Moment\n\nExamples\n========\n\n>>> from sympy import Symbol, Integral\n>>> from sympy.stats import Normal, Expectation, Probability, Moment\n>>> mu = Symbol('mu', real=True)\n>>> sigma = Symbol('sigma', real=True, positive=True)\n>>> X = Normal('X', ...
[ "test_sympy__stats__symbolic_probability__Moment", "test_sympy__stats__symbolic_probability__CentralMoment", "test_literal_probability", "test_probability_rewrite", "test_symbolic_Moment" ]
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [GSoC] Added symbolic classes for Moment and Centralmoment <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### Reference...
Here is the discussion in the issues of the pull request. <issues> Generating Functions for sympy.stats ``` Is there any benefit to reasoning about generating functions (moment, cumulant, etc...) for random variables? Are there problems that we could solve more easily with this extra formalism? http://en.wikipedia.org/...
1b4529a95ef641c2fc15889091b281644069d20e
sympy__sympy-19696
19,696
sympy/sympy
1.7
b3a8f9a4bc4633a4d4649ef91d576068c90b3700
2020-07-03T06:56:25Z
diff --git a/sympy/stats/rv.py b/sympy/stats/rv.py index 4e9fc1e5c03e..f911f5e53c53 100644 --- a/sympy/stats/rv.py +++ b/sympy/stats/rv.py @@ -19,11 +19,10 @@ from typing import Tuple as tTuple from sympy import (Basic, S, Expr, Symbol, Tuple, And, Add, Eq, lambdify, Or, - Equality, Lambda, sympif...
diff --git a/sympy/stats/tests/test_symbolic_probability.py b/sympy/stats/tests/test_symbolic_probability.py index d794becf85f0..53245a15e2da 100644 --- a/sympy/stats/tests/test_symbolic_probability.py +++ b/sympy/stats/tests/test_symbolic_probability.py @@ -40,6 +40,12 @@ def test_literal_probability(): assert Ex...
[ { "components": [ { "doc": "", "lines": [ 64, 115 ], "name": "Probability.doit", "signature": "def doit(self, **hints):", "type": "function" } ], "file": "sympy/stats/symbolic_probability.py" } ]
[ "test_literal_probability" ]
[]
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> [GSoC] Added doit method in symbolic Probability <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> Added doit method in symbo...
1b4529a95ef641c2fc15889091b281644069d20e
sympy__sympy-19694
19,694
sympy/sympy
1.7
b3a8f9a4bc4633a4d4649ef91d576068c90b3700
2020-07-03T05:16:46Z
diff --git a/sympy/categories/baseclasses.py b/sympy/categories/baseclasses.py index a29fa82e92eb..58b2dffc2689 100644 --- a/sympy/categories/baseclasses.py +++ b/sympy/categories/baseclasses.py @@ -1,5 +1,6 @@ from sympy.core import S, Basic, Dict, Symbol, Tuple, sympify from sympy.core.compatibility import iterable...
diff --git a/sympy/core/tests/test_args.py b/sympy/core/tests/test_args.py index c9cac546ef8b..6bdc452c62c2 100644 --- a/sympy/core/tests/test_args.py +++ b/sympy/core/tests/test_args.py @@ -1749,6 +1749,10 @@ def test_sympy__stats__symbolic_multivariate_probability__CrossCovarianceMatrix( assert _test_args(CrossC...
[ { "components": [ { "doc": "Represents string in SymPy.\n\nExplanation\n===========\n\nPreviously, ``Symbol`` was used where string is needed in ``args`` of SymPy\nobjects, e.g. denoting the printing. However, since ``Symbol`` represents\nmathematical scalar, this class should be used instead.", ...
[ "test_sympy__core__symbol__Str", "test_Str", "test_Symbol", "test_Dummy", "test_Dummy_force_dummy_index", "test_lt_gt", "test_no_len", "test_ineq_unequal", "test_Wild_properties", "test_symbols", "test_symbols_become_functions_issue_3539", "test_unicode", "test_core_basic", "test_core_Str"...
[ "test_all_classes_are_tested", "test_sympy__assumptions__assume__AppliedPredicate", "test_sympy__assumptions__assume__Predicate", "test_sympy__assumptions__sathandlers__UnevaluatedOnFree", "test_sympy__assumptions__sathandlers__AllArgs", "test_sympy__assumptions__sathandlers__AnyArgs", "test_sympy__assu...
This is a feature request which requires a new feature to add in the code repository. <<NEW FEATURE REQUEST>> <request> Introduce Str class <!-- Your title above should be a short description of what was changed. Do not include the issue number in the title. --> #### References to other Issues or PRs <!-- If this ...
Here is the discussion in the issues of the pull request. <issues> Introducing Str class to core This topic is briefly discussed in [google groups page](https://groups.google.com/u/2/g/sympy/c/tNm1LDcEXA4). Currently, many classes use `Symbol` for instance naming. However, since the purpose of `Symbol` is to represe...
1b4529a95ef641c2fc15889091b281644069d20e