Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mrj4001 committed Sep 25, 2024
2 parents d1fbc6b + 8e15c00 commit e2d7eca
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ public class Evidence {
private ArticleCountEvidence articleCountEvidence;
private AverageClusteringEvidence averageClusteringEvidence;
private ClusteringEvidence clusteringEvidence;
private FeedbackEvidence feedbackEvidence;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package reciter.engine.analysis.evidence;

import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBDocument;
import com.fasterxml.jackson.annotation.JsonInclude;

import lombok.Data;
import lombok.ToString;

@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@ToString
@DynamoDBDocument
public class FeedbackEvidence {

private Double feedbackScoreCites;
private Double feedbackScoreCoAuthorName;
private Double feedbackScoreEmail;
private Double feedbackScoreInstitution;
private Double feedbackScoreJournal;
private Double feedbackScoreJournalSubField;
private Double feedbackScoreKeyword;
private Double feedbackScoreOrcid;
private Double feedbackScoreOrcidCoAuthor;
private Double feedbackScoreOrganization;
private Double feedbackScoreTargetAuthorName;
private Double feedbackScoreYear;
}
10 changes: 10 additions & 0 deletions src/main/java/reciter/model/article/ReCiterArticle.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import reciter.engine.analysis.evidence.ClusteringEvidence;
import reciter.engine.analysis.evidence.EducationYearEvidence;
import reciter.engine.analysis.evidence.EmailEvidence;
import reciter.engine.analysis.evidence.FeedbackEvidence;
import reciter.engine.analysis.evidence.GenderEvidence;
import reciter.engine.analysis.evidence.Grant;
import reciter.engine.analysis.evidence.GrantEvidence;
Expand Down Expand Up @@ -247,6 +248,7 @@ public void setTotalArticleScoreNonStandardized(double totalArticleScoreNonStand
private PersonTypeEvidence personTypeEvidence;
private AverageClusteringEvidence averageClusteringEvidence;
private GenderEvidence genderEvidence;
private FeedbackEvidence feedbackEvidence;

public AverageClusteringEvidence getAverageClusteringEvidence() {
return averageClusteringEvidence;
Expand Down Expand Up @@ -1257,4 +1259,12 @@ public void addArticleFeedbackScoresMap(Map<String, List<ReCiterArticleFeedbackS
this.articleFeedbackScoresMapList.add(articleFeedbackScoresMapList);

}

public FeedbackEvidence getFeedbackEvidence() {
return feedbackEvidence;
}

public void setFeedbackEvidence(FeedbackEvidence feedbackEvidence) {
this.feedbackEvidence = feedbackEvidence;
}
}

0 comments on commit e2d7eca

Please sign in to comment.