곰픽 JSON 채점기준표, 소스코드 수정

This commit is contained in:
2025-04-15 17:44:45 +09:00
parent 547cd05a8b
commit d03361bebf
7 changed files with 62 additions and 53 deletions

View File

@@ -14,8 +14,8 @@ const todayDate = getToday();
const examRound = '0000';
const examTypes = [
'A',
// 'B',
// 'C',
'B',
'C',
// 'D'
];
@@ -127,7 +127,12 @@ examTypes.forEach(type => {
XLSX.writeFile(workbook, outputExcelFile);
outputExcelFiles.push(outputExcelFile);
});
console.log('채점 결과가 ' + outputExcelFiles + ' 파일에 저장되었습니다.');
console.log('채점 결과');
outputExcelFiles.forEach( (outputFile, index) => {
console.log(`[${index+1}] : ${outputFile}`);
});
// xml 형식의 gmep 파일을 읽어서 점수를 계산
// scoring.json 파일 내에 있는 ele 요소는 xpath 형식으로 접근하여 요소를 탐색하고 나오는 값을 value와 비교하여 점수를 계산