DPI 1-4문항 레이어명 불일치시 "확인필요"로 처리

This commit is contained in:
2026-02-19 16:35:49 +09:00
parent a03dabcdf6
commit aadc68d2a7
32 changed files with 71 additions and 14 deletions

View File

@@ -172,7 +172,7 @@ function getGpdpScore(gpdpData, scoringJson, index) {
* > 멀티라인 텍스트 유사도 판별하기 어려움
*/
if (search !== undefined) {
let result = findSimilarString(gpdpXmlDoc, search, 0.8);
let result = findSimilarString(gpdpXmlDoc, search, 0.7);
if (result !== null) {
result = result.replace(/"/g, "'");
search = result;
@@ -202,6 +202,11 @@ function getGpdpScore(gpdpData, scoringJson, index) {
// [1-4] 사진1 > 조정
else if (type === "layer.Effects") {
if (!ele) {
scoringResult[key] = '확인필요';
console.log("❌ 오답: 레이어명 확인 필요");
continue;
}
const effects = ele ? xpath.select(ele, gpdpXmlDoc) : [];
let isMatched = false;