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 personTypeScoringStrategy #227

Closed
paulalbert1 opened this issue Jun 30, 2018 · 1 comment
Closed

Create personTypeScoringStrategy #227

paulalbert1 opened this issue Jun 30, 2018 · 1 comment
Assignees

Comments

@paulalbert1
Copy link
Contributor

paulalbert1 commented Jun 30, 2018

Users with some person types (e.g., full-time faculty) are more likely to author a paper; users with other person types (e.g. MD students) are less likely. This scoring strategy provides a flexible method to upweight or downweight certain person types.

Add the following to application.properties. Right now this only two person types are explicitly defined, but it can be expanded:

personTypeScore-academic-faculty-weillfulltime: 2
personTypeScore-student-md-new-york: -2
  1. Get person types from identity.personTypes.

  2. If person type is listed in application.properties, output any matching scores like so:

personTypeScore-academic-faculty-weillfulltime: 2

Revised
Score should look like this....

academic-faculty-weillfulltime|2.1,student-md-new-york|-1.002
@sarbajitdutta sarbajitdutta self-assigned this Jul 10, 2018
@paulalbert1 paulalbert1 reopened this Sep 16, 2019
@paulalbert1
Copy link
Contributor Author

Not essential. We can reopen if need be.

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