Skip Menu |

This queue is for tickets about the Text-AutoCSV CPAN distribution.

Report information
The Basics
Id: 119440
Status: resolved
Priority: 0/
Queue: Text-AutoCSV

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc: DROLSKY [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.1.4
Fixed in: 1.1.5



CC: DROLSKY [...] cpan.org
Subject: t/08-dates2.t fails (with DateTime::Format::Strptime 1.70?)
My smoker systems started to report failures in t/08-dates2.t: ... # Failed test 'SI02 - dt1.csv: various dates formats (custom formats tested)' # at t/08-dates2.t line 77. # Structures begin differing at: # $got->{G} = 'N' # $expected->{G} = '%d/%m/%y' # Failed test 'SI04 - dt1.csv: various dates formats (custom formats tested + 0s disallowed)' # at t/08-dates2.t line 94. # Structures begin differing at: # $got->{I} = 'N' # $expected->{I} = '%d/%m/%y' ... (etc) ... Statistical analysis suggests that the problem happens if DateTime::Format::Strptime 1.70 is installed (negative theta is "bad"): **************************************************************** Regression 'mod:DateTime::Format::Strptime' **************************************************************** Name Theta StdErr T-stat [0='const'] 1.0000 0.0000 14367518722505434.00 [1='eq_1.68'] 0.0000 0.0000 3.04 [2='eq_1.70'] -1.0000 0.0000 -13115690166156718.00 R^2= 1.000, N= 64, K= 3 ****************************************************************
On Sat Dec 24 07:38:55 2016, SREZIC wrote: Show quoted text
> My smoker systems started to report failures in t/08-dates2.t: > > ... > # Failed test 'SI02 - dt1.csv: various dates formats (custom formats > tested)' > # at t/08-dates2.t line 77. > # Structures begin differing at: > # $got->{G} = 'N' > # $expected->{G} = '%d/%m/%y' > > # Failed test 'SI04 - dt1.csv: various dates formats (custom formats > tested + 0s disallowed)' > # at t/08-dates2.t line 94. > # Structures begin differing at: > # $got->{I} = 'N' > # $expected->{I} = '%d/%m/%y' > > ... (etc) ... > > Statistical analysis suggests that the problem happens if > DateTime::Format::Strptime 1.70 is installed (negative theta is > "bad"): > > **************************************************************** > Regression 'mod:DateTime::Format::Strptime' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 1.0000 0.0000 14367518722505434.00 > [1='eq_1.68'] 0.0000 0.0000 3.04 > [2='eq_1.70'] -1.0000 0.0000 -13115690166156718.00 > > R^2= 1.000, N= 64, K= 3 > ****************************************************************
Hello Indeed Text::AutoCSV (1.1.4) would not work with DateTime::Format::Strptime 1.70. As it works with >= 1.71 (up to the current 1.73). In the just-published 1.1.5 I added "1.71" as minimum version for DateTime::Format::Strptime inside AutoCSV.pm. Thanks, Sébastien
On Sat Feb 04 05:06:37 2017, MILLETSEB wrote: Show quoted text
> On Sat Dec 24 07:38:55 2016, SREZIC wrote:
> > My smoker systems started to report failures in t/08-dates2.t: > > > > ... > > # Failed test 'SI02 - dt1.csv: various dates formats (custom > > formats > > tested)' > > # at t/08-dates2.t line 77. > > # Structures begin differing at: > > # $got->{G} = 'N' > > # $expected->{G} = '%d/%m/%y' > > > > # Failed test 'SI04 - dt1.csv: various dates formats (custom > > formats > > tested + 0s disallowed)' > > # at t/08-dates2.t line 94. > > # Structures begin differing at: > > # $got->{I} = 'N' > > # $expected->{I} = '%d/%m/%y' > > > > ... (etc) ... > > > > Statistical analysis suggests that the problem happens if > > DateTime::Format::Strptime 1.70 is installed (negative theta is > > "bad"): > > > > **************************************************************** > > Regression 'mod:DateTime::Format::Strptime' > > **************************************************************** > > Name Theta StdErr T-stat > > [0='const'] 1.0000 0.0000 14367518722505434.00 > > [1='eq_1.68'] 0.0000 0.0000 3.04 > > [2='eq_1.70'] -1.0000 0.0000 -13115690166156718.00 > > > > R^2= 1.000, N= 64, K= 3 > > ****************************************************************
> > > Hello > > Indeed Text::AutoCSV (1.1.4) would not work with > DateTime::Format::Strptime 1.70. > As it works with >= 1.71 (up to the current 1.73). > > In the just-published 1.1.5 I added "1.71" as minimum version for > DateTime::Format::Strptime inside AutoCSV.pm. > > Thanks, Sébastien