Simon Cross
Simon Cross
@cgranade Eric and I discussed this a bit today. Would you like to have a video call to chat through these ideas? @jakelishman Would you like to join in if...
Call invitation sent. If any readers of this want to join, let me know.
Quick update for readers: We (@cgranade, @jakelishman, @Ericgig and I) agreed that the best next step is to implement a draft `Instrument` class that shows the function signatures and interactions...
@BoxiLi I'm -1 on adding such complexity to `qutip.about`. It's often used for bug reporting, and complexity has cause use issue in such places in the past. Especially the importing...
At the expense of some complication, we could add entry_points to the family packages and then `qutip.about()` could just run through those. The upside is that the entry_points are not...
Pseudocode for entrypoint suggestion: ```python entrypoints = importlib.metadata.entrypoints(group="qutip.about") for ep in entrypoints: about_func = ep.load() try: title, lines = about_func() except Exception as exc: title, lines = ep.name, [str(exc)] print(title)...
@Zac-HD Any suggestions for ways we could use hypothesis better? It all looks quite clean right now. Is there a way we can change what hypothesis prints when an example...
@Ericgig @AGaliciaMartinez This is ready for another round of review. I fixed small bugs in `mul` and `iszero` -- we should discuss whether the fixes are good or not. There...
@Zac-HD Would you mind doing a quick sanity check of my `MatrixShapesStrategy` class (https://github.com/qutip/qutip/blob/2aee70cb3981e60e236de831c56505a7caabd0aa/qutip/tests/strategies.py#L15-L62)? Mostly I want to know whether I should have been able to do this with `mutually_broadcastable_shapes`....
> Yes, you should use [`mutually_broadcastable_shapes(signature=)`](https://hypothesis.readthedocs.io/en/latest/numpy.html#hypothesis.extra.numpy.mutually_broadcastable_shapes) for that. The signature syntax is a little different, since Numpy does it with strings, but we already support named dimensions, constant-size dimensions, and...