Repository navigation
tea-tasting 2.0.0 #291
e10v
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
tea-tasting 2.0 is here with:
tea-tasting 2.0 shouldn't break most users' workflows. Read the breaking changes below if you:
seedorrandom_state.Experiment.simulate.Mean(value=...)by keyword.Quantile's previous default NaN handling.Breaking changes
rnginstead ofseedinmake_users_data,make_sessions_data, andExperiment.simulate. Data generator callables passed toExperiment.simulatemust also acceptrng, notseed. Usernginstead ofrandom_stateinBootstrapandQuantile; therandom_stateattribute was removed. More details in SPEC 7.Mean(value=...)was renamed toMean(column=...). Positional calls such asMean("orders")still work, but keyword usage must change fromvalue=tocolumn=, and the public attribute is nowcolumninstead ofvalue.nan_policyis now configurable globally withset_config()andconfig_context().MannWhitneyU,Bootstrap, andQuantilenow inheritnan_policyfrom global config when it is not passed explicitly. The default global policy is"propagate". This changesQuantile’s default behavior from"omit"to"propagate".Experiment.simulatenow runs simulations in batches. Use the newbatch_sizeparameter to control how many simulations run per batch, including when usingmap_or progress reporting. Custom progress callbacks must follow the new context-manager style:progress(total=n_simulations)must return a context manager whose__enter__()value has anupdate(n)method.tea-tastingno longer installsibis-framework; users who pass Ibis tables must install Ibis separately. For example, install the backend extra you need:uv add 'ibis-framework[duckdb]'orpip install 'ibis-framework[duckdb]'.All changes
Full Changelog: v1.14.0...v2.0.0
This discussion was created from the release tea-tasting 2.0.0.
All reactions