Coverage report: 98%

Files Functions Classes

coverage.py v7.17.0, created at 2026-11-30 12:50 +0000

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
src/bartz/BART/_gbart.py mc_gbart.__init__   100% 25 0 0   93% 14 1   97%
src/bartz/_interface.py Bart.predict   90% 20 2 0   83% 6 1   88%
src/bartz/_interface.py Bart._process_x_test   85% 13 2 0   88% 8 1   86%
src/bartz/_interface.py Bart._tree_goes_bad   0% 1 1 0   100% 0 0   0%
src/bartz/_interface.py Bart._check_replicated_trees   80% 10 2 0   75% 4 1   79%
src/bartz/_interface.py _process_response_input   78% 9 2 0   83% 6 1   80%
src/bartz/_interface.py tree_goes_bad   0% 3 3 0   100% 0 0   0%
src/bartz/_interface.py compare_resid   88% 8 1 0   50% 2 1   80%
src/bartz/_interface.py _determine_devices   86% 14 2 0   88% 8 1   86%
src/bartz/_interface.py _largest_divisor_at_most   75% 4 1 0   75% 4 1   75%
src/bartz/_interface.py summarize_samples   100% 15 0 0   92% 12 1   96%
src/bartz/_interface.py summarize_outcome   100% 25 0 0   95% 20 1   98%
src/bartz/_interface.py sample_outcome   100% 21 0 0   92% 12 1   97%
src/bartz/_interface.py score_basis   100% 10 0 0   88% 8 1   94%
src/bartz/_interface.py density_score   100% 18 0 0   90% 10 1   96%
src/bartz/_interface.py component_score   100% 33 0 0   95% 20 1   98%
src/bartz/_jaxext/_autobatch.py reduce   100% 5 0 0   0% 2 2   71%
src/bartz/_jaxext/_jaxext.py explicit_x64_dtypes   0% 1 1 0   100% 0 0   0%
src/bartz/_jaxext/_jaxext.py minimal_unsigned_dtype   86% 7 1 0   83% 6 1   85%
src/bartz/_jaxext/_jaxext.py get_cpu_thread_count   90% 10 1 0   83% 6 1   88%
src/bartz/_jaxext/_jaxext.py get_available_cpu_count   90% 10 1 0   83% 6 1   88%
src/bartz/_jaxext/_jaxext.py sequential_vmap.rule   100% 15 0 0   75% 4 1   95%
src/bartz/_jaxext/_jaxext.py (no function)   98% 90 2 0   100% 2 0   98%
src/bartz/_jaxext/_jit.py (no function)   100% 17 0 40   0% 2 2   89%
src/bartz/_jaxext/_linalg.py solve_triangular_unrolled   87% 15 2 0   88% 8 1   87%
src/bartz/_workarounds.py cuda_plugin_installed   0% 1 1 0   100% 0 0   0%
src/bartz/_workarounds.py fix_gpu_scatter_performance   91% 11 1 0   75% 8 2   84%
src/bartz/bcf/_bcf.py bcf.__init__   100% 82 0 0   97% 36 1   99%
src/bartz/bcf/_step.py recompute_prec_trees   100% 8 0 0   50% 2 1   90%
src/bartz/debug/_prior.py sample_forest_structure   100% 16 0 0   67% 6 2   91%
src/bartz/grove/_check.py check_rule_consistency   89% 9 1 0   50% 2 1   82%
src/bartz/grove/_grove.py forest_depth_distr   0% 3 3 0   100% 0 0   0%
src/bartz/grove/_grove.py points_per_node_distr.func.count_points   88% 8 1 0   75% 4 1   83%
src/bartz/mcmcloop/_callback.py PrintCallback.__call__.line_report_branch   67% 6 2 0   50% 4 2   60%
src/bartz/mcmcloop/_callback.py PrintCallback.__call__.just_dot_branch   75% 4 1 0   50% 2 1   67%
src/bartz/mcmcloop/_callback.py TqdmCallback.__call__   93% 15 1 0   50% 2 1   88%
src/bartz/mcmcloop/_callback.py _convert_jax_arrays_in_args.convert_jax_arrays.convert_jax_array   60% 5 2 0   50% 4 2   56%
src/bartz/mcmcloop/_callback.py _print_report   80% 20 4 0   57% 14 4   71%
src/bartz/mcmcloop/_callback.py _get_or_create_bar   88% 8 1 0   75% 4 1   83%
src/bartz/mcmcloop/_callback.py _tqdm_advance   86% 7 1 0   75% 4 1   82%
src/bartz/mcmcloop/_callback.py _tqdm_report   94% 17 1 0   90% 10 1   93%
src/bartz/mcmcstep/_axes.py get_has_chains   71% 7 2 0   100% 0 0   71%
src/bartz/mcmcstep/_axes.py _find_metadata   100% 21 0 0   93% 14 1   97%
src/bartz/mcmcstep/_lazy.py _LazyArray.dtype   0% 1 1 0   100% 0 0   0%
src/bartz/mcmcstep/_reduction.py OneHotReduction._reduce   100% 39 0 0   95% 22 1   98%
src/bartz/mcmcstep/_state.py init   92% 48 4 0   89% 18 2   91%
src/bartz/mcmcstep/_state.py parse_prec_count_num_trees   100% 10 0 0   75% 4 1   93%
src/bartz/mcmcstep/_state.py get_shard_map_patch_kwargs   75% 4 1 0   50% 2 1   67%
src/bartz/mcmcstep/_step.py _precompute_leaf_terms_mv   100% 6 0 0   50% 2 1   88%
src/bartz/mcmcstep/_step.py _precompute_leaf_terms_mv_het   100% 5 0 0   50% 2 1   86%
src/bartz/mcmcstep/_step.py step_theta   100% 25 0 0   50% 2 1   96%
src/bartz/prepcovars/_prepcovars.py _signed_to_unsigned   47% 15 8 0   40% 10 4   44%
src/bartz/stochtree/_bcf.py BCFModel._store_outputs   92% 24 2 0   83% 12 2   89%
src/bartz/stochtree/_bcf.py BCFModel.summary   94% 16 1 0   75% 12 3   86%
src/bartz/stochtree/_bcf.py BCFModel._describe   95% 21 1 0   71% 14 4   86%
src/bartz/stochtree/_preprocess.py _expand_variable_weights   88% 8 1 0   75% 4 1   83%
src/bartz/stochtree/_preprocess.py Preprocessor.n_original_columns   0% 1 1 0   100% 0 0   0%
src/bartz/stochtree/_preprocess.py Preprocessor.transform   75% 12 3 0   67% 6 2   72%
src/bartz/stochtree/_stochtree.py BaseForestParams.__post_init__   33% 6 4 0   50% 4 2   40%
src/bartz/stochtree/_stochtree.py fit_covariates   85% 13 2 0   75% 4 1   82%
src/bartz/stochtree/_stochtree.py BaseModel._describe   0% 1 1 0   100% 0 0   0%
src/bartz/stochtree/_stochtree.py BARTModel._describe   100% 10 0 0   83% 6 1   94%
src/bartz/stochtree/_stochtree.py check_variable_weights   71% 7 2 0   75% 4 1   73%
src/bartz/stochtree/_stochtree.py check_predict_args   71% 21 6 0   79% 14 3   74%
src/bartz/stochtree/_stochtree.py summarize_predictions   100% 4 0 0   50% 2 1   83%
src/bartz/stochtree/_stochtree.py check_X   60% 10 4 0   50% 6 3   56%
src/bartz/stochtree/_stochtree.py _coerce_response   57% 7 3 0   50% 4 2   55%
Total     99% 6181 91 266   94% 1456 83   98%

No items found using the specified filter.

685 functions skipped due to complete coverage.