Compare commits

..
Author SHA1 Message Date
farajollahi c8e5a65f5d fix(dashboard): support multiple institutions and improve project analytics
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-17 16:32:50 +02:00
farajollahi a6c4668d13 show projects of institut
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-17 14:57:31 +02:00
farajollahi df5f131320 fix(dashboard): synchronize institution selection and project status data 2026-08-17 13:03:26 +02:00
spsaefan 2f22240d94 Fix dashboard card navigation
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-17 11:50:47 +02:00
spsaefan 77095c8549 Set default institution tab 2026-08-17 11:50:21 +02:00
spsaefan c733442300 Remove all institutions tab 2026-08-17 11:47:43 +02:00
spsaefan 8d7323a387 Add institution filter tests
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-15 22:46:05 +02:00
spsaefan 6a6ec8662c Filter dashboard analytics by institution 2026-08-15 22:45:56 +02:00
spsaefan c70e6bf489 Filter word cloud by institution 2026-08-15 22:45:40 +02:00
spsaefan 82fa2e816b Add institution filtering 2026-08-15 22:45:24 +02:00
spsaefan fbcee778d2 Add institution tab styles 2026-08-15 22:44:34 +02:00
spsaefan 1758227f1e Add institution tabs 2026-08-15 22:43:52 +02:00
farajollahi 545f38bc3d Merge branch 'dev' into multi-organisations-statics
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-12 10:55:48 +02:00
farajollahi 92e421a61c Merge pull request 'check-dashboard' (#275) from check-dashboard into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #275
2026-08-11 13:50:25 +02:00
farajollahi 15f55af4c4 fix count
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-08-11 13:41:57 +02:00
farajollahi c8fa70e7f0 feat(dashboard): add institution filter for organization-wide statistics
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-11 12:53:13 +02:00
farajollahi 934c49bf49 Merge branch 'dev' into check-dashboard
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-11 12:00:19 +02:00
Roman 70d6b3d698 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-11 11:48:39 +02:00
Roman e6e9628837 organization-feature 2026-08-11 11:48:18 +02:00
farajollahi e1b3318e68 fix eu
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-11 11:37:30 +02:00
Louis 4d8a7405ca Merge pull request 'fix: prevent undefined hierarchy and missing metrics in topic tooltip' (#274) from refactor/topic-chips into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #274
2026-08-11 11:18:22 +02:00
Louis f1a6c32e0c fix: prevent undefined hierarchy and missing metrics in topic tooltip
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-08-11 11:12:48 +02:00
Louis cf5a3e7d3d Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-11 10:51:09 +02:00
Louis 89f45082fb fetch field/subfield descriptions on hover in legend tooltip 2026-08-11 10:48:05 +02:00
genja 0ad6ac70ff Merge pull request 'feature/keywords-analysis' (#273) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #273
2026-08-11 10:47:49 +02:00
Louis e8e0decc6c add domain/field/subfield lookup endpoints 2026-08-11 10:47:38 +02:00
genja 57aaf77162 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-11 10:43:57 +02:00
farajollahi a3eebedb02 Merge branch 'dev' into check-dashboard
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-11 10:38:21 +02:00
farajollahi f8e5cd90a5 feat(dashboard): improve filters, tooltips and treemap state
LocationBasedServices/smartguide/pipeline/head This commit looks good
- add detailed tooltips to dashboard statistic cards
- show author details on hover in top-10 person analyses
- align patent icon with the sidebar
- resize and right-align the dashboard period slider
- persist DFG, EU and Bund treemap selections in URL parameters
2026-08-11 10:37:24 +02:00
genja 07ce24143b 500 bug fix
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-11 10:23:57 +02:00
farajollahi 3d092b02f3 refactor(dashboard): split dashboard logic into dedicated services
LocationBasedServices/smartguide/pipeline/head This commit looks good
- add separate services for top authors, project statuses and topic treemaps
- extract shared project ID and statistics logic
- move common period and institution helpers into common module
- add individual top-author API routes
- load top-author analyses independently in the frontend
- remove unused dashboard code and helper functions
- reduce the main dashboard service to general statistics and topic visualizations
2026-08-11 10:16:25 +02:00
genja bf5e065520 Merge pull request 'feature/keywords-analysis' (#272) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #272
2026-08-11 09:20:50 +02:00
genja 08178e74d2 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-11 09:14:48 +02:00
genja c66fcff906 hot-fix: check for 403 only if author or institution id is persistent 2026-08-11 09:14:33 +02:00
Louis b0dd0e509d add legend tooltip component 2026-08-11 09:03:54 +02:00
genja 719da6e921 Merge pull request 'feature/keywords-analysis' (#271) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #271
2026-08-11 08:57:51 +02:00
genja e4b3d0a9a9 replaced the is_forbidden function with check function from auth
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-11 08:53:25 +02:00
genja c0e231a32b Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-11 08:22:05 +02:00
Kazgatari af9f9a25da added screen padding
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-10 23:21:42 +02:00
Kazgatari 0a465bc7e1 changed author and institution chips as well 2026-08-10 23:18:39 +02:00
Kazgatari aec735e09e fix: topic tooltip clipping 2026-08-10 23:01:20 +02:00
Kazgatari 9ce6d5f26e adapted shared topic chip to accept already fetched topics instead of making another seperate call (+ error handling for possible null and undifined types as specified in the openapi generated model). Hopefully found all instances of regular material tooltip and changed to use new chip
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-10 21:18:58 +02:00
Kazgatari f4b4fb0562 changed deprecated topic-chip component code to use signals. 2026-08-10 21:11:08 +02:00
genja aa22fad67d added external link button
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-10 20:43:17 +02:00
kallweit 548bb4ce70 Merge pull request 'refactor/wordcloud' (#270) from refactor/wordcloud into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #270
2026-08-10 18:44:06 +02:00
kallweit b6871b3618 refactor(wordcloud): use shared tooltip component
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-10 18:38:40 +02:00
kallweit fe5e816551 refactor(wordcloud): extract wordcloud into its own component 2026-08-10 18:22:48 +02:00
kallweit 20d2a281b1 Merge pull request 'fix/news-details-ui' (#269) from fix/news-details-ui into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #269
2026-08-10 17:58:25 +02:00
kallweit e2ae0c660a refactor(news-list): re-style search bar and filters to improve alignment
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-10 17:50:11 +02:00
kallweit 9e8ae16597 feat(sidebar): change 'News' to 'Nachrichten'
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-10 16:51:07 +02:00
kallweit e5284a79c9 fix(news-details): prevent keyword acronyms from highlighting unrelated words 2026-08-10 16:50:23 +02:00
kallweit 79dad5dfb0 fix(news-details): change navigation to always go back to news list 2026-08-10 16:50:23 +02:00
kallweit a511c16fb1 fix(news-details): change topic highlight text 2026-08-10 16:50:23 +02:00
kallweit 98a1214a4d feat(news-details): remove highlighting of orphaned keywords 2026-08-10 16:50:23 +02:00
kallweit be459c45cf Merge pull request 'feature/news-in-keywords' (#268) from feature/news-in-keywords into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #268
2026-08-10 16:44:06 +02:00
kallweit 328ef2938c feat(keyword-search): add wrapper to news filters
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-08-10 16:32:27 +02:00
kallweit 21f3f49078 refactor(keyword-search, news, accounts): use shared selector for news relevance filter and reset to first page on filter change 2026-08-10 16:32:27 +02:00
kallweit 882ad3b8cf refactor(news): deduplicate topic reading logic 2026-08-10 16:32:27 +02:00
kallweit d8b7d8bc2e fix(keyword-search): add fuzzy search fallback for news 2026-08-10 16:32:27 +02:00
kallweit c1692535a5 refactor(keyword-search): extract 'more' toggle into a shared component 2026-08-10 16:32:27 +02:00
kallweit af0e326747 feat(keyword-search): fill news tab 2026-08-10 16:32:27 +02:00
genja 6cdaa9738a Merge pull request 'feature/keywords-analysis' (#267) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #267
2026-08-10 16:29:04 +02:00
genja 1e5d0c4517 enabled ALWAYS tracking total hits to avoid 10000 cuts on data count in elastic client 2026-08-10 13:59:34 +02:00
genja 127f5ca287 added skeleton loading for projects data table 2026-08-10 13:45:59 +02:00
genja f51b775fd9 fixed skeleton for persons list while resolving
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-10 13:43:02 +02:00
genja 0015b92591 added all affiliations for 403 check at projects component 2026-08-10 13:41:51 +02:00
genja 37e1f1811f fixed wrong projects number displaying 2026-08-10 13:41:21 +02:00
farajollahi deb6448739 Merge branch 'dev' into check-dashboard
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-06 19:19:02 +02:00
farajollahi bfb3224684 Revert "fix bug"
LocationBasedServices/smartguide/pipeline/head This commit looks good
This reverts commit d48435b948.
2026-08-06 18:38:35 +02:00
farajollahi aed1f33935 Keep check-dashboard publication count after timeline merge 2026-08-06 18:31:52 +02:00
farajollahi 33192efa33 Merge branch 'check-final-timeline' into check-dashboard
# Conflicts:
#	service/src/main/inse/dashboard/service.py
#	service/src/main/inse/dashboard/test_service.py
2026-08-06 18:26:33 +02:00
farajollahi d48435b948 fix bug
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-06 18:12:38 +02:00
Kazgatari daa4f79ea0 fix: author prefetch did not work (moved away from excessive effect() usage, implemented additional methods to avoid missmatches)
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-06 16:30:28 +02:00
arzani c70a566514 cc-news integration in keyword analysis via explicit non-fuzzy search
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-06 15:03:54 +02:00
genja b99d3a7ff1 Merge pull request 'feature/keywords-analysis' (#266) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #266
2026-08-06 14:23:48 +02:00
genja 30cbb080b0 adjusted tests for new service function name
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-06 14:19:16 +02:00
genja d8eec59d5d moved filter ids validation to backend 2026-08-06 14:18:46 +02:00
genja be89e2986b check for 403 on the router, not in service! 2026-08-06 13:56:52 +02:00
genja 916af84651 fixed service function name 2026-08-06 13:56:25 +02:00
farajollahi 567b5ecd4f implement Eu and Bund topics treemap
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-06 12:16:49 +02:00
farajollahi b21d8d3e88 revert period filters on dashboard
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-06 11:32:05 +02:00
genja 4e5ab529de Merge pull request 'feature/keywords-analysis' (#265) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #265
2026-08-06 01:49:04 +02:00
genja 3b1ffda3b2 added HTTP 403 Forbidden for project access requests from unauthorized institutions
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-06 01:41:20 +02:00
genja cdf58044a8 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-05 23:38:45 +02:00
farajollahi 727c3fde67 fix counts
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-08-05 10:44:09 +02:00
farajollahi de880fb9f0 fix publications 2026-08-05 10:17:28 +02:00
genja e9fdf7d538 replaced projects navs with generic navbar
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 23:28:28 +02:00
genja 57f221868d robust handling of wrong query params added 2026-08-04 23:26:24 +02:00
genja ae7d1a54cb fixed EU matching bug 2026-08-04 23:25:59 +02:00
genja 71b075b365 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-08-04 23:25:37 +02:00
spsaefan c054cf99fe Fix all time slider
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 23:19:50 +02:00
spsaefan 98a742f024 Match dashboard publications with publications page
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 22:59:36 +02:00
khalti fb40bc548e Merge pull request 'feat(person-funding, person-patents, institution-patents, keywords-patents): add sortable column headers and refine inventor/assignee chip styling' (#264) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #264
2026-08-04 20:40:34 +02:00
khalti d06c1954a5 feat(person-funding, person-patents, institution-patents, keywords-patents): add sortable column headers and refine inventor/assignee chip styling
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-04 20:36:33 +02:00
genja 545d487fea Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-08-04 20:20:09 +02:00
genja 62f0812aae added optional disable/enable fitlers logic into resolvers, disabled filters for BUND und EU fundings 2026-08-04 19:34:25 +02:00
genja e0dda3ea0c adjusted the description for publications table expansion panel 2026-08-04 19:33:28 +02:00
genja 7628f219e2 institutions: moved the fundings chart and projects table into exandable accordions 2026-08-04 19:30:55 +02:00
genja 1d7a54c866 institutes: fixed total results for publications table 2026-08-04 19:29:17 +02:00
Mats Paul Tončik 6c55493acb feat(topic, institution): reused generic link tab nav bar
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 15:30:34 +02:00
Mats Paul Tončik 42bcac251b feat(person): moved link tab nav bar to dedicated component
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 15:03:50 +02:00
farajollahi bb791138cd fix news bug
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 14:41:26 +02:00
farajollahi 1fc509ea13 Merge branch 'dev' into check-dashboard
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 12:35:52 +02:00
farajollahi 90a1b930a3 fix eu
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 12:33:10 +02:00
genja 9011d58355 Merge pull request 'adjusted query for retrieving DFG projects by institutes' (#263) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #263
2026-08-04 12:24:51 +02:00
genja f2c0f203f6 adjusted query for retrieving DFG projects by institutes
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-04 12:20:11 +02:00
khalti 3f5746dd7d Merge pull request 'ts-136-patent-to-researchers-v2' (#260) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #260
2026-08-04 10:40:32 +02:00
khalti adce95ead4 Merge branch 'dev' into ts-136-patent-to-researchers-v2
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 10:38:01 +02:00
Mats Paul Tončik 84d7ca0122 Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 10:34:56 +02:00
Mats Paul Tončik 053af573fc fix!: removed institution overview 2026-08-04 10:34:28 +02:00
Mats Paul Tončik 06f34bec45 fix(projects): removed project tabs from institution and person detail page for foreign entities 2026-08-04 10:28:12 +02:00
farajollahi c1641fdb38 check counts
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 09:51:48 +02:00
khalti 9115af350e fix(person-funding): funding tables to plain row lines
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-08-04 09:37:42 +02:00
Louis 77cf3612d9 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into bugfix/topic-year-flag-navigation
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 09:20:47 +02:00
Louis 07c7343f94 center and space out news filter row 2026-08-04 09:20:22 +02:00
Mats Paul Tončik 530f751f02 Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 09:16:32 +02:00
Mats Paul Tončik 9a005cabe9 fix(institution-search): fixed router endpoint ambiguity 2026-08-04 09:16:20 +02:00
Kazgatari f7eb502d9d Added "funder" to Institution type list with fallbacklogic to default to "other"
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 09:02:05 +02:00
Louis a407cfb514 center loading spinner in person interesting 2026-08-04 08:37:52 +02:00
Mats Paul Tončik ff43d07b6d fix(institution-card): removed project button for institutions other than one's own
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 08:22:12 +02:00
Louis 340b5f22b7 use app-loading component in several pages
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-04 07:44:22 +02:00
Louis b4a90131bb remove preprocessing-mock-backup template 2026-08-03 23:02:58 +02:00
Louis 90149ddb4e use career-stage-chip component in person profile 2026-08-03 22:57:29 +02:00
Louis 1f09f0cf68 use career-stage-chip component in person card 2026-08-03 22:55:07 +02:00
Louis 8035e7aecb add career-stage-chip component 2026-08-03 22:54:15 +02:00
Louis cea32deba2 use shared year-range-slider component in news page 2026-08-03 22:23:36 +02:00
Louis b02358e3a0 use shared year-range-slider component in patents page 2026-08-03 22:02:54 +02:00
Louis 79320f27c9 use shared year-range-slider component in research timeline 2026-08-03 21:56:36 +02:00
Louis 52ca2f7339 fix overlapping thumbs in year-range-slider not draggable both ways 2026-08-03 21:49:21 +02:00
Louis 78e54248e3 vertically center flag image in country-flag component 2026-08-03 21:43:34 +02:00
Louis fc82604947 Reapply "use country-flag component in EU-Cordis organizations table"
This reverts commit 40bb0feaf8.
2026-08-03 21:41:41 +02:00
Louis 40bb0feaf8 Revert "use country-flag component in EU-Cordis organizations table"
This reverts commit 876fbb9980.
2026-08-03 21:38:49 +02:00
Louis 0afb6a9481 remove unintended flag border in person card and filter chip 2026-08-03 21:38:46 +02:00
Louis 57f72a473f Merge remote-tracking branch 'origin/dev' into bugfix/topic-year-flag-navigation 2026-08-03 21:28:23 +02:00
Louis 876fbb9980 use country-flag component in EU-Cordis organizations table 2026-08-03 21:20:32 +02:00
Louis bee09f7c29 use country-flag component in person-list filter chip 2026-08-03 21:19:40 +02:00
Louis c31aef4131 use country-flag component in person card 2026-08-03 21:19:00 +02:00
Louis 53a36e7974 use country-flag component in publication detail institutions 2026-08-03 21:18:02 +02:00
Louis 60e74c4916 use country-flag component in profile header 2026-08-03 21:17:30 +02:00
Louis 1d24f912ae add country-flag component 2026-08-03 21:17:02 +02:00
Louis f9591c512c fix: correct query param keys for topic/year filters from timeline and wordcloud 2026-08-03 21:06:54 +02:00
Louis f74396e97b fix: correct query param key for topic filter from person profile 2026-08-03 21:06:31 +02:00
genja 1127eeebb8 Merge pull request 'feature/keywords-analysis' (#261) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #261
2026-08-03 20:57:24 +02:00
genja e9590e8b04 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-03 20:45:19 +02:00
genja fd0bc89771 regenerated models and services
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-03 20:29:57 +02:00
genja 32a38b46fe unified fachgebiete and subject_classifications. Added subject classifications to dfg detail project page 2026-08-03 20:29:47 +02:00
genja e5f9d8cfdf adjusted view for subject classifications 2026-08-03 20:28:39 +02:00
Kazgatari ecd6b30626 changed autocomplete v2 to use partial matches and wildcard values with bootsing. Adapted trend and person list to use institution v2
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-03 20:14:08 +02:00
khalti 31da701fe7 fix(person-funding, person-patents, institution-patents, keywords-patents): flatten patent/funding tables to plain row lines, fix header casing and cell alignment
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-08-03 19:39:44 +02:00
genja 9d875b3935 dfg details page minor view adjustments 2026-08-03 19:26:25 +02:00
genja 8cab4ffb42 adjusted Fachsystematik column name 2026-08-03 19:26:03 +02:00
genja 61aeb5bf86 fixed nav error caused by BUND ids 2026-08-03 19:25:41 +02:00
genja 0821008d6e updated view for BUND institution on the detail page 2026-08-03 19:25:09 +02:00
genja a4a24b77b9 added cleaning author and institution filters on tab change for project types 2026-08-03 19:24:12 +02:00
taguesokoudjou 897edab3cf refactor(patents): unify keyword patent UI and remove text-search
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-03 17:01:19 +02:00
farajollahi a25d70466f Merge pull request 'dfg-topics-treemap' (#259) from dfg-topics-treemap into dev
LocationBasedServices/smartguide/pipeline/head Build queued...
Reviewed-on: #259
2026-08-03 14:09:35 +02:00
farajollahi 4270dafd6a Merge branch 'dev' into dfg-topics-treemap
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-08-03 13:56:38 +02:00
Mats Paul Tončik fc3baef406 fix: executed ruff check --fix
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-02 14:13:53 +02:00
Mats Paul Tončik be20407238 feat: added publication tooltip; added tooltips for person network tables
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-02 14:01:08 +02:00
Mats Paul Tončik 26c4dc8fe7 feat(theming): changed theme selector from cycling to menu
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-02 13:34:21 +02:00
Mats Paul Tončik 4dd124d003 fix(person-network): deactivated legend hover link emphasis and justified graph center
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-02 12:55:23 +02:00
Roman ee40f1386a fix(institution-membership): apply dashboard year ranges to person membership
LocationBasedServices/smartguide/pipeline/head This commit looks good
- add bounded affiliation year-range support
- apply dashboard period filters to person counts and navigation
- use active institution membership directly in ranking
- remove the obsolete author filter helper
- move the Personen card before Patente
2026-08-02 01:46:26 +02:00
Roman 4f116d3ca2 fix(echarts): align research and company charts with dark mode
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-02 00:34:31 +02:00
kuzko 9ef1ce7ce1 Merge pull request 'refactor/trend_visual' (#258) from refactor/trend_visual into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #258
2026-08-01 21:57:20 +02:00
Kazgatari 641f40ff45 fixed merge conflict
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-08-01 21:49:00 +02:00
Kazgatari 6f0d17a991 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into refactor/trend_visual 2026-08-01 21:48:12 +02:00
Kazgatari 2d1155d46b Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into refactor/trend_visual 2026-08-01 21:43:25 +02:00
khalti a1cf6e06af Merge pull request 'fix(person-funding): icon-only publication link + return to Förderungen' (#257) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #257
2026-08-01 21:35:49 +02:00
khalti 2e4a861e9c fix(person-funding): icon-only publication link + return to Förderungen
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-08-01 21:29:05 +02:00
Kazgatari 70e4ad71a6 adapted network graph to dark mode & added padding to trend pie chart
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-01 21:23:52 +02:00
Kazgatari dc27b49f63 changed style value for input fields. Avoids propblem of standard html color when no input is provided (e.g. Input field placeholder vanishes after clicking out, when clicking back inside, the color is static black) 2026-08-01 21:08:00 +02:00
khalti b8707c7619 Merge pull request 'refactor(person-funding, person-patents, institution-patents): match publication-table styling and pagination' (#256) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #256
2026-08-01 20:48:02 +02:00
Kazgatari b251abb79f adapted topic chip v2 (why do we have 2?) to be more intense in color and change the text in dark mode 2026-08-01 20:44:15 +02:00
khalti 14be6c1a6c refactor(person-funding, person-patents, institution-patents): match publication-table styling and pagination
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-01 20:40:02 +02:00
Kazgatari 7addfe2a71 added overide for angular material tooltip (did not work natively with dark mode) 2026-08-01 20:35:58 +02:00
Kazgatari 2474700473 refactored from legacy host binding to use modern @component (host: ) implementation 2026-08-01 20:35:21 +02:00
Kazgatari 0150f81a24 !!! Implemented big style changes to overall style.css for scroll bars and navigation tabs!!! + minor style changes for the author compare components to adapt in darkmode. 2026-08-01 20:14:29 +02:00
Kazgatari 8a801d0bb5 implement dynamic color changes for e-chart (test) 2026-08-01 19:31:47 +02:00
Kazgatari 496d2c88f0 more hardcoded changes 2026-08-01 19:31:23 +02:00
Kazgatari 9d8b287c13 reverted some color values because EChart breaks 2026-08-01 19:09:08 +02:00
Kazgatari 94e0cad2d0 revert soft colors 2026-08-01 18:20:47 +02:00
Kazgatari 8be123bf3a changed hardcoded values to theme 2026-08-01 18:00:21 +02:00
Kazgatari 570da1b47c changed more static hex colors to dynamic themed ones 2026-08-01 15:42:23 +02:00
Kazgatari 02dd286d55 replaced other hard coded values with theme 2026-08-01 15:28:50 +02:00
Kazgatari 58199760de smaller theme adaptions like shadows 2026-08-01 15:22:20 +02:00
Kazgatari 17b59213d3 changed static color to use dynamic theme 2026-08-01 15:12:59 +02:00
Kazgatari 06e2785914 changed static color to use dynamic theme 2026-08-01 15:12:48 +02:00
Kazgatari 0aea390e5e changed static color to use dynamic theme 2026-08-01 15:12:18 +02:00
Kazgatari c33a900c66 changed static color to use dynamic theme 2026-08-01 15:11:56 +02:00
Kazgatari f36e9a7d54 changed static color to use dynamic theme 2026-08-01 15:11:36 +02:00
Kazgatari 7259e3a0c0 changed static color to use dynamic theme 2026-08-01 15:11:04 +02:00
Kazgatari b0581ad452 changed static color to use dynamic theme 2026-08-01 15:10:41 +02:00
Kazgatari 813953f1f5 changed static colors to use new theme 2026-08-01 15:09:55 +02:00
Kazgatari 288b21d407 added proper color theme and services to inject based on system, dark, light mode 2026-08-01 15:08:30 +02:00
kuzko 01453f73dc Merge pull request 'refactor/trend_visual' (#255) from refactor/trend_visual into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #255
2026-08-01 13:05:15 +02:00
Kazgatari 410f1ade01 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into refactor/trend_visual
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-08-01 12:53:55 +02:00
Kazgatari 621a9dd2a1 fix: moved huggingface offline mode settings to base image, to prevent first call to fetch updates from huggingface
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-08-01 12:30:18 +02:00
genja 18b9b8bf67 Merge pull request 'feature/keywords-analysis: updated project tables, added authors to eu projects page, updated project funding retrieval' (#254) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #254
2026-08-01 02:17:46 +02:00
genja 3f1ea0a418 updated project funding resolvers to apply filters
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-08-01 01:58:19 +02:00
genja 211f7b82dc optimized funding data retrieval + added filters 2026-08-01 01:57:42 +02:00
genja 6675976feb Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-08-01 01:09:32 +02:00
Kazgatari 034d3ee453 style changes and removed last logs
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-31 16:56:32 +02:00
Kazgatari faa866f4e1 added exception handling 2026-07-31 16:04:14 +02:00
Kazgatari 9c3e36930c changed caching to Parameter Keyed caching. Rest is handled by resolver and e-tags
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-31 14:24:20 +02:00
Kazgatari d4daecd921 fix fuzzy / keyword names on chips 2026-07-31 14:08:24 +02:00
Kazgatari 9f10e9e7af fixed resolver issues, where fuzzy search would not display anything 2026-07-31 13:55:02 +02:00
Kazgatari fa9def349c fuzzy search does not work 2026-07-31 13:22:29 +02:00
tischer 4073214131 Merge pull request 'enforce_llm_response_schema' (#253) from enforce_llm_response_schema into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #253
2026-07-30 21:26:07 +02:00
Steven Tischer 03fac2a656 add LLM response schema to keyword extraction
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-30 21:15:37 +02:00
Steven Tischer a204584ddd implement LLM response schema validation for author bio generation 2026-07-30 21:04:09 +02:00
genja 25de01c7be regenerated models and services
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-30 01:30:44 +02:00
genja 176235689f removed unused imports 2026-07-30 01:30:30 +02:00
genja f27ee8b295 updated resolvers for projects fetching for institutions 2026-07-30 01:30:14 +02:00
genja 32616fe6aa old chips replaced for oa_topics and oa_authors 2026-07-30 01:24:30 +02:00
genja 9a5cb9e9b0 added oa_authors to eu cordis details page 2026-07-30 01:23:31 +02:00
genja d11869c70b inserted generic project tables to institute component 2026-07-30 01:22:56 +02:00
genja abb8c9dbb5 fxied bug with too many author results 2026-07-30 01:21:53 +02:00
genja b8442213f8 splitted logic for ROOT and underlying institute results into 2 separated entities 2026-07-30 01:21:40 +02:00
genja 0d19abb293 added corresponding oa_authors to each EU publication response 2026-07-30 01:19:57 +02:00
khalti 6ea3e79087 Merge pull request 'refactor(person-funding): reuse shared publication-detail page for 'Mehr Infos' instead of duplicated inline panel' (#252) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #252
2026-07-28 15:39:48 +02:00
khalti ba72b146a2 fix: resolve merge conflict with dev in person-funding.component.ts
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-28 15:35:09 +02:00
farajollahi 0f360c86b2 Merge pull request 'eu-top-authors' (#251) from eu-top-authors into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #251
2026-07-28 12:21:22 +02:00
farajollahi ecf7a6f905 Merge branch 'dev' into eu-top-authors
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-28 12:09:16 +02:00
farajollahi 345dffaa9b implement treemap
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-28 11:54:10 +02:00
farajollahi 7b912196e9 Merge pull request 'implement keyword select and dfg status diagramm' (#250) from dfg-status-dashboard into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #250
2026-07-28 11:06:24 +02:00
farajollahi 6e4742206f Merge branch 'dev' into dfg-status-dashboard
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-28 10:45:41 +02:00
farajollahi a28ecc9d02 implement keyword select and dfg status diagramm
LocationBasedServices/smartguide/pipeline/head Build started...
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-28 10:43:42 +02:00
genja 53397f844e Merge pull request 'feature/keywords-analysis' (#249) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #249
2026-07-28 10:09:56 +02:00
genja 818398ccda Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-28 10:08:48 +02:00
spsaefan a6c7068ca6 Merge branch 'global-time-filter' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
# Please enter a commit message to explain why this merge is necessary,
:wq
2026-07-28 09:31:03 +02:00
genja 4785bb4d40 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-28 09:19:31 +02:00
genja 1a9f9496fd date formatting for BUND details page fixed 2026-07-28 09:18:56 +02:00
genja 78f35daa58 fixed pagination options for project tables 2026-07-28 09:17:51 +02:00
Kazgatari b2e70c2bb3 fix: institution visisbility button & refactor ID type (full OpenAlex link vs ID) into parent component
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-28 09:11:40 +02:00
genja 3d8ceeb5b6 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-28 00:40:19 +02:00
genja 0b8540d70b regenerated services and models 2026-07-28 00:35:34 +02:00
genja e9ccfe6796 added BUND institutions resolver, BUND projects desolver adjusted for the new logic 2026-07-28 00:35:20 +02:00
genja e20f2732b3 minor UI fixes 2026-07-28 00:34:35 +02:00
genja 4da4ea1bff moved BUND projects out from person component to keywords search 2026-07-28 00:32:21 +02:00
genja 93ba39f9b0 fixed filters for BUND projects 2026-07-28 00:31:51 +02:00
genja 0642a3704d added new func for retrievingbund project by topic_ids 2026-07-28 00:31:30 +02:00
genja 57e1bafa8b added BUND institutions endpoint with autocomplete 2026-07-28 00:30:20 +02:00
genja 3d5eb524aa added Institutions filter and funding-type filter for BUND 2026-07-28 00:24:52 +02:00
genja c15afed0aa added funding type selector for BUND projects 2026-07-28 00:18:24 +02:00
genja b133ce80c9 added BUND institutions selector 2026-07-28 00:17:36 +02:00
Roman ae8332dc3d (dashboard) fix pytest
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-27 23:10:01 +02:00
Roman 026a35dd90 (work-classifications): show orientation scores for limited publication samples
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-27 21:58:55 +02:00
Roman 5fdc1cdce3 refactor(dashboard): use shared active institution membership query for person count
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-27 21:40:35 +02:00
Roman 02bb8b8fb8 (work-classifications): add research profiles to author comparison (ranking) 2026-07-27 21:23:53 +02:00
khalti 27f289f4a0 refactor(person-funding): reuse shared publication-detail page for 'Mehr Infos' instead of duplicated inline panel
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-27 21:22:49 +02:00
spsaefan 6af1747477 Add time filter UI
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-27 11:57:36 +02:00
spsaefan 401b82c226 Add global dashboard period state 2026-07-27 11:57:04 +02:00
spsaefan 9d128e18b6 Pass dashboard period to API 2026-07-27 11:56:45 +02:00
spsaefan a6a78bb556 Add time filter tests 2026-07-27 11:56:19 +02:00
spsaefan bc59c3f563 Support patent year filtering 2026-07-27 11:55:49 +02:00
spsaefan 8b7ac08192 Add dashboard time range filtering 2026-07-27 11:52:55 +02:00
Kazgatari 4fe78c2b88 made pie chart bigger and seperated header to properly resize
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-27 09:22:16 +02:00
genja 2e8dd00aa6 Merge pull request 'feature/keywords-analysis' (#247) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #247
2026-07-26 22:49:24 +02:00
genja 127eed5c49 regenerated services
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-26 22:41:38 +02:00
genja 7a84fc2b12 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-26 22:39:48 +02:00
genja 96e0925054 dfg tests adjusted 2026-07-26 22:36:36 +02:00
genja 730ee7f89a applied the new OpenAlex topics component for EU detail page 2026-07-26 21:55:48 +02:00
genja e62d1ca458 new ui component for displaying OpenAlex topics on project pages 2026-07-26 21:55:02 +02:00
genja 6bca5643ee added openalex topics and authors to EU details project page 2026-07-26 21:54:25 +02:00
genja db20b23ff3 reworked the dfg detail page for the new DFG data 2026-07-26 21:53:21 +02:00
genja 66f34668a9 added openalex topics to dfg detail page 2026-07-26 21:52:53 +02:00
genja ceadc26741 added openalex topics to bund detail page 2026-07-26 21:51:23 +02:00
genja 3a74dc9b7b created new DfgProjectsDetails model from the new DFG data models 2026-07-26 18:38:32 +02:00
genja 4a47d752cb removed unused components from uni-trend-parent component 2026-07-26 18:31:43 +02:00
Mats Paul Tončik 1bca6648bd Merge branch 'dev' into chips-and-tooltips
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-26 15:03:47 +02:00
Mats Paul Tončik af00bc4635 feat(publication-search): added publication card search and respective card
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-26 14:49:23 +02:00
Mats Paul Tončik def210b4b9 feat(topic): added topic detail page with publication table
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-26 13:15:29 +02:00
tischer 89bdab0a26 Merge pull request 'refactor/es_integration' (#246) from refactor/es_integration into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #246
2026-07-26 13:09:47 +02:00
Steven Tischer 448922d907 enable logging of Elasticsearch request timings
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-07-26 12:58:38 +02:00
Mats Paul Tončik 3ef8c28191 feat: added topics card search; dedicated chips, cards, and tooltips for authors, institutions, and topics
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-26 12:11:02 +02:00
genja 46aee46ea3 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-26 10:59:40 +02:00
Steven Tischer e57875d2a5 add logging for Elasticsearch request timings 2026-07-26 09:48:35 +02:00
Steven Tischer 28726cf4c7 add env value to enable logging of outgoing Elasticsearch queries 2026-07-26 09:43:39 +02:00
Steven Tischer b0e4ad639e centralize HTTP request handling 2026-07-26 09:34:02 +02:00
Steven Tischer 1810918e43 move headers to function 2026-07-26 09:22:50 +02:00
Mats Paul Tončik a736539851 feat(chips-and-tooltips): started adding reusable chips and tooltips
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-26 02:14:13 +02:00
erfanian 591233e255 Merge pull request 'Add DFG top authors to dashboard' (#245) from dfg-top-authors into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #245
2026-07-26 00:12:24 +02:00
spsaefan c2a2a31fb9 Merge dev into dfg PG authors
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-07-25 23:53:49 +02:00
Kazgatari d4a4bfa2c7 added optional parameters to topic chip to get the correct hue for hsl conversion (required by ECharts). Changed components to adapt the new color
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 23:26:08 +02:00
kuzko 3a127450e3 Merge pull request 'feature/Keyword_search_rework' (#244) from feature/Keyword_search_rework into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #244
2026-07-25 22:10:39 +02:00
Kazgatari c2f9a6381a Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-25 21:57:35 +02:00
Kazgatari 7adf12912f added resolver preloading and child component state management. (If something breaks in behavior, revert to this point) 2026-07-25 21:50:02 +02:00
Mats Paul Tončik 0b2b05ae85 fix(frontend/person): made tab labels and descriptions uniform
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 20:22:59 +02:00
Kazgatari 127c32dce7 patched missmatch inside news (openalex id vs name) 2026-07-25 20:05:00 +02:00
Kazgatari 652ff8db15 changed news trend search to use new index & added test for top 20 news search 2026-07-25 18:39:08 +02:00
Mats Paul Tončik 79c1076272 Merge remote-tracking branch 'origin/dev' into feat/collaboration-network-v2
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 18:07:09 +02:00
Mats Paul Tončik d29028a5bd fix(collaboration-graph-v2)removed deprecated service and models
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 17:52:26 +02:00
kuzko 8cba5387c7 Merge pull request 'feature/Keyword_search_rework' (#243) from feature/Keyword_search_rework into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #243
2026-07-25 16:05:44 +02:00
Kazgatari bdb546db12 added old evaluation of sentence transformer
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-25 15:52:17 +02:00
Kazgatari 59ed0ad1a4 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 15:29:02 +02:00
kallweit 3d57dda846 Merge pull request 'feature/preprocessing' (#242) from feature/preprocessing into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #242
2026-07-25 15:28:35 +02:00
Kazgatari 6cdf5f4704 removed old Visualisierung button
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 15:27:58 +02:00
Kazgatari 9f4bb77208 changed layout from 50/50 % to 30/70 2026-07-25 15:22:35 +02:00
Kazgatari aa05beb594 removed custom functions, used angular material native instead 2026-07-25 15:21:57 +02:00
kallweit 6c2e3fab04 Merge remote-tracking branch 'origin/dev' into feature/preprocessing
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 15:15:40 +02:00
Mats Paul Tončik be556f09ad fix(frontend/person-network): moved elements to grid with same gaps
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 15:05:26 +02:00
Kazgatari 2fc9722914 changed color for All view, adapted layout to use same distance between all components 2026-07-25 14:51:58 +02:00
Kazgatari 9e39650899 Changed layout of Country search compontnt to display list of results below the search bar. Sliglty adapted the css components of the institution,author and country selector to fit into into the same row 2026-07-25 14:50:35 +02:00
Mats Paul Tončik 1860e7c371 feat(collaboration-graph-v2): moved graph size validation to backend 2026-07-25 14:47:12 +02:00
kallweit e5283543a1 feat(news): store matched OpenAlex topics in 'aktuell_openalex_topics' index
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 13:48:57 +02:00
Mats Paul Tončik bf5d626209 fix(collaboration-graph-v2): reduced response size significantly (~/2) 2026-07-25 12:50:04 +02:00
Mats Paul Tončik 424649ecdc fix(collaboration-graph-v2): moved graph generation to background task 2026-07-25 12:10:41 +02:00
Kazgatari 11ac6525c1 moved row with filters up above all visuals. Implemented treemap for fuzzy search. adapted resolver
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-25 00:27:54 +02:00
Kazgatari 8a684c8b57 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework 2026-07-24 22:32:28 +02:00
farajollahi 4805fe9c3c Merge pull request 'fix-analyses-dashboard' (#241) from fix-analyses-dashboard into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #241
2026-07-24 21:07:04 +02:00
farajollahi d9e91eebe3 Merge branch 'dev' into fix-analyses-dashboard
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
# Conflicts:
#	webapp/src/app/modules/dashboard/dashboard.component.ts
2026-07-24 20:58:53 +02:00
farajollahi 537ab7adb5 fix components
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 20:56:01 +02:00
Kazgatari 90ec5c2c8d Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework 2026-07-24 16:55:47 +02:00
Kazgatari cbbcaa2325 rewrite projects to not use existing query that pull to much data and takes to long when not paginated 2026-07-24 16:55:28 +02:00
Mats Paul Tončik e6eabf08c9 feat(collaboration-graph): updated frontend view for graph, updated filters, and forms
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 16:53:23 +02:00
khalti 82800c95c2 Merge pull request 'ts-136-patent-to-researchers-v2' (#240) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #240
2026-07-24 16:46:08 +02:00
khalti ae8d01b5ce style(institution-patents): align filter dropdowns, overview stat colors, and match-type badge with the design used across other patent/funding views
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-24 16:39:54 +02:00
Kazgatari b616d061bb fixed top 20 projects year slider (forgot to add year in query) 2026-07-24 16:37:32 +02:00
genja 3a78519655 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 16:36:54 +02:00
genja c6de85d4a0 cache time increased up to 10 minutes 2026-07-24 16:35:26 +02:00
Kazgatari 71fe4a54e7 added aktuell & aktuell_postproc. Refactored string literals into constants and lists 2026-07-24 16:03:54 +02:00
Louis 02b498f829 fix(jobs): write a clear system log message when a run fails to pull or start
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 15:34:03 +02:00
Louis 18f661e3b4 docs(jobs): document the UI create/edit workflow
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 14:55:24 +02:00
Roman 8a61382cdd updated new work classification api in caching
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 14:41:57 +02:00
kallweit 22bfb2feba Merge branch 'feature/preprocessing' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/preprocessing
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 14:33:47 +02:00
kallweit 358a47bbf5 feat(jobs): remove individual demo image creation 2026-07-24 14:33:21 +02:00
Louis ceed96102f style(jobs): center and enlarge the health status dot
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 14:32:51 +02:00
Louis 467f40a625 feat(jobs): name job containers after the job instead of its id 2026-07-24 14:27:04 +02:00
genja bdf16de838 Merge pull request 'feature/keywords-analysis' (#239) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #239
2026-07-24 14:13:20 +02:00
Louis e8b5dcfd5b feat(jobs): fail the run when a registry image can't be pulled instead of using a local copy
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 14:12:22 +02:00
Louis f0caacd696 feat(jobs): show Nexus registry reachability next to the Docker daemon 2026-07-24 14:05:37 +02:00
genja 579f9f1baf table duplicated indexes fixed
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-24 14:04:52 +02:00
genja 4faed7aaf0 regenerated services 2026-07-24 14:04:37 +02:00
genja a686e6c1c3 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-24 13:55:15 +02:00
genja 2a2521b75f added alternative names search for dfg projects resolving(and dois workaround) 2026-07-24 13:54:23 +02:00
Mats Paul Tončik e7afd7e68a feat(service/collaboration-graph): created optimized v2 for collaboration graph generation 2026-07-24 13:35:48 +02:00
kuzko 59cba664e1 Merge pull request 'full refactor of trend logic, added multisearch and count method to general elastic tools, added tests for the other strategies' (#238) from feature/Keyword_search_rework into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #238
2026-07-24 13:23:46 +02:00
Louis 9d24c0a9bb fix(jobs): start the new-job image field empty instead of prefilled
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 13:20:12 +02:00
Kazgatari fd40ccc654 full refactor of trend logic, added multisearch and count method to general elastic tools, added tests for the other strategies
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-24 13:13:53 +02:00
khalti 7d695f8439 style(patents): unify filter chips, Förderübersicht design, and dropdown styling across patents/funding views, and fix adaptive EPO/USPTO pagination when one source has no hits for the selected date range
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 13:05:41 +02:00
spsaefan f25c5cd222 Link DFG top authors to person pages
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 11:32:14 +02:00
spsaefan 0b5c6bed37 Use DFG person IDs for project 2026-07-24 11:31:55 +02:00
spsaefan 2d485263d1 Improve DFG top author OpenAlex matching 2026-07-24 11:31:25 +02:00
Mats Paul Tončik a1670f9170 Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 11:19:48 +02:00
Mats Paul Tončik 4b57dea33a feat(work-classifications): made publication table work classifications optional based on using page 2026-07-24 10:46:47 +02:00
Roman 0aadbdbe7a feat(institution-membership): centralize institution-scoped access
LocationBasedServices/smartguide/pipeline/head This commit looks good
- add a shared institution membership query with all, exact-year, and from-year modes
- use the active membership cohort in the classifier, work classification access, person search, company connections, and author ranking
- derive restricted access from the effective institution of the authenticated organization
- make the company connections tab dynamically available and protect its backend endpoints
- standardize person-list URLs and active-membership filter defaults
- prevent caching of organization-dependent responses and refresh availability after organization changes
- remove legacy UDE-specific ranking logic, display-name compatibility queries, and unused institution lookup code
- update the work-classification metadata
2026-07-24 02:26:47 +02:00
genja 03fcd7879a Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-24 02:04:36 +02:00
genja d5cfb784c8 added first BUND filters 2026-07-24 02:02:52 +02:00
genja 10ceb60dce temrporart adjusted bund projects table at the institutes component for the new BUND proejct page model 2026-07-24 02:02:33 +02:00
genja 1a0d45f118 unified projects resolvers to one for each project type 2026-07-24 02:01:02 +02:00
genja f7bbf58135 regenerated models and services 2026-07-24 01:59:12 +02:00
genja cf1a55cd6b refactored projects backend endpoints an logic 2026-07-24 01:57:22 +02:00
genja 3a342961e2 create bund-projects component and table 2026-07-24 01:56:03 +02:00
kallweit 82d2c508b8 feat(jobs): add per-job dockerfiles and requirements and unify logging format
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-23 22:59:06 +02:00
kuzko e62226a0ff Merge pull request 'feature/Keyword_search_rework' (#237) from feature/Keyword_search_rework into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #237
2026-07-23 20:20:06 +02:00
Kazgatari 9533db313e added caching for projects
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-23 20:11:20 +02:00
Kazgatari f5f4fb7799 fixed projects top 20 bug 2026-07-23 20:00:32 +02:00
Kazgatari db2fb18e89 Changed other components to be dynamic as well 2026-07-23 19:52:53 +02:00
Kazgatari 5c4dbe602f removed year selector from resolver. Adapted child components to scale dynamically 2026-07-23 19:43:26 +02:00
Kazgatari d3686f9de9 added resolver and changed layout 2026-07-23 19:29:22 +02:00
Kazgatari 399ed285e2 implemented news query in backend 2026-07-23 19:24:14 +02:00
farajollahi 4d1f2e64d1 add new analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-23 17:54:09 +02:00
genja 00e5597b08 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-23 15:44:34 +02:00
Roman 8cec89ced4 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-23 15:34:31 +02:00
tischer d4557c6d7b Merge pull request 'refactor: update llm.call to async await for improved performance' (#236) from fix/bio into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #236
2026-07-23 14:25:44 +02:00
Steven Tischer daf71a6dae refactor: update llm.call to async await for improved performance
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-23 14:19:42 +02:00
kallweit ddbf000213 feat(jobs): fix table to not go out-of-bounds anymore during window resizing 2026-07-23 14:00:17 +02:00
genja 08e164211c moved "reset filters" button from filter selectors section, to active filters section
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-23 13:21:51 +02:00
genja 9dfba9f8c6 reworked enableTopicFilter logic 2026-07-23 13:20:49 +02:00
genja 68956dc52c added journal title instead of journal number to eu projects details table 2026-07-23 13:19:56 +02:00
genja 293a62d91c added tooltip for fuzzy search 2026-07-23 13:19:01 +02:00
Louis ee98b589c9 add Nexus registry credentials for job image listing
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-23 12:13:49 +02:00
Louis 4e0afc12ed feat(jobs): select image from a Nexus autocomplete 2026-07-23 12:03:33 +02:00
Louis fa68c338c2 pause polling and live ticker while no job is active 2026-07-23 11:59:46 +02:00
Louis 0712d3f3fa skip redundant initial task fetch 2026-07-23 11:21:41 +02:00
spsaefan 3d78ec900e Fix DFG top authors aggregation
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-23 01:06:44 +02:00
genja b6095188ac Merge pull request 'feature/keywords-analysis' (#235) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #235
2026-07-23 00:25:02 +02:00
genja 14e25a522c minor fixes
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-23 00:17:53 +02:00
genja 2f5ed6ad15 regenerated missing models
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-23 00:05:29 +02:00
genja a344c3f055 added log to frontend for EU projects 2026-07-23 00:04:32 +02:00
spsaefan fc134dad8e Update DFG project test
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-22 23:46:23 +02:00
genja 2ada70dc9a Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-22 23:43:32 +02:00
genja a103609485 new filters applied, table view fixed for EU Cordis projects 2026-07-22 23:42:50 +02:00
genja 387a7d8da0 cleaned components due to new resolving logic and new DFG and EU components 2026-07-22 23:42:24 +02:00
genja 2962b784ad added project type selector and institution selector for EU Cordis Projects 2026-07-22 23:41:27 +02:00
genja 2ca6f2ae39 outsourced dfg-projects content to new components 2026-07-22 23:40:59 +02:00
genja b2c6534c60 fixed bug with remaining filters on fuzzy search switching 2026-07-22 23:40:21 +02:00
genja b28271edf6 new EU cordis models and services 2026-07-22 23:39:43 +02:00
genja c3ec095ed1 added new resolvers for EU cordis autocompletion, projects retrieval, reworked routing logic for projects 2026-07-22 23:39:11 +02:00
genja f119de52d3 replaced hardcoded index names with values from global ENUM 2026-07-22 23:37:11 +02:00
genja 8d0a4f2e5a added EU cordis organizations autocompletion 2026-07-22 23:36:34 +02:00
genja 720e6f9612 added new endpoint for EU Cordis projects retrieval 2026-07-22 23:35:57 +02:00
spsaefan 59a1f765d0 Add DFG projects
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-22 23:14:05 +02:00
Roman 924405fc08 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into dev 2026-07-22 19:59:06 +02:00
Roman c02d2e4744 updated work-classification-script + small frontend fix 2026-07-22 19:58:20 +02:00
tischer 1b327ed4e1 Merge pull request 'feat/ranking' (#234) from feat/ranking into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #234
2026-07-22 19:57:35 +02:00
Steven Tischer 0d63b6a196 Merge branch 'dev' into feat/ranking
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-22 19:37:50 +02:00
Steven Tischer 44dd9524d9 add diagramms to compare topics from authors
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-22 19:01:39 +02:00
farajollahi 389523bb44 Merge dev into fix-analyses-dashboard
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-21 19:12:29 +02:00
farajollahi 908e28c731 implement dfg topics donutchart
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-21 19:04:28 +02:00
Louis 6cccd6d19f fix(jobs): keep last-run details on single lines
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-21 18:25:07 +02:00
Louis 16f7e665fe fix(jobs): keep cron expression on one line in schedule column 2026-07-21 18:19:07 +02:00
Louis e78b406d6d fix(jobs): only show enabled badge for scheduled jobs 2026-07-21 18:19:07 +02:00
Louis 292c02cac8 feat(jobs): allow renaming a job in the edit dialog 2026-07-21 18:18:53 +02:00
Louis ff322fc29b feat(jobs): show run duration and live elapsed time 2026-07-21 18:18:52 +02:00
Louis 1a01ff5198 fix(jobs): keep log scroll position on refresh 2026-07-21 18:18:52 +02:00
Louis c47d5ee170 fix(jobs): keep new-job button on one line, unclip name label, make command/image fields resizable 2026-07-21 18:18:51 +02:00
Louis afaa840d48 feat(jobs): add edit dialog with hover pencil in the name column 2026-07-21 18:18:35 +02:00
Louis fb44e9db3c style(background-jobs): trim Dockerfile comments 2026-07-21 18:18:32 +02:00
Louis 762e3f9a15 refactor(background-jobs): copy full script tree into image and move demo job 2026-07-21 18:18:32 +02:00
farajollahi 697dacea81 Replace treemap period options with year slider 2026-07-21 13:51:52 +02:00
genja 3b926837d8 adjusted legend visibility query params 2026-07-21 13:51:37 +02:00
genja ad83def6ab added new query param keys for legend visibility and expansion 2026-07-21 13:51:17 +02:00
genja 81b768b244 added topic legend to projects filters 2026-07-21 13:50:43 +02:00
genja 7e8b7eb2c0 removed sorting by fachliche zuordnung 2026-07-21 13:48:48 +02:00
farajollahi 0dd2023224 Restrict EU top authors to user institution
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-21 09:41:27 +02:00
farajollahi d4880b417b Align dashboard EU authors with person details 2026-07-21 09:33:18 +02:00
farajollahi a7ced052dd Verify EU author counts by unique project 2026-07-21 09:20:07 +02:00
Mats Paul Tončik e751e58fa7 feat(app-menu): added resolver state spinner for collapsed menu
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-21 08:24:34 +02:00
Louis 0b3be35885 feat(jobs): prefill default image and add field tooltips in create-dialog
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-21 06:24:58 +02:00
Louis 5323797c71 refactor(background-jobs): move image definition to service/scripts/jobs-image 2026-07-21 06:12:41 +02:00
Roman 19bc80134b Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-21 03:33:38 +02:00
Roman 82fe042b2b chore(work-classifications): add classification summary reports 2026-07-21 03:33:13 +02:00
Roman c368ea8f59 feat(work-classifications): add research profiles to publication details 2026-07-21 03:31:50 +02:00
farajollahi 9ac618ebec Revert "Align EU project author counts with person details"
This reverts commit 167913aa85.
2026-07-21 01:05:55 +02:00
farajollahi de6339586f Remove DFG top authors from dashboard 2026-07-21 00:59:34 +02:00
farajollahi 97c9e2eec3 Merge branch 'dev' into eu-top-authors
# Conflicts:
#	service/src/main/inse/dashboard/service.py
#	service/src/main/inse/dashboard/test_service.py
#	webapp/src/app/api/model/topAuthorStatistics.ts
2026-07-21 00:51:45 +02:00
farajollahi 167913aa85 Align EU project author counts with person details 2026-07-21 00:48:28 +02:00
kuzko 20f1de61b8 Merge pull request 'feature/Keyword_search_rework' (#233) from feature/Keyword_search_rework into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #233
2026-07-21 00:35:43 +02:00
kallweit 85e79aeb3e Merge branch 'feature/preprocessing' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/preprocessing
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-21 00:32:56 +02:00
kallweit 83ed0bcaee fix(jobs): don't count empty keyword extractions as successful 2026-07-21 00:29:59 +02:00
Kazgatari 5095f58c9a Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-21 00:28:39 +02:00
kallweit 807adbd6e4 feat(jobs): add news topic-mapping as background job 2026-07-21 00:28:18 +02:00
Kazgatari 75ae1acaf3 changed all components to be angular material 2026-07-21 00:26:11 +02:00
Kazgatari b9d0d4cbf3 added cosmetic disable for topic chips and disabled in trend, when no information available. Changed Patent logic to UDE vs World 2026-07-21 00:25:48 +02:00
farajollahi 18c9785325 change index
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-20 23:59:08 +02:00
genja 2067d9ab03 Merge pull request 'feature/keywords-analysis: added DFG data models, DFG projects table and filters, autocompletion for authors and institutes, moved logic to resolvers' (#232) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #232
2026-07-20 23:57:55 +02:00
genja 84c94d135d reduced scss file content
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-20 23:54:02 +02:00
kallweit 8db323d605 feat(news): store matched topics in aktuell_postproc and switch to topic batch mapping 2026-07-20 23:43:33 +02:00
genja 99944653a7 minor ui adjustmets for subject_classificaitons of dfg projects
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-20 23:41:54 +02:00
genja 213079e30d Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-20 23:27:49 +02:00
genja 98f04245f0 regenerated model and services 2026-07-20 23:27:12 +02:00
genja 8680b9e60e filters fixed 2026-07-20 23:27:03 +02:00
genja fbe2f787a7 moved fetching logic to resolvers 2026-07-20 23:26:48 +02:00
genja 5b3176dc6e added filters to projects table and project filters components 2026-07-20 23:25:31 +02:00
genja 2cbff8ea0e added funding_end, keywords, topic ids, fuzzy filters 2026-07-20 23:23:09 +02:00
genja ee85c99c2f fixed DFG index namings 2026-07-20 23:22:11 +02:00
genja b834c1e1d4 removed duplicate index names from global enum 2026-07-20 23:21:19 +02:00
khalti f342406402 fix(person-funding): color author-position stat boxes and filter chip by position.
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-20 22:52:43 +02:00
farajollahi f4e0888ce2 fix organsaition id
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-20 22:50:31 +02:00
Louis 712fcbb749 refactor(background-jobs): remove entrypoint.sh and discovery
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-20 22:17:52 +02:00
Louis cb5a887d12 docs(background-jobs): update readme 2026-07-20 22:17:37 +02:00
Louis 755f83f65a refactor(jobs): simplify create-dialog to free-text command 2026-07-20 22:17:35 +02:00
Louis 4bd4a015f1 refactor(jobs): remove job definition seeding 2026-07-20 22:17:31 +02:00
Mats Paul Tončik a5664e01fe feat(work-classifications): optimized aggregation retrieval, moved chart to own component, and added chart for institution publications
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-20 21:11:17 +02:00
spsaefan d3266ee50e Use EU project index for top authors
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-20 20:37:40 +02:00
Steven Tischer 6fdf007401 add industry collaboration metrics
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-20 18:50:54 +02:00
Steven Tischer 7b838bae80 add metrics: citations/avg_citations/max_citations/h_index/avg_fwci/first_year_pub/last_year_pub 2026-07-20 18:28:27 +02:00
farajollahi db3d984125 fix ui of treemap
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-20 17:33:09 +02:00
taguesokoudjou 2e0883edae feat(patents): add adaptive pagination for author patent search
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-20 17:06:12 +02:00
erfanian 9da17840ad Merge pull request 'Add multi-role tests' (#231) from test/multi-role into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #231
2026-07-20 15:10:59 +02:00
spsaefan 2bc29747b5 Add multi-role tests
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-20 14:48:25 +02:00
Steven Tischer 8becf406d6 switch from keywords to topics (backend supports both) 2026-07-20 14:07:58 +02:00
genja 0ff0298b99 Merge pull request 'feature/keywords-analysis' (#230) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #230
2026-07-20 01:30:11 +02:00
genja a224977a0d Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-20 01:23:45 +02:00
genja 83ffe6e3f7 regenerated models + services 2026-07-20 01:22:48 +02:00
genja 5aedb9d94f applied new projects filters 2026-07-20 01:22:36 +02:00
genja 8a51484352 adjustmets in frontend caused by new data models 2026-07-20 01:22:14 +02:00
genja 577cc8fe7a added resolvers for dfg authors and institutions filters 2026-07-20 01:20:56 +02:00
genja 373d0850a3 added 2 DFG projects selectors (will be reworked later) 2026-07-20 01:20:24 +02:00
genja 086915254c edited test for dfg search client 2026-07-20 01:19:15 +02:00
genja 83f3dc593d projects data models adjustments 2026-07-20 01:19:05 +02:00
genja 05929cf76a import paths fixed 2026-07-20 01:17:10 +02:00
genja a948182da5 added backed endpoints for DFG persons and institutions filters 2026-07-20 01:16:56 +02:00
kuzko 339523c268 Merge pull request 'feature/Keyword_search_rework' (#229) from feature/Keyword_search_rework into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #229
2026-07-20 01:10:02 +02:00
Kazgatari b7c8df4e89 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-19 20:27:45 +02:00
Kazgatari 2aea08ab31 fixed project pie chart for sure now 2026-07-19 20:26:14 +02:00
genja 571ecd5204 generated new pydantic models for DFG data(2)
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-19 20:19:21 +02:00
genja 03a5f188b2 generated new pydantic models for DFG data 2026-07-19 20:19:07 +02:00
Kazgatari 80ac59b496 fixed redirect url. Fixed top 20 project pie chart 2026-07-19 20:18:54 +02:00
genja 90d07b5ea1 change names matching to match_phrase 2026-07-19 20:17:50 +02:00
genja c1c27f5a95 Merge pull request 'feature/keywords-analysis' (#228) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #228
2026-07-19 19:17:50 +02:00
Kazgatari 616b83e546 Added default institution from token. Added button links depending on current tab. Changed top 10 to top 20 and added custom projects top 20 query for projects 2026-07-19 19:15:26 +02:00
genja b9891ea709 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-19 19:14:07 +02:00
Kazgatari ebb986b225 added additional comparison fields in dfg projects 2026-07-19 19:12:23 +02:00
genja 7f71c976bb adjusting logic for DFG projects for new indexes 2026-07-19 18:43:19 +02:00
genja 8e352dfbb2 added project filters and tables components (DFG and EU) 2026-07-19 18:41:54 +02:00
Steven Tischer 225c0b9209 add keyword relevance metrics
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-19 17:56:14 +02:00
Steven Tischer b7884f26bb add fwci_above_one_count to AuthorTopicStats 2026-07-19 17:42:30 +02:00
Steven Tischer 499564148e add author positions
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-19 17:32:34 +02:00
Steven Tischer ea131c9780 add static author-level stats (Gründungen/News/Patente) 2026-07-19 17:20:57 +02:00
Steven Tischer 8d4fb333a2 remove unused "things" 2026-07-19 17:03:55 +02:00
Steven Tischer 504809e473 add new endpoint for section to frontend 2026-07-19 16:55:37 +02:00
Steven Tischer aead21ceb2 add single endpoint for stats (section 1) 2026-07-19 16:51:27 +02:00
Steven Tischer 129142dfba move company filter to weights section 2026-07-19 16:19:45 +02:00
Steven Tischer d762b6c707 add filter to connect keywords with and/or 2026-07-19 16:14:51 +02:00
taguesokoudjou f9b63977ff Reduce false patent matches for ambiguous authors.
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-19 15:58:46 +02:00
Mats Paul Tončik 0a97b3797e feat(works-v2): optimized and documented works v2 service
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-19 15:17:57 +02:00
taguesokoudjou b5d4e5a3c7 Merge branch 'ts-136-patent-to-researchers-v2' of https://project.nes.uni-due.de/gitea/lbs/smartguide into ts-136-patent-to-researchers-v2
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-19 13:29:32 +02:00
taguesokoudjou cfc2c29994 Include CPC subclass-field main groups in IPC fetch and lookup.
Reads cpc_subclass_* as group-level symbols (e.g. H01M8/00) so descriptions and OpenAlex topic mappings cover the previously missing */00 codes.
2026-07-19 13:29:02 +02:00
Mats Paul Tončik d1490dceb0 fix: fixed patent level and mapping status model
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-19 13:02:00 +02:00
Mats Paul Tončik 5a47d9bb52 Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-19 12:52:14 +02:00
Mats Paul Tončik 716b5b11d6 feat(work-classifications): restricted classification retrieval to own institution and added classification indicator to publication detail 2026-07-19 12:49:56 +02:00
khalti abb792e3cd Merge pull request 'style(person-funding): switch position filter to dropdown to match patents view' (#227) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #227
2026-07-18 20:35:15 +02:00
khalti c8b7a8f173 style(person-funding): switch position filter to dropdown to match patents view
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-18 20:30:52 +02:00
khalti 1f95e5dae1 Merge pull request 'ts-136-patent-to-researchers-v2' (#224) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #224
2026-07-18 20:21:35 +02:00
genja 9e48cc1641 regenerated service
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-18 20:18:06 +02:00
genja b1aa10109c changed query param for selected topic mapping 2026-07-18 20:17:57 +02:00
khalti f58b26600d Merge remote-tracking branch 'origin/dev' into ts-136-patent-to-researchers-v2
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
# Conflicts:
#	webapp/src/app/api/model/patentsByKeywordsResponse.ts
#	webapp/src/app/modules/keywords-search/patent-search.utils.ts
2026-07-18 20:15:02 +02:00
khalti c4d828ce6d fix(patents): restore match-score/keyword/ipc stats in patent list alongside new fields
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-18 20:09:39 +02:00
khalti 2834cbd4de fix(patents): align generated model formatting with dev to reduce merge conflicts
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-18 20:00:34 +02:00
genja c377c8cacd Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-18 19:53:30 +02:00
Steven Tischer 05f5bf1ce2 add patente to weights
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-18 16:11:57 +02:00
Steven Tischer ad16c95466 add news to weights 2026-07-18 15:54:14 +02:00
Steven Tischer 9987266860 remove unused functions
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-18 15:13:32 +02:00
Steven Tischer 925a01e6a4 add career stage filter (use index multiplicators_v1) 2026-07-18 15:11:26 +02:00
Steven Tischer c203a31842 reuse person search logic to get only ude autors 2026-07-18 14:17:43 +02:00
kuzko 4ac8118e92 Merge pull request 'feature/Keyword_search_rework' (#226) from feature/Keyword_search_rework into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #226
2026-07-17 22:12:17 +02:00
Kazgatari c4f6759790 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-17 21:52:31 +02:00
Kazgatari efa43910c1 changed trend to query directly for institution first 2026-07-17 21:51:51 +02:00
Roman ccf230756e work-classification pipeline final
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 20:47:28 +02:00
Kazgatari ff370d49c8 added all new indicies, changed dfg models and query 2026-07-17 20:33:41 +02:00
Steven Tischer 246e523234 add filter section with reset functionality for publication types/timespan/company 2026-07-17 20:20:19 +02:00
Steven Tischer 0ca9e034b4 Merge branch 'dev' into feat/ranking 2026-07-17 20:03:28 +02:00
tischer c58ae13484 Merge pull request 'fix/blocking_bio' (#225) from fix/blocking_bio into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #225
2026-07-17 19:57:20 +02:00
Kazgatari 5c0f6929bf regenerate frontend 2026-07-17 19:49:34 +02:00
Steven Tischer 9a919a8a75 Merge branch 'dev' into fix/blocking_bio
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-17 19:47:28 +02:00
Steven Tischer a4f0a711a8 add company filter 2026-07-17 19:42:41 +02:00
Kazgatari 281c389872 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework 2026-07-17 19:17:16 +02:00
khaltiandClaude Sonnet 5 8a469a73bf fix(patents): drop CPC/IPC topic corroboration from org_patents matching, keeping only the institution-or-personal-assignee identity check
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-17 18:11:27 +02:00
khaltiandClaude Sonnet 5 970486d860 feat(institutions): only show the Patente tab/action once org_patents actually has indexed data for that institution
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-17 17:24:41 +02:00
khaltiandClaude Sonnet 5 df9c102e54 fix(patents): color IPC/CPC classification section chips by a fixed per-section hue instead of hashing the raw section title
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-17 17:24:41 +02:00
Steven Tischer b636c0323c add table to compare authors 2026-07-17 16:09:07 +02:00
Louis 55d0b7918f Merge remote-tracking branch 'origin/dev' into feature/preprocessing
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 15:34:47 +02:00
Steven Tischer 0cc22dc109 Add companies count and weighting to ranking metrics 2026-07-17 15:27:06 +02:00
Steven Tischer 67dbc2a833 Add company counts to author ranking and enhance search client for bulk queries 2026-07-17 15:26:41 +02:00
genja 025a61dc13 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-17 15:15:57 +02:00
genja e702ada559 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-17 15:15:09 +02:00
genja 715f775071 used generic publication-table component for keyword-search 2026-07-17 15:14:59 +02:00
genja 272979cd58 addet topicFilterEnabled flag 2026-07-17 15:13:22 +02:00
Mats Paul Tončik 7bf2b57b95 fix(works_v2): fixed endpoint typo
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 15:01:16 +02:00
Mats Paul Tončik a0628121a3 feat(publication-table): added work classification as column
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 14:58:09 +02:00
Louis b22f16809d feat(jobs): add job deletion with confirmation
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 14:45:46 +02:00
Louis b9c4067250 fix(jobs): display UTC timestamps in local time
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 14:35:20 +02:00
Mats Paul Tončik 377e75f89d fix(work-classifications): adapted to new elasticsearch index schema 2026-07-17 14:20:25 +02:00
Louis 90860230f4 feat(jobs): add user-friendly scheduling presets with advanced cron support
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 14:18:28 +02:00
Louis d005162a80 fix(jobs): auto-refresh logs and improve job table layout 2026-07-17 13:54:59 +02:00
Kazgatari c242dafd92 fixed dfg search
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 13:54:28 +02:00
Kazgatari 67eee2913e adapted trend to get dfg and better search for Keywords 2026-07-17 13:41:07 +02:00
Louis 0f65a0f589 fix(jobs): make container runs and logs consistent 2026-07-17 13:38:58 +02:00
spsaefan 410bcdec4b Use OpenAlex IDs for EU authors
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 13:32:59 +02:00
Steven Tischer a3646beb1b fix blocking bio on person page
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 12:44:37 +02:00
taguesokoudjou afeff33ea7 Add labeled presentation goldset and IPC eval tooling for fuel-cell and speech-recognition.
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 12:22:25 +02:00
genja 28c00b42e4 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-17 12:01:13 +02:00
Mats Paul Tončik 1748e0a51a Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 11:55:20 +02:00
Mats Paul Tončik 51a8d3db71 feat(publications): added generic components for searchable selection of years, work_types, languages, authors, institutions, and topics 2026-07-17 11:55:14 +02:00
genja 06f61c18dd Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-17 11:14:58 +02:00
taguesokoudjou a25b2ce248 feat(keywords): IPC clustering
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 10:08:29 +02:00
Roman f5ad24f83a classification-pipeline
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 09:38:09 +02:00
kallweit b39daba561 feat(jobs): add stop button
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-17 00:50:07 +02:00
kallweit 53155d4e53 feat(logs): add run dropdown, visible scrollbar and download button 2026-07-17 00:30:33 +02:00
khalti 8589bc6084 Merge pull request 'fix(patents): fix moved script's path resolution and stop gating org_patents identity checks behind the now-loosened is_ambiguous_name so a locally-unique name can't bypass institution/topic verification' (#223) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #223
2026-07-17 00:07:25 +02:00
khaltiandClaude Sonnet 5 807a32eb5a fix(patents): fix moved script's path resolution and stop gating org_patents identity checks behind the now-loosened is_ambiguous_name so a locally-unique name can't bypass institution/topic verification
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-17 00:03:18 +02:00
kallweit 8583f6622e feat(jobs): cap logs at last 200 lines 2026-07-16 23:16:55 +02:00
khalti af5dd299e0 Merge pull request 'ts-136-patent-to-researchers-v2' (#219) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #219
2026-07-16 22:47:52 +02:00
khalti b0eab84000 Merge branch 'ts-136-patent-to-researchers-v2' of https://project.nes.uni-due.de/gitea/lbs/smartguide into ts-136-patent-to-researchers-v2
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-16 22:41:03 +02:00
genja e6493b9f22 fixed duplicated key warning in @for statement
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-16 22:38:27 +02:00
genja ae52ad2a0f publications table replaced with reusable publications table 2026-07-16 22:37:55 +02:00
genja 45aad0c49e also pass topicIds in queryParams 2026-07-16 22:37:20 +02:00
genja 6a94153b22 updated publications fetching logic 2026-07-16 22:36:26 +02:00
khaltiandClaude Sonnet 5 f813314d83 fix(patents): require topic corroboration for ambiguous-name matches beyond institution assignee, and tighten given-name comparison to stop cross-matching different people who share one common name component
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-16 22:27:30 +02:00
kallweit 93481bf9c5 feat(jobs): authenticate registry image pulls 2026-07-16 22:22:11 +02:00
kallweit a76789f34b fix(config): load .env relative to config.py 2026-07-16 22:21:04 +02:00
Steven Tischer e09a55fb52 Add publication types and timespan filters to ranking queries and requests
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-16 21:38:35 +02:00
Steven Tischer ede9290643 Add publication type filter
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-16 21:18:44 +02:00
Steven Tischer 53d19e5b72 Refactor weights sliders component 2026-07-16 21:04:48 +02:00
Steven Tischer 3609376c78 Implement pagination for author list in persons results 2026-07-16 20:58:55 +02:00
Steven Tischer afd45a98bd Fix typescript compilation errors after merge 2026-07-16 20:53:09 +02:00
Steven Tischer 032e0a1a06 Merge branch 'dev' into feat/ranking 2026-07-16 20:49:26 +02:00
kallweit 2566fa9208 feat(jobs): add news-crawler, bund-crawler and topic-mapper jobs 2026-07-16 20:41:42 +02:00
Steven Tischer a47f50bd06 update weight slider UI
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-16 20:39:26 +02:00
Steven Tischer 5fa728b3a1 add 95th percentile to scoring 2026-07-16 20:28:43 +02:00
arzani 0566ebbd93 Merge pull request 'dfg compatible, added experiment logs of multipliers' (#222) from job-bund-topic-matching into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #222
2026-07-16 19:43:37 +02:00
arzani 81527a9d8d dfg compatible, added experiment logs of multipliers
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-07-16 19:35:28 +02:00
Kazgatari c7413c7088 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework 2026-07-16 19:09:26 +02:00
Kazgatari a6dc55a44d evaluation for topic index keywords & keyword index matching
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-16 19:07:57 +02:00
Kazgatari ab14d3e9ae propper implementation of trend_patents using existing patent api 2026-07-16 19:04:48 +02:00
Mats Paul Tončik 7829d9cf79 feat(institutions&projects): added selected filter indicator to card search
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-16 16:01:57 +02:00
Mats Paul Tončik 7efec21435 feat(institution/publications): added institution publication table
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-16 15:53:23 +02:00
genja 03627bdb00 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-16 14:26:37 +02:00
taguesokoudjou db89618d4d Merge branch 'dev' into ts-136-patent-to-researchers-v2
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-16 13:44:48 +02:00
taguesokoudjou 538d73c1b1 Improve patent loading UI
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-16 13:34:28 +02:00
Mats Paul Tončik 4e9d0eace8 Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-16 13:16:30 +02:00
genja f4d43db325 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-16 13:13:01 +02:00
Mats Paul Tončik 22b10c7cee feat(publications): moved publications table as well as active filters to each own component 2026-07-16 13:11:42 +02:00
Louis e92b450e5b backgroundjobs: add demo jobs at startup
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-15 23:57:43 +02:00
Louis 5d72140758 backgroundjobs: pull job image from registry before each run
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-15 23:50:27 +02:00
Kazgatari 63865efe84 fixed code artifact 2026-07-15 23:41:57 +02:00
Kazgatari 3d0377adff added resolver, fixed keyword mapping and visual layout bug 2026-07-15 23:37:39 +02:00
Louis bee19dfa39 backgroundjobs: let superadmins define image, command and env per job 2026-07-15 20:49:57 +02:00
taguesokoudjou 4e8e744fc5 fix(webapp): use KeywordsService for patent keyword search after dev merge
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-15 14:25:53 +02:00
taguesokoudjou 75c0638df5 resolve keywords-search patent UI conflicts
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-15 14:20:27 +02:00
taguesokoudjou 9254dcf115 fix(patents): disambiguate author patents with patents_openalex_keywords index
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-15 13:29:08 +02:00
khaltiandClaude Sonnet 5 86d65b2d5a feat(patents): corroborate ambiguous inventor-name matches via shared OpenAlex topics
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-15 11:12:58 +02:00
Kazgatari 162aa1301d added queries for patents and projects 2026-07-14 23:19:47 +02:00
Kazgatari e1e9ffa8ec added queries for patents and projects 2026-07-14 23:19:05 +02:00
Louis c5523bf63f Merge pull request 'analysis/researcher-career-stage' (#221) from analysis/researcher-career-stage into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #221
2026-07-14 21:18:08 +02:00
Louis 1b375b84b4 Merge remote-tracking branch 'origin/dev' into analysis/researcher-career-stage
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-14 21:10:17 +02:00
Louis 56b4b1726d Merge pull request 'publications-and-topics' (#220) from publications-and-topics into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #220
2026-07-14 21:04:11 +02:00
Louis 3895acc057 fix(person/publications): restore column dividers and centering in publications table
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-14 20:54:55 +02:00
khaltiandClaude Sonnet 5 8c981be503 fix(patents): fix broken ES doc lookup for slash-containing ids and batch resolver requests to avoid 10k result-window errors
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-14 20:36:48 +02:00
genja a20759903e embedded the app-table component inplace of old tables
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-14 19:56:25 +02:00
genja 912023aa8c applied new patents matching (EU to EPO/USPTO) 2026-07-14 19:51:55 +02:00
Louis 843b555a11 fix(person/publications): restore open-institution shortcut on table institution tags 2026-07-14 19:45:00 +02:00
Louis 6860d820ce docs(analysis): move career stage analysis into career_stage/ and add README
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-14 19:05:32 +02:00
Louis 3b4d0b3339 allow superadmins to create and delete whitelisted job schedules
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-14 19:04:59 +02:00
Louis e5f28f2143 add short demo jobs for demos and parallel testing 2026-07-14 19:04:59 +02:00
kallweit 069566d71d feat(jobs): rename 'preprocessing' to 'jobs', wire-up backend to frontend 2026-07-14 19:04:59 +02:00
Louis 07278b3f65 add generated background jobs api client 2026-07-14 19:04:59 +02:00
Louis 3684a5acf5 mount docker socket in serve task for job runner 2026-07-14 19:02:40 +02:00
Louis 5ce97e6854 add superadmin background job endpoints and scheduler 2026-07-14 19:02:40 +02:00
Louis 8bb0cf18ad add docker job runner and scheduler 2026-07-14 19:02:40 +02:00
Louis 19933d69b6 add background job definition and run tables with seeding 2026-07-14 19:02:40 +02:00
Louis 9aeb8171a7 rename preprocessing worker folder to background-jobs 2026-07-14 19:02:40 +02:00
kallweit f4542d21b8 feat(preprocessing): revert login bypass 2026-07-14 19:02:40 +02:00
kallweit 532c94b00b feat(preprocessing): add first version of preprocessing, dockerize news job processing 2026-07-14 19:02:40 +02:00
kallweit 5d1d62acb8 feat(preprocessing): initial mock page for preprocessing 2026-07-14 19:02:40 +02:00
Louis 9b8ee474c2 fix(branch): reset everything outside analysis/ to origin/dev state 2026-07-14 18:56:21 +02:00
arzani 2b23bb7027 Merge branch 'job-bund-topic-matching' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-14 16:36:39 +02:00
arzani e87c62f823 offline crawling scripts for news, bund amd postproc for projects, reworked structure
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-14 16:30:01 +02:00
genja efca552861 added patents matching experiment to evaluations section 2026-07-14 13:43:27 +02:00
genja 7c136074b2 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-14 13:25:16 +02:00
genja ec78bdb1f3 code cleaned, minor bugfixing 2026-07-14 13:24:46 +02:00
genja 8f1462cecc added stub publications by keywords component 2026-07-14 13:24:12 +02:00
genja b19928c7a1 added stub publications by keywords endpoint 2026-07-14 13:23:01 +02:00
farajollahi dfdc35ad81 fix treemap
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-14 13:09:45 +02:00
Mats Paul Tončik e1d0fe9229 feat(work-purposes): added not classified as option 2026-07-14 11:05:06 +02:00
Mats Paul Tončik 37497808e5 fix(person/projects): changed to proper resolver
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-14 10:32:57 +02:00
Mats Paul Tončik ddc1e9ae01 feat(auth): added generic role guard
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-14 09:49:36 +02:00
spsaefan 2d5928e667 Fix user role label
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-14 09:24:55 +02:00
Mats Paul Tončik f973537738 Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-14 09:06:48 +02:00
Mats Paul Tončik b524d75f22 fix(frontend/person/publications): fixed institution expansion toggle in table 2026-07-14 09:06:29 +02:00
Roman d2dec7c6ee work-classifications
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-14 00:12:31 +02:00
erfanian 60d8ab805d Merge pull request 'Fix manager access to accounts page' (#217) from fix/manager-accounts into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Fix manager access to accounts page
2026-07-13 23:33:04 +02:00
spsaefan ed7ab50b7a Allow managers to load own organization
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-07-13 23:18:53 +02:00
taguesokoudjou 1a2b1a1970 feat(keywords): show ranked patent matches with adjustable IPC/topic/text weights
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-13 23:03:42 +02:00
arzani a0ef884ca3 Merge pull request 'job for matching projects to openalex topics, can be used for bund, eu and eventually dfg' (#216) from job-bund-topic-matching into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #216
2026-07-13 22:14:04 +02:00
arzani 54696df912 job for matching projects to openalex topics, can be used for bund, eu and eventually dfg
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-13 22:11:41 +02:00
kuzko 58530d40d6 Merge pull request 'feature/Keyword_search_rework' (#215) from feature/Keyword_search_rework into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #215
2026-07-13 18:28:54 +02:00
Kazgatari e9d268ff9f added alternative names to searches
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-13 18:18:32 +02:00
Kazgatari 6627651ae0 fixed initial word to Topic mapping and search 2026-07-13 17:57:50 +02:00
Kazgatari 31253ff03b regenerated frontend 2026-07-13 17:40:28 +02:00
Kazgatari b983a01174 adapted to use fuzzy everywhere 2026-07-13 17:06:10 +02:00
Kazgatari 497575c2a6 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/Keyword_search_rework 2026-07-13 16:45:56 +02:00
Kazgatari 01a37e2ea7 added comment to indicate unfinished parts 2026-07-13 16:25:48 +02:00
Kazgatari 0915019315 changed search to find keywords in abstract, title, keywords. Refactored to remove the visualization button and implemented own route and tab inside Suche 2026-07-13 16:01:57 +02:00
Kazgatari 605ffc1fff removed Pi chart style from global style sheet to actual buttons 2026-07-13 15:59:58 +02:00
genja ba3421983f Merge pull request 'feature/keywords-analysis' (#214) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #214
2026-07-13 15:43:38 +02:00
genja 58177a5374 removed fuzzy search toggle from keyword extraction component to seach results component
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-13 15:37:28 +02:00
genja 9f0e5a5085 renamed "softSearch" to "fuzzy" 2026-07-13 15:37:06 +02:00
genja 60ff521061 removed unused function 2026-07-13 15:35:07 +02:00
genja 44e950161f Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-13 13:23:39 +02:00
genja 1b85ea7241 fixed caching: added excluded paths (auth) and excluded POST paths (opt). Added raw Bearer token to ETag key computation
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-13 13:20:55 +02:00
genja fe39ca2bf5 reduced cache time to 2 minutes 2026-07-13 13:19:03 +02:00
Mats Paul Tončik 8601024d26 feat(work-purposes): integrated real index for retrieval
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-13 13:12:52 +02:00
Kazgatari df56af976c regenerated services 2026-07-13 13:04:07 +02:00
Kazgatari 57c88e1de5 adapted front and backend to also search for top 10 topic in works* as second pie chart 2026-07-13 13:03:43 +02:00
genja e8153a9440 fixed "edit keywords" button with perserving query params 2026-07-13 12:52:31 +02:00
Kazgatari 638b036ebf put pie chart style into general style.scss for now 2026-07-13 12:15:17 +02:00
Kazgatari 0fd028c6cb added pie chart for authors and institutions 2026-07-13 12:14:42 +02:00
Kazgatari c2942906db added unnecessary author ID checking (refactor complete project later to use the same represenation everywhere pls) & changed backend to make additional query 2026-07-13 12:14:00 +02:00
erfanian de7e8f6328 Merge pull request 'Support multiple roles per account' (#213) from account-multi-roles into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Support multiple roles per account
2026-07-13 11:07:42 +02:00
spsaefan 1e8e82f1d9 Support multiple roles in account UI
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-13 11:03:57 +02:00
spsaefan 13507c2ae8 Support multiple roles in account services 2026-07-13 11:03:57 +02:00
spsaefan 1c535a872f Add multi-role account 2026-07-13 11:03:57 +02:00
Kazgatari 4e66e581e1 Strategy pattern in backend (mock for patent and projects for now) 2026-07-13 10:31:20 +02:00
Kazgatari 2bacb8e0f9 changed filter to should in query 2026-07-13 10:30:38 +02:00
Kazgatari 464bacffdc changed author and topic filter 2026-07-13 10:29:42 +02:00
Steven Tischer 9b046325c0 add AuthorImpactStats interface for author citation metrics
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-13 08:18:27 +02:00
Steven Tischer 8f65cd78ba add corresponding authors feature with query and visualization 2026-07-13 08:17:25 +02:00
Steven Tischer 7775400a3f add author comparison feature with yearly works visualization 2026-07-13 07:19:33 +02:00
Mats Paul Tončik baf5b17239 Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-12 23:47:09 +02:00
Mats Paul Tončik fa5e42a5eb fix(person/publications): made URL stateful and moved retrieval logic to resolvers 2026-07-12 23:39:25 +02:00
farajollahi 304ce0f1ab Merge pull request 'remove dfg projects analyse' (#211) from dfg-projects-analyse into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #211
2026-07-12 21:04:45 +02:00
farajollahi 92e32cd79e Merge branch 'dev' into dfg-projects-analyse
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-12 20:59:36 +02:00
farajollahi acad12bf27 remove dfg projects analyse
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-12 20:32:01 +02:00
farajollahi 3fa6f1dd6e Merge pull request 'fix dfg projects analyse' (#210) from dfg-projects-analyse into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #210
2026-07-12 20:20:07 +02:00
farajollahi f20be8aa63 fix dfg projects analyse
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-07-12 18:32:04 +02:00
Steven Tischer 64ccedf44d feat: implement yearly works query and endpoint for selected authors 2026-07-12 17:06:52 +02:00
Steven Tischer 21ea772656 filter authors by "last"_known_institutions 2026-07-12 16:51:20 +02:00
genja 0f3388d290 Merge pull request 'feature/keywords-analysis' (#209) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #209
2026-07-12 16:32:28 +02:00
genja 2e855dcf7b removed commented sections, cleaned log outputs
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-12 16:30:44 +02:00
genja 680d2924ee Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keyword-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-12 16:25:12 +02:00
genja ace2a6bba3 added tooltips, snackbar messages 2026-07-12 16:23:19 +02:00
genja 6dfec1cfd4 updated keywords extraction logic for accepting pdfs 2026-07-12 16:22:43 +02:00
Steven Tischer d16b1544b9 add silder for relevant years 2026-07-12 14:19:37 +02:00
Steven Tischer afe3038dce frontend: show author list 2026-07-12 13:58:18 +02:00
farajollahi 4568669d53 Merge pull request 'bookmark-Authors' (#208) from bookmark-Authors into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #208
2026-07-12 13:42:42 +02:00
farajollahi e162ec1cac Merge branch 'dev' into bookmark-Authors
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-12 13:35:35 +02:00
farajollahi 4027728626 Merge pull request 'dashboard-statics' (#207) from dashboard-statics into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #207
2026-07-12 13:33:11 +02:00
farajollahi 1fc64c9c21 Merge branch 'dev' into dashboard-statics
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-12 13:26:15 +02:00
Steven Tischer 13c6e76e59 Merge branch 'dev' into feat/ranking 2026-07-12 13:24:05 +02:00
farajollahi 85610215b5 fix styles
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-12 13:23:00 +02:00
Steven Tischer b2faa2bc98 add pandas dependency and implement normalization for author scores
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-12 13:22:59 +02:00
farajollahi c12393a906 bookmark authors
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-12 13:12:57 +02:00
Steven Tischer e5f48457d2 refactor: process ranking in backend instead es and improve query performance 2026-07-12 09:50:26 +02:00
Mats Paul Tončik 9cf6348f55 Merge remote-tracking branch 'origin/dev' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-11 23:32:09 +02:00
farajollahi fafd5018bd implement charts
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-11 22:15:44 +02:00
khalti f1ff7c9f66 Merge pull request 'perf(patents): batch OpenAlex topic lookups into a single request per page, cutting endpoint latency from ~4-8s to ~0.6-1.1s' (#206) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-11 21:53:23 +02:00
khalti b3af72a6ae perf(patents): batch OpenAlex topic lookups into a single request per page, cutting endpoint latency from ~4-8s to ~0.6-1.1s
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-07-11 21:49:53 +02:00
Mats Paul Tončik 7f02de2194 Merge branch 'dev' into work-purpose 2026-07-11 21:30:42 +02:00
Mats Paul Tončik 5f71a4b56c Merge remote-tracking branch 'origin/dev' into work-purpose
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-11 21:16:58 +02:00
khalti 390e1049b8 Merge pull request 'feat(patents): color OpenAlex topic and IPC/CPC classification tags by academic field, reusing the existing topic-chip color palette' (#205) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #205
2026-07-11 20:55:08 +02:00
khalti 34b01f2ae8 feat(patents): color OpenAlex topic and IPC/CPC classification tags by academic field, reusing the existing topic-chip color palette
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-07-11 20:50:31 +02:00
khalti 6360e86179 Merge pull request 'ts-136-patent-to-researchers-v2' (#172) from ts-136-patent-to-researchers-v2 into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #172
2026-07-11 20:17:11 +02:00
khaltiandClaude Sonnet 5 2427f4baa0 feat(patents): show OpenAlex topic labels for patent IPC/CPC codes
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
Enriches patents with matched OpenAlex topic names from
patents_openalex_keywords, shown alongside classifications on the
patent detail page. Also fixes lookup() using a broken GET on doc ids
containing "/" (400 from the gateway) by switching to a _search with
an ids query.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-11 11:39:45 +02:00
Roman 0e7bc41522 fix institutions_search and institution_filter
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-10 19:07:54 +02:00
Mats Paul Tončik 77c7eeef8b fix(person/publications): changed publications to generic data table
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-10 17:02:19 +02:00
Mats Paul Tončik 5b894d8927 fix(person/publications): moved work purposes and publications table to new expansion panel 2026-07-10 15:23:56 +02:00
Mats Paul Tončik b352e5288a feat(frontend/work-purpose): added work purpose bar chart for author publications 2026-07-10 14:58:46 +02:00
Louis 7bbfe1761d reduce publications: reduce .scss below budget
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-10 14:08:20 +02:00
Louis 09cb54109a person: remove dummy contact data in profile header 2026-07-10 13:52:29 +02:00
Kazgatari bfa91a684e changed year slider to provide final value instead of updating everything on the way. Fixed parent component to not call api on change if information is already available 2026-07-10 13:52:26 +02:00
Louis 010e1c7f21 publications: sort author publications by citations or year
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-10 13:43:08 +02:00
taguesokoudjou f5bf3ecbe4 feat(keywords): show patents for extracted keywords
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-10 13:26:23 +02:00
Louis d1802fa1f8 publication detail: paginate authors and institutions lists 2026-07-10 13:12:27 +02:00
Kazgatari 1980bde9ce implemented shared components & databinding of legend to buttons 2026-07-10 13:12:06 +02:00
Louis 4d0a6db3c3 Merge remote-tracking branch 'origin/dev' into publications-and-topics 2026-07-10 12:39:46 +02:00
Kazgatari aa473a6523 added shared institution selector 2026-07-10 10:49:55 +02:00
Kazgatari 72a1dc27bc added shared location selector 2026-07-10 10:19:44 +02:00
Kazgatari c5d62faf2f added shared year slider 2026-07-10 10:19:23 +02:00
genja e5cf17620a fixed layout for fileupload, added snackbars on errors 2026-07-09 23:29:06 +02:00
genja ea3ddabac0 file upload integration fixes 2026-07-09 23:28:40 +02:00
taguesokoudjou fa43ff8106 fix: add patent_map_key and resolver topic-map support for tests
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-09 16:01:55 +02:00
taguesokoudjou 1c9ca6fa7d fix: resolve merge conflicts in keywords search
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-09 15:11:05 +02:00
taguesokoudjou 23b1be3b7b Add patents-by-keywords mapping pipeline and keyword patent search flow
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-09 15:01:43 +02:00
genja 233a2d2fca file upload component added (version 1) 2026-07-09 11:37:12 +02:00
genja b12e254cae added file upload component to keywords extraction UI 2026-07-09 11:36:30 +02:00
genja 40610c94c5 regenerated services 2026-07-09 11:34:56 +02:00
genja 2b1aa8d9e3 added file upload backend logic + content extraction from pdf files 2026-07-09 11:34:43 +02:00
Steven Tischer baf71577fe Merge branch 'dev' into feat/ranking 2026-07-09 10:56:54 +02:00
Steven Tischer 34b6979666 add examples 2026-07-09 10:56:34 +02:00
Steven Tischer ecd21ce0a9 add filter timespan (include works from/to)
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-09 10:53:59 +02:00
Steven Tischer 3b9436474e add filter publication_types to filter works 2026-07-09 10:20:14 +02:00
Steven Tischer 31b285518d add filter for career stage 2026-07-09 09:51:46 +02:00
Steven Tischer 16e582e942 improve es query: only rank target authors in works 2026-07-09 09:25:27 +02:00
Steven Tischer 62d3adb745 add ranking weights 2026-07-09 08:56:46 +02:00
Steven Tischer ccade53358 add citation count 2026-07-08 14:24:25 +02:00
Steven Tischer 164e79978f add get authors based on keywords 2026-07-08 14:21:10 +02:00
Steven Tischer d39d222ea8 add uni filter 2026-07-08 14:02:03 +02:00
Steven Tischer 275a6e1948 remove authors and add operator 2026-07-08 13:58:51 +02:00
Steven Tischer d32f3f7c7b add ranking endpoint for author 2026-07-08 13:44:20 +02:00
genja db604feb37 Merge pull request 'feature/keywords-analysis' (#200) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #200
2026-07-08 12:57:47 +02:00
genja cd0e98ec5f Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-08 12:55:20 +02:00
genja 42685ae44f ui and navigation adjustments 2026-07-08 12:53:58 +02:00
genja 9be024bb13 used sessionStorage for keywords handoff from keywords extraction to search results 2026-07-08 12:53:26 +02:00
genja 87b7e207e3 added publications and news tabs for keyword search 2026-07-08 12:51:23 +02:00
genja 8eaa9c2420 Merge pull request 'feature/keywords-analysis' (#199) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #199
2026-07-08 03:36:21 +02:00
genja 87b02ed0a4 added reusable weights sliders component
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-08 03:31:43 +02:00
genja a6d30dd897 added navigate event to keywords-search on keyword click 2026-07-08 03:30:55 +02:00
genja 134055b8b9 created a template for projects results for keyword search 2026-07-08 03:29:26 +02:00
genja be72d28bda created a template component for persons results for keyword search 2026-07-08 03:29:04 +02:00
genja 2bfb877e77 created a template for patents results for keyword search 2026-07-08 03:28:16 +02:00
genja 48e33e7fe5 added search-results parent component 2026-07-08 03:27:29 +02:00
genja f469594c17 added topic mapping toggle logic 2026-07-08 03:25:56 +02:00
genja 3e115619a6 added topic mapping toggle 2026-07-08 03:25:37 +02:00
genja 13b2fb3350 added new routes for keywords search components 2026-07-08 03:19:43 +02:00
Mats Paul Tončik d26ddb8cb4 fix(frontend/auth): fixed change password form
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-07 10:58:10 +02:00
Louis a8e582cf23 publication-detail: make external links section collapsible 2026-07-07 09:46:53 +02:00
Louis 940c050cd7 publication-detail: make sources and funding sections collapsible 2026-07-07 09:44:17 +02:00
Louis e470b65b5a publication-detail: make authors and institutions collapsible like news sidebar 2026-07-07 09:38:06 +02:00
Louis 383c77134a publication-detail: link topic chips to person search topic filter 2026-07-07 09:19:34 +02:00
Louis bb941361a1 publication-detail: link topic chips to keywords topic mapping 2026-07-07 09:04:43 +02:00
Louis 5d22b201e9 publications/persons: add open-institution shortcut to institution tags and filter chips 2026-07-07 08:50:48 +02:00
Louis 1c6dbb540f Merge remote-tracking branch 'origin/dev' into publications-and-topics
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-07 01:08:55 +02:00
Louis cf9a5df4e9 works: count interesting-for topics like the publications filter 2026-07-07 01:08:14 +02:00
Louis 213edf8a5f works: report exact publication totals beyond 10k 2026-07-07 00:43:28 +02:00
Louis c277fcfece person: add publication and citation icons to stats line 2026-07-07 00:33:59 +02:00
Louis 8efbbf1f1a person-publication: show topic hierarchy tooltip on active filter chip 2026-07-07 00:21:06 +02:00
Louis 9ad6d5cd8c person overview: show topic hierarchy tooltip on active filter chip 2026-07-07 00:17:30 +02:00
Louis 77540e4002 person overview: enrich person search topics with descriptions 2026-07-07 00:12:38 +02:00
genja fd3ceb54aa Merge pull request 'feature/keywords-analysis' (#196) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #196
2026-07-07 00:07:37 +02:00
genja 7baeab92c2 fixed borders issues
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-07 00:06:49 +02:00
Louis 0c526be983 person: pass topic field/domain to publications filter for consistent chip colors 2026-07-07 00:05:19 +02:00
Louis 53f5440d01 works: enrich publication topics with descriptions from topics index 2026-07-06 23:54:38 +02:00
Louis e86a19f800 person: add apartment icon to institution line for consistency
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-06 23:43:51 +02:00
genja 61fd920a9f Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-06 23:38:51 +02:00
genja 7eed7e6614 tooltip added for select all button
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-06 23:37:44 +02:00
Roman e34e1fe3d5 Merge branch 'reset-password&forgot-password' into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-06 23:35:12 +02:00
Roman 2418821691 fix tests
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-06 23:29:31 +02:00
Louis 058c92227a person-interesting: reduce card height while topics are loading 2026-07-06 23:27:15 +02:00
kallweit bf38147acc Merge pull request 'feat/news_keyword_extraction' (#195) from feat/news_keyword_extraction into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #195
2026-07-06 23:25:10 +02:00
genja 3f23845c89 enriched autocomplete options with data 2026-07-06 23:21:36 +02:00
genja 52e70a5b24 regenerated tests 2026-07-06 23:21:14 +02:00
genja d502431102 replaced old httpx requests and openalex_api with elastic wrapper and own indices 2026-07-06 23:21:04 +02:00
kallweit 3533b994d0 fix(news): restore changes after rebase
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-06 23:20:14 +02:00
genja 5d22f4831a added topic indicies to global enum 2026-07-06 23:19:07 +02:00
Louis 8130192a44 person: link institution to detail page and show country flag 2026-07-06 23:16:24 +02:00
Roman bda7aff447 fix(login): re-enable forms after failed auth requests
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-06 23:15:52 +02:00
Roman 82421c1040 reset-password and forgot-password 2026-07-06 23:13:30 +02:00
Louis 0723bb5c5b publication detail: link institutions to their detail page 2026-07-06 23:06:54 +02:00
Louis e4dbe07436 publication detail:
show country flags for institutions
2026-07-06 22:54:39 +02:00
kallweit 19c6574945 fix(news): highlight full word forms of keywords in article text
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-06 22:45:19 +02:00
kallweit 0b750d27e7 feat(news-details): add pagination to 'mentioned persons' accordion, expand only one accordion at a time 2026-07-06 22:45:19 +02:00
kallweit 398ea7b56c feat(news): remove unmatched keywords list 2026-07-06 22:45:19 +02:00
kallweit 0176eea873 fix(keywords): adjust prompt to deduplicate and extract keywords in article's language 2026-07-06 22:45:19 +02:00
kallweit b0e8c86743 feat(news): add info icon to accordions 2026-07-06 22:45:19 +02:00
kallweit 03a2954c72 feat(news): redesign news detail page 2026-07-06 22:45:19 +02:00
kallweit b9d382c78a feat(news): wire keywords to OpenAlex topics 2026-07-06 22:43:26 +02:00
Louis 78a8e5d919 publication detail: split topics and keywords into separate sections 2026-07-06 22:42:22 +02:00
kallweit f9f6a58ad5 fix(news): add missing routes 2026-07-06 22:37:40 +02:00
kallweit 5cc110174a feat(news): add preprocessing keyword extraction 2026-07-06 22:37:40 +02:00
Louis c3ec93fba1 show loading spinner for interesting-topics instead of empty state 2026-07-06 22:35:45 +02:00
genja 169b825195 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into ts-82-author-overview-and-description 2026-07-06 22:01:13 +02:00
kallweit 0a3bf72e14 Merge pull request 'refactor/news-list-ui' (#194) from refactor/news-list-ui into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #194
2026-07-06 22:00:04 +02:00
kallweit eb94fc5942 fix(news): add title search
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build started...
2026-07-06 21:52:40 +02:00
kallweit e868c4a47e refactor(news): change list to card layout 2026-07-06 21:46:56 +02:00
genja 1cf80ae074 added highlighted source text of extracted keywords
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-06 18:49:49 +02:00
taguesokoudjou 9d6656b6c4 feat(patents): replace semantic filtering with IPC topic mapping
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-06 17:58:11 +02:00
genja c74d0b5b87 Merge pull request 'ui fixes' (#193) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #193
2026-07-06 15:31:47 +02:00
genja a69f014413 ui fixes
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-06 15:30:43 +02:00
genja cabf819e94 Merge pull request 'added loading component, adjusted ui' (#192) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #192
2026-07-06 14:50:34 +02:00
genja c243088752 added loading component, adjusted ui
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-06 14:49:24 +02:00
taguesokoudjou de4ba0591e fix(patents): restore patent detail API and align frontend service types
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
Re-add getPatentByIdOrTitle endpoint and OrgPatentMatchTypeFilter export
lost during dev merge; update institution-patents to use options-based API.
2026-07-06 13:57:47 +02:00
taguesokoudjou eb89076070 Merge origin/dev into ts-136-patent-to-researchers-v2
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Resolve merge conflicts from dev integration: keep refactored patent
module structure, add keywords router and otkResponse export from dev.
2026-07-06 13:35:54 +02:00
kuzko 1dd032a66c Merge pull request 'feature/FrontendGeneralKeywordSearch' (#191) from feature/FrontendGeneralKeywordSearch into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #191
2026-07-06 11:43:27 +02:00
Kazgatari 9f03c92bc1 updated old code to remove warnings
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-06 11:35:53 +02:00
Kazgatari 86bced4940 fixed diagramm tooltip cutoff 2026-07-06 11:32:31 +02:00
Kazgatari 4461b26270 changed icons, to match the project icons 2026-07-06 11:22:33 +02:00
Kazgatari 19fd2ac86d Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/FrontendGeneralKeywordSearch 2026-07-06 11:05:30 +02:00
Kazgatari e9ba874103 regenerated frontend service 2026-07-06 10:46:36 +02:00
Kazgatari dfb1413b05 Changed trend frontend (Everything in German, stacking chart, y-axis overlap fix, tooltip information addition, recomended institutions layout change) 2026-07-06 10:45:57 +02:00
Kazgatari b5d03c84c4 attempt to optimize backend search time and small modeltype changes 2026-07-06 10:20:42 +02:00
khalti 40d8a5458d fix(frontend/patents): update year-range display live while dragging, keep request on release
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-05 21:15:59 +02:00
genja ef41c0ad96 Merge pull request 'feature/keywords-analysis' (#190) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #190
2026-07-05 20:12:26 +02:00
genja a07fadc30e deleted unused TopicChipComponent from person-list
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-05 20:10:53 +02:00
genja 4bf351cf66 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-05 20:01:34 +02:00
Louis f55a37867c Merge pull request 'topic-colored-chips' (#189) from topic-colored-chips into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #189
2026-07-05 19:59:25 +02:00
genja ae42bc46ed Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-05 19:54:35 +02:00
genja c38355c817 minor logic and layout adjustments 2026-07-05 19:53:23 +02:00
Louis 0c004f0cdf Merge remote-tracking branch 'origin/dev' into topic-colored-chips
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-05 19:50:41 +02:00
Mats Paul Tončik 16c0b399c8 feat(frontend/search): added card search template, moved institutions and projects to it
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-05 19:47:16 +02:00
Louis 3867540a4c refactor(publications, people): unify active topic chip, add loading states
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-05 19:46:24 +02:00
Louis 32cab01a8b Merge remote-tracking branch 'origin/dev' into topic-colored-chips 2026-07-05 19:40:55 +02:00
genja 2b606b8473 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-05 18:36:21 +02:00
genja e0ac41da91 cleaned log outputs
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-05 18:35:39 +02:00
genja 86bed62ac0 delete button removed for autocompletion field
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-05 18:10:24 +02:00
genja 1eaf8f8c8f responsivness adjusted 2026-07-05 18:09:59 +02:00
genja 0c3db967b0 added handling autocomplete topics ( no extra backend call anymore) 2026-07-05 18:01:54 +02:00
genja 04eb0f0185 fixed bug with no url content 2026-07-05 18:01:10 +02:00
Mats Paul Tončik b2d965d604 fix(frontend): added label to some query param selectors
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-05 16:15:41 +02:00
Mats Paul Tončik 0e80cc3fc3 feat(auth): completed auth restructure
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-05 15:59:34 +02:00
khalti c4e05a4376 fix(patents): correct author-institution query and name-matching ambiguity checks for org_patents
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-05 15:44:30 +02:00
genja 92c4edfb4f added, colored Keywords, legend, loading state on keyword adding, fixed ui
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-05 02:27:49 +02:00
genja 79f2aa0263 added "field" field to the Topic model 2026-07-05 02:26:59 +02:00
genja 5878edc4cd added error handling on websocket close 2026-07-05 02:23:18 +02:00
genja f4122263dd added stream interrupt logic by socket close for llm wrapper 2026-07-05 02:22:21 +02:00
genja 20faff13ec fixed concetenated keywords issue 2026-07-05 02:21:26 +02:00
genja 73315457a6 fixed resonsiveness issue 2026-07-05 02:19:38 +02:00
Mats Paul Tončik a464a95c4e fix(frontend/organizations): unfucked everything (again) 2026-07-05 00:19:06 +02:00
Mats Paul Tončik 2264582d1e fix(frontend/accounts): unfucked everything 2026-07-04 23:49:39 +02:00
Kazgatari 2703f46575 Implemented scikit normalize batch, fixed blocking elastic search query, changed frontend to resize dynamically, fixed bug in dashboard 2026-07-04 23:12:03 +02:00
Mats Paul Tončik e648ea1ec4 feat(backend/auth): added otk response model 2026-07-04 22:37:34 +02:00
Kazgatari 261f97eee0 regenerated frontend with openapi generator gradle service 2026-07-04 21:04:48 +02:00
Kazgatari f4b8d0884c changed and refactored university-ranking to unify ranking and trend. Removed hardcoded placeholder, Whitelisted fields to reduce response size 2026-07-04 21:01:49 +02:00
Kazgatari 1ddc5c42c5 generated frontend services and models 2026-07-03 22:33:32 +02:00
Kazgatari 47fb41105a Parent componentn to diplay different trend diagrams 2026-07-03 22:20:56 +02:00
Kazgatari 4394ced772 Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into feature/FrontendGeneralKeywordSearch 2026-07-03 21:25:27 +02:00
Kazgatari 15fc57da51 First demo implementation of trend analysis frontend 2026-07-03 20:04:35 +02:00
Kazgatari 3c910fa0e4 Backend for institution trend analysis (implemented into university ranking) 2026-07-03 19:50:28 +02:00
farajollahi 8805ec9e57 Merge pull request 'active-deactive-accounts' (#187) from active-deactive-accounts into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #187
2026-07-03 19:24:15 +02:00
farajollahi 6f498bb754 Merge branch 'dev' into active-deactive-accounts
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-03 19:15:18 +02:00
farajollahi 0ea7713f05 implement active accounts
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-03 19:14:41 +02:00
Mats Paul Tončik 7b4c459fd8 fix(frontend/register): fixed wrong variable name
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-03 17:00:19 +02:00
Mats Paul Tončik 08824bd7ba Merge remote-tracking branch 'origin/dev' into auth-restructure
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-03 16:57:10 +02:00
Mats Paul Tončik 1297f85124 feat(auth): started auth restructure
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-03 16:56:17 +02:00
genja 7613569711 Merge pull request 'feature/keywords-analysis' (#186) from feature/keywords-analysis into dev
LocationBasedServices/smartguide/pipeline/head This commit looks good
Reviewed-on: #186
2026-07-03 16:04:57 +02:00
Louis c1cba4bd4c person cards: limit topic display if too large 2026-07-03 15:54:24 +02:00
Louis d43c406820 publication overview: make Jahr/Typ/Sprache filters searchable
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-07-03 14:53:30 +02:00
genja 63db1c9564 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev Build queued...
2026-07-03 13:54:42 +02:00
Louis 398df55f50 publication overview: fix institution search 2026-07-03 13:49:19 +02:00
Louis 5888a71b36 publication overview: make institution field expandable 2026-07-03 13:43:31 +02:00
Louis c707064dfb pulbication overview: Make institution field expandable 2026-07-03 13:42:57 +02:00
Louis 8e56b59122 person card: highlight institution when it matches active filter 2026-07-03 13:16:04 +02:00
Mats Paul Tončik cac2d81b5c fix(auth): prevention for same old and new password
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-03 13:14:05 +02:00
Mats Paul Tončik 0b9f325045 feat(auth): added change password functionality in frontend
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-03 13:10:16 +02:00
Louis 6fa5792e5e publication overview: show institution filter as person-card chip with flag 2026-07-03 13:10:13 +02:00
Louis 116492baca person list: style active institution filter as person-card chip 2026-07-03 13:02:09 +02:00
Louis b1fee136ce Merge remote-tracking branch 'origin/dev' into topic-colored-chips 2026-07-03 12:31:34 +02:00
Louis 95ce3a47fc publications overview: make table cells clickable filters with active state 2026-07-03 12:21:39 +02:00
genja d1255deaec Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-03 10:57:51 +02:00
genja 6dd57bfe2b ui adjusments
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-03 10:56:51 +02:00
genja 25988d6c46 added keywords enrichment, refactored 2026-07-03 10:56:43 +02:00
genja f8228c5ea7 added click event on keywords to navigate to keywords component 2026-07-03 10:54:56 +02:00
genja f19059164e added simple shared topic autocompletion component 2026-07-03 10:54:21 +02:00
genja aaab04596d translated status messaged on german 2026-07-03 10:53:52 +02:00
taguesokoudjou 6962b49771 feat(patents): add identity signals for patent disambiguation
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Use name specificity, institution/assignee overlap and topic similarity
to reduce false positives in inventor-based patent matching.
Treat IPC/CPC similarity as a supporting signal instead of proof of identity.
2026-07-02 13:42:04 +02:00
Mats Paul Tončik 6c4688185f fix: applied currency and date pipes where possible
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-02 12:17:34 +02:00
genja 647eb55a88 hardcoded basePath (temporary)
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-02 10:27:56 +02:00
genja 2603580587 ui adjusted 2026-07-02 10:27:13 +02:00
genja 42ecebb27f regenerated services 2026-07-02 10:26:51 +02:00
genja f383952547 simple prompts for testing added 2026-07-02 10:26:19 +02:00
genja 6db4c80258 adden dynamic keywords enriching with openalex topics 2026-07-02 10:26:07 +02:00
genja f0173cbf8a increased llm response timeout up to 120s 2026-07-02 10:25:16 +02:00
taguesokoudjou 4a17157643 Remove patent disambiguation and keep name-only author matching.
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-01 22:52:46 +02:00
taguesokoudjou 503377e3bc Resolve merge conflicts
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-07-01 20:53:45 +02:00
genja 7bd8659638 regenerated services
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-01 14:08:27 +02:00
genja 074e237c84 updated endpoint for patent fetching 2026-07-01 14:07:37 +02:00
genja 7e8a796623 moved getPatentById logic from allPatentsSearchClient to PatentSearchClient 2026-07-01 14:06:48 +02:00
genja 5432d814c6 Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-07-01 12:00:32 +02:00
genja 9e5b2c1a21 services cleaned 2026-07-01 11:46:21 +02:00
genja 1fa755769b added websocket interface for streamed keywords extraction
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-07-01 10:48:09 +02:00
genja cfac12e218 another merging issue fixed 2026-07-01 10:45:45 +02:00
genja 2ec9047565 added websocket implementation to frontend 2026-07-01 10:45:31 +02:00
genja b499fd2877 fixed merging issues for compatibility 2026-07-01 10:44:31 +02:00
genja e5599845ba regenerated services 2026-07-01 10:43:22 +02:00
genja 249fb080e9 added keywords extraction endpoint + logic as stream via websockets 2026-07-01 10:42:51 +02:00
khaltiandClaude Sonnet 4.6 171e87f575 Fix merge conflict in main.py: keep dev auth/account routers, remove duplicate projects_router import
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-01 10:28:11 +02:00
khaltiandClaude Sonnet 4.6 b37718e792 Fix TS2345: coerce optional IpcClassification fields to null in addRow calls
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-01 10:25:32 +02:00
khaltiandClaude Sonnet 4.6 eba78a080e Fix build errors from dev merge: remove duplicate AllPatentsResponse, fix IpcClassification import, add null safety for optional arrays in patent-detail template
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-01 10:22:47 +02:00
genja 050c68ea5e added function for streaming mode to llm wrapper 2026-07-01 10:17:36 +02:00
khalti 204e419fed Fix merge conflicts with dev branch
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-01 10:16:12 +02:00
khalti 0d18ee49f3 merge: resolve conflicts with dev
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-01 09:56:54 +02:00
khalti 65e428f4c2 fix(patents): prevent slider handles from crossing and reduce server requests on drag
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-07-01 09:51:04 +02:00
genja 67d5306c6e added websocket and partial json parser packages to docker build 2026-07-01 04:19:34 +02:00
Kazgatari 64ab9325a0 Added new Api with keyword list for similarity search
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-30 21:06:16 +02:00
Kazgatari 5126e530e6 hopefully last async fix
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-30 19:56:10 +02:00
Kazgatari 8b7f8b7d6a Merge branch 'dev' of https://project.nes.uni-due.de/gitea/lbs/smartguide into dev 2026-06-30 18:57:49 +02:00
Kazgatari a0cd8d0904 removed other direct httpx references 2026-06-30 18:54:38 +02:00
genja 1113a6a2be Merge branch 'dev' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-06-30 11:01:30 +02:00
genja 3702b216a0 increased llm response timeout up to 60s 2026-06-30 10:55:29 +02:00
genja dbaabeb9a5 minor ui adjustments 2026-06-30 10:55:16 +02:00
Louis 195fd2d55b Merge remote-tracking branch 'origin/dev' into topic-colored-chips
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-30 01:26:14 +02:00
Louis 5d13b07c73 Add field-based color indicators to person search cards filtering 2026-06-30 00:09:37 +02:00
Louis d8aca8ee3e Publication overview filter design updated 2026-06-29 23:52:26 +02:00
Louis 495c7d34e5 timeline legend across full width 2026-06-29 23:40:05 +02:00
genja 677ef59440 Merge branch 'feature/dfg-details' of nes.uni-due.de:lbs/smartguide into feature/keywords-analysis 2026-06-29 23:07:35 +02:00
genja c259635bdf added loading state to keywords extraction part
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-29 23:06:02 +02:00
Louis 39fdb23942 Replace topic chips in publication detail view with shared topic chips 2026-06-29 22:47:28 +02:00
Louis 0d2c7f93be filter topic chips use same topic color 2026-06-29 22:38:31 +02:00
Louis 7c68a5cd71 Replace topic chips in publication overview with shared topic chips 2026-06-29 22:26:45 +02:00
genja 17931a82b0 added optional response schema to llm response
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-29 22:25:55 +02:00
genja 0502a9a553 added new endpoint for keywords search 2026-06-29 22:25:35 +02:00
genja 4b8256b56e added new route for keywords search 2026-06-29 22:24:54 +02:00
genja 095a4c8bac generated models for frontend (2) 2026-06-29 22:24:27 +02:00
genja 473bc96e90 generated models for frontend 2026-06-29 22:24:02 +02:00
genja 642fda7542 added keywords-search component 2026-06-29 22:23:14 +02:00
genja 1fdd5339fa added new category "Keywords" to app-menu 2026-06-29 22:22:29 +02:00
Louis b69fe4e15c Improve timeline legend width 2026-06-29 21:25:01 +02:00
Louis 873e4bbbec Merge remote-tracking branch 'origin/dev' into topic-colored-chips
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-29 20:33:22 +02:00
khalti ba86d417b4 docs(org-patents): document index_org_patents script and add to service README
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-06-29 20:12:35 +02:00
taguesokoudjou 513489e790 fix(patents): await async person and co-author lookups after dev merge
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-06-29 19:59:31 +02:00
taguesokoudjou 185d2c3aa2 Merge branch 'dev' into ts-136-patent-to-researchers-v2
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
Resolve conflicts in patent module re-export shims by keeping the
refactored search_client and modular logic layout from this branch.
2026-06-29 19:34:36 +02:00
taguesokoudjou ca6c132bb9 feat(patents): score and filter patent-to-researcher matches
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-06-29 19:27:26 +02:00
Kazgatari dfa9c70a25 removed httpx imports 2026-06-29 18:35:15 +02:00
genja 0817640449 added patent linking from projects to patents page
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-29 00:45:16 +02:00
khalti 569d73aa9f feat(patents): add server-side pagination and source filter to org_patents endpoint
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-06-28 14:15:38 +02:00
khalti 0873d25345 feat(patents): add server-side pagination and source filter to org_patents endpoint
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-06-28 13:58:23 +02:00
taguesokoudjou 6c13415b1e Add org_patents indexing and institution patent match-type UI
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
Introduce a batch script and Elasticsearch index to pre-aggregate institution
patents via assignee and inventor name matching, expose them through a new API
endpoint, and update the institution patents page with match-type filtering.
2026-06-28 12:21:17 +02:00
khalti 56015846b0 feat(patents): Customize search field
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-06-28 11:33:37 +02:00
taguesokoudjou 7602fef243 Fix patent search client test to mock httpx transport
LocationBasedServices/smartguide/pipeline/pr-dev This commit looks good
2026-06-27 19:18:18 +02:00
taguesokoudjou 81539d5dbd Merge branch 'dev' into ts-136-patent-to-researchers-v2
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-06-27 19:09:45 +02:00
taguesokoudjou f5991ef660 Add centralized patent detail page with backend lookup by ID
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
Introduce /patent/:patentId and a dedicated detail view modeled after
publications, backed by GET /api/inse-service/patents/{patent_id}.
Route patent overview and detail actions from list, person, and
institution views to the shared page instead of inline detail panels.
2026-06-27 18:53:55 +02:00
khalti 6fc491fd87 feat(patents): add year range filter to global patents page
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/pr-dev There was a failure building this commit
2026-06-27 11:30:09 +02:00
Louis f2cf83f63b topic-legend: select fields and subfields separately 2026-06-26 14:16:56 +02:00
Louis 512356e106 topic-legend: highlight selected fields and topic 2026-06-26 13:58:18 +02:00
Louis 309fecf008 use topic chips for active topic filters 2026-06-26 13:35:06 +02:00
taguesokoudjou 163fdfaa39 refactor(patents): decouple author and institution patent lookup into separate modules
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-26 12:17:50 +02:00
Louis 29c954227f use shared topic chips in person card
LocationBasedServices/smartguide/pipeline/head There was a failure building this commit
2026-06-26 12:05:00 +02:00
Louis 1f70f9fe2d Merge remote-tracking branch 'origin/dev' into topic-colored-chips 2026-06-26 11:42:04 +02:00
taguesokoudjou e37de88cc8 feat(institutions): add patents view per institution with assignee-based search
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-26 11:27:11 +02:00
Louis 441450eb91 fix id (Peter Bayer)
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-16 08:15:55 +02:00
Louis 52682b8565 analysis: add labeled career stage scatter plots
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-15 23:57:55 +02:00
Louis 63f34601c9 update career_stage_sample with different disciplines 2026-06-15 23:29:38 +02:00
spsaefan 59895f9297 Update career samples
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-15 21:59:14 +02:00
spsaefan 60e1212c3f Update career samples
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-15 21:35:41 +02:00
spsaefan 46fd9cbf25 career sample with biology and medicine
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-15 19:34:25 +02:00
Louis 6575552549 add career stage metrics and visualizations
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-12 14:33:13 +02:00
spsaefan f4b7dbce73 Add career stage visualization
LocationBasedServices/smartguide/pipeline/head This commit looks good
2026-06-12 12:55:11 +02:00
spsaefan 05b46d95fd Add career stage analysis 2026-06-12 12:55:00 +02:00
spsaefan 2e21dc1e95 Add career stage sample data 2026-06-12 12:54:13 +02:00
1324 changed files with 443489 additions and 23613 deletions
+15
View File
@@ -0,0 +1,15 @@
*
!background-jobs
!service
service/*
!service/scripts
# Data-only folders that do not belong in the job image.
service/scripts/multipliers
**/__pycache__
**/*.pyc
**/.venv
**/.env
**/.env.*
**/out
+59
View File
@@ -0,0 +1,59 @@
# Career-Stage-Analyse
Diese Analyse untersucht, wie sich der Karrierestatus von Forschenden (Professor vs.
Researcher) aus deren Publikationshistorie in OpenAlex ableiten lässt. Das Ergebnis ist die
Grundlage für die Career-Stage-Klassifikation im SmartGuide-Backend.
## Vorgehen
- **Stichprobe:** 60 Forschende der UDE mit manuell recherchiertem, bekanntem Status
(31 Professor, 29 Researcher inkl. Doctoral Researcher) aus fünf Disziplingruppen:
Biology, Computer Science, Engineering, Medicine, Sociology
([career_stage_sample.csv](career_stage_sample.csv)).
- **Datenerhebung:** Für jede Person wurden alle Werke über die OpenAlex-API geladen
([openalex_client.py](openalex_client.py)) und daraus pro Person Metriken berechnet
([career_stage_analysis.py](career_stage_analysis.py) →
[career_stage_results.csv](career_stage_results.csv)):
- `career_span`: Jahre vom ersten bis zum letzten Publikationsjahr (inklusiv)
- `active_years`: Anzahl **unterschiedlicher** Jahre mit mindestens einer Publikation
- `publication_count`, `publications_per_active_year`, `publications_per_career_year`,
`years_since_last_publication`
- **Auswertung:** Vergleich der Metriken zwischen den bekannten Status-Gruppen, auch je
Disziplingruppe ([career_stage_visualization.py](career_stage_visualization.py) →
[plots/](plots/), [summaries/](summaries/)).
## Ergebnisse
Die Gruppen trennen sich deutlich (Median Professor vs. Researcher):
| Metrik | Professor | Researcher |
| ----------------------------- | --------- | ---------- |
| Aktive Publikationsjahre | 28 | 5 |
| Career Span (Jahre) | 31 | 7 |
| Publikationen | 224 | 11 |
| Publikationen je aktivem Jahr | 7,6 | 1,8 |
Wichtigste Erkenntnis: **`career_span` ist unzuverlässig.** Fehlerhafte Autorenzuordnungen in
OpenAlex führen zu unplausibel frühen Erstpublikationen (z. B. 1893/1906 bei aktiven
Professor:innen) und blähen die Spannweite massiv auf (Mittelwert 45 Jahre bei Median 31).
**`active_years` ist dagegen robust:** Ein einzelnes falsch zugeordnetes altes Werk erhöht die
Spannweite um Jahrzehnte, die aktiven Jahre aber nur um 1. Die Trennung zwischen den Gruppen
ist bei `active_years` zudem über alle Disziplingruppen hinweg konsistent.
## Fazit: finale Entscheidungskriterien im Projekt
Die Career Stage wird im Backend ausschließlich über die **aktiven Publikationsjahre**
(`active_years`) bestimmt (siehe `_classify_career_stage` in
`service/src/main/inse/persons/logic.py`):
| Aktive Jahre | Career Stage |
| ------------ | ------------ |
| 0 | unknown |
| 1–4 | Early |
| 5–9 | Emerging |
| 10–14 | Established |
| ≥ 15 | Senior |
Zusätzlich wird `has_suspicious_publication_years` gesetzt (Erstpublikation vor 1970 oder
Career Span > 60 Jahre), um Personen mit vermutlich fehlerhafter OpenAlex-Zuordnung zu
kennzeichnen.
@@ -0,0 +1,194 @@
import csv
from datetime import datetime
from pathlib import Path
from typing import Any
from openalex_client import get_all_author_works
BASE_DIR = Path(__file__).resolve().parent
INPUT_FILE = BASE_DIR / "career_stage_sample.csv"
OUTPUT_FILE = BASE_DIR / "career_stage_results.csv"
def extract_publication_years(works: list[dict[str, Any]]) -> list[int]:
"""
Extracts all valid publication years from the OpenAlex works response.
One entry in the returned list represents one publication.
Therefore, duplicate years are intentionally kept.
Example:
[2020, 2020, 2021] means 3 publications in 2 active years.
"""
years: list[int] = []
for work in works:
year = work.get("publication_year")
if isinstance(year, int):
years.append(year)
elif isinstance(year, str) and year.isdigit():
years.append(int(year))
return years
def normalize_known_status(known_status: str) -> str:
"""
Normalizes manually assigned status labels.
The analysis compares Professor vs Researcher. Doctoral Researcher is therefore
mapped to Researcher to keep the groups consistent.
"""
cleaned_status = known_status.strip()
if cleaned_status == "Doctoral Researcher":
return "Researcher"
return cleaned_status
def compute_metrics(publication_years: list[int]) -> dict[str, int | float | None]:
"""
Computes publication-history-based career metrics.
Important distinction:
- publication_count counts all publications
- active_years counts distinct years with at least one publication
- career_span counts the full inclusive span from first to last publication year
"""
current_year = datetime.now().year
if not publication_years:
return {
"first_publication_year": None,
"last_publication_year": None,
"career_age": None,
"career_span": None,
"active_years": 0,
"publication_count": 0,
"publications_per_active_year": None,
"publications_per_career_year": None,
"years_since_last_publication": None,
}
sorted_years = sorted(publication_years)
unique_years = sorted(set(publication_years))
first_year = sorted_years[0]
last_year = sorted_years[-1]
publication_count = len(sorted_years)
active_years = len(unique_years)
career_age = last_year - first_year
career_span = last_year - first_year + 1
publications_per_active_year = (
publication_count / active_years if active_years > 0 else None
)
publications_per_career_year = (
publication_count / career_span if career_span > 0 else None
)
years_since_last_publication = current_year - last_year
return {
"first_publication_year": first_year,
"last_publication_year": last_year,
"career_age": career_age,
"career_span": career_span,
"active_years": active_years,
"publication_count": publication_count,
"publications_per_active_year": publications_per_active_year,
"publications_per_career_year": publications_per_career_year,
"years_since_last_publication": years_since_last_publication,
}
def create_empty_metrics() -> dict[str, int | float | None]:
return {
"first_publication_year": None,
"last_publication_year": None,
"career_age": None,
"career_span": None,
"active_years": 0,
"publication_count": 0,
"publications_per_active_year": None,
"publications_per_career_year": None,
"years_since_last_publication": None,
}
def analyze_sample() -> None:
if not INPUT_FILE.exists():
raise FileNotFoundError(f"Input file not found: {INPUT_FILE}")
results: list[dict[str, Any]] = []
with INPUT_FILE.open(mode="r", encoding="utf-8", newline="") as input_file:
reader = csv.DictReader(input_file)
for row in reader:
name = row.get("name", "").strip()
discipline = row.get("discipline", "").strip()
discipline_group = row.get("discipline_group", "").strip()
known_status = normalize_known_status(row.get("known_status", ""))
openalex_author_id = row.get("openalex_author_id", "").strip()
if not discipline_group:
discipline_group = discipline
if not openalex_author_id:
print(f"Skipping {name}: missing OpenAlex author ID")
continue
print(f"Fetching works for {name} ({openalex_author_id})...")
try:
works = get_all_author_works(openalex_author_id)
publication_years = extract_publication_years(works)
metrics = compute_metrics(publication_years)
except Exception as error:
print(f"Error while processing {name}: {error}")
metrics = create_empty_metrics()
results.append(
{
"name": name,
"discipline": discipline,
"discipline_group": discipline_group,
"known_status": known_status,
"openalex_author_id": openalex_author_id,
**metrics,
}
)
fieldnames = [
"name",
"discipline",
"discipline_group",
"known_status",
"openalex_author_id",
"first_publication_year",
"last_publication_year",
"career_age",
"career_span",
"active_years",
"publication_count",
"publications_per_active_year",
"publications_per_career_year",
"years_since_last_publication",
]
with OUTPUT_FILE.open(mode="w", encoding="utf-8", newline="") as output_file:
writer = csv.DictWriter(output_file, fieldnames=fieldnames)
writer.writeheader()
writer.writerows(results)
print(f"Analysis finished. Results written to {OUTPUT_FILE}")
if __name__ == "__main__":
analyze_sample()
@@ -0,0 +1,61 @@
name,discipline,discipline_group,known_status,openalex_author_id,first_publication_year,last_publication_year,career_age,career_span,active_years,publication_count,publications_per_active_year,publications_per_career_year,years_since_last_publication
Barbara Saccà,Biology,Biology,Professor,A5075803366,1997,2024,27,28,26,91,3.5,3.25,2
Bernd Sures,Biology,Biology,Professor,A5088631999,1994,2026,32,33,32,410,12.8125,12.424242424242424,0
Daniel Hering,Biology,Biology,Professor,A5031147249,1893,2026,133,134,37,326,8.81081081081081,2.4328358208955225,0
Daniel Hoffmann,Biology,Biology,Professor,A5074555350,1966,2026,60,61,35,332,9.485714285714286,5.442622950819672,0
Peter Bayer,Biology,Biology,Professor,A5060566345,1969,2026,57,58,37,358,9.675675675675675,6.172413793103448,0
Bianca Kamba,Biology,Biology,Researcher,A5036363877,2017,2025,8,9,4,9,2.25,1.0,1
Daniel Grabner,Biology,Biology,Researcher,A5063959731,1980,2026,46,47,19,95,5.0,2.021276595744681,0
Farnusch Kaschani,Biology,Biology,Researcher,A5078099512,2005,2026,21,22,21,182,8.666666666666666,8.272727272727273,0
Kathrin Januschke,Biology,Biology,Researcher,A5064225981,2011,2026,15,16,15,36,2.4,2.25,0
Richard Kosinski,Biology,Biology,Researcher,A5014403509,1986,2022,36,37,4,6,1.5,0.16216216216216217,4
Jens Krüger,Computer Graphics and Visualization,Computer Science,Professor,A5087449583,1964,2025,61,62,20,67,3.35,1.0806451612903225,1
Torben Weis,Distributed Systems,Computer Science,Professor,A5016729057,1980,2026,46,47,43,197,4.5813953488372094,4.191489361702128,0
Stefan Schneegaß,Human Computer Interaction,Computer Science,Professor,A5024328962,2008,2026,18,19,17,224,13.176470588235293,11.789473684210526,0
Gregor Schiele,Intelligent Embedded Systems,Computer Science,Professor,A5028943371,1999,2026,27,28,22,155,7.045454545454546,5.535714285714286,0
Pedro José Marrón,Networked Embedded Systems,Computer Science,Professor,A5047117780,1996,2026,30,31,28,285,10.178571428571429,9.193548387096774,0
Lucas Davi,Secure Software Systems,Computer Science,Professor,A5089242868,2009,2026,17,18,18,137,7.611111111111111,7.611111111111111,0
Volker Gruhn,Software Engineering,Computer Science,Professor,A5049739067,1989,2025,36,37,36,410,11.38888888888889,11.08108108108108,1
Andreas Metzger,Software Systems Engineering,Computer Science,Professor,A5082025709,1992,2026,34,35,28,202,7.214285714285714,5.771428571428571,0
Andreas Vogelsang,Software Systems Engineering,Computer Science,Professor,A5022998651,2005,2026,21,22,20,225,11.25,10.227272727272727,0
Barbara König,Theoretical Computer Science,Computer Science,Professor,A5103103785,1906,2026,120,121,36,230,6.388888888888889,1.9008264462809918,0
Alexandra Dmitrienko,Vertrauenswürdige Systeme,Computer Science,Professor,A5042835341,2010,2026,16,17,17,110,6.470588235294118,6.470588235294118,0
Carina Liebers,Human Computer Interaction,Computer Science,Researcher,A5004350173,2022,2026,4,5,5,11,2.2,2.2,0
Jonas Keppel,Human Computer Interaction,Computer Science,Researcher,A5015767175,2022,2026,4,5,5,11,2.2,2.2,0
Carlos Medina Sánchez,Networked Embedded Systems,Computer Science,Researcher,A5093479876,2023,2025,2,3,2,2,1.0,0.6666666666666666,1
Marcus Handte,Networked Embedded Systems,Computer Science,Researcher,A5007170803,2004,2026,22,23,23,107,4.6521739130434785,4.6521739130434785,0
Simon Janzon,Networked Embedded Systems,Computer Science,Researcher,A5044472300,2020,2025,5,6,5,6,1.2,1.0,1
Christian Niesler,Secure Software Systems,Computer Science,Researcher,A5069184110,2021,2026,5,6,5,9,1.8,1.5,0
Christian Scholz,Secure Software Systems,Computer Science,Researcher,A5120610207,2025,2026,1,2,2,2,1.0,1.0,0
Pascal Winkler,Secure Software Systems,Computer Science,Researcher,A5081189339,2009,2026,17,18,6,22,3.6666666666666665,1.2222222222222223,0
Stefan Hanenberg,Software Engineering,Computer Science,Researcher,A5027034338,2000,2025,25,26,25,105,4.2,4.038461538461538,1
Wilhelm Koop,Software Engineering,Computer Science,Researcher,A5019228221,2016,2022,6,7,6,14,2.3333333333333335,2.0,4
Venkata Marella,Vertrauenswürdige Systeme,Computer Science,Researcher,A5082156768,2017,2026,9,10,8,11,1.375,1.1,0
Burak Atakan,Engineering,Engineering,Professor,A5041521847,1989,2026,37,38,35,202,5.771428571428571,5.315789473684211,0
Corina Andronescu,Engineering,Engineering,Professor,A5082583063,2008,2026,18,19,19,137,7.2105263157894735,7.2105263157894735,0
Gerd Bacher,Engineering,Engineering,Professor,A5056038758,1985,2026,41,42,38,385,10.131578947368421,9.166666666666666,0
Miriam Böhm,Engineering,Engineering,Researcher,A5037448457,2011,2021,10,11,8,12,1.5,1.0909090909090908,5
Soheil Salighe,Steuerung Regelung und Systemdynamik,Engineering,Researcher,A5041884757,2017,2024,7,8,5,7,1.4,0.875,2
Tobias Mikolas,Engineering,Engineering,Researcher,A5002909977,2021,2023,2,3,2,2,1.0,0.6666666666666666,3
Boris Hadaschik,Medicine,Medicine,Professor,A5077243123,2001,2026,25,26,24,791,32.958333333333336,30.423076923076923,0
Hartmut Schmidt,Medicine,Medicine,Professor,A5015932441,1910,2026,116,117,63,1024,16.253968253968253,8.752136752136753,0
Matthias Gunzer,Medicine,Medicine,Professor,A5020520632,1997,2026,29,30,29,343,11.827586206896552,11.433333333333334,0
Oliver Witzke,Medicine,Medicine,Professor,A5087456839,1954,2026,72,73,34,615,18.08823529411765,8.424657534246576,0
Stephan Lang,Medicine,Medicine,Professor,A5030649192,1929,2026,97,98,44,859,19.522727272727273,8.76530612244898,0
Tienush Rassaf,Medicine,Medicine,Professor,A5048609556,2002,2025,23,24,19,62,3.263157894736842,2.5833333333333335,1
Ulrike Bingel,Medicine,Medicine,Professor,A5002281474,1998,2026,28,29,27,315,11.666666666666666,10.862068965517242,0
Birte Möhlendick,Medicine,Medicine,Researcher,A5030635588,2010,2025,15,16,14,48,3.4285714285714284,3.0,1
Julia Schwichtenberg,Medicine,Medicine,Researcher,A5119372151,2025,2026,1,2,2,3,1.5,1.5,0
Katrin Schuldt,Medicine,Medicine,Researcher,A5002003996,2000,2026,26,27,7,12,1.7142857142857142,0.4444444444444444,0
Sabrina Guckenbiehl,Medicine,Medicine,Researcher,A5008120333,2021,2026,5,6,6,31,5.166666666666667,5.166666666666667,0
Zülal Cibir,Medicine,Medicine,Researcher,A5035081158,2019,2025,6,7,7,21,3.0,3.0,1
Frank Kleemann,Sociology,Sociology,Professor,A5041694590,1999,2025,26,27,22,106,4.818181818181818,3.925925925925926,1
Gregor Bongaerts,Sociology,Sociology,Professor,A5012265262,2000,2025,25,26,18,55,3.0555555555555554,2.1153846153846154,1
Helen Baykara-Krumme,Sociology,Sociology,Professor,A5010111732,2007,2026,19,20,19,71,3.736842105263158,3.55,0
Marcel Erlinghagen,Sociology,Sociology,Professor,A5021715937,1970,2026,56,57,29,131,4.517241379310345,2.2982456140350878,0
Ute Klammer,Sociology,Sociology,Professor,A5055077517,1997,2026,29,30,25,146,5.84,4.866666666666666,0
Andreas Jansen,Sociology,Sociology,Researcher,A5030957194,1991,2026,35,36,12,15,1.25,0.4166666666666667,0
Antonia Görtz,Sociology,Sociology,Researcher,A5066776558,2022,2025,3,4,2,2,1.0,0.5,1
Friedrich Scheller,Sociology,Sociology,Researcher,A5072565080,2014,2020,6,7,2,2,1.0,0.2857142857142857,6
Lara Altenstädter,Sociology,Sociology,Researcher,A5070117981,2019,2023,4,5,5,15,3.0,3.0,3
Lisa Mansfeld,Sociology,Sociology,Researcher,A5018318930,2021,2026,5,6,5,9,1.8,1.5,0
1 name discipline discipline_group known_status openalex_author_id first_publication_year last_publication_year career_age career_span active_years publication_count publications_per_active_year publications_per_career_year years_since_last_publication
2 Barbara Saccà Biology Biology Professor A5075803366 1997 2024 27 28 26 91 3.5 3.25 2
3 Bernd Sures Biology Biology Professor A5088631999 1994 2026 32 33 32 410 12.8125 12.424242424242424 0
4 Daniel Hering Biology Biology Professor A5031147249 1893 2026 133 134 37 326 8.81081081081081 2.4328358208955225 0
5 Daniel Hoffmann Biology Biology Professor A5074555350 1966 2026 60 61 35 332 9.485714285714286 5.442622950819672 0
6 Peter Bayer Biology Biology Professor A5060566345 1969 2026 57 58 37 358 9.675675675675675 6.172413793103448 0
7 Bianca Kamba Biology Biology Researcher A5036363877 2017 2025 8 9 4 9 2.25 1.0 1
8 Daniel Grabner Biology Biology Researcher A5063959731 1980 2026 46 47 19 95 5.0 2.021276595744681 0
9 Farnusch Kaschani Biology Biology Researcher A5078099512 2005 2026 21 22 21 182 8.666666666666666 8.272727272727273 0
10 Kathrin Januschke Biology Biology Researcher A5064225981 2011 2026 15 16 15 36 2.4 2.25 0
11 Richard Kosinski Biology Biology Researcher A5014403509 1986 2022 36 37 4 6 1.5 0.16216216216216217 4
12 Jens Krüger Computer Graphics and Visualization Computer Science Professor A5087449583 1964 2025 61 62 20 67 3.35 1.0806451612903225 1
13 Torben Weis Distributed Systems Computer Science Professor A5016729057 1980 2026 46 47 43 197 4.5813953488372094 4.191489361702128 0
14 Stefan Schneegaß Human Computer Interaction Computer Science Professor A5024328962 2008 2026 18 19 17 224 13.176470588235293 11.789473684210526 0
15 Gregor Schiele Intelligent Embedded Systems Computer Science Professor A5028943371 1999 2026 27 28 22 155 7.045454545454546 5.535714285714286 0
16 Pedro José Marrón Networked Embedded Systems Computer Science Professor A5047117780 1996 2026 30 31 28 285 10.178571428571429 9.193548387096774 0
17 Lucas Davi Secure Software Systems Computer Science Professor A5089242868 2009 2026 17 18 18 137 7.611111111111111 7.611111111111111 0
18 Volker Gruhn Software Engineering Computer Science Professor A5049739067 1989 2025 36 37 36 410 11.38888888888889 11.08108108108108 1
19 Andreas Metzger Software Systems Engineering Computer Science Professor A5082025709 1992 2026 34 35 28 202 7.214285714285714 5.771428571428571 0
20 Andreas Vogelsang Software Systems Engineering Computer Science Professor A5022998651 2005 2026 21 22 20 225 11.25 10.227272727272727 0
21 Barbara König Theoretical Computer Science Computer Science Professor A5103103785 1906 2026 120 121 36 230 6.388888888888889 1.9008264462809918 0
22 Alexandra Dmitrienko Vertrauenswürdige Systeme Computer Science Professor A5042835341 2010 2026 16 17 17 110 6.470588235294118 6.470588235294118 0
23 Carina Liebers Human Computer Interaction Computer Science Researcher A5004350173 2022 2026 4 5 5 11 2.2 2.2 0
24 Jonas Keppel Human Computer Interaction Computer Science Researcher A5015767175 2022 2026 4 5 5 11 2.2 2.2 0
25 Carlos Medina Sánchez Networked Embedded Systems Computer Science Researcher A5093479876 2023 2025 2 3 2 2 1.0 0.6666666666666666 1
26 Marcus Handte Networked Embedded Systems Computer Science Researcher A5007170803 2004 2026 22 23 23 107 4.6521739130434785 4.6521739130434785 0
27 Simon Janzon Networked Embedded Systems Computer Science Researcher A5044472300 2020 2025 5 6 5 6 1.2 1.0 1
28 Christian Niesler Secure Software Systems Computer Science Researcher A5069184110 2021 2026 5 6 5 9 1.8 1.5 0
29 Christian Scholz Secure Software Systems Computer Science Researcher A5120610207 2025 2026 1 2 2 2 1.0 1.0 0
30 Pascal Winkler Secure Software Systems Computer Science Researcher A5081189339 2009 2026 17 18 6 22 3.6666666666666665 1.2222222222222223 0
31 Stefan Hanenberg Software Engineering Computer Science Researcher A5027034338 2000 2025 25 26 25 105 4.2 4.038461538461538 1
32 Wilhelm Koop Software Engineering Computer Science Researcher A5019228221 2016 2022 6 7 6 14 2.3333333333333335 2.0 4
33 Venkata Marella Vertrauenswürdige Systeme Computer Science Researcher A5082156768 2017 2026 9 10 8 11 1.375 1.1 0
34 Burak Atakan Engineering Engineering Professor A5041521847 1989 2026 37 38 35 202 5.771428571428571 5.315789473684211 0
35 Corina Andronescu Engineering Engineering Professor A5082583063 2008 2026 18 19 19 137 7.2105263157894735 7.2105263157894735 0
36 Gerd Bacher Engineering Engineering Professor A5056038758 1985 2026 41 42 38 385 10.131578947368421 9.166666666666666 0
37 Miriam Böhm Engineering Engineering Researcher A5037448457 2011 2021 10 11 8 12 1.5 1.0909090909090908 5
38 Soheil Salighe Steuerung Regelung und Systemdynamik Engineering Researcher A5041884757 2017 2024 7 8 5 7 1.4 0.875 2
39 Tobias Mikolas Engineering Engineering Researcher A5002909977 2021 2023 2 3 2 2 1.0 0.6666666666666666 3
40 Boris Hadaschik Medicine Medicine Professor A5077243123 2001 2026 25 26 24 791 32.958333333333336 30.423076923076923 0
41 Hartmut Schmidt Medicine Medicine Professor A5015932441 1910 2026 116 117 63 1024 16.253968253968253 8.752136752136753 0
42 Matthias Gunzer Medicine Medicine Professor A5020520632 1997 2026 29 30 29 343 11.827586206896552 11.433333333333334 0
43 Oliver Witzke Medicine Medicine Professor A5087456839 1954 2026 72 73 34 615 18.08823529411765 8.424657534246576 0
44 Stephan Lang Medicine Medicine Professor A5030649192 1929 2026 97 98 44 859 19.522727272727273 8.76530612244898 0
45 Tienush Rassaf Medicine Medicine Professor A5048609556 2002 2025 23 24 19 62 3.263157894736842 2.5833333333333335 1
46 Ulrike Bingel Medicine Medicine Professor A5002281474 1998 2026 28 29 27 315 11.666666666666666 10.862068965517242 0
47 Birte Möhlendick Medicine Medicine Researcher A5030635588 2010 2025 15 16 14 48 3.4285714285714284 3.0 1
48 Julia Schwichtenberg Medicine Medicine Researcher A5119372151 2025 2026 1 2 2 3 1.5 1.5 0
49 Katrin Schuldt Medicine Medicine Researcher A5002003996 2000 2026 26 27 7 12 1.7142857142857142 0.4444444444444444 0
50 Sabrina Guckenbiehl Medicine Medicine Researcher A5008120333 2021 2026 5 6 6 31 5.166666666666667 5.166666666666667 0
51 Zülal Cibir Medicine Medicine Researcher A5035081158 2019 2025 6 7 7 21 3.0 3.0 1
52 Frank Kleemann Sociology Sociology Professor A5041694590 1999 2025 26 27 22 106 4.818181818181818 3.925925925925926 1
53 Gregor Bongaerts Sociology Sociology Professor A5012265262 2000 2025 25 26 18 55 3.0555555555555554 2.1153846153846154 1
54 Helen Baykara-Krumme Sociology Sociology Professor A5010111732 2007 2026 19 20 19 71 3.736842105263158 3.55 0
55 Marcel Erlinghagen Sociology Sociology Professor A5021715937 1970 2026 56 57 29 131 4.517241379310345 2.2982456140350878 0
56 Ute Klammer Sociology Sociology Professor A5055077517 1997 2026 29 30 25 146 5.84 4.866666666666666 0
57 Andreas Jansen Sociology Sociology Researcher A5030957194 1991 2026 35 36 12 15 1.25 0.4166666666666667 0
58 Antonia Görtz Sociology Sociology Researcher A5066776558 2022 2025 3 4 2 2 1.0 0.5 1
59 Friedrich Scheller Sociology Sociology Researcher A5072565080 2014 2020 6 7 2 2 1.0 0.2857142857142857 6
60 Lara Altenstädter Sociology Sociology Researcher A5070117981 2019 2023 4 5 5 15 3.0 3.0 3
61 Lisa Mansfeld Sociology Sociology Researcher A5018318930 2021 2026 5 6 5 9 1.8 1.5 0
@@ -0,0 +1,61 @@
name,discipline,discipline_group,known_status,openalex_author_id
Barbara Saccà,Biology,Biology,Professor,A5075803366
Bernd Sures,Biology,Biology,Professor,A5088631999
Daniel Hering,Biology,Biology,Professor,A5031147249
Daniel Hoffmann,Biology,Biology,Professor,A5074555350
Peter Bayer,Biology,Biology,Professor,A5060566345
Bianca Kamba,Biology,Biology,Researcher,A5036363877
Daniel Grabner,Biology,Biology,Researcher,A5063959731
Farnusch Kaschani,Biology,Biology,Researcher,A5078099512
Kathrin Januschke,Biology,Biology,Researcher,A5064225981
Richard Kosinski,Biology,Biology,Researcher,A5014403509
Jens Krüger,Computer Graphics and Visualization,Computer Science,Professor,A5087449583
Torben Weis,Distributed Systems,Computer Science,Professor,A5016729057
Stefan Schneegaß,Human Computer Interaction,Computer Science,Professor,A5024328962
Gregor Schiele,Intelligent Embedded Systems,Computer Science,Professor,A5028943371
Pedro José Marrón,Networked Embedded Systems,Computer Science,Professor,A5047117780
Lucas Davi,Secure Software Systems,Computer Science,Professor,A5089242868
Volker Gruhn,Software Engineering,Computer Science,Professor,A5049739067
Andreas Metzger,Software Systems Engineering,Computer Science,Professor,A5082025709
Andreas Vogelsang,Software Systems Engineering,Computer Science,Professor,A5022998651
Barbara König,Theoretical Computer Science,Computer Science,Professor,A5103103785
Alexandra Dmitrienko,Vertrauenswürdige Systeme,Computer Science,Professor,A5042835341
Carina Liebers,Human Computer Interaction,Computer Science,Researcher,A5004350173
Jonas Keppel,Human Computer Interaction,Computer Science,Researcher,A5015767175
Carlos Medina Sánchez,Networked Embedded Systems,Computer Science,Researcher,A5093479876
Marcus Handte,Networked Embedded Systems,Computer Science,Researcher,A5007170803
Simon Janzon,Networked Embedded Systems,Computer Science,Researcher,A5044472300
Christian Niesler,Secure Software Systems,Computer Science,Researcher,A5069184110
Christian Scholz,Secure Software Systems,Computer Science,Researcher,A5120610207
Pascal Winkler,Secure Software Systems,Computer Science,Researcher,A5081189339
Stefan Hanenberg,Software Engineering,Computer Science,Researcher,A5027034338
Wilhelm Koop,Software Engineering,Computer Science,Researcher,A5019228221
Venkata Marella,Vertrauenswürdige Systeme,Computer Science,Researcher,A5082156768
Burak Atakan,Engineering,Engineering,Professor,A5041521847
Corina Andronescu,Engineering,Engineering,Professor,A5082583063
Gerd Bacher,Engineering,Engineering,Professor,A5056038758
Miriam Böhm,Engineering,Engineering,Researcher,A5037448457
Soheil Salighe,Steuerung Regelung und Systemdynamik,Engineering,Researcher,A5041884757
Tobias Mikolas,Engineering,Engineering,Researcher,A5002909977
Boris Hadaschik,Medicine,Medicine,Professor,A5077243123
Hartmut Schmidt,Medicine,Medicine,Professor,A5015932441
Matthias Gunzer,Medicine,Medicine,Professor,A5020520632
Oliver Witzke,Medicine,Medicine,Professor,A5087456839
Stephan Lang,Medicine,Medicine,Professor,A5030649192
Tienush Rassaf,Medicine,Medicine,Professor,A5048609556
Ulrike Bingel,Medicine,Medicine,Professor,A5002281474
Birte Möhlendick,Medicine,Medicine,Researcher,A5030635588
Julia Schwichtenberg,Medicine,Medicine,Researcher,A5119372151
Katrin Schuldt,Medicine,Medicine,Researcher,A5002003996
Sabrina Guckenbiehl,Medicine,Medicine,Researcher,A5008120333
Zülal Cibir,Medicine,Medicine,Researcher,A5035081158
Frank Kleemann,Sociology,Sociology,Professor,A5041694590
Gregor Bongaerts,Sociology,Sociology,Professor,A5012265262
Helen Baykara-Krumme,Sociology,Sociology,Professor,A5010111732
Marcel Erlinghagen,Sociology,Sociology,Professor,A5021715937
Ute Klammer,Sociology,Sociology,Professor,A5055077517
Andreas Jansen,Sociology,Sociology,Researcher,A5030957194
Antonia Görtz,Sociology,Sociology,Researcher,A5066776558
Friedrich Scheller,Sociology,Sociology,Researcher,A5072565080
Lara Altenstädter,Sociology,Sociology,Researcher,A5070117981
Lisa Mansfeld,Sociology,Sociology,Researcher,A5018318930
1 name discipline discipline_group known_status openalex_author_id
2 Barbara Saccà Biology Biology Professor A5075803366
3 Bernd Sures Biology Biology Professor A5088631999
4 Daniel Hering Biology Biology Professor A5031147249
5 Daniel Hoffmann Biology Biology Professor A5074555350
6 Peter Bayer Biology Biology Professor A5060566345
7 Bianca Kamba Biology Biology Researcher A5036363877
8 Daniel Grabner Biology Biology Researcher A5063959731
9 Farnusch Kaschani Biology Biology Researcher A5078099512
10 Kathrin Januschke Biology Biology Researcher A5064225981
11 Richard Kosinski Biology Biology Researcher A5014403509
12 Jens Krüger Computer Graphics and Visualization Computer Science Professor A5087449583
13 Torben Weis Distributed Systems Computer Science Professor A5016729057
14 Stefan Schneegaß Human Computer Interaction Computer Science Professor A5024328962
15 Gregor Schiele Intelligent Embedded Systems Computer Science Professor A5028943371
16 Pedro José Marrón Networked Embedded Systems Computer Science Professor A5047117780
17 Lucas Davi Secure Software Systems Computer Science Professor A5089242868
18 Volker Gruhn Software Engineering Computer Science Professor A5049739067
19 Andreas Metzger Software Systems Engineering Computer Science Professor A5082025709
20 Andreas Vogelsang Software Systems Engineering Computer Science Professor A5022998651
21 Barbara König Theoretical Computer Science Computer Science Professor A5103103785
22 Alexandra Dmitrienko Vertrauenswürdige Systeme Computer Science Professor A5042835341
23 Carina Liebers Human Computer Interaction Computer Science Researcher A5004350173
24 Jonas Keppel Human Computer Interaction Computer Science Researcher A5015767175
25 Carlos Medina Sánchez Networked Embedded Systems Computer Science Researcher A5093479876
26 Marcus Handte Networked Embedded Systems Computer Science Researcher A5007170803
27 Simon Janzon Networked Embedded Systems Computer Science Researcher A5044472300
28 Christian Niesler Secure Software Systems Computer Science Researcher A5069184110
29 Christian Scholz Secure Software Systems Computer Science Researcher A5120610207
30 Pascal Winkler Secure Software Systems Computer Science Researcher A5081189339
31 Stefan Hanenberg Software Engineering Computer Science Researcher A5027034338
32 Wilhelm Koop Software Engineering Computer Science Researcher A5019228221
33 Venkata Marella Vertrauenswürdige Systeme Computer Science Researcher A5082156768
34 Burak Atakan Engineering Engineering Professor A5041521847
35 Corina Andronescu Engineering Engineering Professor A5082583063
36 Gerd Bacher Engineering Engineering Professor A5056038758
37 Miriam Böhm Engineering Engineering Researcher A5037448457
38 Soheil Salighe Steuerung Regelung und Systemdynamik Engineering Researcher A5041884757
39 Tobias Mikolas Engineering Engineering Researcher A5002909977
40 Boris Hadaschik Medicine Medicine Professor A5077243123
41 Hartmut Schmidt Medicine Medicine Professor A5015932441
42 Matthias Gunzer Medicine Medicine Professor A5020520632
43 Oliver Witzke Medicine Medicine Professor A5087456839
44 Stephan Lang Medicine Medicine Professor A5030649192
45 Tienush Rassaf Medicine Medicine Professor A5048609556
46 Ulrike Bingel Medicine Medicine Professor A5002281474
47 Birte Möhlendick Medicine Medicine Researcher A5030635588
48 Julia Schwichtenberg Medicine Medicine Researcher A5119372151
49 Katrin Schuldt Medicine Medicine Researcher A5002003996
50 Sabrina Guckenbiehl Medicine Medicine Researcher A5008120333
51 Zülal Cibir Medicine Medicine Researcher A5035081158
52 Frank Kleemann Sociology Sociology Professor A5041694590
53 Gregor Bongaerts Sociology Sociology Professor A5012265262
54 Helen Baykara-Krumme Sociology Sociology Professor A5010111732
55 Marcel Erlinghagen Sociology Sociology Professor A5021715937
56 Ute Klammer Sociology Sociology Professor A5055077517
57 Andreas Jansen Sociology Sociology Researcher A5030957194
58 Antonia Görtz Sociology Sociology Researcher A5066776558
59 Friedrich Scheller Sociology Sociology Researcher A5072565080
60 Lara Altenstädter Sociology Sociology Researcher A5070117981
61 Lisa Mansfeld Sociology Sociology Researcher A5018318930
@@ -0,0 +1,633 @@
from collections.abc import Callable
from pathlib import Path
from typing import Literal
import matplotlib.pyplot as plt
import pandas as pd
BASE_DIR = Path(__file__).resolve().parent
INPUT_FILE = BASE_DIR / "career_stage_results.csv"
PLOTS_DIR = BASE_DIR / "plots"
SUMMARY_DIR = BASE_DIR / "summaries"
STATUS_ORDER = ["Professor", "Researcher"]
METRICS = [
"career_span",
"active_years",
"publication_count",
"publications_per_active_year",
"publications_per_career_year",
"years_since_last_publication",
]
NUMERIC_COLUMNS = [
"first_publication_year",
"last_publication_year",
"career_age",
*METRICS,
]
METRIC_LABELS = {
"career_span": "Career Span in Years",
"active_years": "Active Publication Years",
"publication_count": "Number of Publications",
"publications_per_active_year": "Publications per Active Year",
"publications_per_career_year": "Publications per Career Year",
"years_since_last_publication": "Years Since Last Publication",
}
METRIC_TITLES = {
"career_span": "Career Span",
"active_years": "Active Publication Years",
"publication_count": "Publication Count",
"publications_per_active_year": "Publications per Active Year",
"publications_per_career_year": "Publications per Career Year",
"years_since_last_publication": "Years Since Last Publication",
}
StatisticFunction = Callable[[pd.Series], float]
ScatterLabelMode = Literal["none", "outliers", "all"]
def prepare_data() -> pd.DataFrame:
if not INPUT_FILE.exists():
raise FileNotFoundError(
f"Input file not found: {INPUT_FILE}. "
"Run career_stage_analysis.py first."
)
df = pd.read_csv(INPUT_FILE)
if "discipline_group" not in df.columns:
df["discipline_group"] = df.get("discipline", "Unknown")
df["discipline_group"] = df["discipline_group"].fillna("Unknown")
df["known_status"] = df["known_status"].fillna("Unknown")
for column in NUMERIC_COLUMNS:
if column in df.columns:
df[column] = pd.to_numeric(df[column], errors="coerce")
return df
def ordered_statuses(df: pd.DataFrame) -> list[str]:
statuses = [status for status in STATUS_ORDER if status in df["known_status"].unique()]
additional_statuses = sorted(
status
for status in df["known_status"].dropna().unique()
if status not in STATUS_ORDER
)
return statuses + additional_statuses
def ordered_discipline_groups(df: pd.DataFrame) -> list[str]:
return sorted(df["discipline_group"].dropna().unique())
def mean_value(series: pd.Series) -> float:
return series.mean()
def median_value(series: pd.Series) -> float:
return series.median()
def build_summary(df: pd.DataFrame, group_columns: list[str]) -> pd.DataFrame:
rows: list[dict[str, object]] = []
for group_values, group in df.groupby(group_columns, dropna=False):
if not isinstance(group_values, tuple):
group_values = (group_values,)
row: dict[str, object] = {
column: value for column, value in zip(group_columns, group_values)
}
row["sample_size"] = len(group)
for metric in METRICS:
if metric not in group.columns:
continue
values = group[metric].dropna()
row[f"mean_{metric}"] = values.mean() if not values.empty else None
row[f"median_{metric}"] = values.median() if not values.empty else None
rows.append(row)
return pd.DataFrame(rows)
def save_summary_tables(df: pd.DataFrame) -> None:
SUMMARY_DIR.mkdir(exist_ok=True)
summary_by_status = build_summary(df, ["known_status"])
summary_by_status.to_csv(
SUMMARY_DIR / "summary_by_status.csv",
index=False,
encoding="utf-8",
)
summary_by_discipline_group = build_summary(df, ["discipline_group"])
summary_by_discipline_group.to_csv(
SUMMARY_DIR / "summary_by_discipline_group.csv",
index=False,
encoding="utf-8",
)
summary_by_discipline_group_and_status = build_summary(
df,
["discipline_group", "known_status"],
)
summary_by_discipline_group_and_status.to_csv(
SUMMARY_DIR / "summary_by_discipline_group_and_status.csv",
index=False,
encoding="utf-8",
)
def save_bar_plot_by_status(
df: pd.DataFrame,
metric: str,
statistic_name: str,
statistic_function: StatisticFunction,
title: str,
ylabel: str,
filename: str,
) -> None:
grouped = df.groupby("known_status")[metric].apply(statistic_function)
grouped = grouped.reindex(ordered_statuses(df)).dropna()
plt.figure(figsize=(10, 6))
grouped.plot(kind="bar")
plt.title(title)
plt.xlabel("Known Status")
plt.ylabel(ylabel)
plt.xticks(rotation=30, ha="right")
plt.tight_layout()
plt.savefig(PLOTS_DIR / filename)
plt.close()
print(f"Saved {statistic_name} plot: {filename}")
def save_grouped_bar_plot_by_discipline_group(
df: pd.DataFrame,
metric: str,
statistic_name: str,
statistic_function: StatisticFunction,
title: str,
ylabel: str,
filename: str,
) -> None:
grouped = (
df.groupby(["discipline_group", "known_status"])[metric]
.apply(statistic_function)
.unstack("known_status")
)
grouped = grouped.reindex(ordered_discipline_groups(df))
grouped = grouped.reindex(columns=ordered_statuses(df))
plt.figure(figsize=(12, 6))
grouped.plot(kind="bar")
plt.title(title)
plt.xlabel("Discipline Group")
plt.ylabel(ylabel)
plt.xticks(rotation=30, ha="right")
plt.legend(title="Known Status")
plt.tight_layout()
plt.savefig(PLOTS_DIR / filename)
plt.close()
print(f"Saved {statistic_name} discipline group plot: {filename}")
def save_box_plot_by_status(
df: pd.DataFrame,
metric: str,
title: str,
ylabel: str,
filename: str,
) -> None:
statuses = ordered_statuses(df)
data = [df.loc[df["known_status"] == status, metric].dropna() for status in statuses]
plt.figure(figsize=(10, 6))
plt.boxplot(data, labels=statuses)
plt.title(title)
plt.xlabel("Known Status")
plt.ylabel(ylabel)
plt.xticks(rotation=30, ha="right")
plt.tight_layout()
plt.savefig(PLOTS_DIR / filename)
plt.close()
def save_box_plot_by_discipline_group_and_status(
df: pd.DataFrame,
metric: str,
title: str,
ylabel: str,
filename: str,
) -> None:
labels: list[str] = []
data: list[pd.Series] = []
for discipline_group in ordered_discipline_groups(df):
discipline_group_data = df[df["discipline_group"] == discipline_group]
for status in ordered_statuses(discipline_group_data):
values = discipline_group_data.loc[
discipline_group_data["known_status"] == status,
metric,
].dropna()
if values.empty:
continue
labels.append(f"{discipline_group}\n{status}")
data.append(values)
if not data:
return
plt.figure(figsize=(14, 6))
plt.boxplot(data, labels=labels)
plt.title(title)
plt.xlabel("Discipline Group and Known Status")
plt.ylabel(ylabel)
plt.xticks(rotation=45, ha="right")
plt.tight_layout()
plt.savefig(PLOTS_DIR / filename)
plt.close()
def save_histogram(
df: pd.DataFrame,
metric: str,
title: str,
xlabel: str,
filename: str,
) -> None:
plt.figure(figsize=(10, 6))
df[metric].dropna().plot(kind="hist", bins=10)
plt.title(title)
plt.xlabel(xlabel)
plt.ylabel("Number of Researchers")
plt.tight_layout()
plt.savefig(PLOTS_DIR / filename)
plt.close()
def is_outlier(row: pd.Series, df: pd.DataFrame, x_metric: str, y_metric: str) -> bool:
x_values = df[x_metric].dropna()
y_values = df[y_metric].dropna()
if x_values.empty or y_values.empty:
return False
x_threshold = x_values.quantile(0.75) + 1.5 * (
x_values.quantile(0.75) - x_values.quantile(0.25)
)
y_threshold = y_values.quantile(0.75) + 1.5 * (
y_values.quantile(0.75) - y_values.quantile(0.25)
)
x_value = row.get(x_metric)
y_value = row.get(y_metric)
if pd.isna(x_value) or pd.isna(y_value):
return False
is_statistical_outlier = x_value > x_threshold or y_value > y_threshold
is_researcher_with_long_history = (
row.get("known_status") == "Researcher"
and (x_value > 20 or row.get("publication_count", 0) > 100)
)
is_suspiciously_old_first_publication = row.get("first_publication_year", 9999) < 1970
return bool(
is_statistical_outlier
or is_researcher_with_long_history
or is_suspiciously_old_first_publication
)
def should_label_point(
row: pd.Series,
df: pd.DataFrame,
x_metric: str,
y_metric: str,
label_mode: ScatterLabelMode,
) -> bool:
if label_mode == "none":
return False
if label_mode == "all":
return True
return is_outlier(row, df, x_metric, y_metric)
def save_scatter_plot(
df: pd.DataFrame,
x_metric: str,
y_metric: str,
group_column: str,
title: str,
xlabel: str,
ylabel: str,
filename: str,
label_mode: ScatterLabelMode = "none",
) -> None:
figure_width = 15 if label_mode == "all" else 11
figure_height = 9 if label_mode == "all" else 7
label_fontsize = 6 if label_mode == "all" else 8
plt.figure(figsize=(figure_width, figure_height))
for group_name, group in df.groupby(group_column):
plt.scatter(group[x_metric], group[y_metric], label=group_name, alpha=0.8)
for _, row in group.iterrows():
x_value = row.get(x_metric)
y_value = row.get(y_metric)
name = row.get("name")
if (
pd.notna(name)
and pd.notna(x_value)
and pd.notna(y_value)
and should_label_point(row, df, x_metric, y_metric, label_mode)
):
plt.annotate(
str(name),
(x_value, y_value),
fontsize=label_fontsize,
xytext=(5, 5),
textcoords="offset points",
)
plt.title(title)
plt.xlabel(xlabel)
plt.ylabel(ylabel)
plt.legend(title=group_column)
plt.tight_layout()
plt.savefig(PLOTS_DIR / filename)
plt.close()
def create_status_plots(df: pd.DataFrame) -> None:
for metric in ["career_span", "publication_count", "active_years"]:
metric_title = METRIC_TITLES[metric]
metric_label = METRIC_LABELS[metric]
save_bar_plot_by_status(
df=df,
metric=metric,
statistic_name="average",
statistic_function=mean_value,
title=f"Average {metric_title} by Known Status",
ylabel=f"Average {metric_label}",
filename=f"average_{metric}_by_status.png",
)
save_bar_plot_by_status(
df=df,
metric=metric,
statistic_name="median",
statistic_function=median_value,
title=f"Median {metric_title} by Known Status",
ylabel=f"Median {metric_label}",
filename=f"median_{metric}_by_status.png",
)
for metric in [
"publications_per_active_year",
"publications_per_career_year",
"years_since_last_publication",
]:
metric_title = METRIC_TITLES[metric]
metric_label = METRIC_LABELS[metric]
save_bar_plot_by_status(
df=df,
metric=metric,
statistic_name="average",
statistic_function=mean_value,
title=f"Average {metric_title} by Known Status",
ylabel=f"Average {metric_label}",
filename=f"average_{metric}_by_status.png",
)
save_box_plot_by_status(
df=df,
metric="career_span",
title="Distribution of Career Span by Known Status",
ylabel="Career Span in Years",
filename="boxplot_career_span_by_status.png",
)
save_box_plot_by_status(
df=df,
metric="publication_count",
title="Distribution of Publication Count by Known Status",
ylabel="Number of Publications",
filename="boxplot_publication_count_by_status.png",
)
save_box_plot_by_status(
df=df,
metric="active_years",
title="Distribution of Active Publication Years by Known Status",
ylabel="Active Publication Years",
filename="boxplot_active_years_by_status.png",
)
def create_discipline_group_plots(df: pd.DataFrame) -> None:
for metric in ["career_span", "publication_count", "active_years"]:
metric_title = METRIC_TITLES[metric]
metric_label = METRIC_LABELS[metric]
save_grouped_bar_plot_by_discipline_group(
df=df,
metric=metric,
statistic_name="average",
statistic_function=mean_value,
title=f"Average {metric_title} by Discipline Group and Status",
ylabel=f"Average {metric_label}",
filename=f"average_{metric}_by_discipline_group_and_status.png",
)
save_grouped_bar_plot_by_discipline_group(
df=df,
metric=metric,
statistic_name="median",
statistic_function=median_value,
title=f"Median {metric_title} by Discipline Group and Status",
ylabel=f"Median {metric_label}",
filename=f"median_{metric}_by_discipline_group_and_status.png",
)
save_box_plot_by_discipline_group_and_status(
df=df,
metric=metric,
title=f"Distribution of {metric_title} by Discipline Group and Status",
ylabel=metric_label,
filename=f"boxplot_{metric}_by_discipline_group_and_status.png",
)
def create_distribution_plots(df: pd.DataFrame) -> None:
save_histogram(
df=df,
metric="career_span",
title="Career Span Distribution",
xlabel="Career Span in Years",
filename="histogram_career_span.png",
)
save_histogram(
df=df,
metric="publication_count",
title="Publication Count Distribution",
xlabel="Number of Publications",
filename="histogram_publication_count.png",
)
def create_scatter_plots(df: pd.DataFrame) -> None:
save_scatter_plot(
df=df,
x_metric="career_span",
y_metric="publication_count",
group_column="known_status",
title="Career Span vs Publication Count by Status",
xlabel="Career Span in Years",
ylabel="Number of Publications",
filename="scatter_career_span_vs_publication_count_by_status.png",
label_mode="none",
)
save_scatter_plot(
df=df,
x_metric="career_span",
y_metric="publication_count",
group_column="known_status",
title="Career Span vs Publication Count by Status with Outlier Labels",
xlabel="Career Span in Years",
ylabel="Number of Publications",
filename="scatter_career_span_vs_publication_count_by_status_outliers.png",
label_mode="outliers",
)
save_scatter_plot(
df=df,
x_metric="career_span",
y_metric="publication_count",
group_column="known_status",
title="Career Span vs Publication Count by Status with All Names",
xlabel="Career Span in Years",
ylabel="Number of Publications",
filename="scatter_career_span_vs_publication_count_by_status_all_names.png",
label_mode="all",
)
save_scatter_plot(
df=df,
x_metric="career_span",
y_metric="publication_count",
group_column="discipline_group",
title="Career Span vs Publication Count by Discipline Group",
xlabel="Career Span in Years",
ylabel="Number of Publications",
filename="scatter_career_span_vs_publication_count_by_discipline_group.png",
label_mode="none",
)
save_scatter_plot(
df=df,
x_metric="career_span",
y_metric="publication_count",
group_column="discipline_group",
title="Career Span vs Publication Count by Discipline Group with All Names",
xlabel="Career Span in Years",
ylabel="Number of Publications",
filename="scatter_career_span_vs_publication_count_by_discipline_group_all_names.png",
label_mode="all",
)
save_scatter_plot(
df=df,
x_metric="active_years",
y_metric="publication_count",
group_column="known_status",
title="Active Publication Years vs Publication Count by Status",
xlabel="Active Publication Years",
ylabel="Number of Publications",
filename="scatter_active_years_vs_publication_count_by_status.png",
label_mode="none",
)
save_scatter_plot(
df=df,
x_metric="active_years",
y_metric="publication_count",
group_column="known_status",
title="Active Publication Years vs Publication Count by Status with All Names",
xlabel="Active Publication Years",
ylabel="Number of Publications",
filename="scatter_active_years_vs_publication_count_by_status_all_names.png",
label_mode="all",
)
save_scatter_plot(
df=df,
x_metric="career_span",
y_metric="publications_per_active_year",
group_column="known_status",
title="Career Span vs Publications per Active Year by Status",
xlabel="Career Span in Years",
ylabel="Publications per Active Year",
filename="scatter_career_span_vs_publications_per_active_year_by_status.png",
label_mode="none",
)
save_scatter_plot(
df=df,
x_metric="career_span",
y_metric="publications_per_active_year",
group_column="known_status",
title="Career Span vs Publications per Active Year by Status with All Names",
xlabel="Career Span in Years",
ylabel="Publications per Active Year",
filename="scatter_career_span_vs_publications_per_active_year_by_status_all_names.png",
label_mode="all",
)
def create_visualizations() -> None:
PLOTS_DIR.mkdir(exist_ok=True)
SUMMARY_DIR.mkdir(exist_ok=True)
df = prepare_data()
if df.empty:
print("No data available for visualization.")
return
save_summary_tables(df)
create_status_plots(df)
create_discipline_group_plots(df)
create_distribution_plots(df)
create_scatter_plots(df)
print(f"Visualizations saved to {PLOTS_DIR}")
print(f"Summary tables saved to {SUMMARY_DIR}")
if __name__ == "__main__":
create_visualizations()
+95
View File
@@ -0,0 +1,95 @@
import json
from typing import Any
from urllib.error import HTTPError, URLError
from urllib.parse import urlencode
from urllib.request import Request, urlopen
OPENALEX_WORKS_URL = "https://api.openalex.org/works"
REQUEST_TIMEOUT_SECONDS = 30
PER_PAGE = 200
def normalize_author_id(author_id: str) -> str:
"""
Normalizes OpenAlex author IDs.
Supported inputs:
- A123456789
- https://openalex.org/A123456789
- https://api.openalex.org/authors/A123456789
"""
cleaned_author_id = author_id.strip()
if cleaned_author_id.startswith("https://api.openalex.org/authors/"):
return cleaned_author_id.replace(
"https://api.openalex.org/authors/",
"https://openalex.org/",
)
if cleaned_author_id.startswith("https://openalex.org/"):
return cleaned_author_id
if cleaned_author_id.startswith("A"):
return f"https://openalex.org/{cleaned_author_id}"
return cleaned_author_id
def fetch_openalex_page(author_id: str, cursor: str) -> dict[str, Any]:
normalized_author_id = normalize_author_id(author_id)
query_params = urlencode(
{
"filter": f"authorships.author.id:{normalized_author_id}",
"per-page": PER_PAGE,
"cursor": cursor,
"sort": "publication_year:asc",
}
)
url = f"{OPENALEX_WORKS_URL}?{query_params}"
request = Request(
url,
headers={
"Accept": "application/json",
"User-Agent": "AIIS career stage analysis",
},
)
try:
with urlopen(request, timeout=REQUEST_TIMEOUT_SECONDS) as response:
response_body = response.read().decode("utf-8")
return json.loads(response_body)
except HTTPError as error:
raise RuntimeError(
f"OpenAlex request failed with HTTP status {error.code}: {url}"
) from error
except URLError as error:
raise RuntimeError(f"OpenAlex request failed: {error}") from error
def get_all_author_works(author_id: str) -> list[dict[str, Any]]:
"""
Fetches all works for an OpenAlex author by using cursor pagination.
"""
works: list[dict[str, Any]] = []
cursor = "*"
while cursor:
data = fetch_openalex_page(author_id, cursor)
page_results = data.get("results", [])
works.extend(page_results)
meta = data.get("meta", {})
next_cursor = meta.get("next_cursor")
if not next_cursor or next_cursor == cursor:
break
cursor = next_cursor
return works
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

@@ -0,0 +1,6 @@
discipline_group,sample_size,mean_career_span,median_career_span,mean_active_years,median_active_years,mean_publication_count,median_publication_count,mean_publications_per_active_year,median_publications_per_active_year,mean_publications_per_career_year,median_publications_per_career_year,mean_years_since_last_publication,median_years_since_last_publication
Biology,10,44.5,35.0,23.0,23.5,184.5,138.5,6.410136743886744,6.833333333333333,4.342828101969518,2.8414179104477615,0.7,0.0
Computer Science,22,24.90909090909091,18.5,17.136363636363637,17.5,115.54545454545455,106.0,5.194674030118668,4.390697674418605,4.383304699676206,3.1192307692307693,0.4090909090909091,0.0
Engineering,6,20.166666666666668,15.0,17.833333333333332,13.5,124.16666666666667,74.5,4.5022556390977435,3.6357142857142857,4.054259702286018,3.2033492822966507,1.6666666666666667,1.0
Medicine,12,37.916666666666664,26.5,23.0,21.5,343.6666666666667,188.5,10.699183227664198,8.416666666666666,7.862918672933688,6.795662100456621,0.25,0.0
Sociology,10,21.8,23.0,13.9,15.0,55.2,35.0,3.0017820858310875,3.0277777777777777,2.245860377439325,2.206815114709852,1.2,0.5
1 discipline_group sample_size mean_career_span median_career_span mean_active_years median_active_years mean_publication_count median_publication_count mean_publications_per_active_year median_publications_per_active_year mean_publications_per_career_year median_publications_per_career_year mean_years_since_last_publication median_years_since_last_publication
2 Biology 10 44.5 35.0 23.0 23.5 184.5 138.5 6.410136743886744 6.833333333333333 4.342828101969518 2.8414179104477615 0.7 0.0
3 Computer Science 22 24.90909090909091 18.5 17.136363636363637 17.5 115.54545454545455 106.0 5.194674030118668 4.390697674418605 4.383304699676206 3.1192307692307693 0.4090909090909091 0.0
4 Engineering 6 20.166666666666668 15.0 17.833333333333332 13.5 124.16666666666667 74.5 4.5022556390977435 3.6357142857142857 4.054259702286018 3.2033492822966507 1.6666666666666667 1.0
5 Medicine 12 37.916666666666664 26.5 23.0 21.5 343.6666666666667 188.5 10.699183227664198 8.416666666666666 7.862918672933688 6.795662100456621 0.25 0.0
6 Sociology 10 21.8 23.0 13.9 15.0 55.2 35.0 3.0017820858310875 3.0277777777777777 2.245860377439325 2.206815114709852 1.2 0.5
@@ -0,0 +1,11 @@
discipline_group,known_status,sample_size,mean_career_span,median_career_span,mean_active_years,median_active_years,mean_publication_count,median_publication_count,mean_publications_per_active_year,median_publications_per_active_year,mean_publications_per_career_year,median_publications_per_career_year,mean_years_since_last_publication,median_years_since_last_publication
Biology,Professor,5,62.8,58.0,33.4,35.0,303.4,332.0,8.856940154440155,9.485714285714286,5.944422997812213,5.442622950819672,0.4,0.0
Biology,Researcher,5,26.2,22.0,12.6,15.0,65.6,36.0,3.9633333333333334,2.4,2.741233206126823,2.021276595744681,1.0,0.0
Computer Science,Professor,11,39.72727272727273,31.0,25.90909090909091,22.0,203.8181818181818,202.0,8.05960497723338,7.214285714285714,6.804834459316603,6.470588235294118,0.18181818181818182,0.0
Computer Science,Researcher,11,10.090909090909092,6.0,8.363636363636363,5.0,27.272727272727273,11.0,2.3297430830039527,2.2,1.96177494003581,1.5,0.6363636363636364,0.0
Engineering,Professor,3,33.0,38.0,30.666666666666668,35.0,241.33333333333334,202.0,7.704511278195487,7.2105263157894735,7.230994152046783,7.2105263157894735,0.0,0.0
Engineering,Researcher,3,7.333333333333333,8.0,5.0,5.0,7.0,7.0,1.3,1.4,0.8775252525252525,0.875,3.3333333333333335,3.0
Medicine,Professor,7,56.714285714285715,30.0,34.285714285714285,29.0,572.7142857142857,615.0,16.225810703206655,16.253968253968253,11.606273280584732,8.76530612244898,0.14285714285714285,0.0
Medicine,Researcher,5,11.6,7.0,7.2,7.0,23.0,21.0,2.961904761904762,3.0,2.6222222222222222,3.0,0.4,0.0
Sociology,Professor,5,32.0,27.0,22.6,22.0,101.8,106.0,4.393564171662176,4.517241379310345,3.3512445644024593,3.55,0.4,0.0
Sociology,Researcher,5,11.6,6.0,5.2,5.0,8.6,9.0,1.61,1.25,1.1404761904761904,0.5,2.0,1.0
1 discipline_group known_status sample_size mean_career_span median_career_span mean_active_years median_active_years mean_publication_count median_publication_count mean_publications_per_active_year median_publications_per_active_year mean_publications_per_career_year median_publications_per_career_year mean_years_since_last_publication median_years_since_last_publication
2 Biology Professor 5 62.8 58.0 33.4 35.0 303.4 332.0 8.856940154440155 9.485714285714286 5.944422997812213 5.442622950819672 0.4 0.0
3 Biology Researcher 5 26.2 22.0 12.6 15.0 65.6 36.0 3.9633333333333334 2.4 2.741233206126823 2.021276595744681 1.0 0.0
4 Computer Science Professor 11 39.72727272727273 31.0 25.90909090909091 22.0 203.8181818181818 202.0 8.05960497723338 7.214285714285714 6.804834459316603 6.470588235294118 0.18181818181818182 0.0
5 Computer Science Researcher 11 10.090909090909092 6.0 8.363636363636363 5.0 27.272727272727273 11.0 2.3297430830039527 2.2 1.96177494003581 1.5 0.6363636363636364 0.0
6 Engineering Professor 3 33.0 38.0 30.666666666666668 35.0 241.33333333333334 202.0 7.704511278195487 7.2105263157894735 7.230994152046783 7.2105263157894735 0.0 0.0
7 Engineering Researcher 3 7.333333333333333 8.0 5.0 5.0 7.0 7.0 1.3 1.4 0.8775252525252525 0.875 3.3333333333333335 3.0
8 Medicine Professor 7 56.714285714285715 30.0 34.285714285714285 29.0 572.7142857142857 615.0 16.225810703206655 16.253968253968253 11.606273280584732 8.76530612244898 0.14285714285714285 0.0
9 Medicine Researcher 5 11.6 7.0 7.2 7.0 23.0 21.0 2.961904761904762 3.0 2.6222222222222222 3.0 0.4 0.0
10 Sociology Professor 5 32.0 27.0 22.6 22.0 101.8 106.0 4.393564171662176 4.517241379310345 3.3512445644024593 3.55 0.4 0.0
11 Sociology Researcher 5 11.6 6.0 5.2 5.0 8.6 9.0 1.61 1.25 1.1404761904761904 0.5 2.0 1.0
@@ -0,0 +1,3 @@
known_status,sample_size,mean_career_span,median_career_span,mean_active_years,median_active_years,mean_publication_count,median_publication_count,mean_publications_per_active_year,median_publications_per_active_year,mean_publications_per_career_year,median_publications_per_career_year,mean_years_since_last_publication,median_years_since_last_publication
Professor,31,45.38709677419355,31.0,28.93548387096774,28.0,290.35483870967744,224.0,9.40652855281006,7.611111111111111,7.234464912380307,6.172413793103448,0.22580645161290322,0.0
Researcher,29,13.10344827586207,7.0,8.0,5.0,27.82758620689655,11.0,2.4897711858356537,1.8,1.9562675238653737,1.5,1.1724137931034482,0.0
1 known_status sample_size mean_career_span median_career_span mean_active_years median_active_years mean_publication_count median_publication_count mean_publications_per_active_year median_publications_per_active_year mean_publications_per_career_year median_publications_per_career_year mean_years_since_last_publication median_years_since_last_publication
2 Professor 31 45.38709677419355 31.0 28.93548387096774 28.0 290.35483870967744 224.0 9.40652855281006 7.611111111111111 7.234464912380307 6.172413793103448 0.22580645161290322 0.0
3 Researcher 29 13.10344827586207 7.0 8.0 5.0 27.82758620689655 11.0 2.4897711858356537 1.8 1.9562675238653737 1.5 1.1724137931034482 0.0
+5
View File
@@ -0,0 +1,5 @@
.env
.env.*
__pycache__/
*.pyc
.venv/
+7
View File
@@ -0,0 +1,7 @@
# Copy this file to `.env` and fill in the real values.
# `.env` is gitignored and is NOT baked into the image.
INSE_ELASTIC_URL=https://inse.nes.uni-due.de/elastic
INSE_ELASTIC_API_KEY=your-elastic-api-key-here
INSE_LLM_BASE_URL=https://project.nes.uni-due.de/llm2/v1/
INSE_LLM_API_KEY=your-llm-api-key-here
INSE_LLM_MODEL=gemma4-e4b
+5
View File
@@ -0,0 +1,5 @@
# Local secrets – never commit
.env
__pycache__/
*.pyc
+95
View File
@@ -0,0 +1,95 @@
# Background Jobs
Background Jobs sind Docker-Container, die regelmäßig oder manuell Elasticsearch-Daten verarbeiten. Sie werden vom Backend über den Docker-Socket gestartet.
**Wichtig:** Jobs sind in der **Datenbank**, nicht im Image. Das Image enthält nur die ausführbaren Skripte.
## Jobs anlegen
**Frontend** (`/jobs`):
- "Neuer Job" → Name + Command + optionales Image + Zeitplan
**API**:
```bash
curl -X POST -H "Authorization: Bearer $TOKEN" \
-d '{"name": "Sync", "command": "python sync.py --sync-delta", "schedule": "0 3 * * *"}' \
http://localhost:8000/api/background-jobs/tasks
```
Command-Beispiele:
```
python service/scripts/demo/demo.py 20
python sync.py --sync-delta
python service/scripts/news/ude/run_pipeline.py --skip-upload --max-items 5
python -m service.scripts.news.topic_mapper.map_news_topics --output-index docker-job_test --max-docs 50
python -m service.scripts.projects.topic_mapper.map_project_topics --dry-run
sh -c "cd service/scripts/projects/bund && python gpc.data.py --skip-upload"
```
**Neue Jobs = kein Image-Rebuild.** Die Skripte sind bereits im Image; der Command wird direkt an Docker übergeben.
## Image & Dockerfile
Das [Dockerfile](../service/scripts/jobs-image/Dockerfile) kopiert den kompletten `service/scripts/`-Baum (Pfade im Container = Pfade im Repo) plus `background-jobs/app/` (sync.py) und hat keinen ENTRYPOINT. Neue Skripte unter `service/scripts` landen automatisch im nächsten Build — ohne Dockerfile-Änderung. Der Backend startet Container direkt:
```python
docker.run(image="...", command="python sync.py --sync-delta")
```
**Skripte hinzugefügt oder geändert?** → Image neu bauen + pushen:
```bash
docker build -f service/scripts/jobs-image/Dockerfile -t docker.nes.uni-due.de/inse/background-jobs:latest .
docker push docker.nes.uni-due.de/inse/background-jobs:latest
```
Lokal testen ohne Pull:
```bash
export BACKGROUND_JOBS_PULL_BEFORE_RUN=false
```
## Scheduling
Job mit `schedule: "0 3 * * *"` und `enabled: true` läuft automatisch täglich um 3:00 UTC. Manuell starten: "Jetzt ausführen" Button oder API.
## Logs
Während Laufzeit: Live vom Container. Nach Beendigung: Letzte 200 Zeilen in der DB. Frontend: "Logs anzeigen" Button.
## Docker-Socket (Deployment)
```yaml
# docker-compose
backend:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
```
Ohne Socket-Mount funktioniert nichts.
## Env-Variablen
Standard-Image erhält automatisch:
- `INSE_ELASTIC_URL`, `INSE_ELASTIC_API_KEY`
- `INSE_LLM_*`, `ELASTICSEARCH_INSE_*`, `SENTENCE_TRANSFORMERS_MODEL_NAME`
Plus `env` aus der Job-Definition.
**Eigene Images** bekommen nur die `env`-Variablen (Sicherheit).
## API
- `GET /api/background-jobs/tasks` — Jobs auflisten
- `POST /api/background-jobs/tasks` — Job anlegen
- `DELETE /api/background-jobs/tasks/{id}` — Job löschen
- `POST /api/background-jobs/tasks/{id}/run` — Run starten
- `PATCH /api/background-jobs/tasks/{id}` — Schedule ändern
- `GET /api/background-jobs/runs/{id}/logs` — Logs abrufen
- `POST /api/background-jobs/runs/{id}/stop` — Run stoppen
Alle Endpoints erfordern Superadmin-Auth.
+152
View File
@@ -0,0 +1,152 @@
import os
from urllib.parse import quote
import requests
from dotenv import load_dotenv
from requests.adapters import HTTPAdapter
load_dotenv()
INSE_URL = os.getenv("INSE_ELASTIC_URL", "https://inse.nes.uni-due.de/elastic")
INSE_API_KEY = os.getenv("INSE_ELASTIC_API_KEY")
if not INSE_API_KEY:
raise RuntimeError(
"INSE_ELASTIC_API_KEY is not set. Copy .env.example to .env and fill it in, "
"or pass it as an environment variable."
)
ES_HEADERS = {
"Authorization": f"ApiKey {INSE_API_KEY}",
"Content-Type": "application/json",
}
_session = requests.Session()
_session.headers.update(ES_HEADERS)
_adapter = HTTPAdapter(pool_connections=32, pool_maxsize=32)
_session.mount("https://", _adapter)
_session.mount("http://", _adapter)
def _send_es_request(method: str, url: str, payload: dict = None) -> dict:
try:
response = _session.request(
method=method,
url=url,
json=payload,
)
response.raise_for_status()
return response.json()
except requests.RequestException as error:
print(f"Send Request failed: ({method} {url}): {error}")
raise
def add_entry(index: str, entry: dict):
endpoint = f"{INSE_URL}/{index}/_doc"
document_body = {
"news_id": entry["news_id"],
"relevant": int(entry["relevant"]),
"authors": entry["authors"],
"keywords": entry.get("keywords", []),
}
response_data = _send_es_request("POST", endpoint, payload=document_body)
created_id = response_data["_id"]
entry["_id"] = created_id
return created_id
def index_entry(index: str, document_id: str, entry: dict):
encoded_document_id = quote(document_id, safe="")
endpoint = f"{INSE_URL}/{index}/_doc/{encoded_document_id}"
document_body = {
"news_id": entry["news_id"],
"relevant": int(entry["relevant"]),
"authors": entry["authors"],
"keywords": entry.get("keywords", []),
}
return _send_es_request("PUT", endpoint, payload=document_body)
def update_entry(index: str, document_id: str, partial_doc: dict):
encoded_document_id = quote(document_id, safe="")
endpoint = f"{INSE_URL}/{index}/_update/{encoded_document_id}"
return _send_es_request("POST", endpoint, payload={"doc": partial_doc})
def get_entry(index: str, document_id: str) -> dict:
encoded_document_id = quote(document_id, safe="")
endpoint = f"{INSE_URL}/{index}/_doc/{encoded_document_id}"
return _send_es_request("GET", endpoint)
def delete_entry(index: str, document_id: str):
encoded_document_id = quote(document_id, safe="")
endpoint = f"{INSE_URL}/{index}/_doc/{encoded_document_id}"
return _send_es_request("DELETE", endpoint)
def get_all_entries(index: str, fields: list = None) -> list:
if not fields:
source_fields = True
else:
source_fields = fields
endpoint = f"{INSE_URL}/{index}/_search"
page_size = 1000
results = []
last_sort_value = None
while True:
payload = {
"query": {"match_all": {}},
"size": page_size,
"sort": [{"_doc": "asc"}],
"_source": source_fields,
}
if last_sort_value is not None:
payload["search_after"] = last_sort_value
response_data = _send_es_request("POST", endpoint, payload=payload)
results_list = response_data["hits"]["hits"]
if not results_list:
break
results.extend(results_list)
last_sort_value = results_list[-1]["sort"]
return results
def delete_all_entries(index: str):
endpoint = f"{INSE_URL}/{index}/_delete_by_query"
payload = {
"query": {"match_all": {}}
}
return _send_es_request("POST", endpoint, payload=payload)
def remove_field_all(index: str, field: str):
endpoint = f"{INSE_URL}/{index}/_update_by_query"
payload = {
"query": {"exists": {"field": field}},
"script": {
"source": f"ctx._source.remove('{field}')",
"lang": "painless",
},
}
return _send_es_request("POST", endpoint, payload=payload)
+95
View File
@@ -0,0 +1,95 @@
import os
from dotenv import load_dotenv
from openai import APIConnectionError, OpenAI
load_dotenv()
LLM_BASE_URL = os.getenv("INSE_LLM_BASE_URL", "https://project.nes.uni-due.de/llm2/v1/")
LLM_API_KEY = os.getenv("INSE_LLM_API_KEY")
if not LLM_API_KEY:
raise RuntimeError(
"INSE_LLM_API_KEY is not set. Copy .env.example to .env and fill it in, "
"or pass it as an environment variable."
)
LLM_MODEL = os.getenv("INSE_LLM_MODEL", "gemma4-e4b")
SYSTEM_PROMPT_RELEVANT = ("""
Du bewertest Nachrichtenartikel aus dem Campus-Aktuell-Bereich der Universität Duisburg-Essen.
Entscheide, ob der Artikel inhaltlich über eine konkrete Person berichtet, also über deren Werdegang, Forschung, Leistung, Auszeichnung oder Tätigkeit.
Falls du dir unsicher bist, ob eine Person im Mittelpunkt steht, dann entscheide dich bitte für die positivere Option (also 1), damit die Namensextraktion auf keinen Fall bei Artikeln mit Personenbezug versäumt wird.
Antworte mit 1, wenn eine konkrete Person im Mittelpunkt steht.
Antworte mit 0, wenn es sich um allgemeine Mitteilungen handelt, die keine einzelne Person in den Mittelpunkt stellen, zum Beispiel Veranstaltungs- und Terminhinweise, Spendenaufrufe, organisatorische Ankündigungen, allgemeine Universitätsinformationen oder Pressemitteilungen ohne Personenbezug.
Die bloße Nennung von Namen (etwa als Autor oder Ansprechpartner) reicht für eine 1 nicht aus; die Person muss inhaltlich Thema des Artikels sein.
Antworte ausschließlich mit einer einzigen Ziffer: 0 oder 1.
""")
SYSTEM_PROMPT_NAMES = ("""
Aus dem nachfolgenden Campus-Aktuell-Artikel der Universität Duisburg-Essen: Nenne die Namen aller konkreten Personen, um die es im Artikel inhaltlich geht.
Es können mehrere Personen sein. Bitte achte darauf dass du nur die Namen der Personen nennst, die tatsächlich im Mittelpunkt des Artikels stehen.
Insbesondere am Ende von Artikeln werden oft Personen genannt, die nur als Ansprechpartner oder Organisator und sollen deshalb nicht genannt werden.
Antworte ausschließlich mit gültigem JSON in exakt diesem Format: {\"person\": [\"Vorname Nachname\", \"Vorname Nachname\"]}
Gib keine Erklärungen und kein Markdown aus, nur das JSON.
""")
SYSTEM_PROMPT_KEYWORDS = ("""
Extrahiere aus dem nachfolgenden Campus-Aktuell-Artikel der Universität Duisburg-Essen die wichtigsten Schlagwörter (Keywords).
Wähle ausschließlich Begriffe oder Phrasen, die tatsächlich im Text vorkommen. Erfinde keine Begriffe, verallgemeinere nicht und nenne keine Oberbegriffe, die nicht im Text stehen.
Übersetze keine Begriffe – verwende ausschließlich Wörter und Phrasen in der Sprache des Artikels.
Gib jedes Schlagwort in seiner Grundform an: Bei deutschen Begriffen Substantive im Nominativ Singular; bei englischen Begriffen Substantive im Singular. Verwende den Plural nur, wenn der Begriff üblicherweise im Plural gebraucht wird.
Vermeide Redundanz: Wenn zwei mögliche Schlagwörter dieselbe Wortbasis teilen (z.B. „Forschung" und „Forschungsprojekt"), nenne nur den spezifischeren Begriff.
Nenne maximal sechs prägnante Begriffe oder kurze Phrasen. Konzentriere dich auf inhaltlich zentrale Begriffe, nicht auf Personennamen oder Datumsangaben.
Antworte ausschließlich mit gültigem JSON in exakt diesem Format: {\"keywords\": [\"Schlagwort\", \"Schlagwort\"]}
Gib keine Erklärungen und kein Markdown aus, nur das JSON.
""")
_client = OpenAI(
base_url=LLM_BASE_URL,
api_key=LLM_API_KEY,
timeout=30,
)
def call(system_prompt, user_prompt, model=LLM_MODEL, temperature=1.0, top_p=0.95):
try:
response = _client.chat.completions.create(
model=model,
messages=[
{"role": "system", "content": system_prompt},
{"role": "user", "content": user_prompt},
],
temperature=temperature,
top_p=top_p,
extra_body={"top_k": 64},
)
except APIConnectionError:
return None
return response.choices[0].message.content or None
def is_news_relevant(text: str) -> bool:
result = call(SYSTEM_PROMPT_RELEVANT, text)
if result is None:
return False
return result.strip() == "1"
def extract_names(text: str) -> list[str]:
result = call(SYSTEM_PROMPT_NAMES, text)
if result is None:
return []
try:
import json
data = json.loads(result)
return data.get("person", [])
except json.JSONDecodeError:
return []
def extract_keywords(text: str) -> list[str]:
result = call(SYSTEM_PROMPT_KEYWORDS, text)
if result is None:
return []
try:
import json
data = json.loads(result)
return data.get("keywords", [])
except json.JSONDecodeError:
return []
+247
View File
@@ -0,0 +1,247 @@
import argparse
import json
import logging
import threading
import time
from concurrent.futures import ThreadPoolExecutor, as_completed
import elastic.client as es_client
import llm.client as llm_client
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
logger = logging.getLogger(__name__)
POSTPROC_INDEX = "aktuell_postproc"
def print_pretty_json(data):
logger.info(json.dumps(data, indent=2))
def sync_single_news(news_id, max_retries=3):
attempt = 0
while attempt < max_retries:
try:
news_text = es_client.get_entry("aktuell", news_id)["_source"]["full_content"]
is_news_relevant = llm_client.is_news_relevant(news_text)
authors = llm_client.extract_names(news_text)
keywords = llm_client.extract_keywords(news_text)
new_entry = {
"news_id": news_id,
"relevant": is_news_relevant,
"authors": authors,
"keywords": keywords,
}
es_client.add_entry("aktuell_postproc", new_entry)
return True
except Exception as error:
attempt += 1
logger.warning(f"Warning syncing news_id {news_id} (Attempt {attempt}/{max_retries})")
if attempt < max_retries:
time.sleep(1)
else:
logger.error(f"Error: {news_id} - {error}")
return False
def update_keywords_single(postproc_entry, target_index=POSTPROC_INDEX, max_retries=3):
doc_id = postproc_entry["_id"]
source = postproc_entry["_source"]
news_id = source["news_id"]
attempt = 0
while attempt < max_retries:
try:
news_text = es_client.get_entry("aktuell", news_id)["_source"]["full_content"]
keywords = llm_client.extract_keywords(news_text)
if not keywords:
# Empty article or unparseable LLM answer: writing an empty list
# would look like a success and block a later retry.
logger.info(f"Skipped {news_id}: no keywords extracted.")
return False
if target_index == POSTPROC_INDEX:
es_client.update_entry(POSTPROC_INDEX, doc_id, {"keywords": keywords})
else:
# Key the target doc on news_id so re-runs update it in place
# instead of piling up a new document each time.
es_client.index_entry(
target_index,
news_id,
{
"news_id": news_id,
"relevant": source.get("relevant", 0),
"authors": source.get("authors", []),
"keywords": keywords,
},
)
return True
except Exception as error:
attempt += 1
logger.warning(f"Warning updating keywords for news_id {news_id} (Attempt {attempt}/{max_retries})")
if attempt < max_retries:
time.sleep(1)
else:
logger.error(f"Error: {news_id} - {error}")
return False
def main():
parser = argparse.ArgumentParser(description="Synchronize news articles from 'aktuell' index to 'aktuell_postproc' index with relevance and author extraction using LLM.")
parser.add_argument(
"--delete-all",
action="store_true",
help="Delete all entries from index 'aktuell_postproc'.",
)
parser.add_argument(
"--sync-delta",
action="store_true",
help="Sync only missing entries from 'aktuell' to 'aktuell_postproc'.",
)
parser.add_argument(
"--update-keywords",
action="store_true",
help="Add 'keywords' to existing 'aktuell_postproc' entries that don't have them yet (keeps relevant/authors).",
)
parser.add_argument(
"--reset-keywords",
action="store_true",
help="Remove the 'keywords' field from all 'aktuell_postproc' entries (keeps relevant/authors). Run before re-extracting with a new prompt.",
)
parser.add_argument(
"--stats",
action="store_true",
help="Print statistics about the entries in 'aktuell_postproc' and 'aktuell'.",
)
parser.add_argument(
"--threads",
type=int,
default=4,
help="Number of threads for --sync-delta (Default: 4).",
)
parser.add_argument(
"--limit",
type=int,
default=None,
help="Process at most this many entries (used by --update-keywords, e.g. for a smoke test).",
)
parser.add_argument(
"--target-index",
default=POSTPROC_INDEX,
help=(
f"Index that --update-keywords writes to (default: {POSTPROC_INDEX}). Any other "
"index gets new documents instead of in-place updates, and every entry is "
"re-extracted rather than only those missing keywords."
),
)
args = parser.parse_args()
if args.delete_all:
es_client.delete_all_entries("aktuell_postproc")
if args.reset_keywords:
result = es_client.remove_field_all("aktuell_postproc", "keywords")
logger.info(f"Removed 'keywords' from {result.get('updated', 0)} entries.")
if args.sync_delta:
start_time = time.time()
aktuell_ids_raw = es_client.get_all_entries("aktuell", fields=["_id"])
postproc_ids_raw = es_client.get_all_entries("aktuell_postproc", fields=["news_id"])
source_ids = set(entry["_id"] for entry in aktuell_ids_raw)
target_ids = set(entry["_source"]["news_id"] for entry in postproc_ids_raw)
missing_ids = source_ids - target_ids
logger.info(f"Number of missing IDs: {len(missing_ids)}")
missing_ids = list(missing_ids)
total = len(missing_ids)
processed = 0
succeeded = 0
progress_lock = threading.Lock()
with ThreadPoolExecutor(max_workers=args.threads) as executor:
futures = [executor.submit(sync_single_news, news_id) for news_id in missing_ids]
for future in as_completed(futures):
was_successful = future.result()
with progress_lock:
processed += 1
if was_successful:
succeeded += 1
logger.info(f"Sync: {processed} / {total}")
end_time = time.time()
logger.info(f"Sync DONE: {succeeded} entries synced.")
logger.info(f"Time taken: {end_time - start_time} seconds.")
if args.update_keywords:
start_time = time.time()
postproc_entries = es_client.get_all_entries(
POSTPROC_INDEX, fields=["news_id", "keywords", "relevant", "authors"]
)
if args.target_index == POSTPROC_INDEX:
pending = [entry for entry in postproc_entries if not entry["_source"].get("keywords")]
logger.info(f"Number of entries without keywords: {len(pending)}")
else:
# Writing elsewhere never marks the postproc entries, so the "missing
# keywords" filter would select the same entries on every run. Pick
# entries that already have keywords instead: those are known to come
# from articles with actual content, unlike the empty archive stubs.
pending = [entry for entry in postproc_entries if entry["_source"].get("keywords")]
logger.info(f"Re-extracting keywords into '{args.target_index}': {len(pending)} candidates.")
if args.limit is not None:
pending = pending[:args.limit]
total = len(pending)
logger.info(f"Processing {total} entries.")
processed = 0
succeeded = 0
progress_lock = threading.Lock()
with ThreadPoolExecutor(max_workers=args.threads) as executor:
futures = [
executor.submit(update_keywords_single, entry, args.target_index)
for entry in pending
]
for future in as_completed(futures):
was_successful = future.result()
with progress_lock:
processed += 1
if was_successful:
succeeded += 1
logger.info(f"Update keywords: {processed} / {total}")
end_time = time.time()
logger.info(f"Update keywords DONE: {succeeded} entries updated.")
logger.info(f"Time taken: {end_time - start_time} seconds.")
if args.stats:
aktuell_entries = es_client.get_all_entries("aktuell", fields=["_id"])
logger.info(f"Total entries in 'aktuell': {len(aktuell_entries)}")
postproc_entries = es_client.get_all_entries("aktuell_postproc", fields=["_id", "news_id", "relevant", "authors", "keywords"])
total_entries = len(postproc_entries)
relevant_count = sum(1 for entry in postproc_entries if entry["_source"]["relevant"] == 1)
irrelevant_count = total_entries - relevant_count
news_with_extracted_names = sum(1 for entry in postproc_entries if entry["_source"]["authors"])
news_without_extracted_names = total_entries - news_with_extracted_names
news_with_keywords = sum(1 for entry in postproc_entries if entry["_source"].get("keywords"))
news_without_keywords = total_entries - news_with_keywords
logger.info(f"Total entries in 'aktuell_postproc': {total_entries}")
logger.info(f"Relevant entries: {relevant_count}")
logger.info(f"Irrelevant entries: {irrelevant_count}")
logger.info(f"Entries with extracted names: {news_with_extracted_names}")
logger.info(f"Entries without extracted names: {news_without_extracted_names}")
logger.info(f"Entries with keywords: {news_with_keywords}")
logger.info(f"Entries without keywords: {news_without_keywords}")
if __name__ == "__main__":
main()
@@ -3,7 +3,6 @@ from pathlib import Path
from llama_parse import LlamaParse from llama_parse import LlamaParse
BASE_DIR = Path(__file__).resolve().parent BASE_DIR = Path(__file__).resolve().parent
AD_PATH = BASE_DIR / "AD.pdf" AD_PATH = BASE_DIR / "AD.pdf"
@@ -1,7 +1,7 @@
import pymupdf4llm import pymupdf4llm
AD_PATH = "188274\AD.pdf" AD_PATH = r"188274\AD.pdf"
CD_PATH = "188274\СD.pdf" CD_PATH = r"188274\СD.pdf"
ad_md = pymupdf4llm.to_markdown(AD_PATH) ad_md = pymupdf4llm.to_markdown(AD_PATH)
cd_md = pymupdf4llm.to_markdown(CD_PATH) cd_md = pymupdf4llm.to_markdown(CD_PATH)
+2 -2
View File
@@ -1,7 +1,7 @@
from pathlib import Path
import getpass import getpass
import json import json
import os import os
from pathlib import Path
import pymupdf import pymupdf
import requests import requests
@@ -206,7 +206,7 @@ def make_debug_data(
) -> dict: ) -> dict:
choice = {} choice = {}
if "choices" in data and data["choices"]: if data.get("choices"):
choice = data["choices"][0] choice = data["choices"][0]
message = choice.get("message", {}) message = choice.get("message", {})
+2 -2
View File
@@ -1,7 +1,7 @@
from pathlib import Path
import getpass import getpass
import json import json
import os import os
from pathlib import Path
import requests import requests
@@ -181,7 +181,7 @@ def make_debug_data(
): ):
choice = {} choice = {}
if "choices" in data and data["choices"]: if data.get("choices"):
choice = data["choices"][0] choice = data["choices"][0]
message = choice.get("message", {}) message = choice.get("message", {})
@@ -1,5 +1,5 @@
from pathlib import Path
import json import json
from pathlib import Path
SCRIPT_DIR = Path(__file__).resolve().parent SCRIPT_DIR = Path(__file__).resolve().parent
ROOT_DIR = SCRIPT_DIR ROOT_DIR = SCRIPT_DIR
@@ -1,5 +1,5 @@
from pathlib import Path
import re import re
from pathlib import Path
import pymupdf import pymupdf
@@ -1,4 +1,5 @@
from pathlib import Path from pathlib import Path
import pymupdf # PyMuPDF import pymupdf # PyMuPDF
try: try:
@@ -7,7 +8,7 @@ except ImportError:
MarkItDown = None MarkItDown = None
AD_PATH = Path("154115\AD.pdf") AD_PATH = Path(r"154115\AD.pdf")
OUT_DIR = Path("ad_extraction_outputs3") OUT_DIR = Path("ad_extraction_outputs3")
OUT_DIR.mkdir(exist_ok=True) OUT_DIR.mkdir(exist_ok=True)
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,543 @@
{
"author": {
"id": "https://openalex.org/A5034365278",
"display_name": "Dirk Schadendorf",
"card_works_count": 2376,
"cited_by_count": 221896
},
"webapp_publication_list": {
"endpoint": "/api/v2/works/author/A5034365278?page=0&size=50",
"raw_hits_total_value": 2406,
"raw_hits_total_relation": "eq",
"raw_documents_scanned": 2406,
"unique_openalex_work_ids": 2370,
"duplicate_raw_documents": 36,
"work_ids_with_multiple_source_documents": 36
},
"classification_pipeline": {
"minimum_publication_year": 1950,
"eligible_unique_work_ids": 2369,
"pre_threshold_unique_work_ids": 0,
"missing_year_unique_work_ids": 1,
"classified_by_target_id": 2369,
"eligible_but_missing_in_target": 0,
"classified_target_documents_containing_author": 2369,
"classified_by_id_but_author_missing_from_target_document": 0
},
"institution": {
"id": "https://openalex.org/I62318514",
"pipeline_selected_source_works_matching_institution": 422
},
"important_differences": [
"The author card reads openalex-authors.works_count directly.",
"The publication list counts raw hits from openalex-works* and does not deduplicate by work ID.",
"The classification pipeline deduplicates by normalized OpenAlex work ID.",
"The classification pipeline excludes works with publication_year below 1950 or missing.",
"A work can exist in the classification index but be absent from a per-author target-index count if the stored authors array does not contain that author."
],
"examples": {
"eligible_but_missing_in_target": [],
"publication_year_before_threshold": [],
"publication_year_missing": [
{
"work_id": "W4211208194",
"full_work_id": "https://openalex.org/W4211208194",
"title": "",
"publication_year": null,
"type": "article",
"doi": null,
"updated_date": "2025-11-06T04:12:42.849Z",
"source_index": "openalex-works-3",
"variant_count": 1,
"variant_indices": ["openalex-works-3"],
"classified_by_id": false,
"classification_contains_author": false,
"institution_match": true,
"reason": "publication_year_missing"
}
],
"multiple_source_documents_same_id": [
{
"work_id": "W4409451759",
"full_work_id": "https://openalex.org/W4409451759",
"title": "Clinical validation of droplet digital PCR assays in detecting BRAFV600-mutant circulating tumour DNA as a prognostic biomarker in patients with resected stage III melanoma receiving adjuvant therapy (COMBI-AD): a biomarker analysis from a double-blind, randomised phase 3 trial",
"publication_year": 2025,
"type": "article",
"doi": "https://doi.org/10.1016/s1470-2045(25)00139-1",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W4409145101",
"full_work_id": "https://openalex.org/W4409145101",
"title": "Acral lentiginous melanoma shows a poorer response to immune checkpoint inhibition in the non-resectable or metastatic setting – A EUMelaReg real world outcome study",
"publication_year": 2025,
"type": "article",
"doi": "https://doi.org/10.1016/j.ejcskn.2025.100527",
"updated_date": "2026-03-13T14:20:09.374Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W4405380398",
"full_work_id": "https://openalex.org/W4405380398",
"title": "A comparison of real-world data on adjuvant treatment in patients with stage III BRAF V600 mutated melanoma – Results of systematic literature research",
"publication_year": 2024,
"type": "review",
"doi": "https://doi.org/10.1016/j.ejca.2024.115160",
"updated_date": "2026-03-13T14:20:09.374Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W4402565731",
"full_work_id": "https://openalex.org/W4402565731",
"title": "LBA43 10-y survival outcomes from the phase III CheckMate 067 trial of nivolumab plus ipilimumab in advanced melanoma",
"publication_year": 2024,
"type": "article",
"doi": "https://doi.org/10.1016/j.annonc.2024.08.2284",
"updated_date": "2026-03-13T14:20:09.374Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W4402560903",
"full_work_id": "https://openalex.org/W4402560903",
"title": "1078MO Pembrolizumab (pembro) vs placebo as adjuvant therapy for high-risk stage II melanoma: Long-term follow-up, rechallenge, and crossover in KEYNOTE-716",
"publication_year": 2024,
"type": "article",
"doi": "https://doi.org/10.1016/j.annonc.2024.08.1146",
"updated_date": "2026-03-13T14:20:09.374Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W4391886851",
"full_work_id": "https://openalex.org/W4391886851",
"title": "Biomarker and pharmacodynamic activity of the transforming growth factor‐beta (<scp>TGFβ)</scp> inhibitor <scp>SAR439459</scp> as monotherapy and in combination with cemiplimab in a phase I clinical study in patients with advanced solid tumors",
"publication_year": 2024,
"type": "article",
"doi": "https://doi.org/10.1111/cts.13736",
"updated_date": "2026-03-13T14:20:09.374Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W4391430347",
"full_work_id": "https://openalex.org/W4391430347",
"title": "Prognostic and predictive value of non-steroidal anti-inflammatory drugs in the EORTC 1325/KEYNOTE-054 phase III trial of pembrolizumab versus placebo in resected high-risk stage III melanoma",
"publication_year": 2024,
"type": "article",
"doi": "https://doi.org/10.1016/j.ejca.2024.113585",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W4362505674",
"full_work_id": "https://openalex.org/W4362505674",
"title": "The Latest Option: Nivolumab and Relatlimab in Advanced Melanoma",
"publication_year": 2023,
"type": "review",
"doi": "https://doi.org/10.1007/s11912-023-01406-4",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": true,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W4353055387",
"full_work_id": "https://openalex.org/W4353055387",
"title": "Health-related quality of life with nivolumab plus relatlimab versus nivolumab monotherapy in patients with previously untreated unresectable or metastatic melanoma: RELATIVITY-047 trial",
"publication_year": 2023,
"type": "article",
"doi": "https://doi.org/10.1016/j.ejca.2023.03.014",
"updated_date": "2026-03-13T14:20:09.374Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W4282559953",
"full_work_id": "https://openalex.org/W4282559953",
"title": "Innate immune receptor signaling induces transient melanoma dedifferentiation while preserving immunogenicity",
"publication_year": 2022,
"type": "article",
"doi": "https://doi.org/10.1136/jitc-2021-003863",
"updated_date": "2025-11-06T03:46:38.306Z",
"source_index": "openalex-works",
"variant_count": 2,
"variant_indices": ["openalex-works", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": true,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W3157996908",
"full_work_id": "https://openalex.org/W3157996908",
"title": "Computed tomography-guided biopsy of radiologically unclear lesions in advanced skin cancer: A retrospective analysis of 47 cases",
"publication_year": 2021,
"type": "article",
"doi": "https://doi.org/10.1016/j.ejca.2021.03.026",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W3108194869",
"full_work_id": "https://openalex.org/W3108194869",
"title": "Surveillance of patients with conjunctival melanoma in German-speaking countries: A multinational survey of the German dermatologic cooperative oncology group",
"publication_year": 2020,
"type": "letter",
"doi": "https://doi.org/10.1016/j.ejca.2020.10.021",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2967473922",
"full_work_id": "https://openalex.org/W2967473922",
"title": "Deep neural networks are superior to dermatologists in melanoma image classification",
"publication_year": 2019,
"type": "article",
"doi": "https://doi.org/10.1016/j.ejca.2019.05.023",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2950219014",
"full_work_id": "https://openalex.org/W2950219014",
"title": "The X-Linked DDX3X RNA Helicase Dictates Translation Reprogramming and Metastasis in Melanoma",
"publication_year": 2019,
"type": "article",
"doi": "https://doi.org/10.1016/j.celrep.2019.05.069",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2790093035",
"full_work_id": "https://openalex.org/W2790093035",
"title": "Clinical outcome of concomitant vs interrupted BRAF inhibitor therapy during radiotherapy in melanoma patients",
"publication_year": 2018,
"type": "article",
"doi": "https://doi.org/10.1038/bjc.2017.489",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2773801101",
"full_work_id": "https://openalex.org/W2773801101",
"title": "Eighth American Joint Committee on Cancer (AJCC) melanoma classification: Let us reconsider stage III",
"publication_year": 2017,
"type": "letter",
"doi": "https://doi.org/10.1016/j.ejca.2017.11.023",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2767826944",
"full_work_id": "https://openalex.org/W2767826944",
"title": "A phase 2 study of ontuxizumab, a monoclonal antibody targeting endosialin, in metastatic melanoma",
"publication_year": 2017,
"type": "article",
"doi": "https://doi.org/10.1007/s10637-017-0530-4",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2901161788",
"full_work_id": "https://openalex.org/W2901161788",
"title": "7503-114079-1-Sp",
"publication_year": 2016,
"type": "article",
"doi": null,
"updated_date": "2025-11-06T04:12:42.849Z",
"source_index": "openalex-works-2",
"variant_count": 2,
"variant_indices": ["openalex-works-2", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2308247172",
"full_work_id": "https://openalex.org/W2308247172",
"title": "Integrating first-line treatment options into clinical practice",
"publication_year": 2015,
"type": "review",
"doi": "https://doi.org/10.1097/cmr.0000000000000200",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2053545055",
"full_work_id": "https://openalex.org/W2053545055",
"title": "Expression of stress ligands of the immunoreceptor NKG2D in melanoma: Regulation and clinical significance",
"publication_year": 2014,
"type": "review",
"doi": "https://doi.org/10.1016/j.ejcb.2014.01.009",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2112537584",
"full_work_id": "https://openalex.org/W2112537584",
"title": "Adjuvant pegylated interferon α-2b therapy for melanoma",
"publication_year": 2010,
"type": "article",
"doi": "https://doi.org/10.3892/ol_00000042",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W1967863327",
"full_work_id": "https://openalex.org/W1967863327",
"title": "Screening of Human Tumor Antigens for CD4+ T Cell Epitopes by Combination of HLA-Transgenic Mice, Recombinant Adenovirus and Antigen Peptide Libraries",
"publication_year": 2010,
"type": "article",
"doi": "https://doi.org/10.1371/journal.pone.0014137",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2124806374",
"full_work_id": "https://openalex.org/W2124806374",
"title": "Multiple Melanomas After Treatment for Hodgkin Lymphoma in a Non-Dutch p16-Leiden Mutation Carrier With 2 MC1R High-Risk Variants",
"publication_year": 2007,
"type": "article",
"doi": "https://doi.org/10.1001/archderm.143.4.495",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2149012823",
"full_work_id": "https://openalex.org/W2149012823",
"title": "P-glycoprotein expression in primary and metastatic malignant melanoma",
"publication_year": 2006,
"type": "article",
"doi": "https://doi.org/10.1111/j.1365-2133.1995.tb08710.x",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2047303314",
"full_work_id": "https://openalex.org/W2047303314",
"title": "Expression of GAGE family proteins in malignant melanoma",
"publication_year": 2006,
"type": "article",
"doi": "https://doi.org/10.1016/j.canlet.2006.11.022",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W1963965528",
"full_work_id": "https://openalex.org/W1963965528",
"title": "Photoreceptor proteins as cancer‐retina antigens",
"publication_year": 2006,
"type": "article",
"doi": "https://doi.org/10.1002/ijc.22458",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2404943841",
"full_work_id": "https://openalex.org/W2404943841",
"title": "[Acute juvenile pityriasis rubra pilaris in a 2-year-old child].",
"publication_year": 2004,
"type": "article",
"doi": null,
"updated_date": "2025-11-06T04:12:42.849Z",
"source_index": "openalex-works-3",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2037452525",
"full_work_id": "https://openalex.org/W2037452525",
"title": "mRNA expression of tumor‐associated antigens in melanoma tissues and cell lines",
"publication_year": 2002,
"type": "article",
"doi": "https://doi.org/10.1034/j.1600-0625.2002.110402.x",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-4", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W1983494843",
"full_work_id": "https://openalex.org/W1983494843",
"title": "Study of Therapy Resistance in Cancer Cells with Functional Proteome Analysis",
"publication_year": 2002,
"type": "review",
"doi": "https://doi.org/10.1515/cclm.2002.037",
"updated_date": "2026-01-13T01:12:25.745Z",
"source_index": "openalex-works-5",
"variant_count": 2,
"variant_indices": ["openalex-works-3", "openalex-works-5"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
},
{
"work_id": "W2598959332",
"full_work_id": "https://openalex.org/W2598959332",
"title": "‘PEG meets Liposome’ – zwei Technologien führen zu einer Substanz mit neuem Profil",
"publication_year": 2001,
"type": "article",
"doi": "https://doi.org/10.1159/000050295",
"updated_date": "2025-11-06T03:46:38.306Z",
"source_index": "openalex-works",
"variant_count": 2,
"variant_indices": ["openalex-works", "openalex-works-2"],
"classified_by_id": true,
"classification_contains_author": true,
"institution_match": false,
"reason": "multiple_source_documents_same_openalex_id"
}
],
"classified_but_author_missing": []
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,755 @@
#!/usr/bin/env python3
"""Compare the three publication-counting approaches for one OpenAlex author.
The script compares:
1. The author card value from openalex-authors.works_count.
2. The publication-list backend query used by /person/{id}/publications.
3. The classification-pipeline set based on unique OpenAlex work IDs since 1950.
4. Existing documents in work-classifications.
It also writes concrete discrepancy examples to JSON and CSV files.
No credentials are hardcoded. The script reads:
- ELASTICSEARCH_URL
- ELASTICSEARCH_API_KEY
from service/src/main/inse/.env or from the process environment.
python compare_author_publication_counts.py ^ --project-root . ^ --author-id A5034365278 ^ --institution-id I62318514
"""
from __future__ import annotations
import argparse
import csv
import json
import os
import sys
from collections import defaultdict
from collections.abc import Iterable
from pathlib import Path
from typing import Any
import requests
DEFAULT_AUTHOR_ID = "A5034365278"
DEFAULT_WORK_YEAR_GTE = 1950
SOURCE_INDEX = "openalex-works*"
AUTHOR_INDEX = "openalex-authors"
TARGET_INDEX = "work-classifications"
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
description="Compare author publication counts across the webapp and classification index."
)
parser.add_argument(
"--author-id",
default=DEFAULT_AUTHOR_ID,
help="OpenAlex author ID, for example A5034365278.",
)
parser.add_argument(
"--project-root",
type=Path,
default=Path.cwd(),
help="Project root containing service/src/main/inse/.env.",
)
parser.add_argument(
"--env-file",
type=Path,
default=None,
help="Explicit .env file. Defaults to service/src/main/inse/.env.",
)
parser.add_argument(
"--institution-id",
default=None,
help=(
"Optional OpenAlex institution ID used to inspect institution-specific works, "
"for example I62318514."
),
)
parser.add_argument(
"--work-year-gte",
type=int,
default=DEFAULT_WORK_YEAR_GTE,
help="Minimum publication year used by the classification pipeline.",
)
parser.add_argument(
"--output-dir",
type=Path,
default=Path("author_publication_comparison"),
help="Directory for JSON and CSV output.",
)
parser.add_argument(
"--example-limit",
type=int,
default=30,
help="Maximum number of examples per discrepancy group.",
)
return parser.parse_args()
def read_env_file(path: Path) -> dict[str, str]:
values: dict[str, str] = {}
if not path.exists():
return values
for raw_line in path.read_text(encoding="utf-8").splitlines():
line = raw_line.strip()
if not line or line.startswith("#") or "=" not in line:
continue
key, value = line.split("=", 1)
values[key.strip()] = value.strip().strip('"').strip("'")
return values
def load_credentials(args: argparse.Namespace) -> tuple[str, str]:
env_file = args.env_file
if env_file is None:
env_file = args.project_root / "service" / "src" / "main" / "inse" / ".env"
file_values = read_env_file(env_file)
base_url = (
os.getenv("ELASTICSEARCH_URL") or file_values.get("ELASTICSEARCH_URL") or ""
).rstrip("/")
api_key = (
os.getenv("ELASTICSEARCH_API_KEY")
or file_values.get("ELASTICSEARCH_API_KEY")
or ""
).strip()
if not base_url:
raise RuntimeError(
f"ELASTICSEARCH_URL is missing. Set it in the environment or in {env_file}."
)
if not api_key:
raise RuntimeError(
"ELASTICSEARCH_API_KEY is missing. Set it in the environment or in "
f"{env_file}."
)
return base_url, api_key
def full_openalex_id(value: str, prefix: str) -> str:
clean = value.strip().rstrip("/").rsplit("/", 1)[-1]
if not clean.startswith(prefix):
raise ValueError(f"Unexpected OpenAlex ID: {value}")
return f"https://openalex.org/{clean}"
def short_openalex_id(value: Any) -> str | None:
if not isinstance(value, str) or not value.strip():
return None
return value.strip().rstrip("/").rsplit("/", 1)[-1]
class ElasticsearchClient:
def __init__(self, base_url: str, api_key: str) -> None:
self.base_url = base_url.rstrip("/")
self.session = requests.Session()
self.session.headers.update(
{
"Authorization": f"ApiKey {api_key}",
"Content-Type": "application/json",
"Accept": "application/json",
}
)
def request(
self,
method: str,
path: str,
*,
body: dict[str, Any] | None = None,
params: dict[str, Any] | None = None,
timeout: float = 120.0,
) -> dict[str, Any]:
response = self.session.request(
method,
f"{self.base_url}/{path.lstrip('/')}",
json=body,
params=params,
timeout=timeout,
)
if not response.ok:
raise RuntimeError(
f"Elasticsearch {response.status_code} for {path}: "
f"{response.text[:1000]}"
)
if not response.content:
return {}
return response.json()
def get_author(self, short_author_id: str) -> dict[str, Any]:
result = self.request(
"GET",
f"{AUTHOR_INDEX}/_doc/{short_author_id}",
params={"_source": "id,display_name,works_count,cited_by_count"},
)
source = result.get("_source")
if not isinstance(source, dict):
raise RuntimeError(f"Author not found: {short_author_id}")
return source
def search_publication_page(
self,
full_author_id: str,
*,
page: int = 0,
size: int = 50,
) -> dict[str, Any]:
query = author_query(full_author_id)
body = {
"query": query,
"_source": [
"id",
"title",
"type",
"publication_year",
"language",
"cited_by_count",
"authorships.author",
"authorships.institutions.id",
"topics",
],
"from": page * size,
"size": size,
"sort": [{"publication_year": "desc"}],
}
return self.request("POST", f"{SOURCE_INDEX}/_search", body=body)
def scroll_author_works(
self,
full_author_id: str,
*,
page_size: int = 1000,
) -> list[dict[str, Any]]:
body = {
"size": page_size,
"track_total_hits": True,
"query": author_query(full_author_id),
"_source": [
"id",
"doi",
"title",
"display_name",
"publication_year",
"updated_date",
"type",
"authorships.author.id",
"authorships.author.display_name",
"authorships.institutions.id",
"authorships.institutions.display_name",
],
"sort": ["_doc"],
}
result = self.request(
"POST",
f"{SOURCE_INDEX}/_search",
body=body,
params={"scroll": "2m"},
)
scroll_id = result.get("_scroll_id")
hits: list[dict[str, Any]] = []
try:
while True:
page_hits = result.get("hits", {}).get("hits", [])
if not page_hits:
break
hits.extend(hit for hit in page_hits if isinstance(hit, dict))
if not scroll_id:
break
result = self.request(
"POST",
"_search/scroll",
body={"scroll": "2m", "scroll_id": scroll_id},
)
scroll_id = result.get("_scroll_id", scroll_id)
finally:
if scroll_id:
try:
self.request(
"DELETE",
"_search/scroll",
body={"scroll_id": [scroll_id]},
)
except Exception:
pass
return hits
def mget_classifications(
self,
short_work_ids: list[str],
*,
chunk_size: int = 500,
) -> dict[str, dict[str, Any]]:
result: dict[str, dict[str, Any]] = {}
for start in range(0, len(short_work_ids), chunk_size):
chunk = short_work_ids[start : start + chunk_size]
response = self.request(
"POST",
f"{TARGET_INDEX}/_mget",
body={"ids": chunk},
params={
"_source_includes": ",".join(
[
"work_id",
"title",
"publication_year",
"authors.id",
"classification.primary_category",
"classification_meta.prompt_version",
]
)
},
)
for document in response.get("docs", []):
if isinstance(document, dict):
result[str(document.get("_id"))] = document
return result
def count_classifications_by_author(self, full_author_id: str) -> int:
response = self.request(
"POST",
f"{TARGET_INDEX}/_count",
body={
"query": {
"nested": {
"path": "authors",
"query": {"term": {"authors.id": full_author_id}},
}
}
},
)
return int(response.get("count", 0))
def author_query(full_author_id: str) -> dict[str, Any]:
return {
"nested": {
"path": "authorships",
"query": {"term": {"authorships.author.id": full_author_id}},
}
}
def choose_pipeline_hit(
current: dict[str, Any] | None,
candidate: dict[str, Any],
) -> dict[str, Any]:
"""Reproduce classify_ude_works_to_index.py source-version selection."""
if current is None:
return candidate
current_index = current.get("_index")
candidate_index = candidate.get("_index")
if candidate_index == "openalex-works" and current_index != "openalex-works":
return candidate
if current_index == "openalex-works" and candidate_index != "openalex-works":
return current
current_source = current.get("_source")
candidate_source = candidate.get("_source")
current_updated = (
current_source.get("updated_date") if isinstance(current_source, dict) else None
)
candidate_updated = (
candidate_source.get("updated_date")
if isinstance(candidate_source, dict)
else None
)
if isinstance(candidate_updated, str):
if not isinstance(current_updated, str) or candidate_updated > current_updated:
return candidate
return current
def work_record(hit: dict[str, Any]) -> dict[str, Any]:
source = hit.get("_source")
if not isinstance(source, dict):
source = {}
work_id = short_openalex_id(source.get("id") or hit.get("_id"))
return {
"work_id": work_id,
"full_work_id": (f"https://openalex.org/{work_id}" if work_id else None),
"title": source.get("title") or source.get("display_name"),
"publication_year": source.get("publication_year"),
"type": source.get("type"),
"doi": source.get("doi"),
"updated_date": source.get("updated_date"),
"source_index": hit.get("_index"),
}
def author_ids_in_source(source: dict[str, Any]) -> set[str]:
result: set[str] = set()
for authorship in source.get("authorships") or []:
if not isinstance(authorship, dict):
continue
author = authorship.get("author")
if not isinstance(author, dict):
continue
author_id = author.get("id")
if isinstance(author_id, str):
result.add(author_id)
return result
def institution_ids_in_source(source: dict[str, Any]) -> set[str]:
result: set[str] = set()
for authorship in source.get("authorships") or []:
if not isinstance(authorship, dict):
continue
for institution in authorship.get("institutions") or []:
if not isinstance(institution, dict):
continue
institution_id = institution.get("id")
if isinstance(institution_id, str):
result.add(institution_id)
return result
def classification_author_ids(document: dict[str, Any]) -> set[str]:
source = document.get("_source")
if not isinstance(source, dict):
return set()
result: set[str] = set()
for author in source.get("authors") or []:
if isinstance(author, dict) and isinstance(author.get("id"), str):
result.add(author["id"])
return result
def sort_work_records(records: Iterable[dict[str, Any]]) -> list[dict[str, Any]]:
return sorted(
records,
key=lambda item: (
item.get("publication_year") is not None,
item.get("publication_year") or -1,
item.get("work_id") or "",
),
reverse=True,
)
def write_csv(path: Path, rows: list[dict[str, Any]]) -> None:
path.parent.mkdir(parents=True, exist_ok=True)
fieldnames = [
"work_id",
"full_work_id",
"title",
"publication_year",
"type",
"doi",
"updated_date",
"source_index",
"variant_count",
"variant_indices",
"classified_by_id",
"classification_contains_author",
"institution_match",
"reason",
]
with path.open("w", encoding="utf-8-sig", newline="") as handle:
writer = csv.DictWriter(handle, fieldnames=fieldnames, extrasaction="ignore")
writer.writeheader()
writer.writerows(rows)
def main() -> int:
args = parse_args()
base_url, api_key = load_credentials(args)
client = ElasticsearchClient(base_url, api_key)
short_author_id = short_openalex_id(args.author_id)
if short_author_id is None:
raise RuntimeError("Author ID is empty.")
full_author_id = full_openalex_id(short_author_id, "A")
full_institution_id: str | None = None
if args.institution_id:
short_institution_id = short_openalex_id(args.institution_id)
if short_institution_id is None:
raise RuntimeError("Institution ID is empty.")
full_institution_id = full_openalex_id(short_institution_id, "I")
output_dir = args.output_dir
output_dir.mkdir(parents=True, exist_ok=True)
print(f"Loading author {short_author_id}...")
author = client.get_author(short_author_id)
print("Reproducing the publication-list query...")
publication_page = client.search_publication_page(
full_author_id,
page=0,
size=50,
)
page_total = publication_page.get("hits", {}).get("total", {})
page_total_value = (
int(page_total.get("value", 0))
if isinstance(page_total, dict)
else int(page_total or 0)
)
page_total_relation = (
page_total.get("relation") if isinstance(page_total, dict) else None
)
print("Scanning all matching source documents...")
raw_hits = client.scroll_author_works(full_author_id)
variants_by_work_id: dict[str, list[dict[str, Any]]] = defaultdict(list)
pipeline_hit_by_work_id: dict[str, dict[str, Any]] = {}
for hit in raw_hits:
source = hit.get("_source")
if not isinstance(source, dict):
continue
work_id = short_openalex_id(source.get("id") or hit.get("_id"))
if not work_id:
continue
variants_by_work_id[work_id].append(hit)
pipeline_hit_by_work_id[work_id] = choose_pipeline_hit(
pipeline_hit_by_work_id.get(work_id),
hit,
)
unique_work_ids = sorted(pipeline_hit_by_work_id)
eligible_work_ids: list[str] = []
pre_threshold_work_ids: list[str] = []
missing_year_work_ids: list[str] = []
for work_id, hit in pipeline_hit_by_work_id.items():
source = hit.get("_source")
if not isinstance(source, dict):
continue
year = source.get("publication_year")
if isinstance(year, bool) or not isinstance(year, int):
missing_year_work_ids.append(work_id)
elif year < args.work_year_gte:
pre_threshold_work_ids.append(work_id)
else:
eligible_work_ids.append(work_id)
print("Loading matching classification documents...")
classification_docs = client.mget_classifications(eligible_work_ids)
classified_author_count = client.count_classifications_by_author(full_author_id)
classified_by_id: list[str] = []
unclassified_eligible: list[str] = []
classified_but_author_missing: list[str] = []
for work_id in eligible_work_ids:
document = classification_docs.get(work_id)
if document and document.get("found"):
classified_by_id.append(work_id)
if full_author_id not in classification_author_ids(document):
classified_but_author_missing.append(work_id)
else:
unclassified_eligible.append(work_id)
duplicate_work_ids = [
work_id
for work_id, variants in variants_by_work_id.items()
if len(variants) > 1
]
institution_matching_work_ids: list[str] = []
if full_institution_id:
for work_id, hit in pipeline_hit_by_work_id.items():
source = hit.get("_source")
if not isinstance(source, dict):
continue
if full_institution_id in institution_ids_in_source(source):
institution_matching_work_ids.append(work_id)
def enrich(work_id: str, reason: str) -> dict[str, Any]:
hit = pipeline_hit_by_work_id[work_id]
record = work_record(hit)
variants = variants_by_work_id.get(work_id, [])
classification = classification_docs.get(work_id)
source = hit.get("_source")
institution_match = None
if full_institution_id and isinstance(source, dict):
institution_match = full_institution_id in institution_ids_in_source(source)
record.update(
{
"variant_count": len(variants),
"variant_indices": sorted(
{
str(variant.get("_index"))
for variant in variants
if variant.get("_index")
}
),
"classified_by_id": bool(
classification and classification.get("found")
),
"classification_contains_author": bool(
classification
and classification.get("found")
and full_author_id in classification_author_ids(classification)
),
"institution_match": institution_match,
"reason": reason,
}
)
return record
unclassified_examples = sort_work_records(
enrich(work_id, "eligible_since_threshold_but_missing_in_target")
for work_id in unclassified_eligible
)
pre_threshold_examples = sort_work_records(
enrich(work_id, f"publication_year_before_{args.work_year_gte}")
for work_id in pre_threshold_work_ids
)
missing_year_examples = sort_work_records(
enrich(work_id, "publication_year_missing") for work_id in missing_year_work_ids
)
duplicate_examples = sort_work_records(
enrich(work_id, "multiple_source_documents_same_openalex_id")
for work_id in duplicate_work_ids
)
author_missing_examples = sort_work_records(
enrich(work_id, "classified_target_document_does_not_contain_author")
for work_id in classified_but_author_missing
)
summary = {
"author": {
"id": full_author_id,
"display_name": author.get("display_name"),
"card_works_count": author.get("works_count"),
"cited_by_count": author.get("cited_by_count"),
},
"webapp_publication_list": {
"endpoint": f"/api/v2/works/author/{short_author_id}?page=0&size=50",
"raw_hits_total_value": page_total_value,
"raw_hits_total_relation": page_total_relation,
"raw_documents_scanned": len(raw_hits),
"unique_openalex_work_ids": len(unique_work_ids),
"duplicate_raw_documents": len(raw_hits) - len(unique_work_ids),
"work_ids_with_multiple_source_documents": len(duplicate_work_ids),
},
"classification_pipeline": {
"minimum_publication_year": args.work_year_gte,
"eligible_unique_work_ids": len(eligible_work_ids),
"pre_threshold_unique_work_ids": len(pre_threshold_work_ids),
"missing_year_unique_work_ids": len(missing_year_work_ids),
"classified_by_target_id": len(classified_by_id),
"eligible_but_missing_in_target": len(unclassified_eligible),
"classified_target_documents_containing_author": classified_author_count,
"classified_by_id_but_author_missing_from_target_document": len(
classified_but_author_missing
),
},
"institution": {
"id": full_institution_id,
"pipeline_selected_source_works_matching_institution": (
len(institution_matching_work_ids) if full_institution_id else None
),
},
"important_differences": [
"The author card reads openalex-authors.works_count directly.",
"The publication list counts raw hits from openalex-works* and does not deduplicate by work ID.",
"The classification pipeline deduplicates by normalized OpenAlex work ID.",
f"The classification pipeline excludes works with publication_year below {args.work_year_gte} or missing.",
"A work can exist in the classification index but be absent from a per-author target-index count if the stored authors array does not contain that author.",
],
"examples": {
"eligible_but_missing_in_target": unclassified_examples[
: args.example_limit
],
"publication_year_before_threshold": pre_threshold_examples[
: args.example_limit
],
"publication_year_missing": missing_year_examples[: args.example_limit],
"multiple_source_documents_same_id": duplicate_examples[
: args.example_limit
],
"classified_but_author_missing": author_missing_examples[
: args.example_limit
],
},
}
json_path = output_dir / f"{short_author_id}_publication_count_comparison.json"
json_path.write_text(
json.dumps(summary, ensure_ascii=False, indent=2),
encoding="utf-8",
)
write_csv(
output_dir / f"{short_author_id}_eligible_but_unclassified.csv",
unclassified_examples,
)
write_csv(
output_dir / f"{short_author_id}_source_duplicates.csv",
duplicate_examples,
)
write_csv(
output_dir / f"{short_author_id}_excluded_by_year.csv",
pre_threshold_examples + missing_year_examples,
)
write_csv(
output_dir / f"{short_author_id}_classified_but_author_missing.csv",
author_missing_examples,
)
print()
print("Comparison")
print("----------")
print(f"Author card works_count: {author.get('works_count')}")
print(
f"Publication page raw total: {page_total_value} ({page_total_relation})"
)
print(f"Publication page unique OpenAlex IDs: {len(unique_work_ids)}")
print(f"Pipeline-eligible unique IDs: {len(eligible_work_ids)}")
print(f"Classified by target document ID: {len(classified_by_id)}")
print(f"Eligible but missing in target: {len(unclassified_eligible)}")
print(f"Target documents containing this author: {classified_author_count}")
print(
f"Raw duplicate documents: {len(raw_hits) - len(unique_work_ids)}"
)
print(
f"Works before {args.work_year_gte}: {len(pre_threshold_work_ids)}"
)
print(f"Works with missing publication year: {len(missing_year_work_ids)}")
print()
print(f"Report: {json_path.resolve()}")
print(f"CSV files: {output_dir.resolve()}")
return 0
if __name__ == "__main__":
try:
raise SystemExit(main())
except KeyboardInterrupt:
print("\nInterrupted.", file=sys.stderr)
raise SystemExit(130)
except Exception as exc:
print(f"Error: {exc}", file=sys.stderr)
raise SystemExit(1)
@@ -0,0 +1,134 @@
# Evaluation Results
## Executive summary
Gemma4-e4b was evaluated in two complementary ways:
1. **Semantic benchmark:** comparison with a consensus of four stronger LLMs on 50 research works.
2. **Index validation audit:** structural validation of all 1,000 documents currently stored in `work-classifications`.
| Key result | Score |
| --------------------------------------------- | -------------------: |
| Consensus-compatible category | **43/50 (86.0%)** |
| Agreement on unanimous reference items | **25/28 (89.3%)** |
| Pasteur-quadrant compatibility | **41/43 (95.3%)** |
| Valid documents in the 1,000-work index audit | **978/1000 (97.8%)** |
---
## 1. Semantic benchmark: 50 works
### Reference construction
The reference is based on four independent model outputs:
- GLM-5.1
- Gemini 3.1 Pro
- GPT-5.6-sol
- Sonnet 5
| Reference agreement | Works |
| --------------------- | ----: |
| Unanimous `4:0` | 28 |
| Majority `3:1` | 13 |
| Split `2:2` | 7 |
| Low consensus `2:1:1` | 2 |
This reference measures **compatibility with a multi-model consensus**, not objective ground truth or expert adjudication.
### Category performance
| Metric | Result |
| ------------------------------------------------- | -----------------: |
| Coverage | **50/50 (100.0%)** |
| Overall consensus compatibility | **43/50 (86.0%)** |
| Strict accuracy on resolved `4:0` and `3:1` items | **35/41 (85.4%)** |
| Unanimous `4:0` accuracy | **25/28 (89.3%)** |
| Majority `3:1` accuracy | **10/13 (76.9%)** |
| Acceptance on split `2:2` items | **7/7 (100.0%)** |
| Agreement-weighted compatibility | **86.4%** |
### Score performance
The score is evaluated against the score interval produced by reference models that selected the same accepted category.
| Metric | Result |
| ------------------------------------------ | ----------------: |
| Inside the exact reference interval | **20/36 (55.6%)** |
| Inside or within 5 points of the interval | **28/36 (77.8%)** |
| Inside or within 10 points of the interval | **34/36 (94.4%)** |
| Mean distance to the accepted interval | **2.86 points** |
| Median distance to the accepted interval | **0.00 points** |
| Correct `null` score for `non_research` | **7/7 (100.0%)** |
### Technical and confidence checks
| Metric | Result |
| -------------------------------------------- | ---------------: |
| JSON/schema validity | **100.0%** |
| Category-score-quadrant consistency | **94.0%** |
| Confidence-cap compliance | **92.0%** |
| `signals_used` validity | **100.0%** |
| High-confidence incompatible classifications | **5/40 (12.5%)** |
### Main semantic disagreements
There are **7 category mismatches**:
| Work ID | Reference agreement | Accepted category | Gemma category |
| ------------- | ------------------- | -------------------------- | -------------------------- |
| `W4394954564` | `low_consensus` | `basic_research` | `experimental_development` |
| `W3194249507` | `majority_3_1` | `applied_research` | `experimental_development` |
| `W4411148338` | `unanimous_4_0` | `basic_research` | `applied_research` |
| `W4399679289` | `unanimous_4_0` | `applied_research` | `basic_research` |
| `W4410930081` | `unanimous_4_0` | `applied_research` | `basic_research` |
| `W4400540671` | `majority_3_1` | `experimental_development` | `applied_research` |
| `W2889224812` | `majority_3_1` | `applied_research` | `basic_research` |
---
## 2. Validation audit: 1,000 indexed works
The index contained exactly 1,000 documents, so the audit covered the full index rather than a partial sample.
| Status | Count | Rate |
| ------------------ | ------: | --------: |
| Valid | **978** | **97.8%** |
| Invalid | **22** | **2.2%** |
| Missing validation | **0** | **0.0%** |
### Validation errors
| Error | Count | Share of invalid works | Share of all works |
| ----------------------------------------------- | ----: | ---------------------: | -----------------: |
| `applied_research_score_outside_expected_range` | 15 | 68.2% | 1.5% |
| `basic_research_quadrant_score_mismatch` | 6 | 27.3% | 0.6% |
| `basic_research_score_outside_expected_range` | 1 | 4.5% | 0.1% |
### Validity by predicted category
| Category | Documents | Invalid | Valid rate |
| -------------------------- | --------: | ------: | ---------: |
| `basic_research` | 457 | 7 | 98.5% |
| `applied_research` | 369 | 15 | 95.9% |
| `experimental_development` | 141 | 0 | 100.0% |
| `non_research` | 33 | 0 | 100.0% |
The dominant technical issue is an `applied_research` classification with a score above the allowed maximum of 70. This accounts for **15/22 invalid documents**.
---
## Reproducibility
- Semantic evaluator: `evaluate_candidate_against_consensus.py`
- Index validation audit: `audit_index_validation_1000.py`
- Semantic result: `evaluation/gemma_consensus_evaluation/gemma4-e4b_evaluation.json`
- Index audit result: `evaluation/index_validation_audit_1000.json`
- Blind benchmark input: `evaluation/golden_set_50_inputs_blind_v1.json`
Run:
```bash
python evaluate_candidate_against_consensus.py
python audit_index_validation_1000.py
```
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,606 @@
{
"batch_id": "golden_set_50_blind_v1",
"n_items": 50,
"items": [
{
"work_id": "W2951658790",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 85,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper describes the design, full prototype implementation on Raspberry Pi, and evaluation of a new security service for embedded systems, indicating experimental development of a practical tool."
}
},
{
"work_id": "W2792069854",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Without an abstract, the title and venue (European Journal of Operational Research) suggest the development of applied mathematical models specifically targeted at urban evacuation planning."
}
},
{
"work_id": "W3157145095",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 10,
"pasteur_quadrant": "pure_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The work investigates the mathematical structure of the 3x + 1 problem (Collatz conjecture), aiming purely at fundamental knowledge without any specific practical application."
}
},
{
"work_id": "W4211082810",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "The item is titled 'References' and classified as a book chapter, indicating it is supporting material rather than original research."
}
},
{
"work_id": "W1970644787",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "topics"],
"insufficient_context": false,
"classification_reason": "Although the abstract is missing, the title clearly states the development of nanocomposites specifically designed for a practical aim as an advanced MRI contrast agent."
}
},
{
"work_id": "W4389566044",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The study formulates a mathematical program aimed specifically at finding optimal policies for controlling a pandemic outbreak and minimizing economic and humanitarian damage."
}
},
{
"work_id": "W4387698137",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The work presents TOMOSCO, a topic modelling framework designed with the specific practical aim of identifying scientific collaborations and evaluating it on bibliometric data."
}
},
{
"work_id": "W4393082582",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 40,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The study conducts an original investigation into the microstructural development and fundamental properties of Al-doped ZnO during sintering, motivated by materials science applications."
}
},
{
"work_id": "W4415655215",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "topics"],
"insufficient_context": false,
"classification_reason": "The title suggests the development of a specific algorithmic approach for mining data from websites to fulfill the practical task of identifying organizational structures."
}
},
{
"work_id": "W2330632819",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 80,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The research synthesizes a stable ink and uses it to successfully print structures on glass substrates via ink-jet printing, demonstrating prototyping for printable electronics."
}
},
{
"work_id": "W4415031709",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The authors implement a targeted fuzzing approach by extending the Rust compiler toolchain and evaluating its performance in generating vulnerability-triggering inputs."
}
},
{
"work_id": "W3022958510",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper develops an optimization model and an exact solution method aimed at the specific practical challenge of disaster road clearance and relief distribution."
}
},
{
"work_id": "W7138882770",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "This is a bibliometric review mapping the field of AI for wildfire management, gaining fundamental knowledge about the structure of an applied research domain."
}
},
{
"work_id": "W7138856433",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The study aims at a fundamental understanding of the underlying transformation mechanisms of nanoparticles during chemical vapor synthesis, motivated by materials optimization."
}
},
{
"work_id": "W2405896199",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "The item is explicitly labeled as an editorial and introduction to a special issue, serving as supporting front-matter rather than original research."
}
},
{
"work_id": "W4400944359",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 30,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper performs a bibliometric analysis to understand the fundamental structure of data ecosystem research, establishing a research agenda for the field."
}
},
{
"work_id": "W2931917074",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The study follows design science research to develop and evaluate an Augmented Reality head-mounted display prototype for decision-making in Enterprise Architecture."
}
},
{
"work_id": "W4403369135",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The authors apply machine learning to integrate data and classify potential startup founders among academics, aiming directly at improving the practical university scouting process."
}
},
{
"work_id": "W4411506896",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "topics"],
"insufficient_context": false,
"classification_reason": "Despite the lack of an abstract, the title signifies the creation of a specialized compiler designed to harden smart contracts against vulnerabilities, a practical software engineering aim."
}
},
{
"work_id": "W3153370821",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 85,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper introduces EVMPatch, features a proof-of-concept implementation that automatically rewrites/hardens smart contracts, and demonstrates its practicality via extensive real-world evaluation."
}
},
{
"work_id": "W3038557399",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "The work is explicitly labeled as an erratum correcting a previously published paper, lacking independent research content."
}
},
{
"work_id": "W4394954564",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 40,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The study elucidates the fundamental mechanism of unidirectional hole transfer in specific heterostructures, which is motivated by improving photodetector applications."
}
},
{
"work_id": "W4409545335",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "This is a bibliometric synthesis outlining the status, structure, and future research gaps regarding artificial intelligence in smart city environments."
}
},
{
"work_id": "W7133313486",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper demonstrates the feasibility of using a calibrated high-speed camera setup for practical operando temperature measurements during the laser sintering process."
}
},
{
"work_id": "W4394855570",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "The item is a correction to a previously published article and therefore qualifies as non-research support material."
}
},
{
"work_id": "W7140663985",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The work presents a framework (Walma) leveraging machine learning to detect memory corruption in WebAssembly and evaluates its detection accuracy and performance overhead."
}
},
{
"work_id": "W4226316500",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 80,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The authors introduce a practical smart contract compiler that automatically inserts security checks and validate its capability by preventing attack transactions in a large-scale real-world evaluation."
}
},
{
"work_id": "W4289778746",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "topics"],
"insufficient_context": false,
"classification_reason": "Without an abstract, the title points to the development of a model formulation directly targeting an industry-relevant optimization and packing problem."
}
},
{
"work_id": "W3194249507",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "topics"],
"insufficient_context": false,
"classification_reason": "The paper aims to develop a framework for evaluating and comparing software fuzzers, which is an applied research endeavor targeting software testing practices."
}
},
{
"work_id": "W4411446448",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "This bibliometric analysis maps the academic landscape of virtual coaches to establish a comprehensive overview and propose a future research agenda."
}
},
{
"work_id": "W7140643534",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The study designs HammerWatch and implements it on commodity hardware to detect microarchitectural Rowhammer attacks, demonstrating an implemented, detection-oriented technical artifact."
}
},
{
"work_id": "W4411449729",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper formulates a mixed integer linear model specifically aimed at optimizing practical logistical problems like premarshalling, block relocation, and stack loading."
}
},
{
"work_id": "W3207748302",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper is a comprehensive bibliometric review of the data governance field intended to explore its evolution and point out future research strands."
}
},
{
"work_id": "W4411148338",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 40,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The authors perform an original experimental investigation into the structural evolution and deagglomeration dynamics of nanoparticles, driven by materials engineering motivations."
}
},
{
"work_id": "W4399679289",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 50,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The work explores system-level effects (bitflips) of Non-Volatile Memories (NVMs) built on memristors, targeting practical concerns in computer hardware design."
}
},
{
"work_id": "W4206963266",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 20,
"pasteur_quadrant": "pure_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper proposes a theoretical process model and quality criteria to advance the philosophy and cumulative nature of Design Science Research itself."
}
},
{
"work_id": "W4243361268",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Appendices are explicitly listed as supporting materials and do not represent a standalone research contribution."
}
},
{
"work_id": "W4384502134",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "This review summarizes recent methodological advances in the chemical vapor synthesis process with an explicit focus on materials development and practical process design."
}
},
{
"work_id": "W4235102872",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "The item is simply titled 'Discussion and Conclusion' and categorized as a book chapter, acting as structural supporting text rather than an independent research piece."
}
},
{
"work_id": "W4410919853",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "topics"],
"insufficient_context": false,
"classification_reason": "The title indicates the design of a practical diagnosis and intervention platform tailored for the mental health of knowledge workers."
}
},
{
"work_id": "W4410623858",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper solves a specific practical problem (truck-drone delivery routing) by developing and validating a mixed-integer linear programming model for geometric trajectory planning."
}
},
{
"work_id": "W4386126998",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 30,
"pasteur_quadrant": "pure_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The research is fundamentally focused on acquiring new knowledge regarding the local, crystal, and micro-structure of ultra-small SnO2 nanoparticles."
}
},
{
"work_id": "W4411523072",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper presents Wemby, an approach to analyze WebAssembly-powered websites for memory corruption errors using fine-grained binary instrumentation and fuzzing."
}
},
{
"work_id": "W2903880611",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The authors introduce Scadman, implement it on a real-world water treatment testbed, and evaluate its efficacy in detecting cyber-physical attacks."
}
},
{
"work_id": "W4410930081",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "topics"],
"insufficient_context": false,
"classification_reason": "The title points to the development of design principles for stakeholder management in ports, indicating research focused on a specific practical and organizational aim."
}
},
{
"work_id": "W4301212620",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "The item is simply titled 'Introduction' within a book structure, which is considered non-research supporting material."
}
},
{
"work_id": "W4365601033",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 68,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The paper introduces EF/CF, a transpilation-based high-performance fuzzer for smart contracts, applying advanced software engineering methods to improve vulnerability detection."
}
},
{
"work_id": "W4400540671",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "Researchers developed a smartphone application for device attestation and evaluated it in a qualitative study with A/B testing to understand its practical impact on user trust."
}
},
{
"work_id": "W2889224812",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "The work presents novel exploitation techniques against Intel SGX to demonstrate cybersecurity vulnerabilities, which corresponds to practical applied software security research."
}
},
{
"work_id": "W3184661191",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "This paper overviews a priority program's philosophy and scientific objectives involving the fundamental interplay between hardware security and emerging nano-electronics."
}
}
]
}
@@ -0,0 +1,235 @@
{
"evaluation": {
"candidate_model": "gemma4-e4b",
"source_index": "work-classifications",
"reference_models": ["glm-5.1", "gemini-3.1-pro", "gpt-5.6-sol", "sonnet5"],
"works": 50,
"interpretation": "Compatibility with a four-model consensus reference, not objective ground truth."
},
"reference_agreement": {
"majority_3_1": 13,
"unanimous_4_0": 28,
"split_2_2": 7,
"low_consensus": 2
},
"results": {
"coverage": {
"matched": 50,
"total": 50,
"rate": 1.0
},
"category": {
"overall_consensus_compatible": {
"matched": 43,
"total": 50,
"rate": 0.86
},
"strict_resolved_items": {
"matched": 35,
"total": 41,
"rate": 0.8536585365853658
},
"unanimous_items": {
"matched": 25,
"total": 28,
"rate": 0.8928571428571429
},
"majority_3_1_items": {
"matched": 10,
"total": 13,
"rate": 0.7692307692307693
},
"split_2_2_items": {
"matched": 7,
"total": 7,
"rate": 1.0
},
"low_consensus_items": {
"matched": 1,
"total": 2,
"rate": 0.5
},
"agreement_weighted_rate": 0.863905325443787
},
"score": {
"numeric_items": 36,
"inside_reference_range": 20,
"outside_reference_range": 16,
"inside_reference_range_rate": 0.5555555555555556,
"mean_distance_to_range": 2.861111111111111,
"median_distance_to_range": 0.0,
"mean_absolute_error_to_reference_median": 6.583333333333333,
"non_research_score_null": {
"matched": 7,
"total": 7,
"rate": 1.0
}
},
"quadrant": {
"matched": 41,
"total": 43,
"rate": 0.9534883720930233
},
"technical": {
"index_validation": {
"valid": 47,
"invalid": 3,
"valid_rate": 0.94
},
"full_evaluator_validation": {
"valid": 43,
"invalid": 7,
"valid_rate": 0.86
},
"confidence_cap_compliance_rate": 0.92
},
"confidence": {
"compatibility_by_confidence": {
"high": {
"count": 40,
"compatible": 35,
"compatibility_rate": 0.875
},
"medium": {
"count": 8,
"compatible": 6,
"compatibility_rate": 0.75
},
"low": {
"count": 2,
"compatible": 2,
"compatibility_rate": 1.0
}
},
"high_confidence_incompatibility_rate": 0.125
}
},
"issues": {
"category_mismatches": [
{
"work_id": "W4394954564",
"title": "Photogating through Unidirectional Charge Carrier Funneling in Two-Dimensional Transition Metal Dichalcogenide/Perovskite Heterostructure Photodetectors",
"agreement_level": "low_consensus",
"accepted_categories": ["basic_research"],
"candidate_category": "experimental_development",
"candidate_score": 92,
"candidate_confidence": "high"
},
{
"work_id": "W3194249507",
"title": "My Fuzzer Beats Them All! Developing a Framework for Fair Evaluation and Comparison of Fuzzers",
"agreement_level": "majority_3_1",
"accepted_categories": ["applied_research"],
"candidate_category": "experimental_development",
"candidate_score": 85,
"candidate_confidence": "medium"
},
{
"work_id": "W4411148338",
"title": "In situ probing of structure and deagglomeration of SnO2 colloids via small-angle X-ray scattering",
"agreement_level": "unanimous_4_0",
"accepted_categories": ["basic_research"],
"candidate_category": "applied_research",
"candidate_score": 65,
"candidate_confidence": "high"
},
{
"work_id": "W4399679289",
"title": "NVM-Flip: Non-Volatile-Memory BitFlips on the System Level",
"agreement_level": "unanimous_4_0",
"accepted_categories": ["applied_research"],
"candidate_category": "basic_research",
"candidate_score": 30,
"candidate_confidence": "high"
},
{
"work_id": "W4410930081",
"title": "Anchoring Collaboration: Design Principles for Stakeholder Management in Ports",
"agreement_level": "unanimous_4_0",
"accepted_categories": ["applied_research"],
"candidate_category": "basic_research",
"candidate_score": 35,
"candidate_confidence": "medium"
},
{
"work_id": "W4400540671",
"title": "Building trust in remote attestation through transparency – a qualitative user study on observable attestation",
"agreement_level": "majority_3_1",
"accepted_categories": ["experimental_development"],
"candidate_category": "applied_research",
"candidate_score": 70,
"candidate_confidence": "high"
},
{
"work_id": "W2889224812",
"title": "The guard's dilemma: efficient code-reuse attacks against intel SGX",
"agreement_level": "majority_3_1",
"accepted_categories": ["applied_research"],
"candidate_category": "basic_research",
"candidate_score": 35,
"candidate_confidence": "high"
}
],
"technical_issues": [
{
"work_id": "W4211082810",
"title": "References",
"errors": ["confidence_exceeds_context_cap"],
"indexed_validation_valid": true,
"indexed_validation_errors": []
},
{
"work_id": "W1970644787",
"title": "Blocked-micropores, surface functionalized, bio-compatible and silica-coated iron oxide nanocomposites as advanced MRI contrast agent",
"errors": ["applied_research_score_outside_expected_range"],
"indexed_validation_valid": false,
"indexed_validation_errors": [
"applied_research_score_outside_expected_range"
]
},
{
"work_id": "W4387698137",
"title": "Exploiting Topic Modelling for the Identification of Untapped Scientific Collaborations",
"errors": ["applied_research_score_outside_expected_range"],
"indexed_validation_valid": false,
"indexed_validation_errors": [
"applied_research_score_outside_expected_range"
]
},
{
"work_id": "W2405896199",
"title": "Editorial: Introduction to the Special Issue on Information Modeling and Ontologies.",
"errors": ["confidence_exceeds_context_cap"],
"indexed_validation_valid": true,
"indexed_validation_errors": []
},
{
"work_id": "W4403369135",
"title": "Discovering potential founders within academic institutions",
"errors": ["applied_research_score_outside_expected_range"],
"indexed_validation_valid": false,
"indexed_validation_errors": [
"applied_research_score_outside_expected_range"
]
},
{
"work_id": "W4394855570",
"title": "Correction to: Making Sense of Projects—Developing Project Portfolio Management Capabilities",
"errors": ["confidence_exceeds_context_cap"],
"indexed_validation_valid": true,
"indexed_validation_errors": []
},
{
"work_id": "W4243361268",
"title": "Appendices",
"errors": ["confidence_exceeds_context_cap"],
"indexed_validation_valid": true,
"indexed_validation_errors": []
}
]
},
"assessment": {
"overall": "good",
"summary": "Gemma is strongly aligned with the four-model reference. Weaknesses are concentrated in boundary cases, applied versus experimental distinctions, and confidence caps."
}
}
@@ -0,0 +1,613 @@
{
"batch_id": "golden_set_50_blind_v1",
"n_items": 50,
"items": [
{
"work_id": "W2951658790",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Presents a design and prototype implementation of a control-flow attestation system directed at a specific practical aim in IoT security."
}
},
{
"work_id": "W2792069854",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Optimization model for urban evacuation planning targets a specific practical aim; no abstract limits confidence."
}
},
{
"work_id": "W3157145095",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 5,
"pasteur_quadrant": "pure_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Investigates the mathematical structure of the Collatz conjecture to acquire fundamental knowledge without any application in view."
}
},
{
"work_id": "W4211082810",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "This item is a references section of a book chapter, which is non-research supporting material."
}
},
{
"work_id": "W1970644787",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Developing nanocomposites as an advanced MRI contrast agent indicates a specific practical aim; no abstract limits confidence."
}
},
{
"work_id": "W4389566044",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Mathematical programming model targeting the specific practical aim of minimizing economic and humanitarian damage during a pandemic."
}
},
{
"work_id": "W4387698137",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and evaluates a topic modelling framework directed towards the specific practical aim of identifying scientific collaborators."
}
},
{
"work_id": "W4393082582",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Investigates fundamental microstructural development mechanisms in sintered ZnO, motivated by eventual material design applications."
}
},
{
"work_id": "W4415655215",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "topics"],
"insufficient_context": false,
"classification_reason": "Hybrid data mining approach targeting the specific practical aim of extracting organizational structure; no abstract limits confidence."
}
},
{
"work_id": "W2330632819",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Synthesis and successful ink-jet printing of silicon nanoparticles for printable electronics constitutes prototyping and process development."
}
},
{
"work_id": "W4415031709",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Develops and implements a targeted fuzzing approach for the specific practical aim of detecting vulnerabilities in unsafe Rust code."
}
},
{
"work_id": "W3022958510",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Develops an exact solution method and mathematical model for the practical aim of disaster road clearance and relief distribution."
}
},
{
"work_id": "W7138882770",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Bibliometric review of an application-oriented research field (AI for wildfire management); classifies based on reviewed body of work."
}
},
{
"work_id": "W7138856433",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Investigates fundamental (trans-)formation mechanisms of nanocrystals, motivated by the practical aim of optimizing particle characteristics."
}
},
{
"work_id": "W2405896199",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Editorial introducing a special issue, classified as non-research supporting material."
}
},
{
"work_id": "W4400944359",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Bibliometric study reviewing data ecosystem research, an applied field; classification follows the reviewed body of work."
}
},
{
"work_id": "W2931917074",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Designs, develops, and evaluates an AR head-mounted display prototype for enterprise architecture decision-making."
}
},
{
"work_id": "W4403369135",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Develops a machine learning approach for the specific practical aim of identifying potential startup founders in academia."
}
},
{
"work_id": "W4411506896",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "A compiler for smart contract hardening targets a specific practical aim; lack of abstract limits confidence."
}
},
{
"work_id": "W3153370821",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 80,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Implements and evaluates a framework for automatically patching faulty smart contracts, demonstrating practical feasibility and deployment readiness."
}
},
{
"work_id": "W3038557399",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Erratum correcting a previous publication, classified as non-research."
}
},
{
"work_id": "W4394954564",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 40,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Investigates fundamental charge carrier transfer mechanisms in photodetectors, motivated by improving device performance."
}
},
{
"work_id": "W4409545335",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Bibliometric analysis of AI in smart cities; classifies based on the applied orientation of the reviewed body of work."
}
},
{
"work_id": "W7133313486",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Develops and demonstrates a measurement technique for laser sintering, directed towards the practical aim of operando temperature monitoring."
}
},
{
"work_id": "W4394855570",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Correction notice to a previously published article, classified as non-research."
}
},
{
"work_id": "W7140663985",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and evaluates a machine learning framework for the practical aim of detecting memory corruption in WebAssembly."
}
},
{
"work_id": "W4226316500",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Proposes and evaluates a practical compiler that automatically hardens smart contracts against vulnerabilities, fulfilling a specific practical aim."
}
},
{
"work_id": "W4289778746",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Extended model for strip packing targeting industry-relevant aspects; classified as applied research. No abstract limits confidence."
}
},
{
"work_id": "W3194249507",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Develops a framework for fuzzer evaluation, serving a specific practical aim in software testing. No abstract limits confidence."
}
},
{
"work_id": "W4411446448",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Bibliometric review of virtual coach research, an applied field; classifies based on the orientation of the reviewed literature."
}
},
{
"work_id": "W7140643534",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Proposes and implements a remote attestation protocol for detecting microarchitectural attacks, directed at a specific practical security aim."
}
},
{
"work_id": "W4411449729",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Proposes a mixed integer linear model for specific practical optimization problems in storage and container terminals."
}
},
{
"work_id": "W3207748302",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Bibliometric review of data governance research, an applied field; classifies based on the orientation of the reviewed literature."
}
},
{
"work_id": "W4411148338",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 40,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Investigates fundamental deagglomeration dynamics and structural mechanisms, motivated by the practical aim of improving microstructural quality."
}
},
{
"work_id": "W4399679289",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "abstract", "topics"],
"insufficient_context": false,
"classification_reason": "Focuses on non-volatile memory bitflips at the system level, a practical security topic; abstract lacks specific aim, limiting confidence."
}
},
{
"work_id": "W4206963266",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Proposes a theoretical process model for scientific progress in DSR, aiming to establish foundational knowledge motivated by practical impact."
}
},
{
"work_id": "W4243361268",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Item is an appendix of a book chapter, which is non-research supporting material."
}
},
{
"work_id": "W4384502134",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Review of methodological advances for chemical vapor synthesis directed towards the practical aim of materials and process development."
}
},
{
"work_id": "W4235102872",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Item is a discussion and conclusion section of a book, classified as non-research supporting material."
}
},
{
"work_id": "W4410919853",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Designing a diagnosis and intervention platform targets a specific practical aim; no abstract limits confidence."
}
},
{
"work_id": "W4410623858",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Develops a mixed-integer linear program for drone trajectory planning directed at the practical aim of last-mile delivery."
}
},
{
"work_id": "W4386126998",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Investigates fundamental local, crystal, and micro-structure of SnO2 nanoparticles, motivated by their relevance to applied properties like catalysis."
}
},
{
"work_id": "W4411523072",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and evaluates a fuzzer for the specific practical aim of detecting memory corruption vulnerabilities in WebAssembly."
}
},
{
"work_id": "W2903880611",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Implements and evaluates an anomaly detection system prototype on a real-world testbed, constituting experimental development."
}
},
{
"work_id": "W4410930081",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Designing stakeholder management principles for ports targets a specific practical aim; lack of abstract limits confidence."
}
},
{
"work_id": "W4301212620",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Item is an introduction section of a book, classified as non-research supporting material."
}
},
{
"work_id": "W4365601033",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": [
"title",
"abstract",
"venue",
"work_type",
"topics",
"funders"
],
"insufficient_context": false,
"classification_reason": "Introduces a high-performance fuzzer for smart contracts directed towards the practical aim of vulnerability and exploit detection."
}
},
{
"work_id": "W4400540671",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Conducts a user study to improve trust in IoT remote attestation, directed towards the practical aim of usable security."
}
},
{
"work_id": "W2889224812",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops novel exploitation techniques against Intel SGX to demonstrate practical security vulnerabilities under weak adversarial assumptions."
}
},
{
"work_id": "W3184661191",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "funders"],
"insufficient_context": false,
"classification_reason": "Overview of a research program directed at the practical aim of establishing system security based on nano-electronics."
}
}
]
}
@@ -0,0 +1,606 @@
{
"batch_id": "golden_set_50_blind_v1",
"n_items": 50,
"items": [
{
"work_id": "W2951658790",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 90,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Designs, implements, and evaluates a Raspberry Pi prototype for runtime control-flow attestation against concrete attacks."
}
},
{
"work_id": "W2792069854",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 62,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Targets the practical problem of safe, resilient urban evacuation through bi-objective planning, but no prototype or deployment evidence is provided."
}
},
{
"work_id": "W3157145095",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 5,
"pasteur_quadrant": "pure_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Investigates the mathematical structure of the Collatz problem to advance foundational knowledge, with no practical use in view."
}
},
{
"work_id": "W4211082810",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "medium",
"signals_used": ["title", "work_type", "venue"],
"insufficient_context": false,
"classification_reason": "A references section is supporting material rather than an independent research contribution."
}
},
{
"work_id": "W1970644787",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 66,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Develops biocompatible iron oxide nanocomposites for the specific practical objective of improved MRI contrast, without clear trial or deployment evidence."
}
},
{
"work_id": "W4389566044",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 67,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Builds an optimization model to select pandemic-control measures while limiting economic and mortality harms, addressing a specific policy-planning objective."
}
},
{
"work_id": "W4387698137",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 68,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and experimentally evaluates a topic-modeling framework for recommending scientific collaborators, serving a defined organizational decision-support need."
}
},
{
"work_id": "W4393082582",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 40,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Primarily investigates mechanisms by which electric current alters ZnO microstructure and composition, motivated by improved sintering control rather than an immediate product."
}
},
{
"work_id": "W4415655215",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Proposes a hybrid data-mining approach for extracting university organizational structures from websites, a specific information-management task; implementation evidence is unavailable."
}
},
{
"work_id": "W2330632819",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 86,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Produces stable silicon nanoparticle ink and demonstrates ink-jet printed structures and films, constituting process and product prototyping for printable electronics."
}
},
{
"work_id": "W4415031709",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 89,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Implements selective instrumentation by extending the Rust compiler toolchain and validates improved vulnerability-fuzzing performance, yielding a working security-testing capability."
}
},
{
"work_id": "W3022958510",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 68,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and computationally tests an optimization model and exact algorithm for disaster road clearance and relief distribution, addressing a concrete emergency-logistics problem."
}
},
{
"work_id": "W7138882770",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 56,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Reviews an application-oriented body of AI research focused on wildfire detection, prediction, monitoring, and management, and proposes a practical research agenda."
}
},
{
"work_id": "W7138856433",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 42,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Seeks mechanistic understanding of tin oxide nanoparticle formation through operando diffraction and simulation, motivated by eventual control of application-relevant material properties."
}
},
{
"work_id": "W2405896199",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "medium",
"signals_used": ["title", "work_type", "venue"],
"insufficient_context": false,
"classification_reason": "An editorial introducing a special issue is supporting scholarly material, not an independent research investigation."
}
},
{
"work_id": "W4400944359",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "medium",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Bibliometrically maps data-ecosystem scholarship and develops a research agenda; the reviewed field's practical orientation is mixed and no specific intervention is central."
}
},
{
"work_id": "W2931917074",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 84,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and evaluates a HoloLens augmented-reality prototype to support enterprise-architecture decisions, directly testing a working artifact for practical use."
}
},
{
"work_id": "W4403369135",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 67,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Creates and evaluates machine-learning models to support university scouting of potential founders, pursuing a specific technology-transfer decision objective without deployment."
}
},
{
"work_id": "W4411506896",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 78,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "The work centers on a language-independent compiler for hardening smart contracts, indicating a working security artifact, though implementation details are unavailable."
}
},
{
"work_id": "W3153370821",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 94,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Implements and extensively evaluates an automated Ethereum contract-patching framework on 14,000 real contracts, demonstrating a practical working system."
}
},
{
"work_id": "W3038557399",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "medium",
"signals_used": ["title", "abstract", "work_type"],
"insufficient_context": false,
"classification_reason": "An erratum corrects a prior publication and is not an independent research contribution."
}
},
{
"work_id": "W4394954564",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 64,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Investigates charge-transfer mechanisms while fabricating photodetectors with improved responsivity, dark current, and detectivity, serving the practical objective of better photosensing devices."
}
},
{
"work_id": "W4409545335",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 54,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Reviews an application-oriented literature on AI solutions for urban mobility, waste, energy, and security, with practical implications for smart-city development."
}
},
{
"work_id": "W7133313486",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 82,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and demonstrates a high-speed near-infrared imaging setup for operando temperature measurement during laser sintering, establishing a working measurement capability."
}
},
{
"work_id": "W4394855570",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "low",
"signals_used": ["title"],
"insufficient_context": true,
"classification_reason": "The title explicitly identifies a correction, which is supporting material; no abstract or other confirming content is available."
}
},
{
"work_id": "W7140663985",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 87,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Presents and evaluates a deployable framework for WebAssembly memory attestation across real vulnerable applications and multiple execution backends."
}
},
{
"work_id": "W4226316500",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 91,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Builds a smart-contract compiler that automatically inserts hardening checks and validates it on 10,000 real contracts and verified attacks."
}
},
{
"work_id": "W4289778746",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 64,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Formulates an optimization model for an industry-relevant irregular strip-packing problem, a concrete manufacturing objective, without evidence of implementation or deployment."
}
},
{
"work_id": "W3194249507",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 62,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Develops an evaluation framework for fair comparison of fuzzers, addressing a specific software-testing need; the available fields do not establish a working implementation."
}
},
{
"work_id": "W4411446448",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 54,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Maps an application-oriented literature on virtual coaching for health, education, fitness, and professional development, emphasizing future development and implementation."
}
},
{
"work_id": "W7140643534",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 89,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Implements and evaluates HammerWatch, a hardware-backed remote-attestation protocol for detecting Rowhammer behavior on commodity systems."
}
},
{
"work_id": "W4411449729",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 64,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and computationally evaluates a compact optimization model for practical stacking, relocation, loading, and terminal-logistics problems."
}
},
{
"work_id": "W3207748302",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 52,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Reviews a practically oriented research field concerned with governing organizational data and identifies future work for companies and public institutions."
}
},
{
"work_id": "W4411148338",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 43,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Primarily investigates nanoscale deagglomeration dynamics and structure, motivated by eventual control of colloidal processing and functional-material quality."
}
},
{
"work_id": "W4399679289",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Examines system-level bit-flip behavior and security implications of non-volatile memory for a concrete computing problem, but the abstract lacks method and implementation details."
}
},
{
"work_id": "W4206963266",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops a conceptual model and quality criteria for cumulative design-science knowledge, primarily advancing research methodology while seeking eventual practical impact."
}
},
{
"work_id": "W4243361268",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "low",
"signals_used": ["title"],
"insufficient_context": true,
"classification_reason": "An appendices section is supporting material rather than independent research; no substantive context is provided."
}
},
{
"work_id": "W4384502134",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Reviews methods for controlling, characterizing, and designing chemical-vapor nanoparticle synthesis processes and materials, an application-oriented body of work."
}
},
{
"work_id": "W4235102872",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "low",
"signals_used": ["title", "work_type"],
"insufficient_context": true,
"classification_reason": "A standalone discussion-and-conclusion chapter is supporting material, and no abstract clarifies any independent research contribution."
}
},
{
"work_id": "W4410919853",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 66,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Targets the practical design of a diagnosis and intervention platform for knowledge-worker stress, but available evidence does not confirm a prototype or implementation."
}
},
{
"work_id": "W4410623858",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 68,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and computationally tests a trajectory-optimization model for collision-free, energy-aware drone delivery with moving launch and recovery vehicles."
}
},
{
"work_id": "W4386126998",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 34,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Investigates fundamental size, surface, interface, and defect structures in ultrasmall tin dioxide nanocrystals, with applications mentioned mainly as motivation."
}
},
{
"work_id": "W4411523072",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 93,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Implements and deploys a WebAssembly fuzzing and instrumentation system on real websites, finding memory-corruption bugs and substantially improving speed and coverage."
}
},
{
"work_id": "W2903880611",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 91,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Implements and evaluates Scadman on a real-world water-treatment testbed as a working anomaly-detection system for cyber-physical controllers."
}
},
{
"work_id": "W4410930081",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 56,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Derives design principles for the specific practical problem of stakeholder management in ports; no abstract establishes implementation or field deployment."
}
},
{
"work_id": "W4301212620",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "low",
"signals_used": ["title", "work_type", "venue"],
"insufficient_context": true,
"classification_reason": "An introduction chapter is supporting material, and the available metadata provides no evidence of an independent research investigation."
}
},
{
"work_id": "W4365601033",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 94,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Builds and comprehensively evaluates a high-performance smart-contract fuzzer that generates working exploits and outperforms existing tools."
}
},
{
"work_id": "W4400540671",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 78,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops a user-facing remote-attestation application and evaluates explanatory interface variants with participants, constituting a tested intervention prototype."
}
},
{
"work_id": "W2889224812",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 64,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics"],
"insufficient_context": false,
"classification_reason": "Develops practical exploitation techniques for Intel SGX under realistic adversarial assumptions, addressing a concrete security problem without evidence of a deployable product."
}
},
{
"work_id": "W3184661191",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type"],
"insufficient_context": false,
"classification_reason": "Provides an overview of a research priority program and its planned projects rather than reporting an original investigation or development activity."
}
}
]
}
@@ -0,0 +1,189 @@
{
"summary": {
"created_at": "2026-07-17T16:18:55.068127Z",
"index": "work-classifications",
"read_only": true,
"expected_count": null,
"documents": 45335,
"initial_count": 45335,
"final_count": 45335,
"count_consistent": true,
"expected_count_matches": true,
"index_integrity_valid": true
},
"mapping": {
"valid": true,
"error_count": 0,
"errors": []
},
"documents": {
"schema_valid": 45335,
"schema_invalid": 0,
"field_order_valid": 45335,
"field_order_invalid": 0,
"unique_work_ids": 45335,
"duplicate_work_id_count": 0,
"duplicate_work_ids": {},
"schema_error_counts": {},
"field_order_error_counts": {}
},
"classification": {
"categories": {
"basic_research": {
"count": 21568,
"percentage": 47.57
},
"applied_research": {
"count": 17243,
"percentage": 38.03
},
"non_research": {
"count": 3349,
"percentage": 7.39
},
"experimental_development": {
"count": 3175,
"percentage": 7.0
}
},
"quadrants": {
"pure_applied": {
"count": 20366,
"percentage": 44.92
},
"use_inspired_basic": {
"count": 14137,
"percentage": 31.18
},
"pure_basic": {
"count": 7446,
"percentage": 16.42
},
"not_applicable": {
"count": 3386,
"percentage": 7.47
}
},
"confidence": {
"high": {
"count": 29475,
"percentage": 65.02
},
"medium": {
"count": 15721,
"percentage": 34.68
},
"low": {
"count": 139,
"percentage": 0.31
}
},
"insufficient_context": {
"false": {
"count": 42171,
"percentage": 93.02
},
"true": {
"count": 3164,
"percentage": 6.98
}
},
"signals_used": {
"title": 44781,
"topics": 44742,
"work_type": 42570,
"venue": 35578,
"abstract": 28450,
"funders": 10144,
"language": 2043,
"year": 61
},
"applied_orientation_score": {
"overall": {
"count": 41986,
"min": 0.0,
"max": 92.0,
"mean": 47.49,
"median": 38.0
},
"by_category": {
"applied_research": {
"count": 17243,
"min": 35.0,
"max": 90.0,
"mean": 67.07,
"median": 70.0
},
"basic_research": {
"count": 21568,
"min": 0.0,
"max": 55.0,
"mean": 26.78,
"median": 30.0
},
"experimental_development": {
"count": 3175,
"min": 60.0,
"max": 92.0,
"mean": 81.84,
"median": 80.0
},
"non_research": {
"count": 0,
"min": null,
"max": null,
"mean": null,
"median": null
}
}
},
"current_rule_consistency": {
"consistent": 45335,
"inconsistent": 0,
"consistent_percentage": 100.0,
"error_counts": {}
},
"stored_validation": {
"states": {
"valid": 42138,
"invalid": 3197
},
"valid_state_consistent_with_error_list": 45335,
"valid_state_inconsistent_with_error_list": 0,
"error_occurrences": 3201,
"error_counts": {
"applied_research_score_outside_expected_range": 2842,
"basic_research_quadrant_score_mismatch": 297,
"applied_research_quadrant_mismatch": 32,
"experimental_development_quadrant_mismatch": 20,
"basic_research_quadrant_mismatch": 9,
"experimental_development_score_outside_expected_range": 1
}
}
},
"metadata": {
"missing_title": 24,
"missing_doi": 4579,
"missing_publication_year": 0,
"empty_authors": 0,
"empty_institutions": 10679,
"empty_topics": 274,
"publication_year": {
"min": 1950,
"max": 2026
},
"classified_at": {
"min": "2026-07-10T18:42:03Z",
"max": "2026-07-17T16:13:02Z"
}
},
"provenance": {
"models": {
"gemma4-e4b": 45335
},
"prompt_versions": {
"frascati_v1": 45215,
"frascati_hard_ranges_v2": 120
}
}
}
@@ -0,0 +1,181 @@
{
"summary": {
"created_at": "2026-07-17T17:08:56.145037Z",
"index": "work-classifications",
"read_only": true,
"expected_count": null,
"documents": 45335,
"initial_count": 45335,
"final_count": 45335,
"count_consistent": true,
"expected_count_matches": true,
"index_integrity_valid": true
},
"mapping": {
"valid": true,
"error_count": 0,
"errors": []
},
"documents": {
"schema_valid": 45335,
"schema_invalid": 0,
"field_order_valid": 45335,
"field_order_invalid": 0,
"unique_work_ids": 45335,
"duplicate_work_id_count": 0,
"duplicate_work_ids": {},
"schema_error_counts": {},
"field_order_error_counts": {}
},
"classification": {
"categories": {
"basic_research": {
"count": 21583,
"percentage": 47.61
},
"applied_research": {
"count": 16789,
"percentage": 37.03
},
"experimental_development": {
"count": 3591,
"percentage": 7.92
},
"non_research": {
"count": 3372,
"percentage": 7.44
}
},
"quadrants": {
"pure_applied": {
"count": 20380,
"percentage": 44.95
},
"use_inspired_basic": {
"count": 14037,
"percentage": 30.96
},
"pure_basic": {
"count": 7546,
"percentage": 16.64
},
"not_applicable": {
"count": 3372,
"percentage": 7.44
}
},
"confidence": {
"high": {
"count": 29445,
"percentage": 64.95
},
"medium": {
"count": 15749,
"percentage": 34.74
},
"low": {
"count": 141,
"percentage": 0.31
}
},
"insufficient_context": {
"false": {
"count": 42248,
"percentage": 93.19
},
"true": {
"count": 3087,
"percentage": 6.81
}
},
"signals_used": {
"title": 44781,
"topics": 44739,
"work_type": 42631,
"venue": 35597,
"abstract": 28479,
"funders": 10203,
"language": 2028,
"year": 61
},
"applied_orientation_score": {
"overall": {
"count": 41963,
"min": 0.0,
"max": 92.0,
"mean": 46.85,
"median": 40.0
},
"by_category": {
"applied_research": {
"count": 16789,
"min": 40.0,
"max": 70.0,
"mean": 64.99,
"median": 65.0
},
"basic_research": {
"count": 21583,
"min": 0.0,
"max": 45.0,
"mean": 26.9,
"median": 30.0
},
"experimental_development": {
"count": 3591,
"min": 75.0,
"max": 92.0,
"mean": 81.97,
"median": 80.0
},
"non_research": {
"count": 0,
"min": null,
"max": null,
"mean": null,
"median": null
}
}
},
"current_rule_consistency": {
"consistent": 45335,
"inconsistent": 0,
"consistent_percentage": 100.0,
"error_counts": {}
},
"stored_validation": {
"states": {
"valid": 45335
},
"valid_state_consistent_with_error_list": 45335,
"valid_state_inconsistent_with_error_list": 0,
"error_occurrences": 0,
"error_counts": {}
}
},
"metadata": {
"missing_title": 24,
"missing_doi": 4579,
"missing_publication_year": 0,
"empty_authors": 0,
"empty_institutions": 10679,
"empty_topics": 274,
"publication_year": {
"min": 1950,
"max": 2026
},
"classified_at": {
"min": "2026-07-10T18:42:03Z",
"max": "2026-07-17T17:05:32Z"
}
},
"provenance": {
"models": {
"gemma4-e4b": 45335
},
"prompt_versions": {
"frascati_v1": 42018,
"frascati_hard_ranges_v2": 3317
}
}
}
@@ -0,0 +1,181 @@
{
"summary": {
"created_at": "2026-07-19T23:22:32.712141Z",
"index": "work-classifications",
"read_only": true,
"expected_count": null,
"documents": 183661,
"initial_count": 183661,
"final_count": 183661,
"count_consistent": true,
"expected_count_matches": true,
"index_integrity_valid": true
},
"mapping": {
"valid": true,
"error_count": 0,
"errors": []
},
"documents": {
"schema_valid": 183661,
"schema_invalid": 0,
"field_order_valid": 183661,
"field_order_invalid": 0,
"unique_work_ids": 183661,
"duplicate_work_id_count": 0,
"duplicate_work_ids": {},
"schema_error_counts": {},
"field_order_error_counts": {}
},
"classification": {
"categories": {
"basic_research": {
"count": 83310,
"percentage": 45.36
},
"applied_research": {
"count": 73026,
"percentage": 39.76
},
"non_research": {
"count": 14584,
"percentage": 7.94
},
"experimental_development": {
"count": 12741,
"percentage": 6.94
}
},
"quadrants": {
"pure_applied": {
"count": 85767,
"percentage": 46.7
},
"use_inspired_basic": {
"count": 54366,
"percentage": 29.6
},
"pure_basic": {
"count": 28944,
"percentage": 15.76
},
"not_applicable": {
"count": 14584,
"percentage": 7.94
}
},
"confidence": {
"high": {
"count": 113822,
"percentage": 61.97
},
"medium": {
"count": 68830,
"percentage": 37.48
},
"low": {
"count": 1009,
"percentage": 0.55
}
},
"insufficient_context": {
"false": {
"count": 173892,
"percentage": 94.68
},
"true": {
"count": 9769,
"percentage": 5.32
}
},
"signals_used": {
"topics": 181324,
"title": 179981,
"work_type": 175947,
"venue": 141807,
"abstract": 110404,
"funders": 38567,
"language": 6695,
"year": 85
},
"applied_orientation_score": {
"overall": {
"count": 169077,
"min": 0.0,
"max": 92.0,
"mean": 47.18,
"median": 50.0
},
"by_category": {
"applied_research": {
"count": 73026,
"min": 31.0,
"max": 70.0,
"mean": 62.08,
"median": 60.0
},
"basic_research": {
"count": 83310,
"min": 0.0,
"max": 45.0,
"mean": 28.74,
"median": 35.0
},
"experimental_development": {
"count": 12741,
"min": 75.0,
"max": 92.0,
"mean": 82.34,
"median": 80.0
},
"non_research": {
"count": 0,
"min": null,
"max": null,
"mean": null,
"median": null
}
}
},
"current_rule_consistency": {
"consistent": 183661,
"inconsistent": 0,
"consistent_percentage": 100.0,
"error_counts": {}
},
"stored_validation": {
"states": {
"valid": 183661
},
"valid_state_consistent_with_error_list": 183661,
"valid_state_inconsistent_with_error_list": 0,
"error_occurrences": 0,
"error_counts": {}
}
},
"metadata": {
"missing_title": 120,
"missing_doi": 18865,
"missing_publication_year": 0,
"empty_authors": 0,
"empty_institutions": 47038,
"empty_topics": 2233,
"publication_year": {
"min": 1950,
"max": 2026
},
"classified_at": {
"min": "2026-07-10T18:42:03Z",
"max": "2026-07-19T06:14:05Z"
}
},
"provenance": {
"models": {
"gemma4-e4b": 183661
},
"prompt_versions": {
"frascati_hard_ranges_v2": 141643,
"frascati_v1": 42018
}
}
}
@@ -0,0 +1,606 @@
{
"batch_id": "golden_set_50_blind_v1",
"n_items": 50,
"items": [
{
"work_id": "W2951658790",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 85,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Full prototype (C-FLAT) implemented on real ARM TrustZone hardware, evaluated against real control-flow attacks; an engineered security artifact, not fundamental inquiry."
}
},
{
"work_id": "W2792069854",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Optimization model for urban evacuation planning in an OR journal; targets a specific practical aim without a described prototype, pilot, or deployment."
}
},
{
"work_id": "W3157145095",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 5,
"pasteur_quadrant": "pure_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Purely theoretical investigation of structural properties of the Collatz conjecture; no application or use is mentioned or implied."
}
},
{
"work_id": "W4211082810",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Bibliographic reference list of a book chapter; supporting material, not original research."
}
},
{
"work_id": "W1970644787",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 58,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Synthesis and surface functionalization of nanocomposites explicitly designed as an MRI contrast agent; specific practical biomedical aim, no abstract available."
}
},
{
"work_id": "W4389566044",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Mathematical program to select pandemic-control measures minimizing economic and health damage, illustrated with case study; practical policy aim, no deployed system."
}
},
{
"work_id": "W4387698137",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "TOMOSCO framework implemented and experimentally evaluated (over 90% accuracy) for identifying research collaborations; a working tool tested on real data."
}
},
{
"work_id": "W4393082582",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Investigates mechanisms (electromigration, Joule heating) underlying microstructure formation during flash sintering; fundamental understanding motivated by materials processing."
}
},
{
"work_id": "W4415655215",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "topics", "work_type"],
"insufficient_context": false,
"classification_reason": "Method for mining organizational structure from university websites; practical data-extraction aim inferred from title and topics, no abstract or venue given."
}
},
{
"work_id": "W2330632819",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 80,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Synthesizes silicon nanoparticle ink and demonstrates ink-jet printed structures on glass substrates for printable electronics; a produced and tested artifact."
}
},
{
"work_id": "W4415031709",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 78,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Implements a modified Rust compiler toolchain for targeted fuzzing of unsafe code and evaluates vulnerability detection; a built and tested tool."
}
},
{
"work_id": "W3022958510",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Formal MIP model and branch-and-bound method for disaster road clearance and relief delivery; practical optimization aim, computational study only, no deployment."
}
},
{
"work_id": "W7138882770",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Bibliometric review characterizing an application-oriented field (AI for wildfire detection/management); reviewed body is technology- and deployment-focused."
}
},
{
"work_id": "W7138856433",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "In situ/operando XRD combined with simulation to uncover nanoparticle formation mechanisms; fundamental mechanistic aim motivated by optimizing future particle properties."
}
},
{
"work_id": "W2405896199",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Editorial introducing a special issue; not original research."
}
},
{
"work_id": "W4400944359",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 30,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "medium",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Bibliometric study mapping the data-ecosystem research field and proposing a future research agenda for scholars; knowledge-mapping aim, not itself a practical tool."
}
},
{
"work_id": "W2931917074",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Design-science approach used to build and evaluate an AR head-mounted-display prototype for enterprise-architecture decision making; a developed and tested artifact."
}
},
{
"work_id": "W4403369135",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Data-driven machine-learning approach (random forest) to identify potential startup founders among academic staff, supporting a real technology-transfer scouting process."
}
},
{
"work_id": "W4411506896",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Title describes a hardening 'compiler' for smart contracts, indicating a built tool; no abstract available, so evidence rests on title, venue and topics."
}
},
{
"work_id": "W3153370821",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 85,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "EVMPatch framework with proof-of-concept implementation, evaluated on 14,000 real-world smart contracts and a developer study; a deployed, tested patching tool."
}
},
{
"work_id": "W3038557399",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Erratum correcting a prior publication; supporting material, not original research."
}
},
{
"work_id": "W4394954564",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 71,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Fabricates MoS2/perovskite heterostructure photodetectors and reports measured device performance (responsivity, detectivity); device engineering alongside mechanistic discussion."
}
},
{
"work_id": "W4409545335",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 30,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "medium",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Bibliometric analysis mapping AI-in-smart-cities research and proposing a future research agenda; field-mapping aim motivated by urban application challenges."
}
},
{
"work_id": "W7133313486",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 72,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Develops and demonstrates a new operando high-speed NIR imaging technique for temperature measurement during laser sintering; new measurement process/instrumentation."
}
},
{
"work_id": "W4394855570",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Correction notice to a previously published article; supporting material, not original research."
}
},
{
"work_id": "W7140663985",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 80,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Walma framework implemented and evaluated on real CVE-affected WebAssembly applications across multiple backends; a built and benchmarked detection tool."
}
},
{
"work_id": "W4226316500",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 82,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "HCC compiler implemented and evaluated at scale on 10k real-world smart contracts, outperforming prior hardening tools; a deployed, tested artifact."
}
},
{
"work_id": "W4289778746",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Extended optimization model formulation for an industry-relevant strip-packing problem in an OR journal; practical aim, no described prototype or deployment."
}
},
{
"work_id": "W3194249507",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 73,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Title indicates development of an evaluation framework/tool for fuzzers; software-engineering venue and topics support a built-artifact orientation, no abstract available."
}
},
{
"work_id": "W4411446448",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 30,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Bibliometric analysis of 540 articles mapping the virtual-coaching research field and proposing a future research agenda; field-mapping, not itself an intervention."
}
},
{
"work_id": "W7140643534",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 78,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "HammerWatch protocol implemented on commodity hardware and evaluated on 20,000 simulated access patterns for Rowhammer detection; a built and tested system."
}
},
{
"work_id": "W4411449729",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Novel MILP model formulation applicable to stacking/relocation logistics problems, examined via computational study; practical optimization aim, no deployment described."
}
},
{
"work_id": "W3207748302",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 30,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Bibliometric review tracing 16 years of data-governance research to provide a field blueprint and future research paths; field-mapping aim."
}
},
{
"work_id": "W4411148338",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "In situ SAXS study of deagglomeration dynamics and mechanisms in SnO2 colloids; fundamental structural understanding motivated by improving functional-material applications."
}
},
{
"work_id": "W4399679289",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "abstract", "topics", "work_type"],
"insufficient_context": false,
"classification_reason": "Discusses non-volatile memory (memristor) bit-flip behavior at the system level; available abstract is largely introductory background, limiting certainty of orientation."
}
},
{
"work_id": "W4206963266",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Proposes a theoretical process model and quality criteria for cumulative progress in design science research; meta-scientific aim motivated by improving field practice."
}
},
{
"work_id": "W4243361268",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title", "work_type"],
"insufficient_context": false,
"classification_reason": "Appendices of a book chapter; supporting material, not original research."
}
},
{
"work_id": "W4384502134",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 71,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Review of methodological advances for controlling and characterizing the chemical-vapor-synthesis process and materials development; reviewed body is process/technique-development oriented."
}
},
{
"work_id": "W4235102872",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type"],
"insufficient_context": false,
"classification_reason": "Discussion and Conclusion chapter of a larger work; a structural, supporting section rather than a standalone original research contribution."
}
},
{
"work_id": "W4410919853",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 73,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Title indicates designing a diagnosis-and-intervention platform for knowledge-worker stress; a system-building aim inferred from topics and venue, no abstract available."
}
},
{
"work_id": "W4410623858",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 55,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Mixed-integer linear program for collision-free drone trajectory planning with moving vehicles, validated via computational study; practical aim, no field deployment."
}
},
{
"work_id": "W4386126998",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Detailed structural characterization of very small SnO2 nanocrystals using multiple techniques; fundamental understanding of defects, motivated by relevance to electronics/catalysis applications."
}
},
{
"work_id": "W4411523072",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 85,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Wemby tool built and applied across 37,797 real domains, uncovering actual memory-corruption bugs (e.g., on Zoom); a deployed, benchmarked security tool."
}
},
{
"work_id": "W2903880611",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 80,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Scadman anomaly detection system implemented and evaluated on a real-world water-treatment testbed for industrial control systems; a built and tested artifact."
}
},
{
"work_id": "W4410930081",
"classification": {
"primary_category": "applied_research",
"applied_orientation_score": 50,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Title indicates design principles for stakeholder management in ports; a practical organizational aim inferred from topics, no abstract or working artifact described."
}
},
{
"work_id": "W4301212620",
"classification": {
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "medium",
"signals_used": ["title", "venue", "work_type"],
"insufficient_context": false,
"classification_reason": "Introductory chapter of a book in a security/privacy lecture series; supporting material rather than an original research contribution."
}
},
{
"work_id": "W4365601033",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 85,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "EF/CF fuzzer implemented (bytecode-to-C++ transpilation) and evaluated at scale, automatically generating exploit transaction sequences; a built and benchmarked tool."
}
},
{
"work_id": "W4400540671",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 71,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Application built to let users observe IoT remote attestation, evaluated via qualitative study and A/B testing with 35 participants; prototype plus piloting."
}
},
{
"work_id": "W2889224812",
"classification": {
"primary_category": "experimental_development",
"applied_orientation_score": 75,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Novel exploitation techniques against Intel SGX developed and demonstrated under weak adversarial assumptions on standard SDK enclaves; a working attack technique."
}
},
{
"work_id": "W3184661191",
"classification": {
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "medium",
"signals_used": ["title", "abstract", "venue", "work_type", "topics"],
"insufficient_context": false,
"classification_reason": "Overview of a research program spanning fundamental nano-electronics phenomena and their security implications/applications; describes both threats and use-motivated approaches."
}
}
]
}
@@ -0,0 +1,291 @@
You are a research-policy analyst classifying the **orientation** of a single
scholarly work. Use *only* the definitions and rules below. Do not invent your
own notion of "applied" — apply the Frascati Manual definitions exactly.
### Frascati Manual (OECD, 2015) definitions — authoritative
**Basic research / Grundlagenforschung**
Experimental or theoretical work undertaken primarily to acquire new knowledge
of the underlying foundations of phenomena and observable facts, **without any
particular application or use in view.**
**Applied research / Angewandte Forschung**
Original investigation undertaken to acquire new knowledge, **directed primarily
towards a specific, practical aim or objective.**
**Experimental development / Experimentelle Entwicklung**
Systematic work, drawing on knowledge gained from research and practical
experience and producing additional knowledge, **directed to producing new
products or processes, or to improving existing ones** (includes prototyping,
piloting, scale-up, demonstrators).
The three form a spectrum of increasing practical/product orientation:
`basic_research → applied_research → experimental_development`.
### The Pasteur's-quadrant caveat (read carefully)
A work can *seek fundamental understanding* **and** *be motivated by an
eventual use*. Frascati keeps such work in **basic research** when the immediate
aim is fundamental knowledge, even if a use is mentioned. Do **not** upgrade a
mechanistic/theoretical study to "applied" merely because it names a possible
future application ("...to enable next-generation batteries", "...with potential
clinical relevance"). Record this via the `pasteur_quadrant` field:
- `pure_basic` — fundamental understanding, no use mentioned.
- `use_inspired_basic` — fundamental understanding, motivated by a use →
still classified `basic_research`.
- `pure_applied` — driven by a specific practical aim.
- `not_applicable` — non-research item.
### Classification procedure
1. Determine whether the item is research at all. Editorials, corrections,
prefaces, tables of contents, book reviews, pure datasets/software with no
research narrative → `non_research`.
2. Read every provided signal (see INPUT). Weight the abstract most; then
venue, topics, funders, work type; the title last on its own.
3. Decide the `primary_category` from the three Frascati definitions, applying
the Pasteur caveat.
4. Assign an `applied_orientation_score` from **0 (pure basic) to 100 (pure
experimental development)**. Rough anchors: 0–30 basic, 31–70 applied,
71–100 experimental development. `use_inspired_basic` typically 25–45.
5. Set `confidence` — **capped by the signals available** (see next section).
### Confidence caps (hard rules — do not exceed)
- Abstract present (+ any other signal) → up to **high**.
- No abstract, but venue **and/or** topics present → at most **medium**.
- Title only, nothing else usable → at most **low**, and set
`insufficient_context: true`.
Lower the confidence further whenever the signals are genuinely ambiguous
(opaque/"cute" titles, interdisciplinary venues, one-word topics).
### Field-specific guidance
- **Humanities / social sciences:** default expectation is basic research;
"applied" requires a clear practical aim (policy design, intervention,
clinical/legal practice, engineering of a tool). Do not treat empirical or
data-driven work as "applied" by itself — empiricism ≠ practical aim.
- **Engineering / medicine / CS:** watch for the opposite bias; a systems,
device, protocol, pilot, or benchmark aimed at a working artifact is usually
applied or experimental development, not basic.
- **Reviews / surveys:** classify by the orientation of the body of work
reviewed; if unclear, `basic_research`, `low`/`medium` confidence.
- **German titles:** classify identically; the definitions apply regardless of
language. Do not penalize confidence merely because the text is German.
### Edge cases
- Named future application but fundamental method → `use_inspired_basic` /
`basic_research`.
- Methodological/theoretical paper *about* a technique with no target problem →
`basic_research`.
- Clinical trial, field trial, prototype, scale-up, deployment →
`experimental_development`.
- Cannot decide research vs. non-research from a bare title → `non_research`
only if strongly indicated; otherwise best research guess + `low` confidence.
---
## INPUT
Provide any subset of the following. Absent fields are omitted (do not fabricate).
```
title: {{title}}
abstract: {{abstract}} # may be empty
venue: {{venue_name}} # journal / book / conference / repository
work_type: {{work_type}} # article, book-chapter, preprint, dataset, ...
topics: {{topics}} # OpenAlex topics/concepts, comma-separated
funders: {{funders}} # if available
year: {{publication_year}}
language: {{language}}
```
---
## OUTPUT
Return **only** a single JSON object, no prose, no markdown fences:
```json
{
"primary_category": "basic_research | applied_research | experimental_development | non_research",
"applied_orientation_score": 0,
"pasteur_quadrant": "pure_basic | use_inspired_basic | pure_applied | not_applicable",
"confidence": "high | medium | low",
"signals_used": ["title", "abstract", "venue", "topics", "funders", "work_type"],
"insufficient_context": false,
"rationale": "<= 40 words, cite the decisive signal"
}
```
Rules: `applied_orientation_score` must be consistent with `primary_category`.
`non_research` → score `null`, `pasteur_quadrant: not_applicable`.
`confidence` must respect the caps above. `signals_used` lists only fields that
actually informed the decision.
---
## Few-shot examples
Example 1 — Basic research
INPUT:
title: "Mechanisms of protein folding under molecular crowding"
abstract: "We investigate the physical principles governing protein folding dynamics under different molecular crowding conditions using theoretical modeling and spectroscopy. The study aims to improve understanding of the underlying mechanisms of biomolecular structure formation."
venue: "Journal of Molecular Biology"
work_type: "article"
topics: ["Protein folding", "Molecular biology", "Biophysics"]
funders: []
year: 2023
language: "en"
OUTPUT:
{
"primary_category": "basic_research",
"applied_orientation_score": 15,
"pasteur_quadrant": "pure_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The abstract seeks underlying mechanisms of biomolecular structure formation without a specific practical objective."
}
Example 2 — Use-inspired basic research
INPUT:
title: "Understanding degradation mechanisms in perovskite solar-cell materials"
abstract: "We study atomic-scale degradation pathways in perovskite materials under humidity and heat. The work aims to explain the fundamental mechanisms that limit stability, providing knowledge relevant to future solar-cell materials."
venue: "Advanced Energy Materials"
work_type: "article"
topics: ["Materials science", "Perovskites", "Solar cells"]
funders: []
year: 2024
language: "en"
OUTPUT:
{
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The immediate aim is mechanistic understanding, although the knowledge is motivated by future solar-cell applications."
}
Example 3 — Applied research
INPUT:
title: "A prediction model for hospital readmission risk in heart-failure patients"
abstract: "We develop and evaluate a statistical model to predict 30-day readmission risk in heart-failure patients using electronic health records. The objective is to support clinical decision-making and identify high-risk patients."
venue: "BMC Medical Informatics and Decision Making"
work_type: "article"
topics: ["Clinical prediction", "Health informatics", "Heart failure"]
funders: []
year: 2022
language: "en"
OUTPUT:
{
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The abstract states a specific practical objective: predicting readmission risk to support clinical decision-making."
}
Example 4 — Applied research, not experimental development
INPUT:
title: "A mathematical model for optimizing emergency vehicle routing"
abstract: "We formulate and test an optimization model for emergency vehicle routing under time-dependent traffic conditions. The work addresses a practical planning problem, but does not report deployment, prototyping, or creation of a new operational system."
venue: "European Journal of Operational Research"
work_type: "article"
topics: ["Optimization", "Vehicle routing", "Operations research"]
funders: []
year: 2021
language: "en"
OUTPUT:
{
"primary_category": "applied_research",
"applied_orientation_score": 70,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The work targets a specific routing problem, but lacks prototype, deployment, or system-building signals."
}
Example 5 — Experimental development
INPUT:
title: "A deployed sensor platform for real-time flood monitoring"
abstract: "We design, implement, and field-test a sensor platform for real-time flood monitoring. The system integrates wireless sensors, a data-processing pipeline, and a dashboard, and is evaluated during a pilot deployment with emergency services."
venue: "Sensors"
work_type: "article"
topics: ["Sensor networks", "Flood monitoring", "Emergency management"]
funders: []
year: 2024
language: "en"
OUTPUT:
{
"primary_category": "experimental_development",
"applied_orientation_score": 85,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The abstract describes design, implementation, and pilot deployment of a working monitoring platform."
}
Example 6 — Title-only / insufficient context
INPUT:
title: "Blockchain-based access control for digital services"
abstract: null
venue: "Lecture Notes in Computer Science"
work_type: "book-chapter"
topics: ["Blockchain", "Access control", "Computer security"]
funders: []
year: 2023
language: "en"
OUTPUT:
{
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "topics", "work_type"],
"insufficient_context": true,
"rationale": "The title and topics suggest a practical security aim, but no abstract is available."
}
Example 7 — Non-research
INPUT:
title: "Correction to: A prediction model for hospital readmission risk"
abstract: null
venue: "BMC Medical Informatics and Decision Making"
work_type: "article"
topics: []
funders: []
year: 2023
language: "en"
OUTPUT:
{
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title"],
"insufficient_context": false,
"rationale": "The title explicitly identifies the item as a correction, not an original research contribution."
}
@@ -0,0 +1,331 @@
You are a research-policy analyst classifying the **orientation** of a single
scholarly work. Use *only* the definitions and rules below. Do not invent your
own notion of "applied" — apply the Frascati Manual definitions exactly.
### Frascati Manual (OECD, 2015) definitions — authoritative
**Basic research / Grundlagenforschung**
Experimental or theoretical work undertaken primarily to acquire new knowledge
of the underlying foundations of phenomena and observable facts, **without any
particular application or use in view.**
**Applied research / Angewandte Forschung**
Original investigation undertaken to acquire new knowledge, **directed primarily
towards a specific, practical aim or objective.**
**Experimental development / Experimentelle Entwicklung**
Systematic work, drawing on knowledge gained from research and practical
experience and producing additional knowledge, **directed to producing new
products or processes, or to improving existing ones** (includes prototyping,
piloting, scale-up, demonstrators).
The three form a spectrum of increasing practical/product orientation:
`basic_research → applied_research → experimental_development`.
### The Pasteur's-quadrant caveat (read carefully)
A work can *seek fundamental understanding* **and** *be motivated by an
eventual use*. Frascati keeps such work in **basic research** when the immediate
aim is fundamental knowledge, even if a use is mentioned. Do **not** upgrade a
mechanistic/theoretical study to "applied" merely because it names a possible
future application ("...to enable next-generation batteries", "...with potential
clinical relevance"). Record this via the `pasteur_quadrant` field:
- `pure_basic` — fundamental understanding, no use mentioned.
- `use_inspired_basic` — fundamental understanding, motivated by a use →
still classified `basic_research`.
- `pure_applied` — driven by a specific practical aim.
- `not_applicable` — non-research item.
### Classification procedure
1. Determine whether the item is research at all. Editorials, corrections,
prefaces, tables of contents, book reviews, pure datasets/software with no
research narrative → `non_research`.
2. Read every provided signal (see INPUT). Weight the abstract most; then
venue, topics, funders, work type; the title last on its own.
3. Decide the `primary_category` from the three Frascati definitions, applying
the Pasteur caveat.
4. Set `pasteur_quadrant` from the immediate orientation of the work.
5. Assign `applied_orientation_score` only after the category and quadrant are
fixed. The score is a dependent summary field, not independent evidence.
Use only the hard category-score ranges below.
6. Set `confidence` — **capped by the signals available** (see next section).
### Hard category-score consistency rules
Choose `primary_category` from the Frascati definitions first. Never change a
semantically chosen category merely to fit a preferred score. Then choose the
score only from the permitted range for that category and quadrant:
- `basic_research` + `pure_basic` → integer score **0–30**.
- `basic_research` + `use_inspired_basic` → integer score **25–45**.
- `applied_research` + `pure_applied` → integer score **31–70**.
- `experimental_development` + `pure_applied` → integer score **71–100**.
- `non_research` + `not_applicable` → score **null**.
These are hard output constraints, not rough anchors.
A highly practical work that has a specific practical objective but does not
produce or improve a product/process, prototype, pilot, demonstrator, deployed
system, or tested intervention remains `applied_research` and must receive a
score of at most 70.
Use `experimental_development` only when the work itself reports systematic
product/process development or improvement, prototyping, piloting, scale-up,
demonstration, deployment, or an interventional clinical/field trial. A review,
case report, observational analysis, diagnostic association study, or evaluation
of an already established treatment is not experimental development merely
because it is clinically important or strongly practical.
### Confidence caps (hard rules — do not exceed)
- Abstract present (+ any other signal) → up to **high**.
- No abstract, but venue **and/or** topics present → at most **medium**.
- Title only, nothing else usable → at most **low**, and set
`insufficient_context: true`.
Lower the confidence further whenever the signals are genuinely ambiguous
(opaque/"cute" titles, interdisciplinary venues, one-word topics).
### Field-specific guidance
- **Humanities / social sciences:** default expectation is basic research;
"applied" requires a clear practical aim (policy design, intervention,
clinical/legal practice, engineering of a tool). Do not treat empirical or
data-driven work as "applied" by itself — empiricism ≠ practical aim.
- **Engineering / medicine / CS:** watch for the opposite bias; a system,
device, protocol, pilot, or benchmark aimed at a working artifact is usually
applied or experimental development, not basic. Distinguish a practical
investigation from actual product/process development: practical importance
alone does not make a work experimental development.
- **Reviews / surveys:** classify by the orientation of the body of work
reviewed; if unclear, `basic_research`, `low`/`medium` confidence.
- **German titles:** classify identically; the definitions apply regardless of
language. Do not penalize confidence merely because the text is German.
### Edge cases
- Named future application but fundamental method → `use_inspired_basic` /
`basic_research`.
- Methodological/theoretical paper *about* a technique with no target problem →
`basic_research`.
- Interventional clinical trial, field trial, prototype, pilot, scale-up,
demonstrator, or deployment → `experimental_development`.
- Review, case report, observational cohort/registry analysis, or evaluation of
an established treatment without development of a new product/process →
normally `applied_research` when it has a specific practical aim.
- Cannot decide research vs. non-research from a bare title → `non_research`
only if strongly indicated; otherwise best research guess + `low` confidence.
---
## INPUT
Provide any subset of the following. Absent fields are omitted (do not fabricate).
```
title: {{title}}
abstract: {{abstract}} # may be empty
venue: {{venue_name}} # journal / book / conference / repository
work_type: {{work_type}} # article, book-chapter, preprint, dataset, ...
topics: {{topics}} # OpenAlex topics/concepts, comma-separated
funders: {{funders}} # if available
year: {{publication_year}}
language: {{language}}
```
---
## OUTPUT
Return **only** a single JSON object, no prose, no markdown fences:
```json
{
"primary_category": "basic_research | applied_research | experimental_development | non_research",
"applied_orientation_score": 0,
"pasteur_quadrant": "pure_basic | use_inspired_basic | pure_applied | not_applicable",
"confidence": "high | medium | low",
"signals_used": ["title", "abstract", "venue", "topics", "funders", "work_type"],
"insufficient_context": false,
"rationale": "<= 40 words, cite the decisive signal"
}
```
Rules: `applied_orientation_score` must be consistent with `primary_category`
and `pasteur_quadrant` according to the hard ranges above.
`non_research` → score `null`, `pasteur_quadrant: not_applicable`.
`confidence` must respect the caps above. `signals_used` lists only fields that
actually informed the decision.
Before returning JSON, perform this final self-check:
1. Is `primary_category` supported by the immediate aim of the work?
2. Is `pasteur_quadrant` compatible with that category?
3. Is the score inside the hard permitted range?
If step 3 fails, keep the semantically chosen category and choose a valid score
inside its range. Do not change the category merely to preserve an invalid score.
---
## Few-shot examples
Example 1 — Basic research
INPUT:
title: "Mechanisms of protein folding under molecular crowding"
abstract: "We investigate the physical principles governing protein folding dynamics under different molecular crowding conditions using theoretical modeling and spectroscopy. The study aims to improve understanding of the underlying mechanisms of biomolecular structure formation."
venue: "Journal of Molecular Biology"
work_type: "article"
topics: ["Protein folding", "Molecular biology", "Biophysics"]
funders: []
year: 2023
language: "en"
OUTPUT:
{
"primary_category": "basic_research",
"applied_orientation_score": 15,
"pasteur_quadrant": "pure_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The abstract seeks underlying mechanisms of biomolecular structure formation without a specific practical objective."
}
Example 2 — Use-inspired basic research
INPUT:
title: "Understanding degradation mechanisms in perovskite solar-cell materials"
abstract: "We study atomic-scale degradation pathways in perovskite materials under humidity and heat. The work aims to explain the fundamental mechanisms that limit stability, providing knowledge relevant to future solar-cell materials."
venue: "Advanced Energy Materials"
work_type: "article"
topics: ["Materials science", "Perovskites", "Solar cells"]
funders: []
year: 2024
language: "en"
OUTPUT:
{
"primary_category": "basic_research",
"applied_orientation_score": 35,
"pasteur_quadrant": "use_inspired_basic",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The immediate aim is mechanistic understanding, although the knowledge is motivated by future solar-cell applications."
}
Example 3 — Applied research
INPUT:
title: "A prediction model for hospital readmission risk in heart-failure patients"
abstract: "We develop and evaluate a statistical model to predict 30-day readmission risk in heart-failure patients using electronic health records. The objective is to support clinical decision-making and identify high-risk patients."
venue: "BMC Medical Informatics and Decision Making"
work_type: "article"
topics: ["Clinical prediction", "Health informatics", "Heart failure"]
funders: []
year: 2022
language: "en"
OUTPUT:
{
"primary_category": "applied_research",
"applied_orientation_score": 65,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The abstract states a specific practical objective: predicting readmission risk to support clinical decision-making."
}
Example 4 — Applied research, not experimental development
INPUT:
title: "A mathematical model for optimizing emergency vehicle routing"
abstract: "We formulate and test an optimization model for emergency vehicle routing under time-dependent traffic conditions. The work addresses a practical planning problem, but does not report deployment, prototyping, or creation of a new operational system."
venue: "European Journal of Operational Research"
work_type: "article"
topics: ["Optimization", "Vehicle routing", "Operations research"]
funders: []
year: 2021
language: "en"
OUTPUT:
{
"primary_category": "applied_research",
"applied_orientation_score": 70,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The work targets a specific routing problem, but lacks prototype, deployment, or system-building signals."
}
Example 5 — Experimental development
INPUT:
title: "A deployed sensor platform for real-time flood monitoring"
abstract: "We design, implement, and field-test a sensor platform for real-time flood monitoring. The system integrates wireless sensors, a data-processing pipeline, and a dashboard, and is evaluated during a pilot deployment with emergency services."
venue: "Sensors"
work_type: "article"
topics: ["Sensor networks", "Flood monitoring", "Emergency management"]
funders: []
year: 2024
language: "en"
OUTPUT:
{
"primary_category": "experimental_development",
"applied_orientation_score": 85,
"pasteur_quadrant": "pure_applied",
"confidence": "high",
"signals_used": ["title", "abstract", "venue", "topics", "work_type"],
"insufficient_context": false,
"rationale": "The abstract describes design, implementation, and pilot deployment of a working monitoring platform."
}
Example 6 — Title-only / insufficient context
INPUT:
title: "Blockchain-based access control for digital services"
abstract: null
venue: "Lecture Notes in Computer Science"
work_type: "book-chapter"
topics: ["Blockchain", "Access control", "Computer security"]
funders: []
year: 2023
language: "en"
OUTPUT:
{
"primary_category": "applied_research",
"applied_orientation_score": 60,
"pasteur_quadrant": "pure_applied",
"confidence": "medium",
"signals_used": ["title", "venue", "topics", "work_type"],
"insufficient_context": true,
"rationale": "The title and topics suggest a practical security aim, but no abstract is available."
}
Example 7 — Non-research
INPUT:
title: "Correction to: A prediction model for hospital readmission risk"
abstract: null
venue: "BMC Medical Informatics and Decision Making"
work_type: "article"
topics: []
funders: []
year: 2023
language: "en"
OUTPUT:
{
"primary_category": "non_research",
"applied_orientation_score": null,
"pasteur_quadrant": "not_applicable",
"confidence": "high",
"signals_used": ["title"],
"insufficient_context": false,
"rationale": "The title explicitly identifies the item as a correction, not an original research contribution."
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,926 @@
from __future__ import annotations
import argparse
import json
from collections import Counter
from collections.abc import Callable, Iterable
from datetime import datetime, timezone
from pathlib import Path
from typing import Any
import requests
ROOT = Path(__file__).resolve().parent
ES_BASE_URL = "https://project.nes.uni-due.de/elastic"
ES_API_KEY = "am1wWXBaMEJEVWJoZkE5MnBaUlk6TWlvbW1LRlMzNjdDUHgzYmVkUmI5UQ=="
TARGET_INDEX = "work-classifications"
WORKS_INDEX = "openalex-works*"
WORK_YEAR_GTE = 1950
DEFAULT_AUTHORS_FILE = ROOT / "ude_authors_set.jsonl"
DEFAULT_OUTPUT_DIR = ROOT / "evaluation"
REQUEST_TIMEOUT = 120.0
SEARCH_PAGE_SIZE = 1000
SCROLL_KEEP_ALIVE = "5m"
SAMPLE_SIZE = 100
def utc_now() -> str:
return (
datetime.now(timezone.utc)
.isoformat()
.replace(
"+00:00",
"Z",
)
)
def timestamp() -> str:
return datetime.now(timezone.utc).strftime("%Y%m%dT%H%M%SZ")
def auth_header() -> str:
value = ES_API_KEY.strip()
if not value:
raise RuntimeError("ES_API_KEY is empty.")
if value.startswith("ApiKey "):
return value
return f"ApiKey {value}"
def normalize_openalex_id(
value: Any,
prefix: str,
) -> str | None:
if not isinstance(value, str):
return None
candidate = value.strip().rstrip("/")
if not candidate:
return None
short_id = candidate.rsplit("/", 1)[-1].upper()
if not short_id.startswith(prefix):
return None
suffix = short_id[len(prefix) :]
if not suffix.isdigit():
return None
return f"https://openalex.org/{short_id}"
def normalize_author_id(
value: Any,
) -> str | None:
return normalize_openalex_id(
value,
"A",
)
def normalize_work_id(
value: Any,
) -> str | None:
return normalize_openalex_id(
value,
"W",
)
def unwrap(
record: dict[str, Any],
) -> dict[str, Any]:
for key in (
"_source",
"source",
):
nested = record.get(key)
if isinstance(nested, dict):
return nested
return record
def iter_jsonl(
path: Path,
) -> Iterable[tuple[int, dict[str, Any]]]:
if not path.exists():
raise FileNotFoundError(f"File not found: {path}")
with path.open(
"r",
encoding="utf-8-sig",
) as handle:
for line_number, raw_line in enumerate(
handle,
start=1,
):
line = raw_line.strip()
if not line:
continue
try:
value = json.loads(line)
except json.JSONDecodeError as exc:
raise ValueError(
f"Invalid JSON at {path}:{line_number}: {exc}"
) from exc
if not isinstance(value, dict):
raise ValueError(f"Expected a JSON object at {path}:{line_number}.")
yield line_number, value
def extract_author(
record: dict[str, Any],
) -> dict[str, Any]:
source = unwrap(record)
ids = source.get("ids") if isinstance(source.get("ids"), dict) else {}
author_id = (
normalize_author_id(source.get("id"))
or normalize_author_id(ids.get("openalex"))
or normalize_author_id(record.get("_id"))
)
if author_id is None:
raise ValueError("Author record has no valid OpenAlex ID.")
display_name = source.get("display_name")
if not isinstance(display_name, str):
display_name = None
return {
"author_id": author_id,
"display_name": display_name,
}
def load_authors(
path: Path,
) -> tuple[dict[str, dict[str, Any]], int]:
authors: dict[str, dict[str, Any]] = {}
duplicate_records = 0
for line_number, record in iter_jsonl(path):
try:
author = extract_author(record)
except ValueError as exc:
raise ValueError(f"{path}:{line_number}: {exc}") from exc
author_id = author["author_id"]
if author_id in authors:
duplicate_records += 1
if (
authors[author_id].get("display_name") is None
and author.get("display_name") is not None
):
authors[author_id]["display_name"] = author["display_name"]
continue
authors[author_id] = author
if not authors:
raise RuntimeError(f"No authors were loaded from {path}.")
return authors, duplicate_records
def extract_authorship_author_ids(
source: dict[str, Any],
) -> set[str]:
result: set[str] = set()
authorships = source.get("authorships")
if not isinstance(authorships, list):
return result
for authorship in authorships:
if not isinstance(authorship, dict):
continue
author = authorship.get("author")
if not isinstance(author, dict):
continue
author_id = normalize_author_id(author.get("id"))
if author_id is not None:
result.add(author_id)
return result
class ElasticsearchClient:
def __init__(self) -> None:
self.session = requests.Session()
self.session.headers.update(
{
"Authorization": auth_header(),
"Content-Type": "application/json",
"Accept": "application/json",
}
)
def request(
self,
method: str,
path: str,
body: dict[str, Any] | None = None,
) -> dict[str, Any]:
response = self.session.request(
method,
(f"{ES_BASE_URL.rstrip('/')}/{path.lstrip('/')}"),
json=body,
timeout=REQUEST_TIMEOUT,
)
if response.status_code >= 400:
raise RuntimeError(
f"Elasticsearch {response.status_code} "
f"{method} {path}\n"
f"{response.text[:4000]}"
)
payload = response.json()
if not isinstance(payload, dict):
raise RuntimeError("Elasticsearch returned invalid JSON.")
return payload
def index_count(
client: ElasticsearchClient,
index: str,
) -> int:
payload = client.request(
"GET",
f"{index}/_count",
)
count = payload.get("count")
if not isinstance(count, int):
raise RuntimeError(f"Could not read count for index {index}.")
return count
def total_hits_value(
value: Any,
) -> int:
if isinstance(value, int):
return value
if isinstance(value, dict):
nested = value.get("value")
if isinstance(nested, int):
return nested
raise RuntimeError("Could not read Elasticsearch total hits.")
def scan_scroll(
client: ElasticsearchClient,
index: str,
body: dict[str, Any],
label: str,
handle_hit: Callable[[dict[str, Any]], None],
) -> dict[str, int]:
scroll_id: str | None = None
fetched = 0
reported_total: int | None = None
request_body = dict(body)
request_body["size"] = SEARCH_PAGE_SIZE
request_body["track_total_hits"] = True
request_body["sort"] = ["_doc"]
try:
response = client.request(
"POST",
(f"{index}/_search?scroll={SCROLL_KEEP_ALIVE}"),
request_body,
)
while True:
current_scroll_id = response.get("_scroll_id")
if isinstance(current_scroll_id, str) and current_scroll_id:
scroll_id = current_scroll_id
hits_block = response.get("hits")
if not isinstance(hits_block, dict):
raise RuntimeError("Search response has no hits object.")
if reported_total is None:
reported_total = total_hits_value(hits_block.get("total"))
hits = hits_block.get("hits")
if not isinstance(hits, list):
raise RuntimeError("Search response has no hits list.")
if not hits:
break
for hit in hits:
if not isinstance(hit, dict):
raise RuntimeError("Search returned an invalid hit.")
handle_hit(hit)
fetched += len(hits)
print(f"{label}: {fetched}/{reported_total}")
if scroll_id is None:
raise RuntimeError("Elasticsearch did not return a scroll ID.")
response = client.request(
"POST",
"_search/scroll",
{
"scroll": SCROLL_KEEP_ALIVE,
"scroll_id": scroll_id,
},
)
finally:
if scroll_id is not None:
try:
client.request(
"DELETE",
"_search/scroll",
{"scroll_id": [scroll_id]},
)
except Exception as exc:
print(f"Warning: could not clear Elasticsearch scroll context: {exc}")
if reported_total is None:
raise RuntimeError(f"{label}: no total hit count was returned.")
if fetched != reported_total:
raise RuntimeError(
f"{label}: fetched {fetched} hits, "
f"but Elasticsearch reported "
f"{reported_total}."
)
return {
"reported_total": reported_total,
"fetched": fetched,
}
def fetch_classified_work_ids(
client: ElasticsearchClient,
) -> tuple[
int,
int,
set[str],
int,
]:
initial_count = index_count(
client,
TARGET_INDEX,
)
classified_work_ids: set[str] = set()
def handle_hit(
hit: dict[str, Any],
) -> None:
source = hit.get("_source")
es_id = hit.get("_id")
work_id = (
normalize_work_id(source.get("work_id"))
if isinstance(source, dict)
else None
) or normalize_work_id(es_id)
if work_id is None:
raise RuntimeError(f"Invalid work ID in target index: {es_id}")
classified_work_ids.add(work_id)
stats = scan_scroll(
client=client,
index=TARGET_INDEX,
body={
"_source": ["work_id"],
"query": {"match_all": {}},
},
label="Target index",
handle_hit=handle_hit,
)
final_count = index_count(
client,
TARGET_INDEX,
)
if stats["reported_total"] != initial_count:
raise RuntimeError(
f"The target index changed before the scroll "
f"snapshot was opened: count={initial_count}, "
f"snapshot={stats['reported_total']}."
)
if len(classified_work_ids) != stats["fetched"]:
raise RuntimeError(
f"The target index contains "
f"{stats['fetched']} documents but only "
f"{len(classified_work_ids)} unique work IDs."
)
return (
initial_count,
final_count,
classified_work_ids,
stats["fetched"],
)
def source_work_query(
author_ids: list[str],
work_year_gte: int,
) -> dict[str, Any]:
return {
"_source": [
"id",
"updated_date",
"authorships.author.id",
],
"query": {
"bool": {
"filter": [
{"range": {"publication_year": {"gte": work_year_gte}}},
{
"nested": {
"path": "authorships",
"query": {"terms": {"authorships.author.id": (author_ids)}},
}
},
]
}
},
}
def candidate_is_better(
current: dict[str, Any],
candidate: dict[str, Any],
) -> bool:
current_index = current.get("index")
candidate_index = candidate.get("index")
if candidate_index == "openalex-works" and current_index != "openalex-works":
return True
if current_index == "openalex-works" and candidate_index != "openalex-works":
return False
current_updated = current.get("updated_date")
candidate_updated = candidate.get("updated_date")
return isinstance(candidate_updated, str) and (
not isinstance(current_updated, str) or candidate_updated > current_updated
)
def fetch_source_works(
client: ElasticsearchClient,
author_ids: set[str],
work_year_gte: int,
) -> tuple[
dict[str, dict[str, Any]],
dict[str, Any],
]:
selected_works: dict[str, dict[str, Any]] = {}
invalid_work_id_count = 0
invalid_work_id_samples: list[str] = []
no_listed_author_count = 0
no_listed_author_samples: list[str] = []
def handle_hit(
hit: dict[str, Any],
) -> None:
nonlocal invalid_work_id_count
nonlocal no_listed_author_count
source = hit.get("_source")
if not isinstance(source, dict):
raise RuntimeError("A source work hit has no valid _source.")
work_id = normalize_work_id(source.get("id")) or normalize_work_id(
hit.get("_id")
)
if work_id is None:
invalid_work_id_count += 1
if len(invalid_work_id_samples) < SAMPLE_SIZE:
invalid_work_id_samples.append(str(hit.get("_id")))
return
work_author_ids = extract_authorship_author_ids(source)
relevant_author_ids = work_author_ids & author_ids
if not relevant_author_ids:
no_listed_author_count += 1
if len(no_listed_author_samples) < SAMPLE_SIZE:
no_listed_author_samples.append(work_id)
return
candidate = {
"index": hit.get("_index"),
"updated_date": source.get("updated_date"),
"author_ids": relevant_author_ids,
}
current = selected_works.get(work_id)
if current is None or candidate_is_better(
current,
candidate,
):
selected_works[work_id] = candidate
stats = scan_scroll(
client=client,
index=WORKS_INDEX,
body=source_work_query(
sorted(author_ids),
work_year_gte,
),
label="OpenAlex works",
handle_hit=handle_hit,
)
data_quality = {
"source_raw_hits": stats["fetched"],
"source_unique_works": len(selected_works),
"source_duplicate_documents": (
stats["fetched"]
- len(selected_works)
- invalid_work_id_count
- no_listed_author_count
),
"source_invalid_work_ids": (invalid_work_id_count),
"source_invalid_work_id_samples": (invalid_work_id_samples),
"source_hits_without_listed_ude_author": (no_listed_author_count),
"source_hits_without_listed_ude_author_samples": (no_listed_author_samples),
}
return selected_works, data_quality
def coverage_status(
total: int,
classified: int,
) -> str:
if total == 0:
return "no_works"
if classified == 0:
return "not_started"
if classified == total:
return "complete"
return "partial"
def author_sort_key(
item: dict[str, Any],
) -> tuple[Any, ...]:
total = item["total_works"]
classified = item["classified_works"]
coverage = classified / total if total > 0 else None
return (
coverage is None,
-coverage if coverage is not None else 0.0,
-total,
-classified,
(
item["display_name"].casefold()
if isinstance(
item["display_name"],
str,
)
else ""
),
item["author_id"],
)
def build_report(
*,
authors_path: Path,
authors: dict[str, dict[str, Any]],
duplicate_author_records: int,
initial_target_count: int,
final_target_count: int,
classified_work_ids: set[str],
target_documents_scanned: int,
selected_works: dict[str, dict[str, Any]],
source_quality: dict[str, Any],
work_year_gte: int,
) -> dict[str, Any]:
total_counts: Counter[str] = Counter()
classified_counts: Counter[str] = Counter()
classified_source_work_ids: set[str] = set()
for work_id, work in selected_works.items():
work_author_ids = work["author_ids"]
is_classified = work_id in classified_work_ids
for author_id in work_author_ids:
total_counts[author_id] += 1
if is_classified:
classified_counts[author_id] += 1
if is_classified:
classified_source_work_ids.add(work_id)
rows: list[dict[str, Any]] = []
status_counts: Counter[str] = Counter()
author_work_assignments_total = 0
author_work_assignments_classified = 0
for author_id, author in authors.items():
total = total_counts.get(
author_id,
0,
)
classified = classified_counts.get(
author_id,
0,
)
unclassified = total - classified
coverage = classified / total if total > 0 else None
status = coverage_status(
total,
classified,
)
status_counts[status] += 1
author_work_assignments_total += total
author_work_assignments_classified += classified
rows.append(
{
"author_id": author_id,
"display_name": author["display_name"],
"total_works": total,
"classified_works": classified,
"unclassified_works": (unclassified),
"coverage_percent": (
round(
coverage * 100.0,
2,
)
if coverage is not None
else None
),
"coverage_status": status,
}
)
rows.sort(key=author_sort_key)
unique_work_coverage = (
len(classified_source_work_ids) / len(selected_works)
if selected_works
else None
)
assignment_coverage = (
author_work_assignments_classified / author_work_assignments_total
if author_work_assignments_total
else None
)
target_outside_source = classified_work_ids - set(selected_works)
return {
"summary": {
"created_at": utc_now(),
"target_index": TARGET_INDEX,
"works_index": WORKS_INDEX,
"work_year_gte": work_year_gte,
"authors_file": str(authors_path.resolve()),
"authors_total": len(authors),
"source_unique_works": len(selected_works),
"target_index_documents": len(classified_work_ids),
"target_index_initial_count": (initial_target_count),
"target_index_final_count": (final_target_count),
"target_index_count_consistent": (
initial_target_count
== final_target_count
== target_documents_scanned
== len(classified_work_ids)
),
"classified_source_works": len(classified_source_work_ids),
"unclassified_source_works": (
len(selected_works) - len(classified_source_work_ids)
),
"unique_work_coverage_percent": (
round(
unique_work_coverage * 100.0,
2,
)
if unique_work_coverage is not None
else None
),
"author_work_assignments_total": (author_work_assignments_total),
"author_work_assignments_classified": (author_work_assignments_classified),
"author_work_assignment_coverage_percent": (
round(
assignment_coverage * 100.0,
2,
)
if assignment_coverage is not None
else None
),
"authors_by_status": {
"complete": status_counts["complete"],
"partial": status_counts["partial"],
"not_started": status_counts["not_started"],
"no_works": status_counts["no_works"],
},
},
"data_quality": {
"duplicate_author_records": (duplicate_author_records),
**source_quality,
"target_documents_outside_source_work_set": (len(target_outside_source)),
"target_documents_outside_source_work_set_samples": (
sorted(target_outside_source)[:SAMPLE_SIZE]
),
},
"sorting": {
"primary": ("coverage percentage descending"),
"secondary": ("total_works descending"),
"tertiary": (
"classified_works descending, "
"display_name ascending, "
"author_id ascending"
),
"authors_with_no_works": "last",
},
"notes": [
(
"total_works is calculated directly from "
"openalex-works* for the listed UDE authors."
),
(
f"Only works with publication_year >= "
f"{work_year_gte} are included, matching the "
"classification pipeline."
),
(
"Duplicate work documents across matching "
"OpenAlex indices are reduced to one work ID. "
"The openalex-works document is preferred; "
"otherwise the newest updated_date is used."
),
(
"A coauthored work is counted once for every "
"listed UDE author on that work."
),
(
"The script is read-only and does not modify "
"Elasticsearch or the author JSONL file."
),
],
"authors": rows,
}
def parse_args() -> argparse.Namespace:
parser = argparse.ArgumentParser(
description=(
"Report classification coverage for every author "
"in a UDE author JSONL list using OpenAlex works "
"stored in Elasticsearch."
)
)
parser.add_argument(
"--authors",
type=Path,
default=DEFAULT_AUTHORS_FILE,
help=("Path to ude_authors_set.jsonl."),
)
parser.add_argument(
"--work-year-gte",
type=int,
default=WORK_YEAR_GTE,
help=("Minimum publication year included in total_works."),
)
parser.add_argument(
"--output",
type=Path,
default=None,
help=("Optional output JSON path."),
)
return parser.parse_args()
def main() -> None:
args = parse_args()
authors_path = args.authors.resolve()
output_path = (
args.output.resolve()
if args.output is not None
else (
DEFAULT_OUTPUT_DIR
/ (f"ude_author_classification_coverage_{timestamp()}.json")
).resolve()
)
authors, duplicate_author_records = load_authors(authors_path)
author_ids = set(authors)
print(f"UDE authors loaded: {len(authors)}")
client = ElasticsearchClient()
(
initial_target_count,
final_target_count,
classified_work_ids,
target_documents_scanned,
) = fetch_classified_work_ids(client)
print(f"Unique classified work IDs: {len(classified_work_ids)}")
selected_works, source_quality = fetch_source_works(
client=client,
author_ids=author_ids,
work_year_gte=args.work_year_gte,
)
print(f"Unique source works: {len(selected_works)}")
report = build_report(
authors_path=authors_path,
authors=authors,
duplicate_author_records=(duplicate_author_records),
initial_target_count=(initial_target_count),
final_target_count=(final_target_count),
classified_work_ids=(classified_work_ids),
target_documents_scanned=(target_documents_scanned),
selected_works=selected_works,
source_quality=source_quality,
work_year_gte=args.work_year_gte,
)
output_path.parent.mkdir(
parents=True,
exist_ok=True,
)
output_path.write_text(
json.dumps(
report,
ensure_ascii=False,
indent=2,
),
encoding="utf-8",
)
summary = report["summary"]
statuses = summary["authors_by_status"]
print(f"Classified source works: {summary['classified_source_works']}")
print(f"Unique work coverage: {summary['unique_work_coverage_percent']}%")
print(
"Authors complete/partial/not started/no works: "
f"{statuses['complete']}/"
f"{statuses['partial']}/"
f"{statuses['not_started']}/"
f"{statuses['no_works']}"
)
print(f"Output: {output_path}")
if __name__ == "__main__":
main()
@@ -0,0 +1,2 @@
openai>=1.0.0
requests>=2.31.0
@@ -0,0 +1,45 @@
{
"run_id": "20260713_212701_723948",
"started_at": "2026-07-13T21:27:01Z",
"finished_at": "2026-07-13T21:30:12Z",
"duration_seconds": 191.047,
"status": "completed",
"error": null,
"parameters": {
"limit": 186,
"workers": 20,
"model": "gemma4-e4b",
"prompt_version": "frascati_v1"
},
"classification": {
"llm_completed": 186,
"valid": 176,
"invalid": 10,
"categories": {
"basic_research": 105,
"applied_research": 69,
"experimental_development": 8,
"non_research": 4
},
"validation_errors": {
"applied_research_score_outside_expected_range": 8,
"basic_research_quadrant_score_mismatch": 2
}
},
"indexing": {
"newly_indexed": 186,
"recovered_from_ready": 0
},
"token_usage": {
"prompt_tokens": 603490,
"cached_prompt_tokens": 541728,
"uncached_prompt_tokens": 61762,
"completion_tokens": 158741,
"real_total_usage": 220503
},
"throughput_indexed_per_hour": 3504.9,
"sqlite_counts_after_run": {
"indexed": 388,
"pending": 6
}
}
@@ -0,0 +1,42 @@
{
"run_id": "20260717_005426_057540",
"started_at": "2026-07-17T00:54:26Z",
"finished_at": "2026-07-17T00:54:57Z",
"duration_seconds": 31.063,
"status": "completed",
"error": null,
"parameters": {
"limit": 2,
"workers": 1,
"model": "gemma4-e4b",
"prompt_version": "frascati_v1",
"sqlite_file": "C:\\Users\\Roman\\Desktop\\smartguide\\llm_evaluations\\basic_applied_experimental\\classification_pipeline_v2.sqlite3",
"target_index": "work-classifications",
"preflight_only": false
},
"classification": {
"llm_completed": 2,
"valid": 2,
"invalid": 0,
"categories": {
"basic_research": 2
},
"validation_errors": {}
},
"indexing": {
"newly_indexed": 2,
"recovered_from_ready": 0
},
"token_usage": {
"prompt_tokens": 6351,
"cached_prompt_tokens": 5824,
"uncached_prompt_tokens": 527,
"completion_tokens": 1707,
"real_total_usage": 2234
},
"throughput_indexed_per_hour": 231.79,
"sqlite_counts_after_run": {
"indexed": 391,
"pending": 3
}
}
@@ -0,0 +1,49 @@
{
"run_id": "20260717_005603_805495",
"started_at": "2026-07-17T00:56:03Z",
"finished_at": "2026-07-17T01:12:01Z",
"duration_seconds": 958.094,
"status": "completed",
"error": null,
"parameters": {
"limit": 1000,
"workers": 20,
"model": "gemma4-e4b",
"prompt_version": "frascati_v1",
"sqlite_file": "C:\\Users\\Roman\\Desktop\\smartguide\\llm_evaluations\\basic_applied_experimental\\classification_pipeline_v2.sqlite3",
"target_index": "work-classifications",
"preflight_only": false
},
"classification": {
"llm_completed": 1000,
"valid": 927,
"invalid": 73,
"categories": {
"basic_research": 562,
"applied_research": 340,
"experimental_development": 67,
"non_research": 31
},
"validation_errors": {
"applied_research_score_outside_expected_range": 60,
"basic_research_quadrant_score_mismatch": 12,
"applied_research_quadrant_mismatch": 1
}
},
"indexing": {
"newly_indexed": 1000,
"recovered_from_ready": 0
},
"token_usage": {
"prompt_tokens": 3240183,
"cached_prompt_tokens": 2912992,
"uncached_prompt_tokens": 327191,
"completion_tokens": 839984,
"real_total_usage": 1167175
},
"throughput_indexed_per_hour": 3757.46,
"sqlite_counts_after_run": {
"indexed": 1392,
"pending": 191
}
}
@@ -0,0 +1,48 @@
{
"run_id": "20260717_011548_698699",
"started_at": "2026-07-17T01:15:48Z",
"finished_at": "2026-07-17T01:28:58Z",
"duration_seconds": 790.125,
"status": "completed",
"error": null,
"parameters": {
"limit": 1000,
"workers": 25,
"model": "gemma4-e4b",
"prompt_version": "frascati_v1",
"sqlite_file": "C:\\Users\\Roman\\Desktop\\smartguide\\llm_evaluations\\basic_applied_experimental\\classification_pipeline_v2.sqlite3",
"target_index": "work-classifications",
"preflight_only": false
},
"classification": {
"llm_completed": 1000,
"valid": 940,
"invalid": 60,
"categories": {
"basic_research": 575,
"non_research": 16,
"applied_research": 338,
"experimental_development": 71
},
"validation_errors": {
"applied_research_score_outside_expected_range": 54,
"basic_research_quadrant_score_mismatch": 6
}
},
"indexing": {
"newly_indexed": 1000,
"recovered_from_ready": 0
},
"token_usage": {
"prompt_tokens": 3231350,
"cached_prompt_tokens": 2913504,
"uncached_prompt_tokens": 317846,
"completion_tokens": 835555,
"real_total_usage": 1153401
},
"throughput_indexed_per_hour": 4556.24,
"sqlite_counts_after_run": {
"indexed": 2392,
"pending": 169
}
}
@@ -0,0 +1,48 @@
{
"run_id": "20260717_013708_966462",
"started_at": "2026-07-17T01:37:08Z",
"finished_at": "2026-07-17T01:49:01Z",
"duration_seconds": 712.64,
"status": "completed",
"error": null,
"parameters": {
"limit": 1000,
"workers": 30,
"model": "gemma4-e4b",
"prompt_version": "frascati_v1",
"sqlite_file": "C:\\Users\\Roman\\Desktop\\smartguide\\llm_evaluations\\basic_applied_experimental\\classification_pipeline_v2.sqlite3",
"target_index": "work-classifications",
"preflight_only": false
},
"classification": {
"llm_completed": 1000,
"valid": 948,
"invalid": 52,
"categories": {
"applied_research": 360,
"basic_research": 557,
"experimental_development": 68,
"non_research": 15
},
"validation_errors": {
"applied_research_score_outside_expected_range": 49,
"basic_research_quadrant_score_mismatch": 3
}
},
"indexing": {
"newly_indexed": 1000,
"recovered_from_ready": 0
},
"token_usage": {
"prompt_tokens": 3224853,
"cached_prompt_tokens": 2927360,
"uncached_prompt_tokens": 297493,
"completion_tokens": 827150,
"real_total_usage": 1124643
},
"throughput_indexed_per_hour": 5051.64,
"sqlite_counts_after_run": {
"indexed": 3393,
"pending": 150
}
}
@@ -0,0 +1,48 @@
{
"run_id": "20260717_020319_001747",
"started_at": "2026-07-17T02:03:19Z",
"finished_at": "2026-07-17T02:14:00Z",
"duration_seconds": 641.141,
"status": "completed",
"error": null,
"parameters": {
"limit": 1000,
"workers": 35,
"model": "gemma4-e4b",
"prompt_version": "frascati_v1",
"sqlite_file": "C:\\Users\\Roman\\Desktop\\smartguide\\llm_evaluations\\basic_applied_experimental\\classification_pipeline_v2.sqlite3",
"target_index": "work-classifications",
"preflight_only": false
},
"classification": {
"llm_completed": 1000,
"valid": 935,
"invalid": 65,
"categories": {
"basic_research": 559,
"non_research": 22,
"applied_research": 342,
"experimental_development": 77
},
"validation_errors": {
"applied_research_score_outside_expected_range": 58,
"basic_research_quadrant_score_mismatch": 7
}
},
"indexing": {
"newly_indexed": 1000,
"recovered_from_ready": 0
},
"token_usage": {
"prompt_tokens": 3234874,
"cached_prompt_tokens": 2913440,
"uncached_prompt_tokens": 321434,
"completion_tokens": 831117,
"real_total_usage": 1152551
},
"throughput_indexed_per_hour": 5614.99,
"sqlite_counts_after_run": {
"indexed": 4393,
"pending": 134
}
}
@@ -0,0 +1,50 @@
{
"run_id": "20260717_022730_111266",
"started_at": "2026-07-17T02:27:30Z",
"finished_at": "2026-07-17T02:37:39Z",
"duration_seconds": 609.859,
"status": "completed",
"error": null,
"parameters": {
"limit": 1000,
"workers": 40,
"model": "gemma4-e4b",
"prompt_version": "frascati_v1",
"sqlite_file": "C:\\Users\\Roman\\Desktop\\smartguide\\llm_evaluations\\basic_applied_experimental\\classification_pipeline_v2.sqlite3",
"target_index": "work-classifications",
"preflight_only": false
},
"classification": {
"llm_completed": 1000,
"valid": 915,
"invalid": 85,
"categories": {
"applied_research": 382,
"non_research": 29,
"basic_research": 526,
"experimental_development": 63
},
"validation_errors": {
"applied_research_score_outside_expected_range": 74,
"basic_research_quadrant_score_mismatch": 9,
"basic_research_quadrant_mismatch": 1,
"applied_research_quadrant_mismatch": 1
}
},
"indexing": {
"newly_indexed": 1000,
"recovered_from_ready": 0
},
"token_usage": {
"prompt_tokens": 3247991,
"cached_prompt_tokens": 2913120,
"uncached_prompt_tokens": 334871,
"completion_tokens": 835172,
"real_total_usage": 1170043
},
"throughput_indexed_per_hour": 5903.0,
"sqlite_counts_after_run": {
"indexed": 5393,
"pending": 122
}
}
@@ -0,0 +1,51 @@
{
"run_id": "20260717_030100_386210",
"started_at": "2026-07-17T03:01:00Z",
"finished_at": "2026-07-17T06:38:43Z",
"duration_seconds": 13062.969,
"status": "completed",
"error": null,
"parameters": {
"limit": 10000,
"workers": 30,
"model": "gemma4-e4b",
"prompt_version": "frascati_v1",
"sqlite_file": "C:\\Users\\Roman\\Desktop\\smartguide\\llm_evaluations\\basic_applied_experimental\\classification_pipeline_v2.sqlite3",
"target_index": "work-classifications",
"preflight_only": false
},
"classification": {
"llm_completed": 10000,
"valid": 9089,
"invalid": 911,
"categories": {
"non_research": 708,
"basic_research": 4382,
"applied_research": 4275,
"experimental_development": 635
},
"validation_errors": {
"basic_research_quadrant_score_mismatch": 55,
"applied_research_score_outside_expected_range": 844,
"applied_research_quadrant_mismatch": 10,
"experimental_development_quadrant_mismatch": 2,
"experimental_development_score_outside_expected_range": 1
}
},
"indexing": {
"newly_indexed": 10000,
"recovered_from_ready": 0
},
"token_usage": {
"prompt_tokens": 32719632,
"cached_prompt_tokens": 29184896,
"uncached_prompt_tokens": 3534736,
"completion_tokens": 8554523,
"real_total_usage": 12089259
},
"throughput_indexed_per_hour": 2755.88,
"sqlite_counts_after_run": {
"indexed": 15402,
"pending": 185
}
}
@@ -0,0 +1,44 @@
{
"run_id": "20260717_175129_424220",
"started_at": "2026-07-17T17:51:29Z",
"finished_at": "2026-07-17T18:05:54Z",
"duration_seconds": 865.141,
"status": "completed",
"error": null,
"parameters": {
"limit": 1000,
"workers": 25,
"model": "gemma4-e4b",
"prompt_version": "frascati_hard_ranges_v2",
"target_index": "work-classifications",
"bulk_batch_size": 200,
"state_storage": "memory_only",
"preflight_only": false
},
"classification": {
"llm_completed": 1000,
"valid": 1000,
"invalid": 0,
"categories": {
"basic_research": 531,
"applied_research": 386,
"non_research": 26,
"experimental_development": 57
},
"validation_errors": {}
},
"indexing": {
"newly_indexed": 1000,
"bulk_requests": 8,
"bulk_documents_submitted": 1200,
"bulk_failures": 0
},
"token_usage": {
"prompt_tokens": 3711992,
"cached_prompt_tokens": 3424000,
"uncached_prompt_tokens": 287992,
"completion_tokens": 920369,
"real_total_usage": 1208361
},
"throughput_indexed_per_hour": 4161.17
}
@@ -0,0 +1,44 @@
{
"run_id": "20260717_182758_995379",
"started_at": "2026-07-17T18:27:58Z",
"finished_at": "2026-07-17T18:41:42Z",
"duration_seconds": 823.015,
"status": "completed",
"error": null,
"parameters": {
"limit": 1000,
"workers": 25,
"model": "gemma4-e4b",
"prompt_version": "frascati_hard_ranges_v2",
"target_index": "work-classifications",
"bulk_batch_size": 200,
"state_storage": "memory_only",
"preflight_only": false
},
"classification": {
"llm_completed": 1000,
"valid": 1000,
"invalid": 0,
"categories": {
"basic_research": 518,
"applied_research": 401,
"experimental_development": 60,
"non_research": 21
},
"validation_errors": {}
},
"indexing": {
"newly_indexed": 1000,
"bulk_requests": 6,
"bulk_documents_submitted": 1000,
"bulk_failures": 0
},
"token_usage": {
"prompt_tokens": 3708032,
"cached_prompt_tokens": 3424000,
"uncached_prompt_tokens": 284032,
"completion_tokens": 913796,
"real_total_usage": 1197828
},
"throughput_indexed_per_hour": 4374.16
}
@@ -0,0 +1,44 @@
{
"run_id": "20260718_080350_493424",
"started_at": "2026-07-18T08:03:50Z",
"finished_at": "2026-07-18T11:25:02Z",
"duration_seconds": 12070.563,
"status": "completed",
"error": null,
"parameters": {
"limit": 15000,
"workers": 25,
"model": "gemma4-e4b",
"prompt_version": "frascati_hard_ranges_v2",
"target_index": "work-classifications",
"bulk_batch_size": 200,
"state_storage": "memory_only",
"preflight_only": false
},
"classification": {
"llm_completed": 15000,
"valid": 15000,
"invalid": 0,
"categories": {
"experimental_development": 1037,
"basic_research": 6608,
"applied_research": 6062,
"non_research": 1293
},
"validation_errors": {}
},
"indexing": {
"newly_indexed": 15000,
"bulk_requests": 82,
"bulk_documents_submitted": 15350,
"bulk_failures": 0
},
"token_usage": {
"prompt_tokens": 56119646,
"cached_prompt_tokens": 51428736,
"uncached_prompt_tokens": 4690910,
"completion_tokens": 13741519,
"real_total_usage": 18432429
},
"throughput_indexed_per_hour": 4473.69
}
@@ -0,0 +1,50 @@
{
"run_id": "20260722_021910_049378",
"started_at": "2026-07-22T02:19:10Z",
"finished_at": "2026-07-22T09:26:37Z",
"duration_seconds": 25645.781,
"status": "completed",
"error": null,
"parameters": {
"limit": null,
"workers": 25,
"model": "gemma4-e4b",
"prompt_version": "frascati_hard_ranges_v2",
"target_index": "work-classifications",
"bulk_batch_size": 200,
"state_storage": "memory_only",
"preflight_only": false,
"selection_mode": "institution-works",
"institution_id": "https://openalex.org/I62318514",
"institution_ror": "https://ror.org/04mz5ra38",
"institution_name": "University of Duisburg-Essen",
"affiliation_year_gte": 2025,
"work_year_gte": 1950
},
"classification": {
"llm_completed": 32189,
"valid": 32189,
"invalid": 0,
"categories": {
"applied_research": 10001,
"basic_research": 17089,
"experimental_development": 1813,
"non_research": 3286
},
"validation_errors": {}
},
"indexing": {
"newly_indexed": 32189,
"bulk_requests": 183,
"bulk_documents_submitted": 32589,
"bulk_failures": 0
},
"token_usage": {
"prompt_tokens": 119788565,
"cached_prompt_tokens": 110500800,
"uncached_prompt_tokens": 9287765,
"completion_tokens": 29352270,
"real_total_usage": 38640035
},
"throughput_indexed_per_hour": 4518.5
}
@@ -0,0 +1,51 @@
{
"run_id": "20260723_154918_847690",
"started_at": "2026-07-23T15:49:18Z",
"finished_at": "2026-07-23T19:49:04Z",
"duration_seconds": 14385.39,
"status": "completed",
"error": null,
"parameters": {
"limit": null,
"workers": 25,
"model": "gemma4-e4b",
"prompt_version": "frascati_hard_ranges_v2",
"target_index": "work-classifications",
"bulk_batch_size": 200,
"state_storage": "memory_only",
"preflight_only": false,
"selection_mode": "author-cohort",
"institution_id": "https://openalex.org/I62318514",
"institution_ror": "https://ror.org/04mz5ra38",
"institution_name": "University of Duisburg-Essen",
"affiliation_year_gte": 2024,
"work_year_gte": 1950,
"all_work_years": false
},
"classification": {
"llm_completed": 16272,
"valid": 16272,
"invalid": 0,
"categories": {
"basic_research": 8658,
"applied_research": 4889,
"non_research": 1190,
"experimental_development": 1535
},
"validation_errors": {}
},
"indexing": {
"newly_indexed": 16272,
"bulk_requests": 148,
"bulk_documents_submitted": 16472,
"bulk_failures": 0
},
"token_usage": {
"prompt_tokens": 60051102,
"cached_prompt_tokens": 55752000,
"uncached_prompt_tokens": 4299102,
"completion_tokens": 14983831,
"real_total_usage": 19282933
},
"throughput_indexed_per_hour": 4072.13
}
@@ -0,0 +1,34 @@
[
{
"id": "https://openalex.org/A5089242868",
"display_name": "Lucas Davi"
},
{
"id": "https://openalex.org/A5093075883",
"display_name": "Arman Arzani"
},
{
"id": "https://openalex.org/A5075352419",
"display_name": "Markus Winterer"
},
{
"id": "https://openalex.org/A5048213587",
"display_name": "Frederik Ahlemann"
},
{
"id": "https://openalex.org/A5088184531",
"display_name": "Alf Kimms"
},
{
"id": "https://openalex.org/A5075663980",
"display_name": "Ursula Neumann"
},
{
"id": "https://openalex.org/A5035144962",
"display_name": "Christine Arentz"
},
{
"id": "https://openalex.org/A5058038339",
"display_name": "Pascal Dreher"
}
]
File diff suppressed because it is too large Load Diff
@@ -8,7 +8,6 @@ from concurrent.futures import ThreadPoolExecutor, as_completed
from ollama import Client from ollama import Client
ENDPOINT = os.environ.get("OLLAMA_HOST", "https://project.nes.uni-due.de/llm2/") ENDPOINT = os.environ.get("OLLAMA_HOST", "https://project.nes.uni-due.de/llm2/")
MODEL = os.environ.get("OLLAMA_MODEL", "gemma4:e4b-it-bf16") MODEL = os.environ.get("OLLAMA_MODEL", "gemma4:e4b-it-bf16")
DATA_FOLDER = "data" DATA_FOLDER = "data"
@@ -1,9 +1,9 @@
import os
import json import json
import os
from concurrent.futures import ThreadPoolExecutor from concurrent.futures import ThreadPoolExecutor
from time import time from time import time
from openai import OpenAI, APIConnectionError from openai import APIConnectionError, OpenAI
DATA_FOLDER = "data2" DATA_FOLDER = "data2"
BATCH_SIZE = 6 BATCH_SIZE = 6
+3 -1
View File
@@ -1,5 +1,7 @@
import requests, json import json
import helpers import helpers
import requests
AUTHOR_OPEN_ALEXID = helpers.get_all_author_ids_from_specific_university("University of Duisburg-Essen") AUTHOR_OPEN_ALEXID = helpers.get_all_author_ids_from_specific_university("University of Duisburg-Essen")
#AUTHOR_OPEN_ALEXID = ["A5047117780"] #AUTHOR_OPEN_ALEXID = ["A5047117780"]

Some files were not shown because too many files have changed in this diff Show More