Skip to content
#

closember

Here are 43 public repositories matching this topic...

ethanfurman
ethanfurman commented Apr 25, 2022

The warnings at

https://ipython.readthedocs.io/en/stable/config/extensions/autoreload.html

do not mention the issues with reloading modules with enums:

  • Enum and Flag are compared by identity (is, even if == is used (similarly to None))
  • reloading a module, or importing the same module by a different name, creates new enums (look the same, but are not the same)
thanos
yeya24
yeya24 commented May 9, 2022

From code https://github.com/thanos-io/thanos/blob/main/pkg/queryfrontend/roundtrip.go#L123, we are compiling the regex every time to match strings. This can be optimized by only compiling the regex once and checking if the string matches.

			matched, err := regexp.MatchString("/api/v1/label/.+/values$", r.URL.Path)
			if err == nil && matched {
				return labelValuesOp
			}
jpdehollain
jpdehollain commented Apr 7, 2022

Describe your issue.

Currently, applying the ** operator to a sparse array implements the numpy.linalg.matrix_power function. This is not compatible with the np.array implementation of **, which does element-wise power. This should be fixed as part of the migration from sparse "matrices" to sparse "arrays". Additionally, the matrix_power function should then also be included in the

defect scipy.sparse good first issue
fischbacher
fischbacher commented May 9, 2022

Current problem

We sometimes see code like this:

def foo(*, left=None, right=None):
  """ ... """
  if (left is None) != (right is None):
    raise ValueError('Either both left= and right= need to be provided or none should.')

It is very easy to make the mistake of writing the check as:

def foo(*, left=None, right=None):
  """ ... """
  if left is No
Help Wanted 🙏 Proposal 📨 good first issue Optional Checkers
gerritholl
gerritholl commented Jan 12, 2022

Feature Request

Is your feature request related to a problem? Please describe.

Whenever I report a bug, I need to confirm what satpy version I am using. This is of course important, but it's also an extra step that could be semi-automated.

Describe the solution you'd like

I would like that debug_on() prints the relevant versions. When we report bugs, we anyway call `debu

enhancement good first issue
kloczek
kloczek commented May 17, 2021
$ PYTHONPATH=$PWD sphinx-build -b man -d traitlets docs/source .
Running Sphinx v3.5.4
Initializing GitHub plugin
loading intersphinx inventory from https://docs.python.org/objects.inv...
intersphinx inventory has moved: https://docs.python.org/objects.inv -> https://docs.python.org/3/objects.inv
building [mo]: targets for 0 po files that are out of date
building [man]: all manpa
yarikoptic
yarikoptic commented Aug 12, 2021

During local tests got following test failure

======================================================================
ERROR: datalad.downloaders.tests.test_s3.test_restricted_bucket_on_NDA('s3://NDAR_Central_4/submission_23075/README', 'error', 'BIDS')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/url
good first issue DX tests
djhoese
djhoese commented Feb 22, 2021

Code Sample, a minimal, complete, and verifiable piece of code

from pyresample.boundary import Boundary
b = Boundary(my_lons, my_lats)
print(b.contour_poly.area())

Problem description

The above code doesn't fail if the provided lons/lats are 2D (not sure on 3D+), but the class and all functions/utilities underneath it assume 1D arrays. The end results are incor

radis
erwanp
erwanp commented Apr 29, 2022

Turning an insightful comment from @AllanHOlesenBW into a Todo/Request.


in short: I think it would be beneficial if the default wunit and Iunit in a spectrum would correspond to each other so a new user can jump directly to work with the units he is given.


Context :

My main expectation is that the unit describing the wavenum/wavelength/frequency corresponds to th

good first issue interface
ricardoV94
ricardoV94 commented Jan 14, 2022

Notebook proposal

Title: Reinforcement Learning Model for behavioral data

Why should this notebook be added to pymc-examples?

I wrote this notebook some time ago: https://github.com/ricardoV94/stats/blob/master/modelling/RL_PyMC.ipynb and shared it on the Discourse, where it seems to have been quite popular: https://discourse.pymc.io/t/fitting-a-simple-reinforcement-learning-model-to-be

good first issue help wanted proposal
Carreau
Carreau commented Apr 6, 2022

List list a number of edge cases in upstream libraries,
it would be great is upstream would accept to fix them.

They are usually handled by sphinx but add complexity to papyri.

Numpy:

Links that use `<...>` syntax with no text. I think they can be replaced by just `...`

$ rg '[^`]`<.+>`'
doc/RELEASE_WALKTHROUGH.rst.txt
158:provided at `<https://github.com/Mac
help wanted good first issue

Improve this page

Add a description, image, and links to the closember topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the closember topic, visit your repo's landing page and select "manage topics."

Learn more