| ▲ | rtu8lu a day ago |
| Great project. I used it a lot, but now I mostly prefer ad hoc generators. Hypothesis combinators quickly become unmaintainable mess for non-trivial objects. Also, shrinking is not such a big deal when you can generate your data in a complexity-sorted order. |
|
| ▲ | ctenb a day ago | parent [-] |
| What is complexity sorted order? |
| |
| ▲ | rtu8lu a day ago | parent [-] | | When you generate randomized data in an order from the simplest to the most complex. | | |
| ▲ | ctenb 6 hours ago | parent [-] | | Isn't that very wasteful or difficult to do in practice? If you consider that shrinkers generally take lower numbers to be 'simpler' than higher numbers, complexity-ordering requires you to generate all the numbers from low to high |
|
|