David R. MacIver
David R. MacIver
I don't mind the change, certainly, but I think it might need a bit of clarification. Specifying "list of integers" is uncontroversial and I agree it's a good change, but...
(Some of) your wish is my command! If you update to the latest version you'll have: * Initial comment stripping * New Python passes for stripping annotations and replacing blocks...
Huh. That's a terrible bug. I'll see if I can reproduce and fix tomorrow.
> Huh. That's a terrible bug. I'll see if I can reproduce and fix tomorrow. This should be fixed now (I found it annoyingly hard to write an actual test...
> Got a traceback from inside `libcst`. Should be fixed now. Slightly odd behaviour from libcst here (and a bug in the error message) that I wasn't handling correctly.
Huh it's hard to see how this example would ever have passed in modern Hypothesis. I wonder how old it is - I think some of the early versions had...
Hmm I'm not sure about a general scoring or preference mechanism, but certainly having shrinkray prefer test cases where the interestingness test takes less time to run seems pretty reasonable...
Hmm why is several times longer but still
Oh, right, I see. Is the problem here that your failures are nondeterministic, or is the loop actually load-bearing in the problem?
I think I'm going to close this as not intended for now. I'll happily accept pull requests or more concrete proposals, but I think at present it's a bit too...