2601회 채점자료 업데이트

This commit is contained in:
2026-01-26 17:54:01 +09:00
parent 7d7916519e
commit bb6f9ca7ae
70 changed files with 548 additions and 8899 deletions

View File

@@ -236,6 +236,7 @@ class XMLScorer:
category = criterion.get('category', None)
item = criterion.get('item', None)
option = criterion.get('option', None)
ignore_word = criterion.get('ignoreWord', None)
similar_text = None
# search_value가 있는 경우
@@ -252,6 +253,9 @@ class XMLScorer:
xpath = xpath.replace('{option}', option) if xpath else ""
xpath2 = xpath2.replace('{option}', option) if xpath2 else ""
chart_xpath = chart_xpath.replace('{option}', option) if chart_xpath else ""
if ignore_word:
xpath = xpath.replace('{ignoreWord}', ignore_word) if xpath else ""
# 문항 별 채점 결과 저장
@@ -1470,7 +1474,7 @@ class XMLScorer:
def main():
# 시험회차 및 유형
exam_round = '2512'
exam_round = '2601_2'
# exam_round = '2522'
# 채점하고자 하는 유형은 주석 해제
@@ -1481,8 +1485,8 @@ def main():
# 'D',
]
test_mode = False
# test_mode = True #/TEST 폴더 채점시
# test_mode = False
test_mode = True #/TEST 폴더 채점시
output_excel_paths = []
for exam_type in exam_types: