Skip to content

Instantly share code, notes, and snippets.

@ahartikainen
Created August 30, 2018 04:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ahartikainen/9589dedcb2045c556359814313742e13 to your computer and use it in GitHub Desktop.
Save ahartikainen/9589dedcb2045c556359814313742e13 to your computer and use it in GitHub Desktop.
PyStan tests
# Running times
[success] 13.95% test_stan_file_io.TestStanFileIO.test_stan_model_from_file: 80.9590s
[success] 13.32% test_pickle.TestPickle.test_model_unique_names: 77.2730s
[success] 8.18% test_extra_compile_args.TestExtraCompileArgs.test_extra_compile_args: 47.4787s
[success] 7.81% test_chains.TestRhatZero.test_rhat_zero: 45.3319s
[success] 7.09% test_pickle.TestPickle.test_pickle_model_and_reload: 41.1400s
[success] 6.97% test_rstan_getting_started.TestRStanGettingStarted.test_stan_file: 40.4583s
[success] 6.93% test_rstan_stan_args.TestPyStanArgs.test_stan_args_basic: 40.1854s
[success] 6.87% test_pickle.TestPickle.test_pickle_fit: 39.8326s
[success] 6.86% test_pickle.TestPickle.test_pickle_model: 39.7895s
[success] 6.72% test_user_inits.TestUserInits.test_user_init_unspecified: 39.0043s
[success] 6.63% test_rstan_stanfit.TestStanfit.test_init_zero_exception_inf_grad: 38.4856s
[success] 0.84% test_basic_pars.Test8Schools.test_8schools_pars: 4.8633s
[success] 0.65% test_generated_quantities_seed.TestGeneratedQuantitiesSeed.test_generated_quantities_seed: 3.7705s
[success] 0.57% test_basic.TestBernoulli.test_bernoulli_sampling_sample_file: 3.3045s
[success] 0.54% test_basic.TestBernoulli.test_bernoulli_random_seed_consistency: 3.1434s
[success] 0.52% test_basic.TestBernoulli.test_bernoulli_random_seed_inconsistency: 3.0271s
[success] 0.48% test_rstan_getting_started.TestRStanGettingStarted.test_sampling_parallel: 2.8023s
[success] 0.47% test_basic_pars.Test8Schools.test_8schools_pars_bare: 2.7507s
[success] 0.42% test_rstan_stanfit.TestStanfit.test_specify_args: 2.4605s
[success] 0.28% test_posterior_means.TestPosteriorMeans.test_posterior_means: 1.6372s
[success] 0.28% test_basic_matrix.TestMatrixParam.test_matrix_param: 1.6055s
[success] 0.26% test_basic_matrix.TestMatrixParam.test_matrix_param_order: 1.5244s
[success] 0.25% test_basic.TestBernoulli.test_bernoulli_OrderedDict: 1.4432s
[success] 0.24% test_basic.TestNormal.test_log_prob: 1.3860s
[success] 0.24% test_basic.TestNormal.test_control_stepsize: 1.3724s
[success] 0.24% test_extract.TestExtract.test_extract_thin: 1.3695s
[success] 0.23% test_basic_pars.TestParsLabels.test_pars_labels: 1.3475s
[success] 0.23% test_user_inits.TestUserInitsMatrix.test_user_initfun: 1.3249s
[success] 0.23% test_basic_pars.TestParsLabels.test_pars_single_chains: 1.3189s
[success] 0.23% test_rstan_getting_started.TestRStanGettingStarted.test_stan_reuse_fit: 1.3173s
[success] 0.22% test_rstan_stanfit.TestStanfit.test_grad_log: 1.2593s
[success] 0.21% test_misc_args.TestArgs.test_print_summary: 1.2355s
[success] 0.21% test_fixed_param.TestFixedParam.test_fixed_param: 1.2336s
[success] 0.21% test_user_inits.TestUserInits.test_user_initfun_chainid: 1.2044s
[success] 0.21% test_user_inits.TestUserInits.test_user_initfun: 1.1998s
[success] 0.07% test_basic.TestBernoulli.test_bernoulli_plot: 0.4084s
[success] 0.06% test_lookup.TestLookup.test_lookup: 0.3536s
[success] 0.03% test_extract.TestExtract.test_to_dataframe_permuted_false_inc_warmup_true: 0.1463s
[success] 0.02% test_vb.TestNormalVB.test_vb_pars: 0.1136s
[success] 0.02% test_vb.TestNormalVB.test_vb_default: 0.1119s
[success] 0.02% test_extract.TestExtract.test_to_dataframe_permuted_false_inc_warmup_false: 0.1010s
[success] 0.02% test_stanc.TestStanc.test_stanc_exception: 0.0915s
[success] 0.02% test_extract.TestExtract.test_to_dataframe_permuted_false_pars: 0.0907s
[success] 0.02% test_stanc.TestStanc.test_stanc_exception_semicolon: 0.0884s
[success] 0.01% test_vb.TestNormalVB.test_vb_sample_file: 0.0862s
[success] 0.01% test_chains.TestMcmcChains.test_essnrhat: 0.0610s
[success] 0.01% test_vb.TestNormalVB.test_vb_diagnostic_file: 0.0588s
[success] 0.01% test_vb.TestNormalVB.test_vb_fullrank: 0.0551s
[success] 0.01% test_extract.TestExtract.test_to_dataframe_permuted_false_diagnostics_false: 0.0517s
[success] 0.01% test_stanc.TestStanc.test_stanc: 0.0480s
[success] 0.01% test_utf8.TestUTF8.test_utf8: 0.0462s
[success] 0.01% test_stanc.TestStanc.test_stanc_include: 0.0443s
[success] 0.01% test_utf8.TestUTF8.test_utf8_multilinecomment: 0.0432s
[success] 0.01% test_stanc.TestStanc.test_stanc_2_includes: 0.0426s
[success] 0.01% test_utf8.TestUTF8.test_utf8_linecomment: 0.0382s
[success] 0.01% test_basic.TestBernoulli.test_bernoulli_summary: 0.0326s
[success] 0.00% test_extract.TestExtract.test_extract_permuted_false_inc_warmup: 0.0287s
[success] 0.00% test_ess.TestESS.test_ess: 0.0275s
[success] 0.00% test_extract.TestExtract.test_to_dataframe_permuted_true: 0.0173s
[success] 0.00% test_user_inits.TestUserInitsMatrix.test_user_init: 0.0169s
[success] 0.00% test_rstan_getting_started.TestRStanGettingStarted.test_stan: 0.0140s
[success] 0.00% test_basic_array.TestBasicArray.test_array_param_sampling: 0.0137s
[success] 0.00% test_basic.TestBernoulli.test_bernoulli_optimizing_sample_file: 0.0124s
[success] 0.00% test_extract.TestExtract.test_extract_permuted_false: 0.0124s
[success] 0.00% test_misc.TestMisc.test_stan_rdump: 0.0100s
[success] 0.00% test_utf8.TestUTF8.test_utf8_inprogramcode: 0.0077s
[success] 0.00% test_basic.TestNormal.test_check_diagnostics: 0.0076s
[success] 0.00% test_basic_pars.TestParsLabels.test_pars_single: 0.0064s
[success] 0.00% test_rstan_testoptim.TestOptim.test_optim_stdnorm_from_file: 0.0060s
[success] 0.00% test_misc.TestMisc.test_rstan_read_rdump: 0.0059s
[success] 0.00% test_user_inits.TestUserInits.test_user_init: 0.0056s
[success] 0.00% test_rstan_testoptim.TestOptim.test_optim_stdnorm_bfgs: 0.0048s
[success] 0.00% test_misc.TestMisc.test_stan_read_rdump_array: 0.0048s
[success] 0.00% test_basic.TestBernoulli.test_bernoulli_extract: 0.0044s
[success] 0.00% test_extract.TestExtract.test_extract_permuted: 0.0027s
[success] 0.00% test_misc.TestMisc.test_array_to_table: 0.0021s
[success] 0.00% test_chains.TestMcmcChains.test_rhat: 0.0018s
[success] 0.00% test_misc.TestMisc.test_check_seed: 0.0016s
[success] 0.00% test_linear_regression.TestLinearRegression.test_linear_regression: 0.0012s
[success] 0.00% test_extract.TestExtract.test_extract_dtype: 0.0010s
[success] 0.00% test_rstan_testoptim.TestOptim.test_optim_stdnorm_lbfgs: 0.0010s
[success] 0.00% test_basic.TestBernoulli.test_bernoulli_sampling_error: 0.0008s
[success] 0.00% test_optimizing_example.TestOptimizingExample.test_optimizing: 0.0007s
[success] 0.00% test_misc_args.TestArgs.test_control: 0.0007s
[success] 0.00% test_extract.TestExtract.test_extract_dtype_permuted_false: 0.0007s
[success] 0.00% test_misc.TestMisc.test_remove_empty_pars: 0.0006s
[success] 0.00% test_basic_array.TestBasicArray.test_array_param_optimizing: 0.0006s
[success] 0.00% test_basic_matrix.TestMatrixParam.test_matrix_param_order_optimizing: 0.0006s
[success] 0.00% test_rstan_testoptim.TestOptim.test_optim_stdnorm: 0.0005s
[success] 0.00% test_basic_pars.Test8Schools.test_8schools_bad_pars: 0.0005s
[success] 0.00% test_misc.TestMisc.test_format_number: 0.0004s
[success] 0.00% test_unconstrain_pars.TestUnconstrainPars.test_unconstrain_pars: 0.0004s
[success] 0.00% test_extract.TestExtract.test_extract_permuted_false_pars: 0.0003s
[success] 0.00% test_basic.TestBernoulli.test_bernoulli_sampling_invalid_argument: 0.0003s
[success] 0.00% test_extract.TestExtract.test_extract_permuted_false_pars_inc_warmup: 0.0003s
[success] 0.00% test_basic.TestBernoulli.test_bernoulli_sampling: 0.0002s
[success] 0.00% test_misc.TestMisc.test_format_number_si: 0.0002s
[success] 0.00% test_misc.TestMisc.test_par_vector2dict: 0.0002s
[success] 0.00% test_rstan_stan_args.TestPyStanArgs.test_stan_args_sampling: 0.0002s
[success] 0.00% test_misc.TestMisc.test_check_seed_gt_max_uint: 0.0002s
[success] 0.00% test_misc.TestMisc.test_pars_total_indexes: 0.0002s
[success] 0.00% test_misc.TestMisc.test_stan_rdump_array: 0.0001s
[success] 0.00% test_rstan_stan_args.TestPyStanArgs.test_stan_args_optimizing: 0.0001s
[success] 0.00% test_misc.TestMisc.test_format_number_inf: 0.0001s
[success] 0.00% test_covexpquad.TestCovExpQuad.test_covexpquad: 0.0000s
[success] 0.00% test_basic.TestNormal.test_constructor: 0.0000s
[success] 0.00% test_basic.TestBernoulli.test_bernoulli_constructor: 0.0000s
[success] 0.00% test_extra_compile_args.TestExtraCompileArgs.test_extra_compile_args_failure: 0.0000s
[success] 0.00% test_extra_compile_args.TestExtraCompileArgs.test_threading_support: 0.0000s
----------------------------------------------------------------------
Ran 109 tests in 1286.875s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment