dfg compatible, added experiment logs of multipliers #222
Binary file not shown.
@@ -0,0 +1,286 @@
|
||||
{
|
||||
"institution": "I62318514",
|
||||
"cohort": [
|
||||
"I62318514",
|
||||
"I4210119759",
|
||||
"I4210161917",
|
||||
"I127668822",
|
||||
"I4210090139",
|
||||
"I4210092428",
|
||||
"I4210110714",
|
||||
"I4210146441",
|
||||
"I4210154243"
|
||||
],
|
||||
"config_hash": "fd4877f30747",
|
||||
"counts": {
|
||||
"focal_authors_scored": 9474,
|
||||
"nodes": 864646,
|
||||
"edges": 5822006,
|
||||
"works_used": 228103,
|
||||
"works_capped": 9238,
|
||||
"tags": {
|
||||
"mentor": 161,
|
||||
"bridger": 133,
|
||||
"amplifier": 10
|
||||
},
|
||||
"suspicious_profiles": 400,
|
||||
"es_docs_written": 9474,
|
||||
"es_network_docs_written": 9474
|
||||
},
|
||||
"timings": {
|
||||
"extract_s": 0.6,
|
||||
"load_cache_s": 18.8,
|
||||
"build_graph_s": 45.0,
|
||||
"metrics_s": 319.0,
|
||||
"signals_s": 389.7,
|
||||
"scoring_s": 0.1,
|
||||
"index_s": 11.4,
|
||||
"network_s": 92.7
|
||||
},
|
||||
"top_bridgers": [
|
||||
{
|
||||
"author_id": "A5113304257",
|
||||
"name": "Jan Egger",
|
||||
"score": 0.9533,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5051904885",
|
||||
"name": "Feyza Cansiz",
|
||||
"score": 0.9436,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5015256836",
|
||||
"name": "Giebel Bernd",
|
||||
"score": 0.9403,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5029568311",
|
||||
"name": "S. Ugurel-Becker",
|
||||
"score": 0.9395,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5039473892",
|
||||
"name": "D. Schadendorf",
|
||||
"score": 0.9329,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5098748894",
|
||||
"name": "Bahadır Eryılmaz",
|
||||
"score": 0.927,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5120610796",
|
||||
"name": "Ulrich Sure",
|
||||
"score": 0.9263,
|
||||
"bucket": "Early",
|
||||
"active_years": 2,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5007940140",
|
||||
"name": "Amin Dada",
|
||||
"score": 0.9262,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5101839832",
|
||||
"name": "Mohammed-Ali Sheikh",
|
||||
"score": 0.9243,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5074268016",
|
||||
"name": "Anika Grüneboom",
|
||||
"score": 0.922,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 9,
|
||||
"suspicious": false
|
||||
}
|
||||
],
|
||||
"top_mentors": [
|
||||
{
|
||||
"author_id": "A5043495754",
|
||||
"name": "Cornelius Deuschl",
|
||||
"score": 0.9613,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5030635588",
|
||||
"name": "Birte Möhlendick",
|
||||
"score": 0.9582,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5029722705",
|
||||
"name": "Freya Droege",
|
||||
"score": 0.95,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5062907808",
|
||||
"name": "Wolfgang P. Fendler",
|
||||
"score": 0.9437,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5048453026",
|
||||
"name": "Alpaslan Tasdogan",
|
||||
"score": 0.9436,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5063064952",
|
||||
"name": "Nora Bruns",
|
||||
"score": 0.9408,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5036496827",
|
||||
"name": "Ramazan Jabbarli",
|
||||
"score": 0.9336,
|
||||
"bucket": "Established",
|
||||
"active_years": 13,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5041276010",
|
||||
"name": "Heiko Wende",
|
||||
"score": 0.9291,
|
||||
"bucket": "Senior",
|
||||
"active_years": 31,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5110823011",
|
||||
"name": "Dagmar Führer",
|
||||
"score": 0.9285,
|
||||
"bucket": "Senior",
|
||||
"active_years": 32,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5047137012",
|
||||
"name": "David Kersting",
|
||||
"score": 0.9284,
|
||||
"bucket": "Established",
|
||||
"active_years": 12,
|
||||
"suspicious": false
|
||||
}
|
||||
],
|
||||
"top_amplifiers": [
|
||||
{
|
||||
"author_id": "A5007801159",
|
||||
"name": "Jens Wiltfang",
|
||||
"score": 0.9282,
|
||||
"bucket": "Senior",
|
||||
"active_years": 35,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5049577078",
|
||||
"name": "Stefan Kleine",
|
||||
"score": 0.9121,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 6,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5055188384",
|
||||
"name": "Benjamin Zingsem",
|
||||
"score": 0.8991,
|
||||
"bucket": "Established",
|
||||
"active_years": 10,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5036507802",
|
||||
"name": "Martin Schüler",
|
||||
"score": 0.8934,
|
||||
"bucket": "Senior",
|
||||
"active_years": 47,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5123934012",
|
||||
"name": "Karl Sebastian Lang",
|
||||
"score": 0.8883,
|
||||
"bucket": "Early",
|
||||
"active_years": 1,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5016532166",
|
||||
"name": "Adalbert Krawczyk",
|
||||
"score": 0.8779,
|
||||
"bucket": "Senior",
|
||||
"active_years": 16,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5052587248",
|
||||
"name": "Gabi Schierning",
|
||||
"score": 0.8751,
|
||||
"bucket": "Senior",
|
||||
"active_years": 23,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5024191146",
|
||||
"name": "Markus Kaiser",
|
||||
"score": 0.868,
|
||||
"bucket": "Senior",
|
||||
"active_years": 30,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5044921528",
|
||||
"name": "Annette Paschen",
|
||||
"score": 0.862,
|
||||
"bucket": "Senior",
|
||||
"active_years": 29,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5107541231",
|
||||
"name": "Raimund Erbel",
|
||||
"score": 0.8519,
|
||||
"bucket": "Senior",
|
||||
"active_years": 52,
|
||||
"suspicious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,269 @@
|
||||
{
|
||||
"institution": "I62318514",
|
||||
"config_hash": "a49ddd388990",
|
||||
"counts": {
|
||||
"focal_authors_scored": 4921,
|
||||
"nodes": 639544,
|
||||
"edges": 4143499,
|
||||
"works_used": 160396,
|
||||
"works_capped": 4823,
|
||||
"tags": {
|
||||
"amplifier": 609,
|
||||
"mentor": 91,
|
||||
"bridger": 66
|
||||
},
|
||||
"suspicious_profiles": 225
|
||||
},
|
||||
"timings": {
|
||||
"load_cache_s": 15.2,
|
||||
"build_graph_s": 31.3,
|
||||
"metrics_s": 112.2,
|
||||
"scoring_s": 0.0
|
||||
},
|
||||
"top_bridgers": [
|
||||
{
|
||||
"author_id": "A5113304257",
|
||||
"name": "Jan Egger",
|
||||
"score": 0.9488,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5015256836",
|
||||
"name": "Giebel Bernd",
|
||||
"score": 0.9379,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5074268016",
|
||||
"name": "Anika Grüneboom",
|
||||
"score": 0.9277,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 9,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5101839832",
|
||||
"name": "Mohammed-Ali Sheikh",
|
||||
"score": 0.9227,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5093725590",
|
||||
"name": "Ahammed Suhail Odungat",
|
||||
"score": 0.9178,
|
||||
"bucket": "Early",
|
||||
"active_years": 3,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5123321088",
|
||||
"name": "Heiko Wende",
|
||||
"score": 0.9166,
|
||||
"bucket": "Early",
|
||||
"active_years": 2,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5093128319",
|
||||
"name": "Pascal Raszke",
|
||||
"score": 0.9115,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5009410023",
|
||||
"name": "Yossarian Liebsch",
|
||||
"score": 0.9098,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5038988072",
|
||||
"name": "Ulrike Schara‐Schmidt",
|
||||
"score": 0.9095,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 6,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5092634227",
|
||||
"name": "Abdelrahman Elwy",
|
||||
"score": 0.9089,
|
||||
"bucket": "Early",
|
||||
"active_years": 4,
|
||||
"suspicious": false
|
||||
}
|
||||
],
|
||||
"top_mentors": [
|
||||
{
|
||||
"author_id": "A5043495754",
|
||||
"name": "Cornelius Deuschl",
|
||||
"score": 0.9533,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5063064952",
|
||||
"name": "Nora Bruns",
|
||||
"score": 0.9508,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5062907808",
|
||||
"name": "Wolfgang P. Fendler",
|
||||
"score": 0.9477,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5016126468",
|
||||
"name": "Jassin Rashidi‐Alavijeh",
|
||||
"score": 0.9338,
|
||||
"bucket": "Established",
|
||||
"active_years": 13,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5041276010",
|
||||
"name": "Heiko Wende",
|
||||
"score": 0.9314,
|
||||
"bucket": "Senior",
|
||||
"active_years": 31,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5036496827",
|
||||
"name": "Ramazan Jabbarli",
|
||||
"score": 0.9271,
|
||||
"bucket": "Established",
|
||||
"active_years": 13,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5090806187",
|
||||
"name": "Ivana Kraiselburd",
|
||||
"score": 0.9262,
|
||||
"bucket": "Established",
|
||||
"active_years": 12,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5030635588",
|
||||
"name": "Birte Möhlendick",
|
||||
"score": 0.9244,
|
||||
"bucket": "Established",
|
||||
"active_years": 14,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5052523213",
|
||||
"name": "Ulrich Sure",
|
||||
"score": 0.9229,
|
||||
"bucket": "Senior",
|
||||
"active_years": 32,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5016243200",
|
||||
"name": "Ulf Dittmer",
|
||||
"score": 0.9209,
|
||||
"bucket": "Senior",
|
||||
"active_years": 34,
|
||||
"suspicious": false
|
||||
}
|
||||
],
|
||||
"top_amplifiers": [
|
||||
{
|
||||
"author_id": "A5001941348",
|
||||
"name": "Matthias Rinke",
|
||||
"score": 1.0,
|
||||
"bucket": "Senior",
|
||||
"active_years": 25,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5026928109",
|
||||
"name": "Nicole Stracke",
|
||||
"score": 1.0,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 6,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5072469617",
|
||||
"name": "Stefan Esser",
|
||||
"score": 1.0,
|
||||
"bucket": "Established",
|
||||
"active_years": 10,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5045156629",
|
||||
"name": "Mirrasoul J. Mousavi",
|
||||
"score": 0.9991,
|
||||
"bucket": "Senior",
|
||||
"active_years": 20,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5102956234",
|
||||
"name": "Tanja Trarbach",
|
||||
"score": 0.9988,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 6,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5108819622",
|
||||
"name": "Andreas Roos",
|
||||
"score": 0.9982,
|
||||
"bucket": "Senior",
|
||||
"active_years": 15,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5060245622",
|
||||
"name": "Heidi Wiehler",
|
||||
"score": 0.9978,
|
||||
"bucket": "Established",
|
||||
"active_years": 12,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5005113935",
|
||||
"name": "C. L. Munch",
|
||||
"score": 0.9977,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 7,
|
||||
"suspicious": true
|
||||
},
|
||||
{
|
||||
"author_id": "A5014449031",
|
||||
"name": "Boris S. Kerner",
|
||||
"score": 0.9973,
|
||||
"bucket": "Senior",
|
||||
"active_years": 51,
|
||||
"suspicious": false
|
||||
},
|
||||
{
|
||||
"author_id": "A5034381567",
|
||||
"name": "Yannick Beckmann",
|
||||
"score": 0.9965,
|
||||
"bucket": "Emerging",
|
||||
"active_years": 9,
|
||||
"suspicious": false
|
||||
}
|
||||
]
|
||||
}
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
Cohort (9 institutions, affiliation years >= 2023):
|
||||
I62318514 University of Duisburg-Essen
|
||||
I4210119759 Essen University Hospital
|
||||
I4210161917 West German Heart and Vascular Center Essen
|
||||
I127668822 Erwin L. Hahn Institute for Magnetic Resonance Imaging
|
||||
I4210090139 Rhein-Ruhr Institut für Sozialforschung und Politikberatung
|
||||
I4210092428 Deutsches Textilforschungszentrum Nord-West
|
||||
I4210110714 Institute for Advanced Study in the Humanities Essen
|
||||
I4210146441 The Hydrogen and Fuel Cell Center
|
||||
I4210154243 Institut für Energie- und Umwelttechnik
|
||||
Reusing cached extract (use --force-extract to refresh).
|
||||
Loaded 267467 works, 9475 focal authors (19.0s)
|
||||
Graph: 864646 nodes, 5822006 edges, 228103 works used, 9238 capped, ref_year=2026 (46.6s)
|
||||
Metrics for 9474 focal authors (326.0s)
|
||||
Signals: patents scored for 55 authors (name-only evidence: 17), news mentions for 1369 (ambiguous names skipped: 839), CORDIS projects for 1342
|
||||
Signal joins done (522.1s)
|
||||
Scores -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/scores_I62318514.jsonl.gz (0.1s)
|
||||
Deleted 9474 existing docs for I62318514
|
||||
Indexed 9474 docs into multiplicators_v1 (count for I62318514: 9474) (46.8s)
|
||||
{
|
||||
"focal_authors_scored": 9474,
|
||||
"nodes": 864646,
|
||||
"edges": 5822006,
|
||||
"works_used": 228103,
|
||||
"works_capped": 9238,
|
||||
"tags": {
|
||||
"mentor": 161,
|
||||
"bridger": 133,
|
||||
"amplifier": 10
|
||||
},
|
||||
"suspicious_profiles": 400,
|
||||
"es_docs_written": 9474
|
||||
}
|
||||
Summary -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/build_summary_I62318514.json
|
||||
@@ -0,0 +1,37 @@
|
||||
Cohort (9 institutions, affiliation years >= 2023):
|
||||
I62318514 University of Duisburg-Essen
|
||||
I4210119759 Essen University Hospital
|
||||
I4210161917 West German Heart and Vascular Center Essen
|
||||
I127668822 Erwin L. Hahn Institute for Magnetic Resonance Imaging
|
||||
I4210090139 Rhein-Ruhr Institut für Sozialforschung und Politikberatung
|
||||
I4210092428 Deutsches Textilforschungszentrum Nord-West
|
||||
I4210110714 Institute for Advanced Study in the Humanities Essen
|
||||
I4210146441 The Hydrogen and Fuel Cell Center
|
||||
I4210154243 Institut für Energie- und Umwelttechnik
|
||||
Reusing cached extract (use --force-extract to refresh).
|
||||
Loaded 267467 works, 9475 focal authors (18.8s)
|
||||
Graph: 864646 nodes, 5822006 edges, 228103 works used, 9238 capped, ref_year=2026 (45.0s)
|
||||
Metrics for 9474 focal authors (319.0s)
|
||||
Signals: patents scored for 55 authors (name-only evidence: 17), news mentions for 1369 (ambiguous names skipped: 839), CORDIS projects for 1342
|
||||
Signal joins done (389.7s)
|
||||
Scores -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/scores_I62318514.jsonl.gz (0.1s)
|
||||
Deleted 9474 existing docs for I62318514
|
||||
Indexed 9474 docs into multiplicators_v1 (count for I62318514: 9474) (11.4s)
|
||||
Deleted 0 existing docs for I62318514
|
||||
Indexed 9474 network docs into multiplicator_networks_v1 (92.7s)
|
||||
{
|
||||
"focal_authors_scored": 9474,
|
||||
"nodes": 864646,
|
||||
"edges": 5822006,
|
||||
"works_used": 228103,
|
||||
"works_capped": 9238,
|
||||
"tags": {
|
||||
"mentor": 161,
|
||||
"bridger": 133,
|
||||
"amplifier": 10
|
||||
},
|
||||
"suspicious_profiles": 400,
|
||||
"es_docs_written": 9474,
|
||||
"es_network_docs_written": 9474
|
||||
}
|
||||
Summary -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/build_summary_I62318514.json
|
||||
Binary file not shown.
@@ -0,0 +1,99 @@
|
||||
{
|
||||
"institution": {
|
||||
"id": "https://openalex.org/I62318514",
|
||||
"short_id": "I62318514",
|
||||
"ror": "https://ror.org/04mz5ra38",
|
||||
"display_name": "University of Duisburg-Essen"
|
||||
},
|
||||
"cohort": [
|
||||
{
|
||||
"id": "I62318514",
|
||||
"display_name": "University of Duisburg-Essen"
|
||||
},
|
||||
{
|
||||
"id": "I4210119759",
|
||||
"display_name": "Essen University Hospital"
|
||||
},
|
||||
{
|
||||
"id": "I4210161917",
|
||||
"display_name": "West German Heart and Vascular Center Essen"
|
||||
},
|
||||
{
|
||||
"id": "I127668822",
|
||||
"display_name": "Erwin L. Hahn Institute for Magnetic Resonance Imaging"
|
||||
},
|
||||
{
|
||||
"id": "I4210090139",
|
||||
"display_name": "Rhein-Ruhr Institut für Sozialforschung und Politikberatung"
|
||||
},
|
||||
{
|
||||
"id": "I4210092428",
|
||||
"display_name": "Deutsches Textilforschungszentrum Nord-West"
|
||||
},
|
||||
{
|
||||
"id": "I4210110714",
|
||||
"display_name": "Institute for Advanced Study in the Humanities Essen"
|
||||
},
|
||||
{
|
||||
"id": "I4210146441",
|
||||
"display_name": "The Hydrogen and Fuel Cell Center"
|
||||
},
|
||||
{
|
||||
"id": "I4210154243",
|
||||
"display_name": "Institut für Energie- und Umwelttechnik"
|
||||
}
|
||||
],
|
||||
"reproduction": {
|
||||
"author_count": 6583,
|
||||
"work_count": 221603,
|
||||
"group_breakdown": {
|
||||
"backend_compatible": 6360,
|
||||
"empty_last_known_recent": 223
|
||||
}
|
||||
},
|
||||
"field_coverage": {
|
||||
"authorships_total": 4365638,
|
||||
"author_position_pct": 100.0,
|
||||
"is_corresponding_pct": 100.0,
|
||||
"institutions_total": 3934359,
|
||||
"institution_type_pct": 99.9,
|
||||
"company_institutions": 82976
|
||||
},
|
||||
"scale": {
|
||||
"works": 221603,
|
||||
"authors_per_work": {
|
||||
"p50": 5,
|
||||
"p90": 18,
|
||||
"p99": 174,
|
||||
"max": 4839
|
||||
},
|
||||
"hyperauthorship_works_gt_100": 3179,
|
||||
"pair_instances_at_cap": {
|
||||
"20": 4921446,
|
||||
"50": 10209552,
|
||||
"100": 17642513
|
||||
}
|
||||
},
|
||||
"career_quality": {
|
||||
"authors_with_works": 6583,
|
||||
"suspicious_profile_count": 302,
|
||||
"suspicious_profile_pct": 4.59,
|
||||
"active_years": {
|
||||
"p50": 4,
|
||||
"p90": 24,
|
||||
"max": 63,
|
||||
"mean": 8.61
|
||||
}
|
||||
},
|
||||
"signals": {
|
||||
"org_patents_for_institution": 462,
|
||||
"match_type_breakdown": {
|
||||
"name": 339,
|
||||
"both": 65,
|
||||
"institution": 58
|
||||
}
|
||||
},
|
||||
"permissions": {
|
||||
"skipped": "pass --probe-writes to test index create/bulk/delete"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"institution": {
|
||||
"id": "https://openalex.org/I62318514",
|
||||
"short_id": "I62318514",
|
||||
"ror": "https://ror.org/04mz5ra38",
|
||||
"display_name": "University of Duisburg-Essen"
|
||||
},
|
||||
"reproduction": {
|
||||
"author_count": 4921,
|
||||
"work_count": 183661,
|
||||
"group_breakdown": {
|
||||
"backend_compatible": 4740,
|
||||
"empty_last_known_recent": 181
|
||||
}
|
||||
},
|
||||
"field_coverage": {
|
||||
"authorships_total": 3805507,
|
||||
"author_position_pct": 100.0,
|
||||
"is_corresponding_pct": 100.0,
|
||||
"institutions_total": 3482939,
|
||||
"institution_type_pct": 99.91,
|
||||
"company_institutions": 67131
|
||||
},
|
||||
"scale": {
|
||||
"works": 183661,
|
||||
"authors_per_work": {
|
||||
"p50": 5,
|
||||
"p90": 17,
|
||||
"p99": 144,
|
||||
"max": 4839
|
||||
},
|
||||
"hyperauthorship_works_gt_100": 2459,
|
||||
"pair_instances_at_cap": {
|
||||
"20": 3912695,
|
||||
"50": 7962611,
|
||||
"100": 13897380
|
||||
}
|
||||
},
|
||||
"career_quality": {
|
||||
"authors_with_works": 4921,
|
||||
"suspicious_profile_count": 225,
|
||||
"suspicious_profile_pct": 4.57,
|
||||
"active_years": {
|
||||
"p50": 4,
|
||||
"p90": 25,
|
||||
"max": 60,
|
||||
"mean": 8.94
|
||||
}
|
||||
},
|
||||
"signals": {
|
||||
"org_patents_for_institution": 436,
|
||||
"match_type_breakdown": {
|
||||
"name": 313,
|
||||
"both": 65,
|
||||
"institution": 58
|
||||
}
|
||||
},
|
||||
"permissions": {
|
||||
"create_index": 403
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
Sample: 60 people, matched in scores: 51, missing: 9
|
||||
MISSING: Peter Bayer (A5060566345)
|
||||
MISSING: Richard Kosinski (A5014403509)
|
||||
MISSING: Alexandra Dmitrienko (A5042835341)
|
||||
MISSING: Wilhelm Koop (A5019228221)
|
||||
MISSING: Venkata Marella (A5082156768)
|
||||
MISSING: Miriam Böhm (A5037448457)
|
||||
MISSING: Katrin Schuldt (A5002003996)
|
||||
MISSING: Friedrich Scheller (A5072565080)
|
||||
MISSING: Lara Altenstädter (A5070117981)
|
||||
|
||||
=== mentor sub-score by known status ===
|
||||
Professor n=29 median=0.740 mean=0.691 range=[0.153, 0.921]
|
||||
Researcher n=22 median=0.494 mean=0.514 range=[0.242, 0.958]
|
||||
|
||||
=== bridger sub-score by known status ===
|
||||
Professor n=29 median=0.629 mean=0.618 range=[0.291, 0.856]
|
||||
Researcher n=22 median=0.469 mean=0.509 range=[0.224, 0.796]
|
||||
|
||||
=== amplifier sub-score by known status ===
|
||||
Professor n=29 median=0.612 mean=0.584 range=[0.357, 0.840]
|
||||
Researcher n=22 median=0.450 mean=0.529 range=[0.363, 0.772]
|
||||
|
||||
M1 exit check — professors' median mentor score (0.74) > researchers' (0.494): PASS
|
||||
|
||||
=== per-person (sorted by mentor score) ===
|
||||
0.958 Researcher Established juniors= 30 laj= 6 Birte Möhlendick (Medicine)
|
||||
0.921 Professor Senior juniors=110 laj= 11 Oliver Witzke (Medicine)
|
||||
0.908 Professor Senior juniors= 56 laj= 12 Daniel Hoffmann (Biology)
|
||||
0.903 Professor Senior juniors= 92 laj= 7 Matthias Gunzer (Medicine)
|
||||
0.898 Professor Senior juniors= 41 laj= 16 Gerd Bacher (Engineering)
|
||||
0.891 Professor Senior juniors= 48 laj= 23 Ulrike Bingel (Medicine)
|
||||
0.888 Professor Senior juniors= 70 laj= 27 Bernd Sures (Biology)
|
||||
0.879 Professor Senior juniors=116 laj= 6 Boris Hadaschik (Medicine)
|
||||
0.862 Professor Senior juniors=128 laj= 2 Stephan Lang (Medicine)
|
||||
0.848 Professor Senior juniors= 40 laj= 25 Daniel Hering (Biology)
|
||||
0.833 Professor Senior juniors= 28 laj= 31 Stefan Schneegaß (Computer Science)
|
||||
0.786 Professor Senior juniors= 19 laj= 27 Torben Weis (Computer Science)
|
||||
0.781 Professor Senior juniors= 18 laj= 23 Pedro José Marrón (Computer Science)
|
||||
0.777 Professor Senior juniors= 29 laj= 4 Corina Andronescu (Engineering)
|
||||
0.762 Professor Senior juniors= 14 laj= 7 Barbara Saccà (Biology)
|
||||
0.740 Professor Senior juniors= 8 laj= 15 Lucas Davi (Computer Science)
|
||||
0.735 Professor Senior juniors= 13 laj= 24 Burak Atakan (Engineering)
|
||||
0.723 Researcher Senior juniors= 67 laj= 0 Farnusch Kaschani (Biology)
|
||||
0.722 Professor Senior juniors= 12 laj= 11 Barbara König (Computer Science)
|
||||
0.712 Professor Senior juniors= 12 laj= 21 Gregor Schiele (Computer Science)
|
||||
0.707 Professor Senior juniors= 10 laj= 11 Volker Gruhn (Computer Science)
|
||||
0.679 Researcher Senior juniors= 16 laj= 1 Marcus Handte (Computer Science)
|
||||
0.659 Professor Senior juniors= 45 laj= 0 Hartmut Schmidt (Medicine)
|
||||
0.654 Researcher Senior juniors= 22 laj= 0 Daniel Grabner (Biology)
|
||||
0.612 Professor Senior juniors= 13 laj= 0 Tienush Rassaf (Medicine)
|
||||
0.605 Professor Senior juniors= 6 laj= 8 Jens Krüger (Computer Science)
|
||||
0.601 Professor Senior juniors= 9 laj= 3 Andreas Metzger (Computer Science)
|
||||
0.513 Professor Senior juniors= 4 laj= 5 Andreas Vogelsang (Computer Science)
|
||||
0.500 Professor Senior juniors= 3 laj= 2 Frank Kleemann (Sociology)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Bianca Kamba (Biology)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Carina Liebers (Computer Science)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Jonas Keppel (Computer Science)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Carlos Medina Sánchez (Computer Science)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Christian Scholz (Computer Science)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Tobias Mikolas (Engineering)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Julia Schwichtenberg (Medicine)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Antonia Görtz (Sociology)
|
||||
0.494 Researcher Early juniors= 0 laj= 0 Lisa Mansfeld (Sociology)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Simon Janzon (Computer Science)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Christian Niesler (Computer Science)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Pascal Winkler (Computer Science)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Soheil Salighe (Engineering)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Sabrina Guckenbiehl (Medicine)
|
||||
0.488 Researcher Emerging juniors= 0 laj= 0 Zülal Cibir (Medicine)
|
||||
0.418 Researcher Senior juniors= 6 laj= 0 Stefan Hanenberg (Computer Science)
|
||||
0.377 Professor Senior juniors= 2 laj= 0 Ute Klammer (Sociology)
|
||||
0.251 Researcher Senior juniors= 1 laj= 0 Kathrin Januschke (Biology)
|
||||
0.242 Researcher Established juniors= 0 laj= 0 Andreas Jansen (Sociology)
|
||||
0.240 Professor Senior juniors= 1 laj= 0 Helen Baykara-Krumme (Sociology)
|
||||
0.227 Professor Senior juniors= 1 laj= 0 Marcel Erlinghagen (Sociology)
|
||||
0.153 Professor Senior juniors= 0 laj= 0 Gregor Bongaerts (Sociology)
|
||||
|
||||
Report -> /Users/armgdon/University/projects/smart-guide/smart-guide-code/service/scripts/multiplicators/cache/validation_I62318514.json
|
||||
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"missing": [
|
||||
"Peter Bayer (A5060566345)",
|
||||
"Richard Kosinski (A5014403509)",
|
||||
"Alexandra Dmitrienko (A5042835341)",
|
||||
"Wilhelm Koop (A5019228221)",
|
||||
"Venkata Marella (A5082156768)",
|
||||
"Miriam Böhm (A5037448457)",
|
||||
"Katrin Schuldt (A5002003996)",
|
||||
"Friedrich Scheller (A5072565080)",
|
||||
"Lara Altenstädter (A5070117981)"
|
||||
],
|
||||
"by_status": {
|
||||
"Professor": {
|
||||
"mentor": {
|
||||
"n": 29,
|
||||
"median": 0.74,
|
||||
"mean": 0.691,
|
||||
"min": 0.153,
|
||||
"max": 0.921
|
||||
},
|
||||
"bridger": {
|
||||
"n": 29,
|
||||
"median": 0.629,
|
||||
"mean": 0.618,
|
||||
"min": 0.291,
|
||||
"max": 0.856
|
||||
},
|
||||
"amplifier": {
|
||||
"n": 29,
|
||||
"median": 0.612,
|
||||
"mean": 0.584,
|
||||
"min": 0.357,
|
||||
"max": 0.84
|
||||
}
|
||||
},
|
||||
"Researcher": {
|
||||
"mentor": {
|
||||
"n": 22,
|
||||
"median": 0.494,
|
||||
"mean": 0.514,
|
||||
"min": 0.242,
|
||||
"max": 0.958
|
||||
},
|
||||
"bridger": {
|
||||
"n": 22,
|
||||
"median": 0.469,
|
||||
"mean": 0.509,
|
||||
"min": 0.224,
|
||||
"max": 0.796
|
||||
},
|
||||
"amplifier": {
|
||||
"n": 22,
|
||||
"median": 0.45,
|
||||
"mean": 0.529,
|
||||
"min": 0.363,
|
||||
"max": 0.772
|
||||
}
|
||||
}
|
||||
},
|
||||
"m1_exit_mentor_check": "PASS"
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"missing": [
|
||||
"Barbara Saccà (A5075803366)",
|
||||
"Peter Bayer (A5060566345)",
|
||||
"Richard Kosinski (A5014403509)",
|
||||
"Alexandra Dmitrienko (A5042835341)",
|
||||
"Christian Niesler (A5069184110)",
|
||||
"Pascal Winkler (A5081189339)",
|
||||
"Wilhelm Koop (A5019228221)",
|
||||
"Venkata Marella (A5082156768)",
|
||||
"Miriam Böhm (A5037448457)",
|
||||
"Soheil Salighe (A5041884757)",
|
||||
"Tobias Mikolas (A5002909977)",
|
||||
"Oliver Witzke (A5087456839)",
|
||||
"Ulrike Bingel (A5002281474)",
|
||||
"Katrin Schuldt (A5002003996)",
|
||||
"Helen Baykara-Krumme (A5010111732)",
|
||||
"Friedrich Scheller (A5072565080)",
|
||||
"Lara Altenstädter (A5070117981)"
|
||||
],
|
||||
"by_status": {
|
||||
"Professor": {
|
||||
"mentor": {
|
||||
"n": 25,
|
||||
"median": 0.715,
|
||||
"mean": 0.663,
|
||||
"min": 0.153,
|
||||
"max": 0.921
|
||||
},
|
||||
"bridger": {
|
||||
"n": 25,
|
||||
"median": 0.603,
|
||||
"mean": 0.598,
|
||||
"min": 0.229,
|
||||
"max": 0.849
|
||||
},
|
||||
"amplifier": {
|
||||
"n": 25,
|
||||
"median": 0.655,
|
||||
"mean": 0.604,
|
||||
"min": 0.173,
|
||||
"max": 0.957
|
||||
}
|
||||
},
|
||||
"Researcher": {
|
||||
"mentor": {
|
||||
"n": 18,
|
||||
"median": 0.493,
|
||||
"mean": 0.503,
|
||||
"min": 0.153,
|
||||
"max": 0.924
|
||||
},
|
||||
"bridger": {
|
||||
"n": 18,
|
||||
"median": 0.508,
|
||||
"mean": 0.521,
|
||||
"min": 0.181,
|
||||
"max": 0.804
|
||||
},
|
||||
"amplifier": {
|
||||
"n": 18,
|
||||
"median": 0.413,
|
||||
"mean": 0.543,
|
||||
"min": 0.161,
|
||||
"max": 0.971
|
||||
}
|
||||
}
|
||||
},
|
||||
"m1_exit_mentor_check": "PASS"
|
||||
}
|
||||
Binary file not shown.
File diff suppressed because one or more lines are too long
@@ -62,11 +62,29 @@ for idx in cordis_eu_fp7_euroscivoc cordis_eu_horizon_2020_euroscivoc cordis_eu_
|
||||
done
|
||||
```
|
||||
|
||||
DFG (keyword is the `fach` subject classification, potentially several per
|
||||
project, project id in the `project_id` field). `--text-field` takes a dotted
|
||||
path into the `subject_classifications` array of objects:
|
||||
|
||||
```bash
|
||||
python map_project_topics.py \
|
||||
--source-index dfg_projects_2.0 \
|
||||
--text-field subject_classifications.fach \
|
||||
--project-id-field project_id \
|
||||
--output-index projects_dfg_openalex_topics
|
||||
```
|
||||
|
||||
## Behaviour
|
||||
|
||||
- **Resumable**: source documents whose id already exists in the output index
|
||||
are skipped; the coverage is logged at startup (`Coverage: X/Y already in
|
||||
index, Z still to be processed`). Just rerun after an interruption.
|
||||
- **Multi-valued text fields**: a dotted `--text-field` (e.g.
|
||||
`subject_classifications.fach`) descends into arrays of objects and produces
|
||||
one output document per distinct value. Documents with a single value keep
|
||||
the source `_id` as output id; documents with several values get
|
||||
`<source_id>::<sha1(value)[:12]>` per value, so resumability works per
|
||||
(project, keyword) pair.
|
||||
- **Incremental**: each unique keyword is searched once, results are
|
||||
bulk-indexed chunk by chunk with progress logs.
|
||||
- **Fail-fast**: exits immediately with a clear message if the backend or the
|
||||
|
||||
@@ -5,7 +5,9 @@ map_project_topics.py — Map project keywords to OpenAlex topics.
|
||||
Streams all documents from a source index, reads a configurable text field
|
||||
(the "project-specific keyword"), matches every unique keyword against
|
||||
OpenAlex topics, and persists one document per (project, keyword) pair into
|
||||
the output index using mapping.PROJECT_TOPICS_MAPPING:
|
||||
the output index using mapping.PROJECT_TOPICS_MAPPING. The text field may be
|
||||
a dotted path into arrays of objects (e.g. subject_classifications.fach);
|
||||
every distinct value then yields its own output document:
|
||||
|
||||
{project_id, keyword, source_index, source_field, topic_matches[],
|
||||
match_method, model_name, built_at}
|
||||
@@ -28,6 +30,14 @@ Usage (EU EuroSciVoc, project id in the projectID source field):
|
||||
--project-id-field projectID \
|
||||
--output-index projects_eu_openalex_topics
|
||||
|
||||
Usage (DFG, keyword is the fach subject classification, several per project,
|
||||
project id in the project_id source field):
|
||||
python map_project_topics.py \
|
||||
--source-index dfg_projects_2.0 \
|
||||
--text-field subject_classifications.fach \
|
||||
--project-id-field project_id \
|
||||
--output-index projects_dfg_openalex_topics
|
||||
|
||||
Requires ELASTICSEARCH_INSE_URL/ELASTICSEARCH_INSE_API_KEY (and for
|
||||
--*-cluster nes: ELASTICSEARCH_URL/ELASTICSEARCH_API_KEY) in the environment
|
||||
or in the service .env, plus a running backend serving
|
||||
@@ -37,6 +47,7 @@ from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import asyncio
|
||||
import hashlib
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
@@ -49,12 +60,12 @@ import httpx
|
||||
from dotenv import load_dotenv
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parent))
|
||||
from service.scripts.projects.topic_mapper.mapping import PROJECT_TOPICS_MAPPING
|
||||
from mapping import PROJECT_TOPICS_MAPPING
|
||||
|
||||
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
DEFAULT_ENV_FILE = Path(__file__).resolve().parents[2] / "src" / "main" / "inse" / ".env"
|
||||
DEFAULT_ENV_FILE = Path(__file__).resolve().parents[3] / "src" / "main" / "inse" / ".env"
|
||||
DEFAULT_API_BASE_URL = "http://localhost:8000" #backend TODO replace with env variable
|
||||
VECTOR_SEARCH_PATH = "/api/topics/vector-search"
|
||||
MATCH_METHOD = "sentence_transformer"
|
||||
@@ -198,12 +209,47 @@ async def ensure_index(index: str, cluster: str) -> None:
|
||||
logger.info("Created output index '%s' with explicit mapping.", index)
|
||||
|
||||
|
||||
def extract_text_values(source: dict, field_path: str) -> list[str]:
|
||||
"""Collects every non-empty value at a dotted field path as strings.
|
||||
|
||||
Descends into arrays of objects at any level (e.g.
|
||||
subject_classifications.fach) and deduplicates while preserving order.
|
||||
A flat scalar field yields at most one value, as before.
|
||||
"""
|
||||
values: list[Any] = [source]
|
||||
for part in field_path.split("."):
|
||||
next_values: list[Any] = []
|
||||
for value in values:
|
||||
for item in value if isinstance(value, list) else [value]:
|
||||
if isinstance(item, dict) and part in item:
|
||||
next_values.append(item[part])
|
||||
values = next_values
|
||||
|
||||
texts: list[str] = []
|
||||
seen: set[str] = set()
|
||||
for value in values:
|
||||
for item in value if isinstance(value, list) else [value]:
|
||||
text = "" if item is None else str(item).strip()
|
||||
if text and text not in seen:
|
||||
seen.add(text)
|
||||
texts.append(text)
|
||||
return texts
|
||||
|
||||
|
||||
async def fetch_source_entries(
|
||||
index: str, cluster: str, text_field: str, id_field: str | None, max_docs: int | None
|
||||
) -> dict[str, tuple[str, str]]:
|
||||
"""Returns doc_id -> (project_id, keyword) for every source document."""
|
||||
"""Returns output_doc_id -> (project_id, keyword) for every source document.
|
||||
|
||||
Documents with a single text value keep their source _id as output id
|
||||
(backwards compatible with existing output indices); documents with
|
||||
several values (e.g. multiple subject classifications) get one entry per
|
||||
value with the id "<source_id>::<sha1(keyword)[:12]>", so resumability
|
||||
keeps working per (project, keyword) pair.
|
||||
"""
|
||||
entries: dict[str, tuple[str, str]] = {}
|
||||
total = 0
|
||||
docs_with_text = 0
|
||||
if id_field == "_id":
|
||||
id_field = None
|
||||
source_fields = [text_field] + ([id_field] if id_field else [])
|
||||
@@ -216,10 +262,21 @@ async def fetch_source_entries(
|
||||
):
|
||||
total += 1
|
||||
doc_source = hit.get("_source", {})
|
||||
text = str(doc_source.get(text_field) or "").strip()
|
||||
project_id = str(doc_source.get(id_field) or "").strip() if id_field else hit["_id"]
|
||||
if text and project_id:
|
||||
entries[hit["_id"]] = (project_id, text)
|
||||
keywords = extract_text_values(doc_source, text_field)
|
||||
if id_field:
|
||||
id_values = extract_text_values(doc_source, id_field)
|
||||
project_id = id_values[0] if id_values else ""
|
||||
else:
|
||||
project_id = hit["_id"]
|
||||
if keywords and project_id:
|
||||
docs_with_text += 1
|
||||
for keyword in keywords:
|
||||
if len(keywords) == 1:
|
||||
out_id = hit["_id"]
|
||||
else:
|
||||
digest = hashlib.sha1(keyword.encode("utf-8")).hexdigest()[:12]
|
||||
out_id = f"{hit['_id']}::{digest}"
|
||||
entries[out_id] = (project_id, keyword)
|
||||
if total % 50000 == 0:
|
||||
logger.info("Scanned %d source documents...", total)
|
||||
if max_docs and total >= max_docs:
|
||||
@@ -227,11 +284,12 @@ async def fetch_source_entries(
|
||||
break
|
||||
|
||||
logger.info(
|
||||
"Scanned %d documents from '%s', %d with a non-empty '%s'.",
|
||||
"Scanned %d documents from '%s', %d with a non-empty '%s' (%d project/keyword pairs).",
|
||||
total,
|
||||
index,
|
||||
len(entries),
|
||||
docs_with_text,
|
||||
text_field,
|
||||
len(entries),
|
||||
)
|
||||
return entries
|
||||
|
||||
@@ -463,14 +521,21 @@ def main() -> None:
|
||||
" python map_project_topics.py --source-index projects_bund_v1 "
|
||||
"--text-field Leistungsplansystematik_fullname --output-index projects_bund_openalex_topics\n"
|
||||
" python map_project_topics.py --source-index cordis_eu_fp7_euroscivoc "
|
||||
"--text-field title --project-id-field projectID --output-index projects_eu_openalex_topics"
|
||||
"--text-field title --project-id-field projectID --output-index projects_eu_openalex_topics\n"
|
||||
" python map_project_topics.py --source-index dfg_projects_2.0 "
|
||||
"--text-field subject_classifications.fach --project-id-field project_id "
|
||||
"--output-index projects_dfg_openalex_topics"
|
||||
),
|
||||
)
|
||||
parser.add_argument("--source-index", required=True, help="Index to read projects from")
|
||||
parser.add_argument(
|
||||
"--text-field",
|
||||
required=True,
|
||||
help="Source field holding the project-specific keyword to match",
|
||||
help=(
|
||||
"Source field holding the project-specific keyword to match; dotted "
|
||||
"paths descend into arrays of objects and map every distinct value "
|
||||
"(e.g. subject_classifications.fach for dfg_projects_2.0)"
|
||||
),
|
||||
)
|
||||
parser.add_argument(
|
||||
"--output-index", required=True, help="Index to persist the topic mappings into"
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
One document per (project, keyword) pair. For sources where the keyword field
|
||||
is unique per project (e.g. projects_bund_v1 Leistungsplansystematik_fullname)
|
||||
this means one document per project.
|
||||
this means one document per project; for multi-valued sources (e.g.
|
||||
dfg_projects_2.0 subject_classifications.fach) several documents per project.
|
||||
"""
|
||||
|
||||
PROJECT_TOPICS_MAPPING = {
|
||||
|
||||
Reference in New Issue
Block a user