-
Notifications
You must be signed in to change notification settings - Fork 26
Description
Prerequisite: #218. This populates mentor/mentee data in the identity table. Right now, we can't do this on a broad scale until we integrate with the WCM-blessed instance of AWS because of HIPAA, but it would be okay to do this for the test case provided below.
-
Get all authors and their respective ranks from article where targetAuthor=FALSE.
-
Get all instances of identity.knownRelationships.
3a. In cases where identity.knownRelationships.firstInitial = article.author.firstInitial, and identity.knownRelationships.lastName = article.author.lastName, output the following:
relationshipName: Carl Nathan
relationshipType: co-investigator, HR
relationshipMatchingScore: 2
Unit test: jobuck, 16043520. Note that a given person might have multiple known relationships.
3b. For each case above, does identity.knownRelationships.firstName = article.author.firstName?
- If yes, output the following:
relationshipMatchType: verbose
relationshipVerboseMatchModifier: 0.2
- If no, output the following:
relationshipMatchType: initial
- For each case above, does relationshipType=mentor?
- If yes, output the following:
relationshipMatchModifier-Mentor: 3
- If no, stop.
Unit test PMID: jhzippin (mentee - currently a faculty) jobuck (mentor - also currently a faculty) 14769862
- For each case above, is the matching author the highest ranked (senior) author?
- If yes, output the following:
relationshipMatchModifier-Mentor-SeniorAuthor: 3
- If no, stop.
Unit test: chk2019 (mentee) scb2005 (mentor) PMID = 29503865