2504회 수시 채점기준표/추가자료 업데이트

This commit is contained in:
2025-04-24 16:57:27 +09:00
parent 102817eb34
commit 82fe47a2ff
10 changed files with 1357 additions and 893 deletions

View File

@@ -560,27 +560,28 @@ class XMLScorer:
def main():
# 시험회차 및 유형
exam_round = '2503'
exam_round = '2504'
exam_types = [
'A',
# 'B',
# 'C',
]
# test_mode = False
test_mode = True
test_mode = False
# test_mode = True
output_excel_paths = []
for exam_type in exam_types:
scoring_criteria_path = f'./DIW_{exam_round}{exam_type}.json'
# xml(hml)파일 디렉토리 경로
# JSON 채점기준표 파일 (예시:DIW_2503A.json)
scoring_criteria_path = f'./DIW_{exam_round}{exam_type}.json'
# xml(hml)파일 디렉토리 경로 (예시:./output/A/DIW)
xml_directory = f'./output/{exam_type}/{"TEST" if test_mode else "DIW"}'
# 오탈자 체크를 위한 정답 파일 경로 (형식:DIW_2503A.hml)
# 오탈자 체크를 위한 정답 파일 경로 (예시:./output/A/DIW/DIW_2503A.hml)
correct_answer_file = f'./output/{exam_type}/DIW/DIW_{exam_round}{exam_type}.hml'
# 엑셀 파일명 (비어있으면 자동생성)
# 엑셀 파일명 (비어있으면 자동생성) (예시:241001_DIW_2503A_채점결과.xlsx)
timestamp = datetime.now().strftime("%y%m%d")
output_path = f'{timestamp}_DIW_{exam_round}{exam_type}_{"TEST" if test_mode else "채점결과"}.xlsx'