.flake8
.gitignore
.pre-commit-config.yaml
.pyre_configuration.external
ARCHITECTURE.md
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
LICENSE-DOCUMENTATION
README.md
pyproject.toml
requirements-fmt.txt
.github/copilot-instructions.md
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_question.md
.github/badges/coverage.json
.github/workflows/build-and-test.yml
.github/workflows/cleanup-copilot-artifacts.yml
.github/workflows/codeql.yml
.github/workflows/coverage.yml
.github/workflows/deploy-website.yml
.github/workflows/diff-diff-canary.yml
.github/workflows/notebook-ci.yml
.github/workflows/release.yml
balance/__init__.py
balance/adjustment.py
balance/balance_frame.py
balance/balancedf_class.py
balance/cli.py
balance/csv_utils.py
balance/sample_class.py
balance/sample_frame.py
balance/summary_utils.py
balance/testutil.py
balance/typing.py
balance/util.py
balance.egg-info/PKG-INFO
balance.egg-info/SOURCES.txt
balance.egg-info/dependency_links.txt
balance.egg-info/requires.txt
balance.egg-info/scm_file_list.json
balance.egg-info/scm_version.json
balance.egg-info/top_level.txt
balance/datasets/__init__.py
balance/datasets/loading_data.py
balance/datasets/sim_data_aipw.csv
balance/datasets/sim_data_aipw_expected.csv
balance/datasets/sim_data_outcome_model.csv
balance/datasets/sim_data_outcome_model_expected.csv
balance/interop/__init__.py
balance/interop/_common.py
balance/interop/conventions.py
balance/interop/diff_diff.py
balance/outcome_models/__init__.py
balance/outcome_models/aipw.py
balance/outcome_models/outcome_model.py
balance/stats_and_plots/__init__.py
balance/stats_and_plots/ascii_plots.py
balance/stats_and_plots/general_stats.py
balance/stats_and_plots/impact_of_weights_on_outcome.py
balance/stats_and_plots/love_plot.py
balance/stats_and_plots/weighted_comparisons_plots.py
balance/stats_and_plots/weighted_comparisons_stats.py
balance/stats_and_plots/weighted_stats.py
balance/stats_and_plots/weights_stats.py
balance/utils/__init__.py
balance/utils/data_transformation.py
balance/utils/file_utils.py
balance/utils/input_validation.py
balance/utils/logging_utils.py
balance/utils/model_matrix.py
balance/utils/pandas_utils.py
balance/weighting_methods/__init__.py
balance/weighting_methods/adjust_null.py
balance/weighting_methods/cbps.py
balance/weighting_methods/ipw.py
balance/weighting_methods/poststratify.py
balance/weighting_methods/rake.py
benchmarks/benchmark_ipfn.py
docs/architecture/architecture_0_19_0.md
docs/architecture/architecture_0_23_0.md
scripts/make_docs.sh
sphinx/Makefile
sphinx/balance.rst
sphinx/conf.py
sphinx/index.rst
sphinx/make.bat
sphinx/_static/css/custom.css
sphinx/_templates/autosummary/class.rst
sphinx/_templates/autosummary/module.rst
tests/conftest.py
tests/test_active_weight_selection.py
tests/test_adjust_null.py
tests/test_adjustment.py
tests/test_aipw.py
tests/test_aipw_vs_r.py
tests/test_ascii_plots.py
tests/test_balance_frame.py
tests/test_balancedf.py
tests/test_bento_runner_scope.py
tests/test_bootstrap_snapshot_retention.py
tests/test_categorical_na_action_regression.py
tests/test_cbps.py
tests/test_cli.py
tests/test_cli_batch_diagnostic_regression.py
tests/test_cli_batch_key_arity.py
tests/test_cli_batch_missing_regression.py
tests/test_constant_reference_asmd_regression.py
tests/test_cross_fitted_aipw.py
tests/test_csv_destination_regression.py
tests/test_cvmd_probability_measure_regression.py
tests/test_datasets.py
tests/test_drop_na_duplicate_index_regression.py
tests/test_e2e_from_tutorials.py
tests/test_filtered_covariate_roles.py
tests/test_formula_dot_regression.py
tests/test_formula_drop_consumer_regression.py
tests/test_formula_missing_rows_regression.py
tests/test_frame_regressions.py
tests/test_frequency_index_regression.py
tests/test_frozen_model_matrix_regression.py
tests/test_general_stats.py
tests/test_inplace_fit_baseline.py
tests/test_interop_diff_diff.py
tests/test_ipw.py
tests/test_ipw_cv_full_data_regression.py
tests/test_kish_missing_weights_regression.py
tests/test_kld_zero_weight_support_regression.py
tests/test_logging.py
tests/test_median_breakdown_regression.py
tests/test_missing_variance_regression.py
tests/test_na_indicator_input_regression.py
tests/test_named_survey_weights.py
tests/test_outcome_model.py
tests/test_outcome_model_oracle.py
tests/test_outcome_model_vs_r.py
tests/test_outcome_only_summary.py
tests/test_outcome_regressions.py
tests/test_outcome_target_replacement.py
tests/test_plotly_weight_dispatch_regression.py
tests/test_poststratify.py
tests/test_poststratify_numeric_missing_regression.py
tests/test_poststratify_observed_categories_regression.py
tests/test_public_kish_ess_regression.py
tests/test_quantile_zero_weight_regression.py
tests/test_rake.py
tests/test_rake_duplicate_index_replay.py
tests/test_rake_filtered_design_weights_regression.py
tests/test_rake_integral_float_regression.py
tests/test_rake_sample_index_regression.py
tests/test_rake_stall_regression.py
tests/test_release_workflow.py
tests/test_replicate_design_regression.py
tests/test_same_data_replay_contract.py
tests/test_sample.py
tests/test_sample_diagnostics_helper.py
tests/test_sample_frame.py
tests/test_sample_internal.py
tests/test_sample_pickle_regression.py
tests/test_seaborn_default_numeric_regression.py
tests/test_stats_and_plots.py
tests/test_testutil.py
tests/test_util_data_transformation.py
tests/test_util_input_validation.py
tests/test_util_logging_utils.py
tests/test_util_model_matrix.py
tests/test_util_pandas_utils.py
tests/test_weight_roles_round_trip.py
tests/test_weighted_comparisons_plots.py
tests/test_weighting_replay_schema.py
tests/r_inspired/README.md
tests/r_inspired/test_cbps_r_comparison.py
tests/r_inspired/test_glmnet_ipw_oracle.py
tests/r_inspired/test_matchit_diagnostics_oracle.py
tests/r_inspired/test_r_fixture_checkout.py
tests/r_inspired/test_r_fixture_integrity.py
tests/r_inspired/test_r_inspired_categorical.py
tests/r_inspired/test_r_inspired_cv.py
tests/r_inspired/test_r_inspired_interactions.py
tests/r_inspired/test_r_inspired_weighted_scaler.py
tests/r_inspired/test_r_inspired_weighted_statistics.py
tests/r_inspired/test_r_inspired_weighting.py
tests/r_inspired/test_r_weight_impact_oracle.py
tests/r_inspired/test_survey_outcome_oracle.py
tests/r_inspired/fixtures/.gitattributes
tests/r_inspired/fixtures/categorical/README.md
tests/r_inspired/fixtures/categorical/hardhat_factor_expected.csv
tests/r_inspired/fixtures/categorical/hardhat_factor_test.csv
tests/r_inspired/fixtures/categorical/hardhat_factor_train.csv
tests/r_inspired/fixtures/categorical/manifest.json
tests/r_inspired/fixtures/categorical/licenses/GPL-2.txt
tests/r_inspired/fixtures/categorical/licenses/GPL-3.txt
tests/r_inspired/fixtures/categorical/licenses/MIT.txt
tests/r_inspired/fixtures/categorical/licenses/packages/forcats/DESCRIPTION
tests/r_inspired/fixtures/categorical/licenses/packages/forcats/LICENSE
tests/r_inspired/fixtures/categorical/licenses/packages/hardhat/DESCRIPTION
tests/r_inspired/fixtures/categorical/licenses/packages/hardhat/LICENSE
tests/r_inspired/fixtures/cbps/README.md
tests/r_inspired/fixtures/cbps/manifest.json
tests/r_inspired/fixtures/cbps/sim_data_cbps.R
tests/r_inspired/fixtures/cbps/sim_data_cbps.csv
tests/r_inspired/fixtures/cbps/licenses/GPL-2.txt
tests/r_inspired/fixtures/cbps/licenses/GPL-3.txt
tests/r_inspired/fixtures/cv/README.md
tests/r_inspired/fixtures/cv/foldids.csv
tests/r_inspired/fixtures/cv/glmnet_binomial_ipw.json
tests/r_inspired/fixtures/cv/manifest.json
tests/r_inspired/fixtures/cv/licenses/GPL-2.txt
tests/r_inspired/fixtures/cv/licenses/GPL-3.txt
tests/r_inspired/fixtures/cv/licenses/MIT.txt
tests/r_inspired/fixtures/cv/licenses/packages/Rcpp/DESCRIPTION
tests/r_inspired/fixtures/cv/licenses/packages/RcppEigen/DESCRIPTION
tests/r_inspired/fixtures/cv/licenses/packages/RcppEigen/LICENSE
tests/r_inspired/fixtures/cv/licenses/packages/RcppEigen/inst/COPYRIGHTS
tests/r_inspired/fixtures/cv/licenses/packages/RcppEigen/inst/include/unsupported/Eigen/src/LevenbergMarquardt/CopyrightMINPACK.txt
tests/r_inspired/fixtures/cv/licenses/packages/glmnet/DESCRIPTION
tests/r_inspired/fixtures/cv/licenses/packages/rsample/DESCRIPTION
tests/r_inspired/fixtures/cv/licenses/packages/rsample/LICENSE
tests/r_inspired/fixtures/diagnostics/README.md
tests/r_inspired/fixtures/diagnostics/lalonde_matchit_expected.csv
tests/r_inspired/fixtures/diagnostics/lalonde_matchit_weights.csv
tests/r_inspired/fixtures/diagnostics/lalonde_subclass_within_ks_expected.csv
tests/r_inspired/fixtures/diagnostics/manifest.json
tests/r_inspired/fixtures/diagnostics/licenses/GPL-2.txt
tests/r_inspired/fixtures/diagnostics/licenses/GPL-3.txt
tests/r_inspired/fixtures/diagnostics/licenses/packages/MatchIt/DESCRIPTION
tests/r_inspired/fixtures/interactions/README.md
tests/r_inspired/fixtures/interactions/manifest.json
tests/r_inspired/fixtures/interactions/recipes_interaction_dummy_expected.csv
tests/r_inspired/fixtures/interactions/recipes_interaction_numeric_expected.csv
tests/r_inspired/fixtures/interactions/recipes_interaction_test.csv
tests/r_inspired/fixtures/interactions/recipes_interaction_train.csv
tests/r_inspired/fixtures/interactions/licenses/GPL-2.txt
tests/r_inspired/fixtures/interactions/licenses/GPL-3.txt
tests/r_inspired/fixtures/interactions/licenses/MIT.txt
tests/r_inspired/fixtures/interactions/licenses/packages/hardhat/DESCRIPTION
tests/r_inspired/fixtures/interactions/licenses/packages/hardhat/LICENSE
tests/r_inspired/fixtures/interactions/licenses/packages/recipes/DESCRIPTION
tests/r_inspired/fixtures/interactions/licenses/packages/recipes/LICENSE
tests/r_inspired/fixtures/ipw/README.md
tests/r_inspired/fixtures/ipw/glmnet_binomial_ipw.json
tests/r_inspired/fixtures/ipw/manifest.json
tests/r_inspired/fixtures/ipw/licenses/GPL-2.txt
tests/r_inspired/fixtures/ipw/licenses/GPL-3.txt
tests/r_inspired/fixtures/ipw/licenses/packages/Rcpp/DESCRIPTION
tests/r_inspired/fixtures/ipw/licenses/packages/RcppEigen/DESCRIPTION
tests/r_inspired/fixtures/ipw/licenses/packages/RcppEigen/LICENSE
tests/r_inspired/fixtures/ipw/licenses/packages/RcppEigen/inst/COPYRIGHTS
tests/r_inspired/fixtures/ipw/licenses/packages/RcppEigen/inst/include/unsupported/Eigen/src/LevenbergMarquardt/CopyrightMINPACK.txt
tests/r_inspired/fixtures/ipw/licenses/packages/glmnet/DESCRIPTION
tests/r_inspired/fixtures/outcomes/README.md
tests/r_inspired/fixtures/outcomes/manifest.json
tests/r_inspired/fixtures/outcomes/survey_api_outcome_expected.csv
tests/r_inspired/fixtures/outcomes/survey_api_outcome_sample.csv
tests/r_inspired/fixtures/outcomes/survey_api_outcome_target.csv
tests/r_inspired/fixtures/outcomes/licenses/GPL-2.txt
tests/r_inspired/fixtures/outcomes/licenses/GPL-3.txt
tests/r_inspired/fixtures/outcomes/licenses/packages/survey/DESCRIPTION
tests/r_inspired/fixtures/outcomes/licenses/packages/survey/inst/COPYING
tests/r_inspired/fixtures/weight_impact/README.md
tests/r_inspired/fixtures/weight_impact/manifest.json
tests/r_inspired/fixtures/weight_impact/matchit_lalonde_weight_impact_expected.csv
tests/r_inspired/fixtures/weight_impact/matchit_lalonde_weight_impact_inputs.csv
tests/r_inspired/fixtures/weight_impact/licenses/GPL-2.txt
tests/r_inspired/fixtures/weight_impact/licenses/GPL-3.txt
tests/r_inspired/fixtures/weight_impact/licenses/packages/MatchIt/DESCRIPTION
tests/r_inspired/fixtures/weighted_scaler/README.md
tests/r_inspired/fixtures/weighted_scaler/glmnet_binomial_ipw.json
tests/r_inspired/fixtures/weighted_scaler/manifest.json
tests/r_inspired/fixtures/weighted_scaler/licenses/GPL-2.txt
tests/r_inspired/fixtures/weighted_scaler/licenses/GPL-3.txt
tests/r_inspired/fixtures/weighted_scaler/licenses/packages/Rcpp/DESCRIPTION
tests/r_inspired/fixtures/weighted_scaler/licenses/packages/RcppEigen/DESCRIPTION
tests/r_inspired/fixtures/weighted_scaler/licenses/packages/RcppEigen/LICENSE
tests/r_inspired/fixtures/weighted_scaler/licenses/packages/RcppEigen/inst/COPYRIGHTS
tests/r_inspired/fixtures/weighted_scaler/licenses/packages/RcppEigen/inst/include/unsupported/Eigen/src/LevenbergMarquardt/CopyrightMINPACK.txt
tests/r_inspired/fixtures/weighted_scaler/licenses/packages/glmnet/DESCRIPTION
tests/r_inspired/fixtures/weighted_statistics/README.md
tests/r_inspired/fixtures/weighted_statistics/manifest.json
tests/r_inspired/fixtures/weighted_statistics/matrixstats_expected.csv
tests/r_inspired/fixtures/weighted_statistics/matrixstats_missing_values.csv
tests/r_inspired/fixtures/weighted_statistics/matrixstats_subset_expected.csv
tests/r_inspired/fixtures/weighted_statistics/matrixstats_subset_inputs.csv
tests/r_inspired/fixtures/weighted_statistics/matrixstats_values.csv
tests/r_inspired/fixtures/weighted_statistics/matrixstats_variance_expected.csv
tests/r_inspired/fixtures/weighted_statistics/matrixstats_variance_inputs.csv
tests/r_inspired/fixtures/weighted_statistics/survey_quantile_expected.csv
tests/r_inspired/fixtures/weighted_statistics/survey_quantile_inputs.csv
tests/r_inspired/fixtures/weighted_statistics/licenses/Artistic-2.0.txt
tests/r_inspired/fixtures/weighted_statistics/licenses/GPL-2.txt
tests/r_inspired/fixtures/weighted_statistics/licenses/GPL-3.txt
tests/r_inspired/fixtures/weighted_statistics/licenses/packages/matrixStats/DESCRIPTION
tests/r_inspired/fixtures/weighted_statistics/licenses/packages/survey/DESCRIPTION
tests/r_inspired/fixtures/weighted_statistics/licenses/packages/survey/inst/COPYING
tests/r_inspired/fixtures/weighting/README.md
tests/r_inspired/fixtures/weighting/manifest.json
tests/r_inspired/fixtures/weighting/survey_badcal.csv
tests/r_inspired/fixtures/weighting/survey_kalton.csv
tests/r_inspired/fixtures/weighting/licenses/GPL-2.txt
tests/r_inspired/fixtures/weighting/licenses/GPL-3.txt
tests/r_inspired/fixtures/weighting/licenses/packages/survey/DESCRIPTION
tests/r_inspired/fixtures/weighting/licenses/packages/survey/inst/COPYING
tests/r_inspired/generators/generate_aipw_fixture.R
tests/r_inspired/generators/generate_glmnet_fixtures.R
tests/r_inspired/generators/generate_matchit_diagnostics.R
tests/r_inspired/generators/generate_matrixstats_fixtures.R
tests/r_inspired/generators/generate_outcome_model_fixture.R
tests/r_inspired/generators/generate_subset_quantile_fixtures.R
tests/r_inspired/generators/generate_survey_package_fixtures.R
tests/r_inspired/generators/regenerate_r_fixtures.py
tutorials/balance_ascii_plots.ipynb
tutorials/balance_cli_tutorial.ipynb
tutorials/balance_diff_diff_brfss.ipynb
tutorials/balance_outcome_model.ipynb
tutorials/balance_quickstart.ipynb
tutorials/balance_quickstart_cbps.ipynb
tutorials/balance_quickstart_new_api.ipynb
tutorials/balance_quickstart_poststratify.ipynb
tutorials/balance_quickstart_rake.ipynb
tutorials/balance_transformations_and_formulas.ipynb
tutorials/comparing_cbps_in_r_vs_python_using_sim_data.ipynb
website/.npmrc
website/README.md
website/babel.config.js
website/docusaurus.config.js
website/package.json
website/sidebars.js
website/yarn.lock
website/blog/2023/01/09/bringing-balance-to-your-data.md
website/blog/2023/01/09/sample_vs_target_bar_chart.webp
website/blog/2025/10/25/balance-0-12-0.md
website/blog/2026/01/20/balance-0-15-0.md
website/blog/2026/04/26/balance-0-20-0.md
website/docs/api_reference/index.md
website/docs/docs/changelog.md
website/docs/docs/contributing.md
website/docs/docs/overview.md
website/docs/docs/general_framework/adjusting_sample_to_population.md
website/docs/docs/general_framework/evaluation_of_results.md
website/docs/docs/general_framework/general_framework.md
website/docs/docs/general_framework/pre_adjustment_diagnostics.md
website/docs/docs/img/fig_01_qqplot_income_before.png
website/docs/docs/img/fig_02_barplot_age_before.png
website/docs/docs/img/fig_03_barplot_gender_before.png
website/docs/docs/img/fig_04_qqplot_income_after.png
website/docs/docs/img/fig_05_barplot_age_after.png
website/docs/docs/img/fig_06_barplot_gender_after.png
website/docs/docs/img/fig_07_seaborn_after.png
website/docs/docs/img/fig_08_weights_kde.png
website/docs/docs/img/fig_09_seaborn_outcome_kde_after.png
website/docs/docs/img/total_survey_error_flow_v02.png
website/docs/docs/img/total_survey_error_flow_v02.svg
website/docs/docs/img/total_survey_error_image.png
website/docs/docs/img/total_survey_error_image.svg
website/docs/docs/statistical_methods/cbps.md
website/docs/docs/statistical_methods/index.md
website/docs/docs/statistical_methods/ipw.md
website/docs/docs/statistical_methods/poststratify.md
website/docs/docs/statistical_methods/rake.md
website/docs/tutorials/balance_ascii_plots.mdx
website/docs/tutorials/balance_cli_tutorial.mdx
website/docs/tutorials/balance_diff_diff_brfss.mdx
website/docs/tutorials/balance_transformations_and_formulas.mdx
website/docs/tutorials/comparing_cbps_in_r_vs_python_using_sim_data.mdx
website/docs/tutorials/index.mdx
website/docs/tutorials/outcome_model.mdx
website/docs/tutorials/quickstart.mdx
website/docs/tutorials/quickstart_cbps.mdx
website/docs/tutorials/quickstart_new_api.mdx
website/docs/tutorials/quickstart_poststratify.mdx
website/docs/tutorials/quickstart_rake.mdx
website/scripts/SECURITY_PATCHES.md
website/scripts/patch-image-size.cjs
website/scripts/patch-merge-consumer.cjs
website/src/components/HTMLLoader.js
website/src/components/HomepageFeatures.js
website/src/components/HomepageFeatures.module.css
website/src/css/custom.css
website/src/pages/index.js
website/src/pages/index.module.css
website/src/pages/markdown-page.md
website/static/.nojekyll
website/static/CNAME
website/static/docs/Balancing_biased_data_samples_with_the_balance_Python_package_-_ISA_conference_2023-06-01.pdf
website/static/docs/Balancing_biased_data_samples_with_the_balance_Python_package_-_ISA_conference_2023-06-01.pptx
website/static/img/docusaurus.png
website/static/img/favicon.ico
website/static/img/logo.svg
website/static/img/meta_opensource_logo_negative.svg
website/static/img/balance_logo/balance_Social__1280x720.png
website/static/img/balance_logo/balance_Social__1920x1080.png
website/static/img/balance_logo/icon.png
website/static/img/balance_logo/icon.svg
website/static/img/balance_logo/vertical.svg
website/static/img/balance_logo/vertical_white.svg
website/static/img/balance_logo/AI/balance_Logo_FINAL.ai
website/static/img/balance_logo/PNG/Horizontal/balance_Logo_Horizontal_Black_RGB.png
website/static/img/balance_logo/PNG/Horizontal/balance_Logo_Horizontal_FullColor_RGB.png
website/static/img/balance_logo/PNG/Horizontal/balance_Logo_Horizontal_White_RGB.png
website/static/img/balance_logo/PNG/Icon/balance_Logo_Icon_Black_RGB.png
website/static/img/balance_logo/PNG/Icon/balance_Logo_Icon_FullColor_RGB.png
website/static/img/balance_logo/PNG/Icon/balance_Logo_Icon_White_RGB.png
website/static/img/balance_logo/PNG/Vertical/balance_Logo_Vertical_Black_RGB.png
website/static/img/balance_logo/PNG/Vertical/balance_Logo_Vertical_FullColor_RGB.png
website/static/img/balance_logo/PNG/Vertical/balance_Logo_Vertical_White_RGB.png
website/static/img/balance_logo/SVG/Horizontal/balance_Logo_Horizontal_Black_RGB.svg
website/static/img/balance_logo/SVG/Horizontal/balance_Logo_Horizontal_FullColor_RGB.svg
website/static/img/balance_logo/SVG/Horizontal/balance_Logo_Horizontal_White_RGB.svg
website/static/img/balance_logo/SVG/Icon/balance_Logo_Icon_Black_RGB.svg
website/static/img/balance_logo/SVG/Icon/balance_Logo_Icon_FullColor_RGB.svg
website/static/img/balance_logo/SVG/Icon/balance_Logo_Icon_White_RGB.svg
website/static/img/balance_logo/SVG/Vertical/balance_Logo_Vertical_Black_RGB.svg
website/static/img/balance_logo/SVG/Vertical/balance_Logo_Vertical_FullColor_RGB.svg
website/static/img/balance_logo/SVG/Vertical/balance_Logo_Vertical_White_RGB.svg
website/static/img/balance_logo_hex_stickers/balance_hex_fill.svg
website/static/img/balance_logo_hex_stickers/balance_hex_fill__3x.png
website/static/img/balance_logo_hex_stickers/balance_hex_outline.svg
website/static/img/balance_logo_hex_stickers/balance_hex_outline__3x.png
website/static/img/fontawesome/chart-line.svg
website/static/img/fontawesome/code.svg
website/static/img/fontawesome/layer-group.svg
website/static/img/fontawesome/users.svg
website/static/img/tutorial/docsVersionDropdown.png
website/static/img/tutorial/localeDropdown.png
website/test/deepmerge.test.cjs
website/test/image-size.test.cjs