aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data')
-rw-r--r--tests/data/release/fv35r37pb5c5tioyqburswsute134
-rw-r--r--tests/data/release/poeywm5o4raljhatd6zvehcicy40
-rw-r--r--tests/data/verify.csv29
3 files changed, 189 insertions, 14 deletions
diff --git a/tests/data/release/fv35r37pb5c5tioyqburswsute b/tests/data/release/fv35r37pb5c5tioyqburswsute
new file mode 100644
index 0000000..48bc989
--- /dev/null
+++ b/tests/data/release/fv35r37pb5c5tioyqburswsute
@@ -0,0 +1,134 @@
+{
+ "abstracts": [],
+ "contribs": [
+ {
+ "given_name": "Joan",
+ "index": 0,
+ "raw_name": "Joan Starr",
+ "role": "author",
+ "surname": "Starr"
+ },
+ {
+ "given_name": "Angela",
+ "index": 1,
+ "raw_name": "Angela Gastl",
+ "role": "author",
+ "surname": "Gastl"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.3929/ethz-a-006687003"
+ },
+ "extra": {
+ "datacite": {
+ "license": [
+ {
+ "rights": "http://rightsstatements.org/page/InC-NC/1.0/"
+ },
+ {
+ "rights": "info:eu-repo/semantics/openAccess"
+ }
+ ],
+ "metadataVersion": 44,
+ "resourceType": "Journal Article",
+ "resourceTypeGeneral": "Text",
+ "subjects": [
+ {
+ "subject": "WISSENSCHAFTLICHE FORSCHUNG"
+ },
+ {
+ "subject": "ELECTRONIC JOURNALS + ONLINE SERIALS (DOCUMENT TYPES)"
+ },
+ {
+ "subject": "INTERNET + WORLD WIDE WEB (COMPUTER SYSTEMS)"
+ },
+ {
+ "subject": "SCIENTIFIC INFORMATION (LIBRARIANSHIP)"
+ },
+ {
+ "subject": "SCIENTIFIC RESEARCH"
+ },
+ {
+ "subject": "DIGITAL DOCUMENTS + ELECTRONIC DOCUMENTS (LIBRARIANSHIP)"
+ },
+ {
+ "subject": "Data citation"
+ },
+ {
+ "subject": "FACHZEITSCHRIFTEN + WISSENSCHAFTLICHE ZEITSCHRIFTEN (ZEITUNGSWESEN)"
+ },
+ {
+ "subject": "Data relationships"
+ },
+ {
+ "subject": "ZITIERREGELN (WISSENSCHAFT)"
+ },
+ {
+ "subject": "ELEKTRONISCHE ZEITSCHRIFTEN + ELEKTRONISCHE SCHRIFTENREIHEN (DOKUMENTENTYP)"
+ },
+ {
+ "subject": "ELEKTRONISCHE BIBLIOTHEKEN (BIBLIOTHEKSWESEN)"
+ },
+ {
+ "subject": "METADATA (LIBRARIANSHIP)"
+ },
+ {
+ "subject": "SPECIALIST JOURNALS + SCIENTIFIC JOURNALS (PRESS)"
+ },
+ {
+ "subject": "ISBD, INTERNATIONAL STANDARD BIBLIOGRAPHIC DESCRIPTION (BIBLIOTHEKSWESEN)"
+ },
+ {
+ "subject": "Data description"
+ },
+ {
+ "subject": "METADATEN (BIBLIOTHEKSWESEN)"
+ },
+ {
+ "subject": "ELECTRONIC LIBRARIES (LIBRARIANSHIP)"
+ },
+ {
+ "subject": "WISSENSCHAFTLICHE INFORMATION (BIBLIOTHEKSWESEN)"
+ },
+ {
+ "subject": "Metadata"
+ },
+ {
+ "subject": "ISBD, INTERNATIONAL STANDARD BIBLIOGRAPHIC DESCRIPTION (LIBRARIANSHIP)"
+ },
+ {
+ "subject": "DIGITALE DOKUMENTE + ELEKTRONISCHE DOKUMENTE (BIBLIOTHEKSWESEN)"
+ },
+ {
+ "subject": "RULES FOR CITATIONS (SCIENCE)"
+ },
+ {
+ "subject": "INTERNET + WORLD WIDE WEB (COMPUTERSYSTEME)"
+ },
+ {
+ "subject": "info:eu-repo/classification/ddc/020"
+ },
+ {
+ "subject": "info:eu-repo/classification/ddc/004"
+ },
+ {
+ "subject": "Library & information sciences"
+ },
+ {
+ "subject": "Data processing, computer science"
+ }
+ ]
+ }
+ },
+ "ident": "fv35r37pb5c5tioyqburswsute",
+ "language": "en",
+ "publisher": "ETH Zurich",
+ "refs": [],
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2011,
+ "revision": "4e511252-8c65-4cd7-9bb7-aa219fb62264",
+ "state": "active",
+ "title": "isCitedBy: A Metadata Scheme for DataCite",
+ "work_id": "6uzoapm3f5flpmhk3x7aiqcae4"
+}
diff --git a/tests/data/release/poeywm5o4raljhatd6zvehcicy b/tests/data/release/poeywm5o4raljhatd6zvehcicy
new file mode 100644
index 0000000..5e30268
--- /dev/null
+++ b/tests/data/release/poeywm5o4raljhatd6zvehcicy
@@ -0,0 +1,40 @@
+{
+ "abstracts": [],
+ "container_id": "ugbiirfvufgcjkx33r3cmemcuu",
+ "contribs": [
+ {
+ "extra": {
+ "seq": "first"
+ },
+ "index": 0,
+ "raw_name": "Joan Starr",
+ "role": "author"
+ },
+ {
+ "index": 1,
+ "raw_name": "Angela Gastl",
+ "role": "author"
+ }
+ ],
+ "ext_ids": {
+ "doi": "10.1045/january2011-starr"
+ },
+ "extra": {
+ "crossref": {
+ "type": "journal-article"
+ }
+ },
+ "ident": "poeywm5o4raljhatd6zvehcicy",
+ "issue": "1/2",
+ "language": "en",
+ "publisher": "CNRI Acct",
+ "refs": [],
+ "release_stage": "published",
+ "release_type": "article-journal",
+ "release_year": 2011,
+ "revision": "1a04b91f-7e5b-4ba3-a2ef-0a86a0d54659",
+ "state": "active",
+ "title": "isCitedBy: A Metadata Scheme for DataCite",
+ "volume": "17",
+ "work_id": "cphnoizdjjesjftfgghuqnkjoy"
+}
diff --git a/tests/data/verify.csv b/tests/data/verify.csv
index 732d401..1ac555f 100644
--- a/tests/data/verify.csv
+++ b/tests/data/verify.csv
@@ -1,4 +1,4 @@
-7kzrmoajzzedxgdvbltgqihszu,bd4crw4p7ber7pzhpoyw2c77bi,Status.STRONG,OK.SLUG_TITLE_AUTHOR_MATCH
+7kzrmoajzzedxgdvbltgqihszu,bd4crw4p7ber7pzhpoyw2c77bi,Status.STRONG,OK.TITLE_AUTHOR_MATCH
foddwpevbjao3b3uwccvtuxfi4,versjalccvgdtp3q25elgy2z7a,Status.DIFFERENT,Miss.DATASET_DOI
v2ypxs2yrbh57cdo6lfuiik64e,6zzx36tlefdtbftzpg4wtump3e,Status.STRONG,OK.ARXIV_VERSION
hdvg6m467bhyng4l7xauk4ymoa,f5fugxp3qze2fht2uxt3xivi4i,Status.STRONG,OK.PREPRINT_PUBLISHED
@@ -10,16 +10,16 @@ vokr6qxyqrc55kyn45dyavr2lq,b5helm53ljdxjpxdnn5zjqpjve,Status.EXACT,OK.TITLE_AUTH
kgeynply6vcxdeiluu6es6w72m,cm536ige6bfdfhhesp26ibfdva,Status.EXACT,OK.TITLE_AUTHOR_MATCH
knwc764q25f33ib6qnwo7pyaui,n74tqiqi5jcx5d6vl5f7lpokaa,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
eo4qptzoqrholjslj7nemlne2y,zisq3tsezjcejinlpf7qgk6z2i,Status.DIFFERENT,Miss.YEAR
-crsd5c2fhvd7hodbd4trne3lgi,4547ybo5hvf4xhlh5triaccxai,Status.DIFFERENT,Miss.RELEASE_TYPE
+crsd5c2fhvd7hodbd4trne3lgi,4547ybo5hvf4xhlh5triaccxai,Status.DIFFERENT,Miss.YEAR
egxon2iqljf47c4stvacnccvwy,swuxb5owx5g4hff3c7ur5x3awy,Status.DIFFERENT,Miss.YEAR
-kob434ccgbhu3ecnwnqzsb6e3a,wbw3dpl44zew3bjcwfvqtk2b2q,Status.DIFFERENT,Miss.RELEASE_TYPE
-c2pranaprjhrxk7x5euws32cg4,liarb7xuizewdafcubg2z3dwou,Status.DIFFERENT,Miss.RELEASE_TYPE
+kob434ccgbhu3ecnwnqzsb6e3a,wbw3dpl44zew3bjcwfvqtk2b2q,Status.DIFFERENT,OK.DUMMY
+c2pranaprjhrxk7x5euws32cg4,liarb7xuizewdafcubg2z3dwou,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
tyokc7ccfjaw5nimkkl32dl6ta,gyyxomlfkzfannusvzoypbnel4,Status.AMBIGUOUS,Miss.BLACKLISTED
2wakwcyb2zhbla2aao3g6ajfli,dryvgf7v3jeergr3gendplglqq,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
zvwqju7e3zhf7jpbtoejfe3i4y,fpj5eqgiunfpjn7qkffwvpre5e,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
cwfhdsdr6nbtngqwsqpafqj72u,icrvubkwprh6fl2irtrxziqqai,Status.STRONG,OK.ARXIV_VERSION
qlkjwemcrzcpjeeecduiunghui,chejpgnhebcx7of4d4dkuqhkne,Status.DIFFERENT,Miss.YEAR
-no7a4vrfwnfp7jqrliq6n2hpxi,rscsor4cl5fydedr2jb6o7k4zi,Status.DIFFERENT,Miss.RELEASE_TYPE
+no7a4vrfwnfp7jqrliq6n2hpxi,rscsor4cl5fydedr2jb6o7k4zi,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
mxfrtcc3njeh5dscwgzhrugzsq,x7lbkuc5afb75nz5l5kyrzy2ia,Status.DIFFERENT,Miss.YEAR
cqkm3hyn3rgcng3d3alwtciwpq,unwrwze6znf5xouud35i3jlneq,Status.STRONG,OK.SLUG_TITLE_AUTHOR_MATCH
fzs6y277zbgxnbcsmmfnftyqgy,b2ggrb2mpvh4namvf6mht5nnaq,Status.DIFFERENT,Miss.YEAR
@@ -29,7 +29,7 @@ ml7eci5bmnc4zl6fc6vzscciwu,rsjv7rxzuzdptmfn7orwxr7n6q,Status.STRONG,OK.ARXIV_VER
3mup7xynsfdpne3rtp274lmwdy,pbhkek57zrddnllui7pl4vjhai,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
lr5emu7qpfdmve6jcfjlrgoi64,revp263aa5dnjft72qynhzjcvi,Status.DIFFERENT,Miss.YEAR
bvu4qrzfvfdhxpvl4k2ertxkbe,qnteujy54vflrnjtq2k4wtrabq,Status.DIFFERENT,Miss.YEAR
-gzmkqlwx4vd7vdtnlhkd2md2wy,7uu7g6k7grbrzlhhibf4q55odm,Status.DIFFERENT,Miss.RELEASE_TYPE
+gzmkqlwx4vd7vdtnlhkd2md2wy,7uu7g6k7grbrzlhhibf4q55odm,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
apbr2crzrfamhdqt35c3sgkld4,fwhmikkv7rcjdp6j6vmroggncy,Status.STRONG,OK.SLUG_TITLE_AUTHOR_MATCH
3x5gxfal75geppn22rck3bdanm,fpjygddf7bgahaaabjl2d67m4i,Status.EXACT,OK.TITLE_AUTHOR_MATCH
mkqmxbrhozhxphemdgshl57m3u,ahlp3vywzzb5fh5tbjskaym3ri,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
@@ -39,7 +39,7 @@ fmeud4dykjfudb5kjr2fgmaneq,iid2bnrjjbegtpgmpuppjou4k4,Status.DIFFERENT,Miss.SUBT
zmivcpjvhba25ldkx27d24oefa,mjapiqe2nzcy3fs3hriw253dye,Status.EXACT,OK.TITLE_AUTHOR_MATCH
lynlkp7wh5hn3mlpzcfz4faoqi,yrbvjd4xrjaq3jxt7pkheysclm,Status.DIFFERENT,Miss.YEAR
t3vpox5wrvbgtcigp6a6o64oey,q5yaj5zbzjctzapb5bztzctsoe,Status.DIFFERENT,Miss.YEAR
-65qtai5dmjb2hmkwa73nwafyhu,p4lk4tbohjat3g5nn5pb3kjdyu,Status.DIFFERENT,Miss.RELEASE_TYPE
+65qtai5dmjb2hmkwa73nwafyhu,p4lk4tbohjat3g5nn5pb3kjdyu,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
fqtc2tonfbh7hlcwoxgxzqi4lu,ng7utp7murge3ksuzbtljf5bsq,Status.DIFFERENT,Miss.YEAR
mbnr3nrdijerto6wfjnlsmfhga,ddikrsxnajblvchthiwcbsmiue,Status.EXACT,OK.TITLE_AUTHOR_MATCH
nqfv37as6bcohketfrhiuac2mq,ty6megtz35c3hep57bbx2cetja,Status.DIFFERENT,Miss.YEAR
@@ -48,8 +48,8 @@ wwiarqhsgbevdc74f6i4qmvyhy,d35gplnuibe6djfhnh42o66zbm,Status.DIFFERENT,Miss.CONT
arzle77ezbbz5e33ghpqlwjw5e,e6ism7bt2vf5jl4v2ffwy3gqvu,Status.DIFFERENT,Miss.SUBTITLE
yv3ihfy6pfe4xblrj7dcf3674u,tmewuet24jg5dflspneju2cot4,Status.STRONG,OK.ARXIV_VERSION
rh3r3fncmzaulfdfrjzv25tpli,7zp3azvi4vbxxob2cdyzm6pepa,Status.EXACT,OK.TITLE_AUTHOR_MATCH
-lf7w27ma2ncjjpwoy2kl22t77e,mgxkqlohmbhfpedxwg3s5jhrrq,Status.DIFFERENT,Miss.RELEASE_TYPE
-libbt4mcwng3tiwcutfaxewmjy,6csob32ld5dx7h63cssqly6rfm,Status.DIFFERENT,Miss.RELEASE_TYPE
+lf7w27ma2ncjjpwoy2kl22t77e,mgxkqlohmbhfpedxwg3s5jhrrq,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
+libbt4mcwng3tiwcutfaxewmjy,6csob32ld5dx7h63cssqly6rfm,Status.DIFFERENT,Miss.YEAR
2r6dem2qanfttn73lezeislize,4iksfoith5b6zjarfihdtosr3e,Status.STRONG,OK.ARXIV_VERSION
wif435fwunfpfd46vvxo3at5ya,fy3j2l4s55b7ffltpiaic2jj7i,Status.DIFFERENT,Miss.YEAR
huophilkpbh2ddemt7okzzkuyq,crle5axqrfhfdob464wlwhfrf4,Status.AMBIGUOUS,Miss.SHORT_TITLE
@@ -61,22 +61,22 @@ muk4xhjhubc3xn6qqddllgfsly,2gywie7yqfflnl6tljfo36keqi,Status.STRONG,OK.ARXIV_VER
iywyis7npngxxbco6fgjrclrzy,anhsfjxg3few5nkfsvheehiebq,Status.DIFFERENT,Miss.BOOK_CHAPTER
rk7mn5uaqjaslgcxc2nl6ijpaq,td3rnxzbxzeslj6ijoce3mtxcq,Status.STRONG,OK.ARXIV_VERSION
ohkfrjjcxfcavoqoqt52wi6eke,egufgu3yubgthex3y7fdt7uupa,Status.DIFFERENT,Miss.DATASET_DOI
-dklwsz4w3rdlfddif4pcxb6ngm,wsbinmv7lragjnaedbgws6bztm,Status.DIFFERENT,Miss.RELEASE_TYPE
+dklwsz4w3rdlfddif4pcxb6ngm,wsbinmv7lragjnaedbgws6bztm,Status.DIFFERENT,OK.DUMMY
jizydliu2vclvpdtcrajlvuq2m,3g6mdd3tvjabdaez6mwcycso3q,Status.STRONG,OK.SLUG_TITLE_AUTHOR_MATCH
fvrscdvsznb4zlhuadd6ar7ot4,57la45yryjd73gav22bnl4lyni,Status.EXACT,OK.TITLE_AUTHOR_MATCH
6fedywjyynbxhdqv3etxjuqhba,gls2x7ca4nhzrkf437gdnj6ekq,Status.DIFFERENT,Miss.YEAR
7lepq6lyyfepdjat6ohpeqycdu,cfm6qhhxovferl2fahf6jmcsiu,Status.DIFFERENT,Miss.YEAR
ijbm7t2mpjcrrjazrmeli6b42a,7ijg4ar62rgo3olfbxltltrzc4,Status.EXACT,OK.TITLE_AUTHOR_MATCH
hyt2ebpmhjg53f5eu4v5zortfm,ceu2t7fapvg43bvyyqck344pei,Status.DIFFERENT,Miss.SUBTITLE
-uhih3c4gbzdtnciiqlfjx3w6le,lgga6cjz6bgo7cszpjfhpuoaqi,Status.DIFFERENT,Miss.RELEASE_TYPE
-53w5pycrmvgglludwsv44m3czu,mvdjwqdvxfh3vd3zotf3gljm4a,Status.DIFFERENT,Miss.YEAR
-6vejogvunnbb7etjzu4yfs32mm,g53ggmce2rek5lw2l52oaimgiq,Status.DIFFERENT,Miss.YEAR
+uhih3c4gbzdtnciiqlfjx3w6le,lgga6cjz6bgo7cszpjfhpuoaqi,Status.DIFFERENT,Miss.YEAR
+53w5pycrmvgglludwsv44m3czu,mvdjwqdvxfh3vd3zotf3gljm4a,Status.DIFFERENT,Miss.SUBTITLE
+6vejogvunnbb7etjzu4yfs32mm,g53ggmce2rek5lw2l52oaimgiq,Status.DIFFERENT,Miss.SUBTITLE
325je3kjkjeerkchimvz6qxyji,ir7i7ldr7ffuvigvv6cvyyc7ju,Status.DIFFERENT,Miss.BOOK_CHAPTER
hqwrsqnzdjbqhbrqnsbooohqse,ydx2wolhvffxnb6as6gekmocx4,Status.STRONG,OK.ARXIV_VERSION
vz7q453kr5ds3ptsldwxedbiii,2wzybzqlmjhjfh75cxjohbvzi4,Status.DIFFERENT,Miss.RELEASE_TYPE
efumvvpw6jbb7ehp2qfdatgxzy,funn7cwjbrgefji27tzpl4avuu,Status.STRONG,OK.ARXIV_VERSION
pjvosq3ulzeb5d6w7zijrbz75y,pxkm2asxjnflzkdi5qnfd5fpt4,Status.DIFFERENT,Miss.BOOK_CHAPTER
-ji3qg5sajndt7p54u7wumqsjye,hxau2e34bnhhbeucfdrncgmcby,Status.DIFFERENT,Miss.RELEASE_TYPE
+ji3qg5sajndt7p54u7wumqsjye,hxau2e34bnhhbeucfdrncgmcby,Status.DIFFERENT,Miss.CONTRIB_INTERSECTION_EMPTY
2gpvznjjcfbmhats6ot2vsodju,qk6arua2snaobfvdvlfvjp3yeq,Status.DIFFERENT,
75ky5xniobchzbhzwhmwhu5uoa,uvgwfvwnnbg7xchy63bloyrwvi,Status.STRONG,
jdtngtiz3bdqboypujoni2x3ry,byh7xr5qhjca3bw53ivdotck3e,Status.EXACT,
@@ -84,3 +84,4 @@ jdtngtiz3bdqboypujoni2x3ry,byh7xr5qhjca3bw53ivdotck3e,Status.EXACT,
5lk635o65nc2tnkus3pkf2ggeq,zfwf3tefajc6zdxa47vgilm7wm,TODO,
hqrvhbvocvaabg6nr5p43tl3uq,zfwf3tefajc6zdxa47vgilm7wm,TODO,
ppnzru2opnhxlai7pcmo7phe4i,iitldffmnncijgnf6ujb6zmdfu,Status.DIFFERENT,Miss.NUM_DIFF
+fv35r37pb5c5tioyqburswsute,poeywm5o4raljhatd6zvehcicy,Status.EXACT,OK.TITLE_AUTHOR_MATCH