Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create knownRelationshipScoringStrategy #226

Closed
paulalbert1 opened this issue Jun 30, 2018 · 0 comments
Closed

Create knownRelationshipScoringStrategy #226

paulalbert1 opened this issue Jun 30, 2018 · 0 comments
Assignees

Comments

@paulalbert1
Copy link
Contributor

paulalbert1 commented Jun 30, 2018

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.

  1. Get all authors and their respective ranks from article where targetAuthor=FALSE.

  2. 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
  1. 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
  1. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants