Description
I've been stung by a false sense of security from this guy utils/generate_random_versions.py:
So I wanted to discuss ways we could improve the script.
It does catch things but often later than the PR that introduced the bug 😔
Idea 1
I think a lot of my pain would've been avoided if polars 1.0.0 or 1.1.0 had a greater chance of running.
That is only going to happen on ~9% of runs (2/23) right now, so maybe we could weight the choice towards these versions some more?
@FBruzzesi I hear you do the good maths, can we do any better than random.choice?
|
polars_version = random.choice(POLARS_VERSION) |
Idea ...
Help me out here
Description
I've been stung by a false sense of security from this guy
utils/generate_random_versions.py:polars#3624So I wanted to discuss ways we could improve the script.
It does catch things but often later than the PR that introduced the bug 😔
Idea 1
I think a lot of my pain would've been avoided if polars
1.0.0or1.1.0had a greater chance of running.That is only going to happen on ~9% of runs (2/23) right now, so maybe we could weight the choice towards these versions some more?
@FBruzzesi I hear you do the good maths, can we do any better than
random.choice?narwhals/utils/generate_random_versions.py
Line 55 in 9200736
Idea ...
Help me out here