2601회 채점자료 업데이트
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user