2522회 채점
This commit is contained in:
@@ -1313,19 +1313,19 @@ class XMLScorer:
|
||||
def main():
|
||||
|
||||
# 시험회차 및 유형
|
||||
# exam_round = '2507'
|
||||
exam_round = '2508'
|
||||
# exam_round = '2508'
|
||||
exam_round = '2522'
|
||||
|
||||
# 채점하고자 하는 유형은 주석 해제
|
||||
exam_types = [
|
||||
# 'A',
|
||||
# 'B',
|
||||
'A',
|
||||
'B',
|
||||
'C',
|
||||
# 'D',
|
||||
]
|
||||
|
||||
# test_mode = False
|
||||
test_mode = True #/TEST 폴더 채점시
|
||||
test_mode = False
|
||||
# test_mode = True #/TEST 폴더 채점시
|
||||
|
||||
output_excel_paths = []
|
||||
for exam_type in exam_types:
|
||||
@@ -1336,7 +1336,7 @@ def main():
|
||||
xml_directory = f'./output/{exam_round}/{exam_type}/{"TEST" if test_mode else "DIW"}'
|
||||
# 오탈자 체크를 위한 정답 파일 경로 (예시:./output/A/DIW/DIW_2503A.hml)
|
||||
# correct_answer_file = f'./output/{exam_type}/DIW/DIW_{exam_round}{exam_type}.hml'
|
||||
correct_answer_file = f'./output/{exam_round}/{exam_type}/DIW/DIW_{exam_round}{exam_type}.hml'
|
||||
correct_answer_file = f'./output/{exam_round}/{exam_type}/{"TEST" if test_mode else "DIW"}/DIW_{exam_round}{exam_type}.hml'
|
||||
|
||||
# 엑셀 파일명 (비어있으면 자동생성) (예시:241001_DIW_2503A_채점결과.xlsx)
|
||||
timestamp = datetime.now().strftime("%y%m%d")
|
||||
|
||||
Reference in New Issue
Block a user