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 degreeDiscrepancyScoringStrategy #224

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

Create degreeDiscrepancyScoringStrategy #224

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

Comments

@paulalbert1
Copy link
Contributor

paulalbert1 commented Jun 30, 2018

  1. Create following properties in application.properties.
discrepancyDegreeYear-BachelorThreshold: -1
discrepancyDegreeYear-BachelorScore: -8
discrepancyDegreeYear-YearWhichPhDStudentsStartedToAuthorMorePapers: 1998
discrepancyDegreeYear-DoctoralThreshold1: -6
discrepancyDegreeYear-DoctoralThreshold2: -13
discrepancyDegreeYear-DoctoralScore: -8

Note: we're going to use DoctoralThreshold1 as the discrepancy prior to 1998, and DoctoralThreshold2 as the discrepancy post 1998. (We need this, because starting in around 1998, PhD students started to publish earlier relative to the year of their degree.)

  1. Get year of publication from article from article.year.

  2. Get identity.degreeyear.bacheloryear and identity.degreeyear.doctoralyear.

  3. If identity.degreeyear.bacheloryear is not null, is article.year < discrepancyDegreeYear-BachelorThreshold + identity.degreeyear.bacheloryear?

  • If yes, output article.year - identity.degreeYear.bachelorYear, and score, which is stored in application.properties. (Unit test PMID: 132454 for ccole)
discrepancyDegreeYear-Bachelor: -10 /* example */
discrepancyDegreeYear-BachelorScore: -8
  • If no, output article.year - identity.degreeYear.bachelorYear, and a default score of 0.
discrepancyDegreeYear-Bachelor: 22  /* example */
discrepancyDegreeYear-BachelorScore: 0
  1. If identity.degreeyear.doctoralyear is not null, which year is identity.degreeyear.doctoralyear?
  • If doctoralYear < discrepancyDegreeYear-YearWhichPhDStudentsStartedToAuthorMorePapers, go to 5.
  • Else, go to 6
  1. Is article.year < identity.degreeyear.doctoralyear + discrepancyDegreeYear-DoctoralThreshold1?
  • If yes, output article.year - identity.degreeYear.doctoralYear, and score, which is stored in application.properties. (Unit test PMID: 6075961 for ccole)
discrepancyDegreeYear-Doctoral: -26  /* example */
discrepancyDegreeYear-DoctoralScore: -8
  • If no, output article.year - identity.degreeyear.doctoralyear, and default score of 0.
discrepancyDegreeYear-Doctoral: 22  /* example */
discrepancyDegreeYear-DoctoralScore: 0
  1. Is article.year < identity.degreeyear.doctoralyear + discrepancyDegreeYear-DoctoralThreshold2?
  • If yes, output article.year - identity.degreeYear.doctoralYear, and score, which is stored in application.properties. (Unit test PMID: lud2005 for 13476020)
discrepancyDegreeYear-Doctoral: -49  /* example */
discrepancyDegreeYear-DoctoralScore: -8
  • If no, output article.year - identity.degreeyear.doctoralYear, and default score of 0.
discrepancyDegreeYear-Doctoral: 22  /* example */
discrepancyDegreeYear-DoctoralScore: 0
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