Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test failures with PDL 2.091 #33

Closed
sebastic opened this issue Sep 7, 2024 · 1 comment
Closed

Test failures with PDL 2.091 #33

sebastic opened this issue Sep 7, 2024 · 1 comment

Comments

@sebastic
Copy link
Contributor

sebastic commented Sep 7, 2024

Many tests fail with PDL 2.091:

 37s autopkgtest [22:12:03]: test autodep8-perl-build-deps: [-----------------------
 38s t/00-report-prereqs.t .. 
 38s 1..1
 38s ok 1
 38s ok
 38s t/stats_basic.t ........ 
 38s ok 1 - standard deviation of [0 1 2 3 4]
 38s ok 2 - unbiased standard deviation of [0 1 2 3 4]
 38s ok 3 - variance of [0 1 2 3 4]
 38s ok 4 - unbiased variance of [0 1 2 3 4]
 38s ok 5 - standard error of [0 1 2 3 4]
 38s ok 6 - sum of squared deviations from the mean of [0 1 2 3 4]
 38s ok 7 - sample skewness of [0 1 2 3 4]
 38s ok 8 - unbiased sample skewness of [0 1 2 3 4]
 38s ok 9 - sample kurtosis of [0 1 2 3 4]
 38s ok 10 - unbiased sample kurtosis of [0 1 2 3 4]
 38s ok 11 - ss for [1 1 1 1 2 3 4 4 4 4 4 4]
 38s ok 12 - ss for [1 2 2 2 3 3 3 3 4 4 5 5]
 38s ok 13 - ss for [1 1 1 2 2 3 3 4 4 5 5 5]
 38s not ok 14 - standard deviation of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'standard deviation of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 41.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 15 - unbiased standard deviation of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'unbiased standard deviation of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 42.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 16 - variance of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'variance of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 43.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 17 - unbiased variance of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'unbiased variance of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 44.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 18 - standard error of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'standard error of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 45.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 19 - sum of squared deviations from the mean of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'sum of squared deviations from the mean of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 46.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 20 - sample skewness of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'sample skewness of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 47.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 21 - unbiased sample skewness of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'unbiased sample skewness of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 48.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 22 - sample kurtosis of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'sample kurtosis of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 49.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 23 - unbiased sample kurtosis of [0 1 2 3 4 BAD]
 38s 
 38s #   Failed test 'unbiased sample kurtosis of [0 1 2 3 4 BAD]'
 38s #   at t/stats_basic.t line 50.
 38s #          got: '0'
 38s #     expected: '1'
 38s ok 24 - sample covariance of [0 1 2 3 4] and [0 0 0 1 1]
 38s ok 25 - Pearson correlation coefficient of [0 1 2 3 4] and [0 0 0 1 1]
 38s ok 26 - Number of good pairs between [0 1 2 3 4] and [0 0 0 1 1]
 38s ok 27 - t significance test of Pearson correlation coefficient of [0 1 2 3 4] and [0 0 0 1 1]
 38s ok 28 - correlation calculated from dev_m values of [0 1 2 3 4] and [0 0 0 1 1]
 38s not ok 29 - sample covariance with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1]
 38s 
 38s #   Failed test 'sample covariance with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1]'
 38s #   at t/stats_basic.t line 66.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 30 - Pearson correlation coefficient with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1]
 38s 
 38s #   Failed test 'Pearson correlation coefficient with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1]'
 38s #   at t/stats_basic.t line 67.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 31 - Number of good pairs between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] with bad values taken into account
 38s 
 38s #   Failed test 'Number of good pairs between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] with bad values taken into account'
 38s #   at t/stats_basic.t line 68.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 32 - t signifiance test of Pearson correlation coefficient with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1]
 38s 
 38s #   Failed test 't signifiance test of Pearson correlation coefficient with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1]'
 38s #   at t/stats_basic.t line 69.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 33 - correlation calculated from dev_m values with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1]
 38s 
 38s #   Failed test 'correlation calculated from dev_m values with bad data of [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1]'
 38s #   at t/stats_basic.t line 70.
 38s #          got: '0'
 38s #     expected: '1'
 38s ok 34 - t-test between [0 1 2 3 4] and [0 0 0 1 1] - 't' output
 38s ok 35 - t-test between [0 1 2 3 4] and [0 0 0 1 1] - 'df' output
 38s ok 36 - t-test with non-equal variance between [0 1 2 3 4] and [0 0 0 1 1] - 't' output
 38s ok 37 - t-test with non-equal variance between [0 1 2 3 4] and [0 0 0 1 1] - 'df' output
 38s ok 38 - paired sample t-test between [0 1 2 3 4] and [0 0 0 1 1] - 't' output
 38s ok 39 - paired sample t-test between [0 1 2 3 4] and [0 0 0 1 1] - 'df' output
 38s not ok 40 - t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 't' output
 38s 
 38s #   Failed test 't-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 't' output'
 38s #   at t/stats_basic.t line 85.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 41 - t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 'd' output
 38s 
 38s #   Failed test 't-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 'd' output'
 38s #   at t/stats_basic.t line 86.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 42 - t-test with non-equal variance with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 't' output
 38s 
 38s #   Failed test 't-test with non-equal variance with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 't' output'
 38s #   at t/stats_basic.t line 89.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 43 - t-test with non-equal variance with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 'df' output
 38s 
 38s #   Failed test 't-test with non-equal variance with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 'df' output'
 38s #   at t/stats_basic.t line 90.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 44 - paired sample t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 't' output
 38s 
 38s #   Failed test 'paired sample t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 't' output'
 38s #   at t/stats_basic.t line 93.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 45 - paired sample t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 'df' output
 38s 
 38s #   Failed test 'paired sample t-test with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 1 1 1] - 'df' output'
 38s #   at t/stats_basic.t line 94.
 38s #          got: '0'
 38s #     expected: '1'
 38s ok 46 - rtable data dim
 38s ok 47 - rtable bad elem
 38s ok 48 - cov_table
 38s not ok 49 - cov_table bad val
 38s 
 38s #   Failed test 'cov_table bad val'
 38s #   at t/stats_basic.t line 107.
 38s #          got: '0'
 38s #     expected: '1'
 38s ok 50 - Square Pearson correlation table
 38s not ok 51 - Square Pearson correlation table with bad data
 38s 
 38s #   Failed test 'Square Pearson correlation table with bad data'
 38s #   at t/stats_basic.t line 115.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 52 - Bad value input to stdv makes the stdv itself bad
 38s 
 38s #   Failed test 'Bad value input to stdv makes the stdv itself bad'
 38s #   at t/stats_basic.t line 121.
 38s #          got: '0'
 38s #     expected: '1'
 38s ok 53 - binomial_test
 38s ok 54 - group_by single factor equal n
 38s ok 55 - group_by single factor label
 38s ok 56 - group_by single factor unequal n
 38s ok 57 - group_by multiple factors
 38s ok 58 - group_by multiple factors label
 38s ok 59 - _array_to_pdl
 38s ok 60 - _array_to_pdl with missing value undef
 38s ok 61 - _array_to_pdl with missing value undef correctly coded
 38s ok 62 - _array_to_pdl with missing value BAD
 38s ok 63 - _array_to_pdl with missing value BAD correctly coded
 38s 1..63
 38s # Looks like you failed 24 tests of 63.
 38s Dubious, test returned 24 (wstat 6144, 0x1800)
 38s Failed 24/63 subtests 
 38s t/stats_glm.t .......... 
 38s not ok 1 - fill_m replaces bad values with sample mean
 38s 
 38s #   Failed test 'fill_m replaces bad values with sample mean'
 38s #   at t/stats_glm.t line 21.
 38s #          got: '0'
 38s #     expected: '1'
 38s not ok 2 - fill_rand replaces bad values with random sample of good values from same variable
 38s 
 38s #   Failed test 'fill_rand replaces bad values with random sample of good values from same variable'
 38s #   at t/stats_glm.t line 28.
 38s #          got: '0'
 38s #     expected: '1'
 38s ok 3 - dev_m replaces values with deviations from the mean on [0 1 2 3 4]
 38s ok 4 - stddz standardizes data on [0 1 2 3 4]
 38s ok 5 - sse gives sum of squared errors between actual and predicted values between [0 1 2 3 4] and [0 0 0 1 1]
 38s ok 6 - mse gives mean of squared errors between actual and predicted values between [0 1 2 3 4] and [0 0 0 1 1]
 38s ok 7 - rmse gives root mean squared error, ie. stdv around predicted value between [0 1 2 3 4] and [0 0 0 1 1]
 38s ok 8 - pred_logistic calculates predicted probability value for logistic regression
 38s ok 9 - d0
 38s ok 10 - dm
 38s ok 11 - dvrs
 38s ok 12 - ols_t R2
 38s ok 13 - ols_t b
 38s ok 14 - ols_t, const=>0
 38s ok 15 - ols
 38s ok 16 - ols with bad value didn't change caller value
 38s ok 17 - ols with bad value didn't remove caller bad flag
 38s ok 18 - ols with bad value
 38s ok 19 - r2_change
 38s ok 20 - pca_sorti - principal component analysis output sorted to find which vars a component is best represented
 38s ok 21 - logistic
 38s ok 22 - get cov from logistic if ask
 38s ok 23 - dev_m with bad values [0 1 2 3 4 BAD]
 38s ok 24 - stdz with bad values [0 1 2 3 4 BAD]
 38s not ok 25 - sse with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 0 1 1]
 38s 
 38s #   Failed test 'sse with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 0 1 1]'
 38s #   at t/stats_glm.t line 221.
 38s not ok 26 - mse with badvalues between [0 1 2 3 4 BAD] and [BAD 0 0 0 1 1]
 38s 
 38s #   Failed test 'mse with badvalues between [0 1 2 3 4 BAD] and [BAD 0 0 0 1 1]'
 38s #   at t/stats_glm.t line 222.
 38s not ok 27 - rmse with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 0 1 1]
 38s 
 38s #   Failed test 'rmse with bad values between [0 1 2 3 4 BAD] and [BAD 0 0 0 1 1]'
 38s #   at t/stats_glm.t line 223.
 38s not ok 28 - pred_logistic with bad values
 38s 
 38s #   Failed test 'pred_logistic with bad values'
 38s #   at t/stats_glm.t line 225.
 38s not ok 29 - null deviance with bad values on [BAD 0 0 0 1 1]
 38s 
 38s #   Failed test 'null deviance with bad values on [BAD 0 0 0 1 1]'
 38s #   at t/stats_glm.t line 227.
 38s not ok 30 - model deviance with bad values on [BAD 0 0 0 1 1]
 38s 
 38s #   Failed test 'model deviance with bad values on [BAD 0 0 0 1 1]'
 38s #   at t/stats_glm.t line 228.
 38s not ok 31 - deviance residual with bad values on [BAD 0 0 0 1 1]
 38s 
 38s #   Failed test 'deviance residual with bad values on [BAD 0 0 0 1 1]'
 38s #   at t/stats_glm.t line 229.
 38s ok 32 - effect_code with only one value dies
 38s ok 33 - effect_code got bad value
 38s ok 34 - effect_code coded with bad value
 38s ok 35 - effect_code_w with only one value dies
 38s ok 36 - effect_code_w
 38s ok 37 - anova_3w
 38s ok 38 - anova_1w
 38s ok 39 - anova_3w bad dv
 38s 3 subjects with missing data removed
 38s ok 40 - anova_3w bad dv iv
 38s not ok 41 - fill_m nan to bad
 38s 
 38s #   Failed test 'fill_m nan to bad'
 38s #   at t/stats_glm.t line 324.
 38s #          got: '6'
 38s #     expected: '5'
 38s ok 42 - stddz nan vs bad
 38s ok 43 - anova_rptd_basic
 38s ok 44 - anova_rptd_1w
 38s ok 45 - anova_rptd_2w bad dv
 38s ok 46 - anova_rptd_2w bad iv
 38s ok 47 - anova_rptd_3w
 38s ok 48 - anova_rptd mixed
 38s ok 49 - anova_rptd mixed with 2 btwn-subj var levels, data grouped by subject
 38s ok 50 # skip yet to be fixed
 38s ok 51 # skip yet to be fixed
 38s ok 52 # skip yet to be fixed
 38s ok 53 - anova_rptd mixed bad
 38s ok 54 - anova_rptd_mixed_4w
 38s ok 55 - interaction_code
 38s 1..55
 38s # Looks like you failed 10 tests of 55.
 38s Dubious, test returned 10 (wstat 2560, 0xa00)
 38s Failed 10/55 subtests 
 38s 	(less 3 skipped subtests: 42 okay)
 39s t/stats_kmeans.t ....... 
 39s ok 1 - use PDL::Stats::Basic;
 39s ok 2 - use PDL::Stats::Kmeans;
 39s ok 3 - independent variable cluster
 39s ok 4 - iv_cluster has bad value
 39s ok 5 - independent variable cluster with bad data
 39s ok 6 - assign
 39s ok 7 - centroid
 39s ok 8 - assign with bad data
 39s not ok 9 - centroid with bad data
 39s 
 39s #   Failed test 'centroid with bad data'
 39s #   at t/stats_kmeans.t line 70.
 39s #          got: '0'
 39s #     expected: '1'
 39s ok 10 - t_kmeans
 39s ok 11 - kmeans R2 result as expected
 39s ok 12 - kmeans ss result as expected
 39s ok 13 - kmeans R2 with manually seeded centroid
 39s ok 14 - kmeans ss with manually seeded centroid
 39s R2	NaN
 39s centroid	
 39s [
 39s  [             3.4              BAD]
 39s  [       9.8333333               11]
 39s  [       16.833333               18]
 39s ]
 39s 
 39s cluster	
 39s [
 39s  [1 1 1 1 0 1 1]
 39s  [0 0 0 0 1 0 0]
 39s ]
 39s 
 39s ms	
 39s [
 39s  [            3.44              NaN]
 39s  [       4.4722222                0]
 39s  [       4.4722222                0]
 39s ]
 39s 
 39s n	[6 1]
 39s R2	NaN
 39s centroid	
 39s [
 39s  [             3.4              BAD]
 39s  [       9.8333333               11]
 39s  [       16.833333               18]
 39s ]
 39s 
 39s cluster	
 39s [
 39s  [1 1 1 1 0 1 1]
 39s  [0 0 0 0 1 0 0]
 39s ]
 39s 
 39s ms	
 39s [
 39s  [            3.44              NaN]
 39s  [       4.4722222                0]
 39s  [       4.4722222                0]
 39s ]
 39s 
 39s n	[6 1]
 39s R2	NaN
 39s centroid	
 39s [
 39s  [             3.4              BAD]
 39s  [       9.8333333               11]
 39s  [       16.833333               18]
 39s ]
 39s 
 39s cluster	
 39s [
 39s  [1 1 1 1 0 1 1]
 39s  [0 0 0 0 1 0 0]
 39s ]
 39s 
 39s ms	
 39s [
 39s  [            3.44              NaN]
 39s  [       4.4722222                0]
 39s  [       4.4722222                0]
 39s ]
 39s 
 39s n	[6 1]
 39s not ok 15 - t_kmeans_bad # TODO kmeans is undeterministic. retry to for optimal results
 39s #   Failed (TODO) test 't_kmeans_bad'
 39s #   at t/stats_kmeans.t line 183.
 39s #          got: ''
 39s #     expected: '1'
 39s not ok 16 - 3d kmeans with bad data R2 is as expected
 39s 
 39s #   Failed test '3d kmeans with bad data R2 is as expected'
 39s #   at t/stats_kmeans.t line 225.
 39s #          got: '0'
 39s #     expected: '1'
 39s not ok 17 - 3d kmeans with bad data ss is as expected
 39s 
 39s #   Failed test '3d kmeans with bad data ss is as expected'
 39s #   at t/stats_kmeans.t line 226.
 39s #          got: '0'
 39s #     expected: '1'
 39s ok 18 - principal component analysis clustering
 39s ok 19 - _d_point2line
 39s ok 20 - which_cluster
 39s 1..20
 39s # Looks like you failed 3 tests of 20.
 39s Dubious, test returned 3 (wstat 768, 0x300)
 39s Failed 3/20 subtests 
 39s t/stats_ols_rptd.t ..... 
 39s 
 39s (ss_residual)	58.3754646504336
 39s (ss_subject)	51.8590337714296
 39s (ss_total)	405.18824177143
 39s F	[7.20847295441778 61.3541532469605 1.02433111465757]
 39s F_p	[0.0250061805463601 2.61908098198038e-05 0.337928372491729]
 39s coeff	[0.333372848318748 0.458589333633323 0.151629861736049]
 39s df	[1 1 1]
 39s df_err	[9 9 9]
 39s ms	[18.4507045791642 73.8132937407216 0.570264833156543]
 39s ms_err	[2.55958573970324 1.20306922733675 0.556719233650519]
 39s ss	[18.4507045791642 73.8132937407216 0.570264833156543]
 39s ss_err	[23.0362716573292 10.8276230460308 5.01047310285467]
 39s ok 1 - ss_total
 39s ok 2 - ss_residual
 39s ok 3 - ss_subject
 39s ok 4 - ss
 39s ok 5 - ss_err
 39s ok 6 - coeff
 39s ok 7 - F
 39s 1..7
 39s ok
 39s t/stats_ts.t ........... 
 39s ok 1 - autocovariance on [0 1 2 3 4 5 6 7 8 9]
 39s ok 2 - autocorrelation on [0 1 2 3 4 5 6 7 8 9]
 39s ok 3 - filter moving average on [0 1 2 3 4 5 6 7 8 9]
 39s ok 4 - filter with exponential smoothing on [0 1 2 3 4 5 6 7 8 9]
 39s ok 5 - portmanteau significance test on [0 1 2 3 4 5 6 7 8 9]
 39s ok 6 - mean absolute percent error between [0 1 2 3 4 5 6 7 8 9] and [1 2 3 4 5 6 7 9 9 10]
 39s ok 7 - mean absolute error between [0 1 2 3 4 5 6 7 8 9] and [1 2 3 4 5 6 7 9 9 10]
 39s ok 8 - mean absolute percent error with bad data between [0 1 2 3 4 5 6 7 8 9] and [1 2 3 BAD 5 6 7 9 9 10]
 39s not ok 9 - mean absolute error with bad data between [0 1 2 3 4 5 6 7 8 9] and [1 2 3 BAD 5 6 7 9 9 10]
 39s 
 39s #   Failed test 'mean absolute error with bad data between [0 1 2 3 4 5 6 7 8 9] and [1 2 3 BAD 5 6 7 9 9 10]'
 39s #   at t/stats_ts.t line 33.
 39s #          got: '0'
 39s #     expected: '1'
 39s ok 10 - deseasonalize data on [0 1 2 3 4 0 1 2 3 4] with period 5
 39s ok 11 - deseasonalize data on [0 1 2 3 4 0 1 2 3 4] with period 4
 39s not ok 12 - deseasonalize data with bad data on [0 1 2 3 BAD 0 1 2 3 4] with period 5
 39s 
 39s #   Failed test 'deseasonalize data with bad data on [0 1 2 3 BAD 0 1 2 3 4] with period 5'
 39s #   at t/stats_ts.t line 42.
 39s #          got: '0'
 39s #     expected: '1'
 39s not ok 13 - deseasonalized data with bad data on [0 1 2 3 BAD 0 1 2 3 4] with period 4
 39s 
 39s #   Failed test 'deseasonalized data with bad data on [0 1 2 3 BAD 0 1 2 3 4] with period 4'
 39s #   at t/stats_ts.t line 43.
 39s #          got: '0'
 39s #     expected: '1'
 39s not ok 14 - fill missing data with moving average
 39s 
 39s #   Failed test 'fill missing data with moving average'
 39s #   at t/stats_ts.t line 51.
 39s #          got: '0'
 39s #     expected: '1'
 39s ok 15 - difference data on [0 1 2 3 4] - DX(t) = X(t) - X(t-1)
 39s ok 16 - add data on [0 1 2 3 4] - IX(t) = X(t) + X(t-1)
 39s ok 17 - predict autoregressive series
 39s ok 18 - predict autoregressive series with no constant last value
 39s ok 19 - weighted mean absolute percent error between [0 1 2 3 4 5 6 7 8 9] and [0 1 1 1 3 6 7 7 9 10]
 39s not ok 20 - weighted mean absolute percent error with bad data between [0 1 2 3 BAD 5 6 7 8 9] and [0 1 1 1 3 6 7 7 9 10]
 39s 
 39s #   Failed test 'weighted mean absolute percent error with bad data between [0 1 2 3 BAD 5 6 7 8 9] and [0 1 1 1 3 6 7 7 9 10]'
 39s #   at t/stats_ts.t line 75.
 39s #          got: '0'
 39s #     expected: '1'
 39s not ok 21 - season_m m
 39s 
 39s #   Failed test 'season_m m'
 39s #   at t/stats_ts.t line 97.
 39s #          got: '0'
 39s #     expected: '1'
 39s not ok 22 - season_m ms
 39s 
 39s #   Failed test 'season_m ms'
 39s #   at t/stats_ts.t line 98.
 39s #          got: '0'
 39s #     expected: '1'
 39s 1..22
 39s # Looks like you failed 7 tests of 22.
 39s Dubious, test returned 7 (wstat 1792, 0x700)
 39s Failed 7/22 subtests 
 39s 
 39s Test Summary Report
 39s -------------------
 39s t/stats_basic.t      (Wstat: 6144 (exited 24) Tests: 63 Failed: 24)
 39s   Failed tests:  14-23, 29-33, 40-45, 49, 51-52
 39s   Non-zero exit status: 24
 39s t/stats_glm.t        (Wstat: 2560 (exited 10) Tests: 55 Failed: 10)
 39s   Failed tests:  1-2, 25-31, 41
 39s   Non-zero exit status: 10
 39s t/stats_kmeans.t     (Wstat: 768 (exited 3) Tests: 20 Failed: 3)
 39s   Failed tests:  9, 16-17
 39s   Non-zero exit status: 3
 39s t/stats_ts.t         (Wstat: 1792 (exited 7) Tests: 22 Failed: 7)
 39s   Failed tests:  9, 12-14, 20-22
 39s   Non-zero exit status: 7
 39s Files=6, Tests=168,  1 wallclock secs ( 0.04 usr  0.01 sys +  1.61 cusr  0.16 csys =  1.82 CPU)
 39s Result: FAIL
 40s autopkgtest [22:12:06]: test autodep8-perl-build-deps: -----------------------]

Full log

CC: @mohawk2

mohawk2 added a commit to PDLPorters/pdl that referenced this issue Sep 7, 2024

Unverified

This user has not yet uploaded their public signing key.
@sebastic
Copy link
Contributor Author

sebastic commented Sep 8, 2024

This is fixed with PDL 2.092, see: https://qa.debian.org/excuses.php?package=pdl

And the CI job: https://ci.debian.net/packages/libp/libpdl-stats-perl/testing/amd64/51323735/

@sebastic sebastic closed this as completed Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant