Git Product home page Git Product logo

catmandu-fix-marc_spec's People

Contributors

cklee avatar

Watchers

 avatar  avatar

catmandu-fix-marc_spec's Issues

t/18-marc_spec.t fails

On some of my smoker systems the test suite fails:

Output from './Build test':

deprecatedOops! Importer "USMARC" is deprecated. Use "ISO" instead. at /home/cpansand/.cpan/build/2018120508/Catmandu-MARC-1.24-T8jIZg/blib/lib/Catmandu/Importer/MARC.pm line 23.
MARCspec Parser exception. Detected useless data fragment or invalid field spec. Tried to parse: MARC::Spec at /home/cpansand/.cpan/build/2018120508/MARC-Spec-2.0.3-JHCRUY/blib/lib/MARC/Spec.pm line 68.

Trace begun at (eval 202) line 1
Catmandu::Fix::__ANON__('HASH(0x48698be8)') called at /home/cpansand/.cpan/build/2018120508/Catmandu-1.10-8wOgzf/blib/lib/Catmandu/Fix.pm line 139
Catmandu::Fix::__ANON__('HASH(0x48698be8)') called at /home/cpansand/.cpan/build/2018120508/Catmandu-1.10-8wOgzf/blib/lib/Catmandu/Iterable.pm line 161
Catmandu::Iterable::__ANON__ at /home/cpansand/.cpan/build/2018120508/Catmandu-1.10-8wOgzf/blib/lib/Catmandu/Iterable.pm line 276
Catmandu::Iterable::__ANON__ at /home/cpansand/.cpan/build/2018120508/Catmandu-1.10-8wOgzf/blib/lib/Catmandu/Iterable.pm line 39
Catmandu::Iterable::to_array('Catmandu::Iterator=CODE(0x41c3d3c0)') called at t/18-marc_spec.t line 11
t/18-marc_spec.t ........ 
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run 
...

Statistical analysis presents three possible regression candidates:

****************************************************************
(2)
****************************************************************
Regression 'mod:MARC::Spec'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	      1.0000	      0.0000	35750078893410976.00
[1='eq_0.0.3'] 	     -0.0000	      0.0000	  -1.88
[2='eq_1.0.0'] 	     -1.0000	      0.0000	-28663831450560492.00
[3='eq_2.0.3'] 	     -1.0000	      0.0000	-30687691662937984.00

R^2= 1.000, N= 70, K= 4
****************************************************************
(3)
****************************************************************
Regression 'mod:Catmandu'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	      1.0000	      0.0000	83186579814334208.00
[1='eq_1.0302']	      0.0000	      0.0000	   0.51
[2='eq_1.0303']	      0.0000	      0.0000	   0.62
[3='eq_1.0304']	      0.0000	      0.0000	   0.00
[4='eq_1.09']  	     -1.0000	      0.0000	-39017964496696272.00
[5='eq_1.10']  	     -1.0000	      0.0000	-40351418259808696.00

R^2= 1.000, N= 70, K= 6
****************************************************************
(4)
****************************************************************
Regression 'mod:Catmandu::MARC'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	      1.0000	      0.0000	78166251961489152.00
[1='eq_1.01']  	      0.0000	      0.0000	   1.44
[2='eq_1.02']  	     -0.0000	      0.0000	  -0.34
[3='eq_1.03']  	     -0.0000	      0.0000	  -0.73
[4='eq_1.21']  	     -1.0000	      0.0000	-35311913193844272.00
[5='eq_1.24']  	     -1.0000	      0.0000	-39083125980744576.00

R^2= 1.000, N= 70, K= 6
****************************************************************

Support use as inline fix

This should work:

use Catmandu::Fix::marc_spec as => 'marc_spec';
marc_spec($record, "245", "my.title.all");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.