瀏覽代碼

3.4.6 20250618 test

xiaofei 4 天之前
父節點
當前提交
7a6e017db7
共有 1 個文件被更改,包括 12 次插入4 次删除
  1. 12 4
      distributed-print/src/test/java/com/qmth/distributed/print/AiMarkTest.java

+ 12 - 4
distributed-print/src/test/java/com/qmth/distributed/print/AiMarkTest.java

@@ -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());