0508 요청사항 수정

This commit is contained in:
2025-05-08 18:08:58 +09:00
parent 2e99590efe
commit aa3a582d5e
9 changed files with 95 additions and 16 deletions

View File

@@ -96,8 +96,8 @@ class XMLScorer:
if type(result) is list and len(result) == 0:
return None
elif result < points:
result = root.xpath(second_xpath)
return result
result2 = root.xpath(second_xpath)
return max(result, result2)
else:
return result
@@ -614,12 +614,12 @@ def main():
# 250429기준 없는 시험 형식(A,B,C..)은 주석처리 하지 않으면 오류 발생
exam_types = [
'A',
'B',
# 'A',
# 'B',
'C',
]
test_mode = False
# test_mode = True
# test_mode = False
test_mode = True
output_excel_paths = []
for exam_type in exam_types: