Open tybug opened 1 month ago
We just migrated the shrinker to the IR in #3962, as a part of #3921. While this was a performance win overall, we took some temporary regressions and left notes for where to improve in the future. This issue tracks those items.
Float
n >= 2**53
Collection
TODO_BETTER_SHRINK
guides/internals.rst
Ambitiously (not necessary to close this issue):
lstar.py
We just migrated the shrinker to the IR in #3962, as a part of #3921. While this was a performance win overall, we took some temporary regressions and left notes for where to improve in the future. This issue tracks those items.
Float
shrinker with special logic forn >= 2**53
, where the float gap becomes > 1 (https://github.com/HypothesisWorks/hypothesis/pull/3962#discussion_r1614925641)Collection
shrinker: https://github.com/HypothesisWorks/hypothesis/blob/54d029d3cdbd78419f3496faa3eb39b57cde03b3/hypothesis-python/src/hypothesis/internal/conjecture/shrinking/collection.py#L44-L48TODO_BETTER_SHRINK
comments in the codeguides/internals.rst
Ambitiously (not necessary to close this issue):
lstar.py
and DFA shrinking for the IR. Here's the commit that took it out: https://github.com/HypothesisWorks/hypothesis/pull/3962/commits/8eaa4d48d4e6838684826109d10e53cfd9733225