2622 채점자료 업데이트
This commit is contained in:
@@ -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`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user