Increment
Compare treatment with control from a dataframe or SQL warehouse. Increment reports effects, uncertainty intervals and the checks that qualify each result. Use your existing assignments or assign units locally. Increment does not store events or host a feature-flag service.
Start with the dataframe quickstart. It runs without YAML or a warehouse connection and explains the resulting estimate.
Install
Section titled “Install”For the latest prerelease and the Polars quickstart:
python -m pip install --pre increment polarsRequires Python 3.12 or newer. Core/dataframe workflows are tested on 3.12–3.15; warehouse workflows on 3.12–3.14. DuckDB-backed extras on 3.15 need a compatible DuckDB wheel.
Install extras for the task you need:
| Task | Extra |
|---|---|
| Local DuckDB examples | increment[demo] |
| SQL warehouse | increment[warehouse] plus an Ibis backend |
| Formatted notebook tables | increment[tables] |
| HTML experiment dashboard | increment[dashboard] |
For example, python -m pip install --pre "increment[demo]" installs the local
warehouse dependencies. For Snowflake, install
"increment[warehouse]" "ibis-framework[snowflake]" instead. The
warehouse guide covers verified
backends, query translation and required permissions.
Quickstart
Section titled “Quickstart”Run the complete dataframe example, then use Reading results to distinguish an available estimate from evidence strong enough to act on.
Prefer an interactive walkthrough? Open the dataframe notebook.
Analyze from your warehouse
Section titled “Analyze from your warehouse”The warehouse setup guide walks through source tables, assignment, metrics and YAML definitions. The warehouse notebook runs the complete workflow against a local DuckDB database.
What do you want to do next?
Section titled “What do you want to do next?”| Your question | Start here |
|---|---|
| Which analysis fits my experiment? | Choose a method |
| What does this result mean? | Reading results |
| How much data do I need? | Power analysis |
| Can pre-experiment data help? | CUPED |
| Can I act while the test is running? | Sequential inference |
| Why was my request refused? | Find the next step |
Before relying on an analysis, read its assumptions and limitations. Methods have different foundations: exact constructions, asymptotic approximations, or empirical calibration. Validation separates what has been checked from what has not. The API reference covers exact calls.