Changes

Summary

  1. Resolve ActionSet IDs through merge relations not to loose enrichment after dedup pass (details)
  2. Manage all result types in one pass through the PromoteActionPayloadForResultTablesJob job (details)
  3. Job to check differences between two graph snapshots (details)
  4. Add README for CompareGraphSnapshotsJob and unioned tables (details)
  5. Refactored as separate job (details)
  6. Address comments about stop losing records in silence and possible error cases (details)
  7. Log which path is associated to which actionset (details)
  8. fix(MergeEntitiesComparator): prefer the non-preprint record when merging Crossref duplicates (details)
  9. fix(cleaning): theses are not inferred as peer reviewed (details)
  10. feat(graph-metrics): compute release validation metrics into graph_metrics (details)
  11. perf(graph-metrics): compute and write one metric group at a time from slim base tables (details)
  12. feat(graph-metrics): compute the Stats DB indicators only on request (details)
  13. fix(graph-metrics): pair releases per stage in graph_metrics_diff (details)
  14. feat(graph-metrics): map the best access right to a closed vocabulary (details)
  15. feat(oozie wf): make the graphDB, release and stage parameters visible in the spark job name (details)
  16. feat(graph-metrics): close the notebook gaps and align the Stats DB ports (details)
  17. feat(oozie wf): updated how the graphDB, release and stage parameters are visible in the spark job name (details)
  18. perf(graph-metrics): derive the integrity checks from one hashed pair table (details)
  19. feat(metrics): updated queries to wides the coverage of the graph tests (details)
  20. feat(metrics): updated test data to support queries to widen the coverage of the graph tests (details)
  21. fix(graph-metrics): align the Stats DB ports with their base tables, write one file per partition (details)
  22. fix(graph-metrics): repartition, not coalesce, before writing a group (details)
  23. perf(graph-metrics): compute the in-degree percentiles from an exact histogram (details)
  24. feat(graph-metrics): version the Zeppelin notebooks and their generator (details)
  25. feat(graph-metrics): check expectations after each stage, make re-runs safe (details)
  26. feat(graph-metrics): measure the ORCID enrichment (details)
  27. fix(graph-metrics): warn, not block, on authorship edges to missing products (details)
  28. feat(graph-metrics): typed relation pairs and link pair metric for the monthly tracker (details)
  29. docs(graph-metrics): metrics DB is the tracker reference, document known gaps against the sheet (details)
  30. feat(graph-pipeline): compute the graph metrics and check their expectations after each stage (details)
  31. feat(actionmanager-ng): compute the graph metrics after the promotion, as the other stages do (details)
  32. fix(graph-pipeline): do not second-guess where the metrics workflow is deployed (details)
  33. refactor(graph-pipeline): graphMetricsAppPath is required, no path derivation in the workflows (details)
  34. fix(graph-metrics): a block expectation that could not be evaluated no longer passes in silence (details)
  35. docs(graph-metrics): explain the concepts and the definition of the expectation gate (details)
  36. fix(cleaning): keep the authors whose name is not written in the Latin alphabet (details)
  37. fix(cleaning): require an alphabetic character in an author name, not just any letter, mark or digit (details)
  38. chore: track CLAUDE.md files for Claude Code (details)
  39. chore: add Claude Code project settings (details)
  40. chore: add Claude Code skills and module guides (details)
  41. chore: point spark-job-testing skill at spark34 as the target profile (details)
  42. chore: enable jdtls LSP, add module map and exploration agent (details)
  43. chore: guide Claude to use jdtls LSP for Java navigation (details)
  44. build: remove spark24 profile, make spark34 the default (details)
  45. fix(graph-metrics): create the files of the metrics DB writable by any user (details)
  46. fix(graph-metrics): tolerate up to 100 duplicated result ids after dedup, as a warning (details)
  47. fix(cleaning): delete the copied person relation tables before copying them again (details)
  48. feat(hive-import): add resumeFrom to start from the post-processing or the metrics (details)
  49. refactor(hive-import): define the nodes in execution order (details)
  50. feat(graph-metrics): list every breakdown in the indicators notebook (details)
  51. feat(graph-metrics): add Stats DB checks to the indicators notebook, green OA on publications only (details)
  52. Map the PubMed articles whose publication types the vocabulary does not know (details)
Commit b22064ee62d504fdca983d17bbecc67ce917d98d by Giambattista Bloisi
Resolve ActionSet IDs through merge relations not to loose enrichment after dedup pass
Refactoring of the code, removing dead branches
The file was modifieddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteResultWithMeasuresTest.java
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/publication/publication_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadFunctions.java
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/otherresearchproduct/result_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/dataset/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/project/project_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForGraphTableJob.java
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/otherresearchproduct/result_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/publication/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/partition/ActionPayloadIdResolutionTest.java
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/publication/publication_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/software/software_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/dataset/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/partition/graph/relation/part-00000.json
The file was modifieddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJobTest.java
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/datasource/datasource_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/publication/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadTest.java
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/organization/organization_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadFunctionsTest.java
The file was removeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/partition/partition_action_sets_by_payload_type_input_parameters.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/software/result_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/relation/relation_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/otherresearchproduct/otherresearchproduct_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/software/result_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/project/project_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/organization/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJob.java
The file was removeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/promote/promote_action_payload_for_graph_table_input_parameters.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/otherresearchproduct/oozie_app/workflow.xml
The file was modifieddhp-common/src/main/java/eu/dnetlib/dhp/application/PicocliRunner.java
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/software/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForGraphTableJobTest.java
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/dataset/dataset_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/dataset/dataset_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/MergeAndGet.java
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/dataset/result_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/datasource/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/project/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/person/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/relation/relation_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/software/software_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/organization/organization_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/otherresearchproduct/otherresearchproduct_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/relation/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/pom.xml
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/datasource/datasource_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/MergeAndGetTest.java
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/publication/result_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteAction.java
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromotionMergeTest.java
Commit 086b6c45ebc3ba914995c280e62a40145bac9f2b by Giambattista Bloisi
Manage all result types in one pass through the PromoteActionPayloadForResultTablesJob job
The file was removeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/software/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJob.java
The file was addeddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForResultTablesJob.java
The file was removeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/dataset/oozie_app/workflow.xml
The file was modifieddhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/MergeEntitiesComparator.java
The file was modifieddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForGraphTableJob.java
The file was modifieddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJobTest.java
The file was removeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/otherresearchproduct/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForResultTablesJobTest.java
The file was modifieddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadTest.java
The file was removeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/publication/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/import.txt
Commit e7b566ea460a287e13d2c58c2ca1aa94362cf16d by Giambattista Bloisi
Job to check differences between two graph snapshots
The file was addeddhp-workflows/dhp-checks/pom.xml
The file was addeddhp-workflows/dhp-checks/src/main/java/eu/dnetlib/dhp/checks/CompareGraphSnapshotsJob.java
The file was addeddhp-workflows/dhp-checks/src/main/resources/eu/dnetlib/dhp/checks/compare/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-checks/src/test/java/eu/dnetlib/dhp/checks/CompareGraphSnapshotsJobTest.java
Commit 2a0164931b3d312ca701a27723e5b1da71c845e5 by Giambattista Bloisi
Add README for CompareGraphSnapshotsJob and unioned tables
The file was modifieddhp-workflows/dhp-checks/src/test/java/eu/dnetlib/dhp/checks/CompareGraphSnapshotsJobTest.java
The file was addeddhp-common/src/test/java/eu/dnetlib/dhp/schema/oaf/utils/MergeEntitiesComparatorTest.java
The file was modifieddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForResultTablesJob.java
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-checks/src/main/java/eu/dnetlib/dhp/checks/CompareGraphSnapshotsJob.java
The file was addeddhp-workflows/dhp-checks/README.md
The file was modifieddhp-workflows/pom.xml
Commit fca709a5d61df8ac722a7831a55bcdfb5125a29a by Giambattista Bloisi
Refactored as separate job
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/relation/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/graph/project.json
The file was addeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/partition/partition_action_sets_by_payload_type_input_parameters.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/project/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJobTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/graph/datasource.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/otherresearchproduct/otherresearchproduct_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/software/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/project_table/project.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/software_table/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForResultTablesJob.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/dataset_table/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/partition/graph/relation/part-00000.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForResultTablesJobTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/graph/organization.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/graph/publication.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/software/result_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/otherresearchproduct/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJob.java
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/otherresearchproduct/otherresearchproduct_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/graph/dataset.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromotionMergeTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/graph/otherresearchproduct.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/otherresearchproduct_table/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/dataset/dataset_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/publication/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/pom.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/publication/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/software_table/software.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadTest.java
The file was addeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadFunctionsTest.java
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/software/software_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/publication/publication_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForResultTablesJob.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/datasource/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/ISClient.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/dataset/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/software/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForGraphTableJobTest.java
The file was addeddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadFunctions.java
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/import.txt
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/publication_table/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/project/project_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/dataset_table/dataset.json
The file was modifieddhp-workflows/pom.xml
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/dataset/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/project/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/project/project_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/relation/relation_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForGraphTableJob.java
The file was removeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromotionMergeTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteAction.java
The file was removeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForResultTablesJobTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/datasource/datasource_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/software/software_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/software/software_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/datasource/datasource_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/relation_table/relation.json
The file was addeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/software/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/relation/relation_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJob.java
The file was modifieddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJobTest.java
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/publication/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/otherresearchproduct/result_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/dataset/result_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/dataset/dataset_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/partition/graph/relation/part-00000.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/otherresearchproduct/result_action_payload/result.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/organization/organization_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/person/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/partition/input/action_set_1_payload.json
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/otherresearchproduct/otherresearchproduct_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/relation/relation_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/graph/software.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/publication/publication_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/dataset/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/publication/result_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteResultWithMeasuresTest.java
The file was modifieddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteResultWithMeasuresTest.java
The file was modifieddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForGraphTableJobTest.java
The file was removeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/partition/ActionPayloadIdResolutionTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/measures/graph/part00000.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/organization/organization_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteAction.java
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/relation/oozie_app/workflow.xml
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/project/project_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/README.md
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/measures/actionPayloads/part0000.json
The file was addeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/promote/promote_action_payload_for_graph_table_input_parameters.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/datasource_table/datasource.json
The file was modifieddhp-workflows/dhp-actionmanager/pom.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/import.txt
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/otherresearchproduct_table/otherresearchproduct.json
The file was addeddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/MergeAndGet.java
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/datasource/oozie_app/workflow.xml
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/datasource/datasource_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/organization/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/organization/organization_action_payload/result.json
The file was modifieddhp-workflows/dhp-actionmanager/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForGraphTableJob.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/organization/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/organization_table/organization.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/graph/relation.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/merge_from_and_get/dataset/dataset_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/partition/ActionPayloadIdResolutionTest.java
The file was removeddhp-workflows/dhp-actionmanager/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/output/graph/publication/publication_action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/partition/input/action_set_2_payload.json
The file was addeddhp-workflows/dhp-actionmanager/src/test/java/eu/dnetlib/dhp/actionmanager/promote/MergeAndGetTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/result.json
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/person/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/otherresearchproduct/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/promote/input/action_payload/publication_table/publication.json
Commit 6b3fa52de4ec3ea8d8b2855f2c3db2543251bfa5 by Giambattista Bloisi
Address comments about stop losing records in silence and possible error cases
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/promote/Enrichment.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/report/Severity.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/ISClient.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/person/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PayloadCleaner.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/report/JobReport.java
The file was modifieddhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/clean/GraphCleaningFunctionsTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/OafClasses.java
The file was modifieddhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/clean/CleanGraphSparkJobTest.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForResultTablesJobTest.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/partition/graph/relation/part-00000.json
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForGraphTableJob.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJobTest.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/relation/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/raw/MappersTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/report/JobReportTest.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/project/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/partition/ActionPayloadIdResolutionTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/resources/eu/dnetlib/dhp/actionmanager/partition/graphFanOut/relation/part-00000.json
The file was modifieddhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/MergeEntitiesComparator.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/organization/oozie_app/workflow.xml
The file was removeddhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/OafCleaner.java
The file was modifieddhp-workflows/dhp-checks/src/test/java/eu/dnetlib/dhp/checks/CompareGraphSnapshotsJobTest.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/promote/EnrichmentComparator.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/promote/EnrichmentComparatorTest.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForResultTablesJob.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteGraphTableRefusalsTest.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/README.md
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/datasource/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-checks/README.md
The file was modifieddhp-workflows/dhp-checks/src/main/java/eu/dnetlib/dhp/checks/CompareGraphSnapshotsJob.java
The file was removeddhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/CleaningRuleMap.java
The file was addeddhp-common/src/test/java/eu/dnetlib/dhp/application/PicocliRunnerTest.java
The file was addeddhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/CleaningRuleMap.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/promote/PromoteActionPayloadForGraphTableJobTest.java
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/java/eu/dnetlib/dhp/oa/graph/clean/CleanGraphSparkJob.java
The file was modifieddhp-common/src/test/java/eu/dnetlib/dhp/schema/oaf/utils/MergeEntitiesComparatorTest.java
The file was addeddhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/OafCleaner.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJob.java
The file was addeddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/report/ErrorCode.java
Commit 2291cd7d62eb7a8d904cc97a0c6672b3cb57d16e by Giambattista Bloisi
Log which path is associated to which actionset
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/partition/ActionPayloadIdResolutionTest.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJob.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/test/java/eu/dnetlib/dhp/actionmanager/partition/PartitionActionSetsByPayloadTypeJobTest.java
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/java/eu/dnetlib/dhp/actionmanager/ISClient.java
Commit baa182a62a568baa5f5b5ddafe1c4a88e7f3aa78 by Claudio Atzori
fix(MergeEntitiesComparator): prefer the non-preprint record when merging Crossref duplicates

When two duplicates both come from Crossref (e.g. a journal-article and its
posted-content/preprint counterpart), the comparator now prefers the non-preprint
record as the merge base, before falling back to the id-based tiebreak. The
deduplicated record no longer inherits the preprint's publisher (e.g. openRxiv)
instead of the journal's (e.g. Wiley). Tactical fix for #11588.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-common/src/test/java/eu/dnetlib/dhp/schema/oaf/utils/MergeUtilsTest.java
The file was addeddhp-common/src/test/resources/eu/dnetlib/dhp/schema/oaf/utils/publication_posted_content_crossref.json
The file was addeddhp-common/src/test/resources/eu/dnetlib/dhp/schema/oaf/utils/publication_journal_article_crossref.json
The file was modifieddhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/MergeEntitiesComparator.java
Commit f0dcce20981936442f9a2e953a6c8ad58d417f39 by Claudio Atzori
fix(cleaning): theses are not inferred as peer reviewed

Remove Doctoral thesis, Master thesis, Bachelor thesis and Thesis from the instance
types for which the refereed value is inferred as peerReviewed: theses are
considered grey literature. Records with an unknown refereed value now get
nonPeerReviewed for those types. Adds tests covering both the peer reviewed and the
thesis types. See #11720.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/GraphCleaningFunctions.java
The file was modifieddhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/clean/GraphCleaningFunctionsTest.java
Commit 466db480b765ced7034ed7336469eaef2f1cac97 by Claudio Atzori
feat(graph-metrics): compute release validation metrics into graph_metrics

Add the dhp-graph-metrics module, which computes the metrics used to
validate a graph release against the previous one before the Stats DB is
built. It replaces the CURRENT vs PREV queries of the monthly notebooks
with metrics computed once per release and stage.

GraphMetricsJob (Spark SQL + Java, Spark 3.4, picocli arguments) reads a
graph stage on HDFS (--graphPath) or the graph Hive DB (--graphDb), runs
the SQL metric catalogue and writes the long-format table graph_metrics
(metric, dims map, value), partitioned by release and stage. Re-running a
release replaces only its partition. The graph_metrics_diff view pairs
each release with the previous one (deltas, NEW/GONE, failed checks).

The catalogue covers entity counts per dedup population, relations and
super-nodes, integrity checks, affiliations, funding, communities, PIDs
and ORCID, FOS/SDG and field completeness, access rights and licences,
the Stats DB indicators that need only graph data, the indicators that
need the stats_ext journal lists (read-only, pinned per release), and the
person relation checks.

Also adds the Oozie workflow and includes the module in the shade package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/20_relations.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/authorship/part-00000.json
The file was addeddhp-workflows/dhp-graph-metrics/pom.xml
The file was addeddhp-workflows/dhp-graph-metrics/README.md
The file was addeddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphSources.java
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/80_access.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/person/part-00000.json
The file was modifieddhp-shade-package/pom.xml
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/00_base.sql
The file was modifiedpom.xml
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/10_entities.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/catalogue.txt
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/85_indicators.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/70_enrichment.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/organization/part-00000.json
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/95_persons.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/90_stats_ext.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/25_integrity.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/oozie_app/config-default.xml
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/project/part-00000.json
The file was addeddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was addeddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsWorkflowArgumentsTest.java
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/40_funding.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJob.java
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/relation/part-00000.json
The file was modifieddhp-workflows/pom.xml
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/dataset/part-00000.json
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/60_pids.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/50_communities.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/30_affiliations.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/publication/part-00000.json
The file was addeddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/MetricCatalogue.java
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/graph_metrics_diff.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/datasource/part-00000.json
Commit 99e6f838116ff9ebec43c70071248989908b7c4e by Claudio Atzori
perf(graph-metrics): compute and write one metric group at a time from slim base tables

The first run on the production graph DB failed after ~1h45m: YARN killed
the driver container for exceeding its 10 GB physical memory limit. The
single final write had submitted 171 stages and 1.44M tasks at once, every
metric query rescanned the full result and relation tables, and the driver
built broadcasts of up to 160 MB.

- Compute and write each metric group as its own Spark job. graph_metrics
  is now partitioned by release, stage and metric_group: a failure loses one
  group only, and a re-run replaces only the groups it computes (--groups).
- Write the shared base views marked "-- materialize" once to --workingPath
  as narrow parquet (m_result, m_instance, m_relation_agg, m_rel_subset,
  m_affiliation_vis, m_result_pid) and read them back; --reuseBaseTables
  reuses them when re-running groups.
- Derive the relation counts from m_relation_agg, a single aggregation pass
  over the relation table, and the provider breakdowns from its sorted
  collectedfrom key.
- Make the integrity group optional (catalogue "optional", selected with
  --groups integrity or --groups all) and move the relation in-degree
  distribution into it: these queries shuffle the whole relation table.
- Workflow: pass --workingPath and --reuseBaseTables, raise the driver
  memory overhead to 4G, cap dynamic allocation at 300 executors, limit
  broadcast joins to 32 MB and keep spark.yarn.maxAppAttempts=1.
- Workflow: read the optional properties (graphPath, graphDb, statsExtDb,
  groups) with wf:conf() as single --option=value arguments, since Oozie
  cannot resolve a property whose value is empty.
- Tests cover the per-group partitions, the optional group, the
  materialized base tables and their reuse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/00_base.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/25_integrity.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/80_access.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJob.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/50_communities.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/60_pids.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/30_affiliations.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/85_indicators.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsWorkflowArgumentsTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/MetricCatalogue.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/20_relations.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/10_entities.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/40_funding.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/70_enrichment.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/catalogue.txt
Commit 4abc0c1a73c9061a9abf1e474fb269bfe4b135a7 by Claudio Atzori
feat(graph-metrics): compute the Stats DB indicators only on request

Mark the indicators and stats_ext groups as optional in the catalogue, like
integrity. These indicators anticipate the Stats DB values and are only
comparable with them on the final graph DB: on earlier stages they count
duplicates before dedup, miss the links added by inference and enrichment,
and precede the last cleaning and blacklisting. Their primitive metrics
(access rights, OA routes, licences, PIDs, affiliation and funding links)
stay in the default groups and still trace changes across stages.

Run the final graph DB with --groups all; the intermediate stages with the
default groups (plus integrity on the dedup consistency stage).

Update the README, the workflow comment and the test of the default run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/catalogue.txt
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
Commit e8b656295f67db0ca26200ba73604a7b705f404d by Claudio Atzori
fix(graph-metrics): pair releases per stage in graph_metrics_diff

The diff view paired each release with the previous release in the whole
table, regardless of the stage. A stage missing from that release, e.g. the
pipeline stages in a backfill of the final graph DBs only, was then compared
with nothing and reported every row as NEW instead of being compared with
its own last run. The previous release is now looked up per stage.

The job test covers a release that computes only another stage.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/graph_metrics_diff.sql
Commit 8bd9a9584e453a169ea4283336ea79e29032e9d4 by Claudio Atzori
feat(graph-metrics): map the best access right to a closed vocabulary

access.best_access_right was broken down by the raw bestaccessright classid,
which older releases fill with licence URLs and free text: 88k distinct
values, most of them flagged as NEW or GONE whenever the cleaning changes.
The classid is now mapped to OPEN, RESTRICTED, EMBARGO, CLOSED, UNKNOWN and
OTHER; OPEN SOURCE counts as OPEN, the 6 and 12 month codes as EMBARGO, and
any other value as OTHER, so a growing OTHER share flags uncleaned values.

The test graph gets a free-text classid to cover the OTHER bucket.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/dataset/part-00000.json
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/80_access.sql
Commit 2a3fe248fa657c2c70dca18b354ed9a2ad466741 by Claudio Atzori
feat(oozie wf): make the graphDB, release and stage parameters visible in the spark job name
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/oozie_app/workflow.xml
Commit 30ab26d6b6cde133f0abb9409a75c8aae920d559 by Claudio Atzori
feat(graph-metrics): close the notebook gaps and align the Stats DB ports

Reconciliation with the monthly validation notebooks (releases 20260625-20260924).

New metrics:
- entities: result language and meta resource type, instance peer review,
  instance type mapping coverage and unmapped COAR types, datasources by type id
- affiliations: affiliated results by result provider
- relations: relation.count_by_rel_type, to keep relClasses filed under an
  unexpected relType visible (e.g. RAiD IsPartOf links typed resultOrganization)
- persons: dangling authorship product ids, coauthorship and project
  participation dangling checks (P9-P10), relation provenance, affiliation
  periods, ORCID coverage of persons and result-ORCID pairs (P11-P15)

Stats DB ports, following the dhp-graph-stats base tables:
- green OA excludes the Unknown Repository and deleted / invisible datasources
- copies count distinct instance x PID rows (result_instance)
- result / project collaborations count visible, named partners whose names
  differ; new indicator.project_country_collaborations, the former one renamed
  to indicator.funder_country_collaborations
- gold hosts taken among all visible datasources
- Observatory counts (result, European country) pairs, visible organizations
- known divergence documented: RAiD IsPartOf links are not counted as
  affiliations, unlike the Stats DB result_organization table

Also: OPEN SOURCE kept apart in the best access right, check.* metrics default
to kind check (the person checks reached the release gate as metrics), and the
base views gained columns, so the first run needs reuseBaseTables=false.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/30_affiliations.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/90_stats_ext.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/publication/part-00000.json
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/00_base.sql
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/coAuthorship/part-00000.json
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/projectParticipation/part-00000.json
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/relation/part-00000.json
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/20_relations.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/person/part-00000.json
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/95_persons.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/10_entities.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/80_access.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/85_indicators.sql
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJob.java
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/authorAffiliation/part-00000.json
Commit 97626557a41ad019e0bf05f2cd97a7bf113892b6 by Claudio Atzori
feat(oozie wf): updated how the graphDB, release and stage parameters are visible in the spark job name
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/oozie_app/workflow.xml
Commit 015332f5480d6aa87d794b8b573b3eaaf39155bd by Claudio Atzori
perf(graph-metrics): derive the integrity checks from one hashed pair table

The integrity group took 55 of the 113 minutes of a full run on 20260924: its
four queries scanned the relation table five times and shuffled string ids
(the dangling join over ~8 billion endpoints, count(DISTINCT source, target),
the in-degree group by target).

The relation table is now read once into m_rel_pairs (materialized): one row
per distinct (sub_rel_type, rel_class, source, target) with its row count,
the ids replaced by a 96-bit hash (xxhash64 + murmur3), 12 bytes instead of
~50 per id. Dangling ids are found once on the distinct endpoints, then
joined back; duplicates, self loops and the in-degree distribution are
aggregates of the pair table. NULL ids keep a NULL hash, so the values are
those of the string-id queries (collision probability ~1e-10); metric names
and dims are unchanged.

A test checks the group against the previous string-id queries on relations
with duplicates, self loops, NULL ids, dangling ids and dedup relations.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/25_integrity.sql
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
Commit 979518d7d89b9c561b9bcb387f482abfdb4ed021 by Claudio Atzori
feat(metrics): updated queries to wides the coverage of the graph tests
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/50_communities.sql
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/85_indicators.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/30_affiliations.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/90_stats_ext.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/40_funding.sql
Commit ea95d652a8ff0eb6021c38093f4fc08fa0dc9fea by Claudio Atzori
feat(metrics): updated test data to support queries to widen the coverage of the graph tests
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph_indicators/relation/part-00000.json
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph_indicators/datasource/part-00000.json
The file was addeddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph_indicators/publication/part-00000.json
Commit 5f3be0ea3f00ff4bf8a8209e77b35296922e9d06 by Claudio Atzori
fix(graph-metrics): align the Stats DB ports with their base tables, write one file per partition

Parity fixes from a line-by-line review of step16 against the ports:
- relations: only visible ones (invisible flag); project participation is every
  projectOrganization relation from a project, not only hasParticipant
- datasources: visibility filter in closed_other_open, the diamond journals and
  the transformative journals; ISSNs as stored (empty still treated as missing);
  green OA excludes unnamed datasources
- funder_country_collaborations: visible organizations and projects, raw country,
  per (funder, project)
- funded_harvested: every harvested isProducedBy relation, whatever the project
- under_transformative_agreement: result-level PIDs as stored, any type
- Observatory OA flag on the best access right classname
- new indicator.cc_licence (Stats DB pattern) and completeness field
  pid_result_level (result-level PIDs, as indi_result_with_pid)

The job coalesces each group to one file per (release, stage, metric_group)
partition, so the notebooks no longer open one small file per statement.

m_rel_subset and m_result changed: the first run needs reuseBaseTables=false.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/90_stats_ext.sql
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph_indicators/relation/part-00000.json
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/70_enrichment.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/00_base.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJob.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/85_indicators.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
Commit 03abb0bc1ee69e8ec0a357905c1320c31d74591f by Claudio Atzori
fix(graph-metrics): repartition, not coalesce, before writing a group

coalesce(1) adds no shuffle, so Spark ran the joins and aggregations of every
statement of the group in one task, which ran out of direct memory fetching the
shuffle blocks. repartition(1) keeps the statements parallel and moves only the
few thousand metric rows to the single writing task.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJob.java
Commit 0c0f0dcd88128f6d6687c92907ab614221a34cfa by Claudio Atzori
perf(graph-metrics): compute the in-degree percentiles from an exact histogram

Merging the percentile_approx digests of relation.in_degree took 2,565 of the
2,946 s of the integrity group on 20260625: up to ~4 * 10^8 targets per
relation class ended up in a few tasks. The p50 and p99 now come from the
histogram of the in-degrees and a cumulative window over it, which makes them
exact. On 20260625 the group drops from 3,238 s to 663 s, including the
m_rel_pairs build. Metric names and dims are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/25_integrity.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
Commit 3a5f30769a19cfa9c8195a54312ca80c23f3546e by Claudio Atzori
feat(graph-metrics): version the Zeppelin notebooks and their generator

The notebooks read graph_metrics by metric name and breakdown key, so a
change to the SQL catalogue can break them. Keeping gen_notebooks.py, its
metric list and the generated notebooks next to the catalogue lets the
two change together. The generated JSON is committed so the notebooks
can be imported as they are.

The overview flags a stage computed before an earlier stage of the same
release (a pipeline re-run that stopped before reaching it) and lists
the runs recorded in graph_metrics_runs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/02_parity.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/01_explorer.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/18_access.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/gen_notebooks.py
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/19_indicators.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/11_relations.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/15_communities.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/00_overview.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/17_enrichment.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/21_persons.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/metrics_by_group.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/13_affiliations.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/12_integrity.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/14_funding.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/16_pids.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/10_entities.json
The file was addeddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/20_stats_ext.json
Commit dfe74a2ffb3a1b03c6959f5157a029b22679d897 by Claudio Atzori
feat(graph-metrics): check expectations after each stage, make re-runs safe

After the metrics of a stage, GraphMetricsGateJob checks the rules of
sql/expectations.sql (queries over the stage's metrics returning one row
per violation). Every result goes to graph_metrics_gate; a 'block'
violation fails the workflow with the violations in its error message,
through GraphMetricsGateOutcome and capture-output. A rule whose required
metrics were not computed is recorded as NOT_EVALUATED instead of
passing, and the integrity checks are required at 06, 10 and 99.

Re-running a stage overwrites its metrics and keeps a trace:
- every row carries the run_id (the Oozie workflow id), added to tables
  written by older versions, and every run is logged in
  graph_metrics_runs;
- a run of the default or of all the groups drops the groups of the
  stage it did not compute, so no partition of an earlier run survives;
- metrics whose oldest group is over a week old are only replaced with
  overwrite=true, checked in a first workflow step that fails whatever
  failOnError says, so a release label left from the previous month
  cannot replace that month's history.

The stage label now defaults to the folder of the graph path (or
99_graph_db), so a pipeline workflow passes only the path it wrote;
--workingPath is replaced by --workingDir. The Spark options of the
workflow are renamed (metricsSpark*) so that a pipeline workflow calling
it as a sub-workflow does not replace them with its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJob.java
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/oozie_app/workflow.xml
The file was addeddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsGateOutcome.java
The file was addeddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/Expectations.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsWorkflowArgumentsTest.java
The file was addeddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/expectations.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was addeddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsGateJob.java
Commit 3d4c6c35c2d9693c892989424f347544ab5fcff7 by Claudio Atzori
feat(graph-metrics): measure the ORCID enrichment

Keep the provenance action of the author pids (pid_provenance) next to their
inference provenance, which cannot tell ORCID_ENRICHMENT, authorpid:coauthors
and authorpid:result apart, and use it to measure what the enrichment adds:

- orcid.results, orcid.author_mentions and orcid.distinct by pid provenance;
- orcid.enrichment: mentions, (result, ORCID) pairs, results and ORCIDs
  enriched, gaining a new pair, or known only thanks to the enrichment;
- orcid.enriched_authors_per_result: results by the number of ORCIDs added;
- person_rel.result_orcid_pairs_by_origin: the result-ORCID pairs of the
  person graph, harvested with the record or existing only thanks to the
  enrichment.

The pids and persons notebooks chart the new metrics. No gate rule uses them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/00_base.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/60_pids.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/metrics_by_group.json
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/gen_notebooks.py
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/21_persons.json
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/95_persons.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/resources/eu/dnetlib/dhp/oa/graph/metrics/graph/publication/part-00000.json
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/16_pids.json
Commit b107ae74541665587b9907d27ddf8d4a1f935e88 by Claudio Atzori
fix(graph-metrics): warn, not block, on authorship edges to missing products

person.structure blocked on check.person_rel.authorship.dangling_product_ids
while only warning on dangling_products, so the same edges (4831 edges to
1314 missing products in 20261028) gave one WARN and one BLOCK. Both now
warn.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/expectations.sql
Commit 3c28490dd4e27242329e950db5f09883bd663162 by Claudio Atzori
feat(graph-metrics): typed relation pairs and link pair metric for the monthly tracker

m_rel_pairs, the one materialized view of the integrity group, now resolves
both ends of each relation to an entity type (publication, dataset, software,
other, organization, project, datasource, person) with the join that finds the
dangling endpoints, and counts the rows inferred by the IIS. The dangling
check reads the types instead of a second anti-join table.

relation.link_pairs counts the distinct (source, target) pairs whose ends
exist, in the relation classes of the monthly sheet, by sub_rel_type and
rel_class and by the types of the ends, with the pairs inferred by the IIS.
completeness.results_with_field gets field=pid_instance_level.

The README maps every column of the OpenAIRE Graph Stats over time sheet to
its metric; the integrity notebook is regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/70_enrichment.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/metrics_by_group.json
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/12_integrity.json
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/00_base.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/25_integrity.sql
Commit 7897f5e89cdcec5d8842e36786d44d974d086bdb by Claudio Atzori
docs(graph-metrics): metrics DB is the tracker reference, document known gaps against the sheet

The metrics DB replaces the old sheet definitions. Document the stage filter,
the inferred citations column (Cites pairs of both sub_rel_types) and the
other-type affiliation links (about 3% above the hasAuthorInstitution-only count).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
Commit ba56cd9eda52250e44e15dbb7e7fdb2aca8d7d77 by Claudio Atzori
feat(graph-pipeline): compute the graph metrics and check their expectations after each stage

The stage workflows of the graph pipeline (raw_all, action promotion,
grouping, cleaning, hostedbymap, filterPatents, dedup scan, dedup
consistency, enrichment, blacklist, graph2hive) end by calling the
dhp-graph-metrics workflow as a sub-workflow on the graph they have just
written. A violated 'block' expectation fails the stage workflow.

The tail runs only when the caller sets graphMetricsRelease, so the
workflows behave as before without it. Its settings are checked when the
workflow starts, so that a missing metrics DB or working directory fails
before the stage is computed. Only the normal completion path reaches the
tail (enrichment runs stopped with stopAt do not).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/scan/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/consistency/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-enrichment/src/main/resources/eu/dnetlib/dhp/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/hive/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/raw_all/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/filterPatents/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-blacklist/src/main/resources/eu/dnetlib/dhp/blacklist/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/group/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/clean/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/hostedbymap/oozie_app/workflow.xml
Commit fdb11b08b0483c2217227fe9692d7f8521e6489d by Claudio Atzori
feat(actionmanager-ng): compute the graph metrics after the promotion, as the other stages do

The same optional tail as the stage workflows: it runs only when the caller
sets graphMetricsRelease, on the graph written to outputGraphRootPath.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
Commit beb0f03655fb344df393058fe72f9ee5d71351c5 by Claudio Atzori
fix(graph-pipeline): do not second-guess where the metrics workflow is deployed

The stage workflows no longer refuse to start when they are not deployed under
/lib/dnet/[environment]/. The metrics workflow is assumed to be deployed next
to them, or to be given by graphMetricsAppPath. Only the settings that are
configuration (graphMetricsDb, graphMetricsWorkingDir) are still checked up front.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/group/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-blacklist/src/main/resources/eu/dnetlib/dhp/blacklist/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/hive/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/hostedbymap/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/scan/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-enrichment/src/main/resources/eu/dnetlib/dhp/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/clean/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/raw_all/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/consistency/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/filterPatents/oozie_app/workflow.xml
Commit 7562f84f37372fafa9fa9e99570991886bc97964 by Claudio Atzori
refactor(graph-pipeline): graphMetricsAppPath is required, no path derivation in the workflows

The caller that launches the stage workflows passes the location of the metrics
workflow, instead of every workflow deriving it from its own application path.
It is checked with the other metrics settings when the workflow starts.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-actionmanager/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/group/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/hive/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/scan/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-actionmanager-ng/src/main/resources/eu/dnetlib/dhp/actionmanager/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/hostedbymap/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-blacklist/src/main/resources/eu/dnetlib/dhp/blacklist/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-dedup-openaire/src/main/resources/eu/dnetlib/dhp/oa/dedup/consistency/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-enrichment/src/main/resources/eu/dnetlib/dhp/wf/main/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/filterPatents/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/clean/oozie_app/workflow.xml
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/raw_all/oozie_app/workflow.xml
Commit 9f436a9b109bff6ebeceb5cc7ee71a070b9e70c1 by Claudio Atzori
fix(graph-metrics): a block expectation that could not be evaluated no longer passes in silence

A rule of severity block whose required metrics were not computed was recorded
as NOT_EVALUATED and ignored by the outcome, so a stage computed without the
integrity group, or on a graph with missing tables, came out as PASS. It now
makes the outcome at least WARN, and the summary says how many blocking
expectations were not checked and which. The stage still goes on.

Two rules read metrics they did not require: entity.duplicate_ids (and its
pre-dedup twin) also reads check.project.duplicate_ids, and person.structure
had no requires at all, so it passed when the persons group was skipped.

A run that finds no graph table at all (a wrong graphPath or graphDb) now
fails, instead of recording every skipped statement as a metric and succeeding.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/expectations.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJob.java
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsGateJob.java
Commit 6a5edf8a17d7e37e85e4ff83673b6af472c94568 by Claudio Atzori
docs(graph-metrics): explain the concepts and the definition of the expectation gate

Add the rationale, the vocabulary (metric, check, release, stage, expectation,
severity, gate), where the gate sits in the pipeline with its stage labels and
the graphMetrics* properties that activate it. Expand the Expectations section
with the table of the current rules, how a stage outcome is decided, how to
operate the gate, and the current limits: the thresholds are initial values that
need monitoring across releases, and content drift is not gated yet.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
Commit df91f659561ff51a1be4f270fb1530fc79391ad3 by Claudio Atzori
fix(cleaning): keep the authors whose name is not written in the Latin alphabet

isValidAuthorName removed the \W characters from the full name and discarded the
author when nothing was left. In Java \W means "not [a-zA-Z0-9_]", so a name with no
ASCII letter or digit (Chinese, Japanese, Korean, Cyrillic, Greek, Arabic, Thai,
Devanagari, ...) was dropped, and records from PubScholar, JaLC and DOAJ reached the
graph without some or all of their authors.

An author is now discarded only when its full name has no letter of any script, no
combining mark and no digit. The pattern is compiled once, and the check no longer
builds a new string for every author. Names made only of punctuation or symbols are
still removed; a name that is just an underscore is now removed too.

Adds tests with the names of the ticket, the Latin ones that were already kept, and
the names without any letter or digit. See #11827.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/clean/GraphCleaningFunctionsTest.java
The file was modifieddhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/GraphCleaningFunctions.java
Commit 5dfc0e81c37f0ba900fc011f77a97afdbff3e1f5 by Claudio Atzori
fix(cleaning): require an alphabetic character in an author name, not just any letter, mark or digit

The previous pattern also accepted a name made only of combining marks, which the
original \W check discarded. An author is now kept only when its full name has at
least one alphabetic character of any script. Names made only of digits are removed
too: the original check kept them because \w includes the ASCII digits, but they are
not names. See #11827.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-mapper/src/test/java/eu/dnetlib/dhp/oa/graph/clean/GraphCleaningFunctionsTest.java
The file was modifieddhp-common/src/main/java/eu/dnetlib/dhp/schema/oaf/utils/GraphCleaningFunctions.java
Commit 57473cd94da030d132d5a843b32eb59905ce81f5 by Claudio Atzori
chore: track CLAUDE.md files for Claude Code

Stop ignoring CLAUDE.md, make the root file machine-neutral (no local paths) and add a dhp-graph-provision module guide. settings.local.json stays ignored.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was addeddhp-workflows/dhp-graph-provision/CLAUDE.md
The file was addedCLAUDE.md
The file was modified.gitignore
Commit 453b8b53f091e3da52f4c467fd0ab746eab9d139 by Claudio Atzori
chore: add Claude Code project settings

Allow mvn and read-only git; deny reads of build and IDE output.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was added.claude/settings.json
Commit e69eecd1edcfb3c1b7457686694bb3030fa2e172 by Claudio Atzori
chore: add Claude Code skills and module guides

Skills: oozie-workflow-authoring, spark-job-testing, cross-repo-version-bump.
Module CLAUDE.md for graph-mapper, dedup-openaire, enrichment, aggregation (layout inferred from code; flagged where unverified).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was added.claude/skills/oozie-workflow-authoring/SKILL.md
The file was addeddhp-workflows/dhp-graph-mapper/CLAUDE.md
The file was addeddhp-workflows/dhp-aggregation/CLAUDE.md
The file was added.claude/skills/cross-repo-version-bump/SKILL.md
The file was added.claude/skills/spark-job-testing/SKILL.md
The file was addeddhp-workflows/dhp-dedup-openaire/CLAUDE.md
The file was addeddhp-workflows/dhp-enrichment/CLAUDE.md
Commit 4af35573fa75481769746a7d42c98f8b9c3a1aec by Claudio Atzori
chore: point spark-job-testing skill at spark34 as the target profile

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modified.claude/skills/spark-job-testing/SKILL.md
Commit 40e63ade3d0fb058cb53bac9fe59aff2c9bd7be8 by Claudio Atzori
chore: enable jdtls LSP, add module map and exploration agent

Enable jdtls-lsp for the project, add a dhp-workflows module map to the root CLAUDE.md, scoped build commands to the module guides, and a read-only module-mapper agent.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-enrichment/CLAUDE.md
The file was modified.claude/settings.json
The file was modifieddhp-workflows/dhp-aggregation/CLAUDE.md
The file was added.claude/agents/module-mapper.md
The file was modifiedCLAUDE.md
The file was modifieddhp-workflows/dhp-dedup-openaire/CLAUDE.md
The file was modifieddhp-workflows/dhp-graph-mapper/CLAUDE.md
Commit 66a50a92b6f1133f900a4d755ddada3940cdd051 by Claudio Atzori
chore: guide Claude to use jdtls LSP for Java navigation

Add a Java code navigation section to the root CLAUDE.md (when to prefer the LSP tool over
grep, the dependency-jar limit, import warm-up) and give the module-mapper agent the LSP tool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modified.claude/agents/module-mapper.md
The file was modifiedCLAUDE.md
Commit 44e6117d2ec98f78c2f9a195e3e6c0019a94f40c by Claudio Atzori
build: remove spark24 profile, make spark34 the default

Spark 3.4 / Scala 2.12 values now live in the root <properties>, so the
default build no longer depends on activeByDefault (which Maven disables
whenever another profile such as arm-silicon-mac is active). The spark34
profile is kept (empty at the root) so -Pspark34 and the release tooling
keep working; dhp-build and dhp-pace-core activate spark34 by default.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-build/pom.xml
The file was modifiedpom.xml
The file was modifiedJenkinsfile
The file was modifieddhp-pace-core/pom.xml
The file was modified.claude/skills/spark-job-testing/SKILL.md
Commit 2018fba2fe822456b1641dd80b06c9378bdeb8cb by Claudio Atzori
fix(graph-metrics): create the files of the metrics DB writable by any user

The metrics DB is written by the pipeline, which runs as the production user, and
by people repairing a stage. With the default umask a file created by one user
cannot be overwritten by the other, and an unpartitioned table such as
graph_metrics_runs rewrites its _SUCCESS marker at every write, so a run failed
at its last step after computing all the metrics.

The Spark actions of the metrics workflow now set
spark.hadoop.fs.permissions.umask-mode from the optional metricsUmask parameter,
which defaults to 000 (files 666, folders 777). It is a literal of each action
and not part of sparkClusterOpts, which the pipeline workflows override when they
call this workflow as a sub-workflow. Callers do not need to pass it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/oozie_app/workflow.xml
Commit ae67fadb6b84259a07554f69854f64d9c0b120ba by Claudio Atzori
fix(graph-metrics): tolerate up to 100 duplicated result ids after dedup, as a warning

The dedup scan of the 20261128 release introduced 24 duplicated result ids
(none in the previous stages). Until they are investigated, up to 100 are
reported as a warning; above it, and for any project id, the rule blocks.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/src/main/resources/eu/dnetlib/dhp/oa/graph/metrics/sql/expectations.sql
The file was modifieddhp-workflows/dhp-graph-metrics/src/test/java/eu/dnetlib/dhp/oa/graph/metrics/GraphMetricsJobTest.java
Commit 6231bdeec7c000c6eeec1f934c3d16609615d6bf by Claudio Atzori
fix(cleaning): delete the copied person relation tables before copying them again

The cleaning workflow copies authorship, coAuthorship, authorAffiliation and
projectParticipation with distcp. distcp copies a directory into a target that
already exists, so the tables left in the output path by a previous graph stayed
where the next steps read them, with the fresh copy nested one level below
(09_graph_cleaned/authorship/authorship). In the November 2026 update the graph
metrics gate caught it: dangling person, organization and product references at
stage 09, none at stage 08.

Delete the four targets before the copy; a path that does not exist is not an
error.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/clean/oozie_app/workflow.xml
Commit c7d20aaa4ad032800278d6fea59ea7c42e03e698 by Claudio Atzori
feat(hive-import): add resumeFrom to start from the post-processing or the metrics

resumeFrom=PostProcessing skips the import, resumeFrom=graph_metrics skips the import and
the post-processing, so the metrics of a graph already in Hive can be run again or
completed (e.g. graphMetricsGroups=integrity) without importing it again. Same convention
as the other workflows: read with wf:conf, values are node names, unset runs everything.
graphMetricsReuseBaseTables is passed to the metrics workflow as reuseBaseTables.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/hive/oozie_app/workflow.xml
Commit 44d05b558b3a5405c3cbfeed55dba02394392893 by Claudio Atzori
refactor(hive-import): define the nodes in execution order

The start node pointed to the settings decision defined at the bottom of the file. The
decision, its documentation and its kill node now follow the start node. No node changed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-mapper/src/main/resources/eu/dnetlib/dhp/oa/graph/hive/oozie_app/workflow.xml
Commit 4002693056b6bcae99385c1c9cd7cf2f2a13698f by Claudio Atzori
feat(graph-metrics): list every breakdown in the indicators notebook

The latest-change tables of the indicators notebook left out the breakdowns
whose change was below the floor (the larger of min_abs and 0.01% of the metric
total). The indicators have few breakdowns, and the ones left out are signals,
not noise, so the group is now listed in full: every breakdown, the total first,
then by breakdown shape and size of the change, with no floor and no row cap.

The switch is FULL_GROUPS in gen_notebooks.py; the other groups are unchanged.
19_indicators.json is regenerated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/gen_notebooks.py
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/19_indicators.json
Commit 53985827f95ebcd00394dd4cbed12e2645945334 by Claudio Atzori
feat(graph-metrics): add Stats DB checks to the indicators notebook, green OA on publications only

19_indicators now ends with checks on two Stats DBs (note forms old_stats.db, new_stats.db and the
two Observatory DBs): the monitored funders, research initiatives and institutions, the gold, hybrid
and bronze OA counts, and the indicators graph_metrics does not cover (usage downloads, Observatory
per country and type, interdisciplinarity).

The green OA trend and latest-change paragraphs show only the result_type=publication series, as
green OA has no meaning for research data, software and other products.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/zeppelin/19_indicators.json
The file was modifieddhp-workflows/dhp-graph-metrics/README.md
The file was modifieddhp-workflows/dhp-graph-metrics/notebooks/gen_notebooks.py
Commit 9fa3569a1f437bf1ac52052d6015b08de7b6a817 by Giambattista Bloisi
Map the PubMed articles whose publication types the vocabulary does not know

An article without "Journal Article" took its first publication type as its instance type even when
dnet:publication_resource did not know it: getVocabularyTerm returns the raw value for an unknown term.
createResult then found no result type and the article was dropped without a trace. News, Comment and
Case Reports are such types, so every article typed only with them was lost, as were "Case Reports;
Letter" and "Comment; Editorial" articles, whose second type is known.

The instance type is now the first publication type the vocabulary knows, "Journal Article" first,
and Other literature type (0038) when it knows none, the PubMed type kept as the original type.
SparkCreatePubmedDump counts and logs the articles still not mapped.

PMParser and PMParser2.parse2 are deprecated: they match scala.xml.pull events against a
javax.xml.stream reader and so never parse an article. The dump uses PMParser2.parse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file was modifieddhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PMParser2.scala
The file was modifieddhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PubMedToOaf.scala
The file was modifieddhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/ebi/SparkCreatePubmedDump.scala
The file was modifieddhp-workflows/dhp-aggregation/src/main/scala/eu/dnetlib/dhp/sx/bio/pubmed/PMParser.scala
The file was modifieddhp-workflows/dhp-aggregation/src/test/scala/eu/dnetlib/dhp/sx/bio/BioScholixTest.scala