cklee / catmandu-fix-marc_spec Goto Github PK
View Code? Open in Web Editor NEW:cat2: Reference MARC values via MARCspec - A common MARC record path language
Home Page: https://metacpan.org/pod/Catmandu-Fix-marc_spec
License: Other
:cat2: Reference MARC values via MARCspec - A common MARC record path language
Home Page: https://metacpan.org/pod/Catmandu-Fix-marc_spec
License: Other
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
****************************************************************
This should work:
use Catmandu::Fix::marc_spec as => 'marc_spec';
marc_spec($record, "245", "my.title.all");
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.