2622 채점자료 업데이트

This commit is contained in:
2026-02-12 16:26:20 +09:00
parent 808035e514
commit a03dabcdf6
77 changed files with 21968 additions and 105 deletions

View File

@@ -11,7 +11,7 @@ const getGpdpScore = require('./gpdpScoring.js');
const getToday = require('./getToday.js');
const todayDate = getToday();
const examRound = '2601';
const examRound = '2622';
const codeTypes = [
'DIC',
@@ -32,11 +32,11 @@ const testMode = false;
const outputExcelFiles = [];
codeTypes.forEach(codeType => {
examTypes.forEach(type => {
const jsonPath = `./${codeType}_${examRound}${type}.json`
const jsonPath = `./JSON/${examRound}/${codeType}_${examRound}${type}.json`
if (!fs.existsSync(jsonPath)) return
const scoringJson = require(jsonPath);
const answerFilesDir = `./output/${examRound}/${type}/${testMode ? 'TEST' : codeType}`;
let outputExcelFile = `./${todayDate}_${codeType}_${examRound}${type}_채점결과.xlsx`;
let outputExcelFile = `./score_result/${todayDate}_${codeType}_${examRound}${type}_채점결과.xlsx`;
if (testMode) {
outputExcelFile = `./00_${codeType}_${examRound}${type}_TEST.xlsx`;
}