patch / cldr-number-pm5

Localized number formatters using the Unicode CLDR
https://metacpan.org/pod/CLDR::Number
Other
8 stars 3 forks source link

Tests fail (with latest Moo?) #48

Closed eserte closed 8 years ago

eserte commented 8 years ago

There are new test failures — see http://www.cpantesters.org/cpan/report/487b0514-e060-11e5-a971-eac272d7c31d for a sample.

Statistical analysis from test failures generated on my machine suggests that the problem is caused by the latest Moo (negative theta is bad):

****************************************************************
Regression 'mod:Moo'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    30849180474401392.00
[1='eq_1.007000']             0.0000          0.0000       0.00
[2='eq_2.000001']             0.0000          0.0000       1.98
[3='eq_2.000002']             0.0000          0.0000       3.36
[4='eq_2.001000']            -1.0000          0.0000    -28977759259709780.00

R^2= 1.000, N= 74, K= 5
****************************************************************
eserte commented 8 years ago

Mentioned in Moo's RT queue: https://rt.cpan.org/Ticket/Display.html?id=112677

haarg commented 8 years ago

I'll have a new Moo release out soon that will fix this issue.

patch commented 8 years ago

Thank you @eserte for testing/reporting this and @haarg for fixing Moo! I’ll prepare a new release with the required Moo version being >= 1.001000, != 2.001000.