Closed Zac-HD closed 4 months ago
Fixed in v0.0.61! (but just realizes the inputs)
Re UX, thanks - but it's just an (old) fork of mypy playground.
Yeah, so crosshar-web is really intended to run on a function with a contract, so the equivalent is something like this. But at some point Liam discovered that you could also use it to share little snippets of code. (we use standalone_statespace
internally for tests a lot b/c it sets up everything you need to use symbolics, but without the path exploration loop). In this case, any error will show as an "import" error, since crosshair is attempting to import the code before getting on to the contract testing.
(originally via https://github.com/HypothesisWorks/hypothesis/pull/4034, similar to #271; I suspect I'm misusing crosshair-web because it's treating this as an import failure instead of giving me a nice repro link - lovely UX though!)