|
@@ -69,9 +69,17 @@ public class AiMarkTest {
|
|
|
@Test
|
|
|
public void test() throws Exception {
|
|
|
Long examId = 664876885490008064l;
|
|
|
- Long questionId = 667465212315566080l;
|
|
|
- Long studentId = 665602689425473536l;
|
|
|
- String paperNumber = "27210002-1";
|
|
|
+ // 空白卷有分的考生
|
|
|
+// Long questionId = 667465212315566080l;
|
|
|
+// Long studentId = 665602689425473536l;
|
|
|
+// String paperNumber = "27210002-1";
|
|
|
+// String subjectName = "马克思主义基本原理-北院/藏新";
|
|
|
+
|
|
|
+ // 无法评卷考生
|
|
|
+ Long questionId = Long.parseLong("1934063467957837828");
|
|
|
+ Long studentId = Long.parseLong("665624496190783488");
|
|
|
+ String paperNumber = "27160011";
|
|
|
+ String subjectName = "形势与政策(理论)";
|
|
|
List<MarkOcrStudentQuestion> markOcrStudentQuestions = markOcrStudentQuestionService.listByStudentIdAndQuestionId(studentId, questionId);
|
|
|
if (CollectionUtils.isEmpty(markOcrStudentQuestions)) {
|
|
|
return;
|
|
@@ -84,7 +92,7 @@ public class AiMarkTest {
|
|
|
MarkQuestion markQuestion = markQuestionService.getById(questionId);
|
|
|
|
|
|
AutoScoreRequest request = new AutoScoreRequest();
|
|
|
- request.setSubjectName("马克思主义基本原理-北院/藏新");
|
|
|
+ request.setSubjectName(subjectName);
|
|
|
request.setScoreModel(AutoScoreModel.valueOf(markAiQuestionParam.getMode().name()));
|
|
|
request.setTotalScore(markQuestion.getTotalScore());
|
|
|
request.setIntervalScore(markAiQuestionParam.getMinScore());
|