0508 요청사항 수정
This commit is contained in:
16
.vscode/launch.json
vendored
Normal file
16
.vscode/launch.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
// IntelliSense를 사용하여 가능한 특성에 대해 알아보세요.
|
||||||
|
// 기존 특성에 대한 설명을 보려면 가리킵니다.
|
||||||
|
// 자세한 내용을 보려면 https://go.microsoft.com/fwlink/?linkid=830387을(를) 방문하세요.
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Python 디버거: 현재 파일",
|
||||||
|
"type": "debugpy",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${file}",
|
||||||
|
"console": "integratedTerminal"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
250508_DIW_2504회_C형_TEST.xlsx
Normal file
BIN
250508_DIW_2504회_C형_TEST.xlsx
Normal file
Binary file not shown.
@@ -800,7 +800,7 @@
|
|||||||
"path": "//c:catAx//a:defRPr/@i",
|
"path": "//c:catAx//a:defRPr/@i",
|
||||||
"path2": null,
|
"path2": null,
|
||||||
"searchValue": null,
|
"searchValue": null,
|
||||||
"value": 1,
|
"value": "1",
|
||||||
"points": 1,
|
"points": 1,
|
||||||
"category": "chart_xml",
|
"category": "chart_xml",
|
||||||
"item": "X축/③ 기울임"
|
"item": "X축/③ 기울임"
|
||||||
@@ -827,7 +827,7 @@
|
|||||||
"path": "//c:valAx//a:defRPr/@i",
|
"path": "//c:valAx//a:defRPr/@i",
|
||||||
"path2": null,
|
"path2": null,
|
||||||
"searchValue": null,
|
"searchValue": null,
|
||||||
"value": 1,
|
"value": "1",
|
||||||
"points": 1,
|
"points": 1,
|
||||||
"category": "chart_xml",
|
"category": "chart_xml",
|
||||||
"item": "Y축/③ 기울임"
|
"item": "Y축/③ 기울임"
|
||||||
@@ -854,7 +854,7 @@
|
|||||||
"path": "//c:legend//a:defRPr/@i",
|
"path": "//c:legend//a:defRPr/@i",
|
||||||
"path2": null,
|
"path2": null,
|
||||||
"searchValue": null,
|
"searchValue": null,
|
||||||
"value": 1,
|
"value": "1",
|
||||||
"points": 1,
|
"points": 1,
|
||||||
"category": "chart_xml",
|
"category": "chart_xml",
|
||||||
"item": "범례/③ 기울임"
|
"item": "범례/③ 기울임"
|
||||||
|
|||||||
@@ -800,7 +800,7 @@
|
|||||||
"path": "//c:catAx//a:defRPr/@i",
|
"path": "//c:catAx//a:defRPr/@i",
|
||||||
"path2": null,
|
"path2": null,
|
||||||
"searchValue": null,
|
"searchValue": null,
|
||||||
"value": 1,
|
"value": "1",
|
||||||
"points": 1,
|
"points": 1,
|
||||||
"category": "chart_xml",
|
"category": "chart_xml",
|
||||||
"item": "X축/③ 기울임"
|
"item": "X축/③ 기울임"
|
||||||
@@ -827,7 +827,7 @@
|
|||||||
"path": "//c:valAx//a:defRPr/@i",
|
"path": "//c:valAx//a:defRPr/@i",
|
||||||
"path2": null,
|
"path2": null,
|
||||||
"searchValue": null,
|
"searchValue": null,
|
||||||
"value": 1,
|
"value": "1",
|
||||||
"points": 1,
|
"points": 1,
|
||||||
"category": "chart_xml",
|
"category": "chart_xml",
|
||||||
"item": "Y축/③ 기울임"
|
"item": "Y축/③ 기울임"
|
||||||
@@ -854,7 +854,7 @@
|
|||||||
"path": "//c:legend//a:defRPr/@i",
|
"path": "//c:legend//a:defRPr/@i",
|
||||||
"path2": null,
|
"path2": null,
|
||||||
"searchValue": null,
|
"searchValue": null,
|
||||||
"value": 1,
|
"value": "1",
|
||||||
"points": 1,
|
"points": 1,
|
||||||
"category": "chart_xml",
|
"category": "chart_xml",
|
||||||
"item": "범례/③ 기울임"
|
"item": "범례/③ 기울임"
|
||||||
|
|||||||
@@ -800,7 +800,7 @@
|
|||||||
"path": "//c:catAx//a:defRPr/@i",
|
"path": "//c:catAx//a:defRPr/@i",
|
||||||
"path2": null,
|
"path2": null,
|
||||||
"searchValue": null,
|
"searchValue": null,
|
||||||
"value": 1,
|
"value": "1",
|
||||||
"points": 1,
|
"points": 1,
|
||||||
"category": "chart_xml",
|
"category": "chart_xml",
|
||||||
"item": "X축/③ 기울임"
|
"item": "X축/③ 기울임"
|
||||||
@@ -827,7 +827,7 @@
|
|||||||
"path": "//c:valAx//a:defRPr/@i",
|
"path": "//c:valAx//a:defRPr/@i",
|
||||||
"path2": null,
|
"path2": null,
|
||||||
"searchValue": null,
|
"searchValue": null,
|
||||||
"value": 1,
|
"value": "1",
|
||||||
"points": 1,
|
"points": 1,
|
||||||
"category": "chart_xml",
|
"category": "chart_xml",
|
||||||
"item": "Y축/③ 기울임"
|
"item": "Y축/③ 기울임"
|
||||||
@@ -854,7 +854,7 @@
|
|||||||
"path": "//c:legend//a:defRPr/@i",
|
"path": "//c:legend//a:defRPr/@i",
|
||||||
"path2": null,
|
"path2": null,
|
||||||
"searchValue": null,
|
"searchValue": null,
|
||||||
"value": 1,
|
"value": "1",
|
||||||
"points": 1,
|
"points": 1,
|
||||||
"category": "chart_xml",
|
"category": "chart_xml",
|
||||||
"item": "범례/③ 기울임"
|
"item": "범례/③ 기울임"
|
||||||
|
|||||||
@@ -96,8 +96,8 @@ class XMLScorer:
|
|||||||
if type(result) is list and len(result) == 0:
|
if type(result) is list and len(result) == 0:
|
||||||
return None
|
return None
|
||||||
elif result < points:
|
elif result < points:
|
||||||
result = root.xpath(second_xpath)
|
result2 = root.xpath(second_xpath)
|
||||||
return result
|
return max(result, result2)
|
||||||
else:
|
else:
|
||||||
return result
|
return result
|
||||||
|
|
||||||
@@ -614,12 +614,12 @@ def main():
|
|||||||
|
|
||||||
# 250429기준 없는 시험 형식(A,B,C..)은 주석처리 하지 않으면 오류 발생
|
# 250429기준 없는 시험 형식(A,B,C..)은 주석처리 하지 않으면 오류 발생
|
||||||
exam_types = [
|
exam_types = [
|
||||||
'A',
|
# 'A',
|
||||||
'B',
|
# 'B',
|
||||||
'C',
|
'C',
|
||||||
]
|
]
|
||||||
test_mode = False
|
# test_mode = False
|
||||||
# test_mode = True
|
test_mode = True
|
||||||
|
|
||||||
output_excel_paths = []
|
output_excel_paths = []
|
||||||
for exam_type in exam_types:
|
for exam_type in exam_types:
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
[{"kind":2,"language":"xpath","value":"//RECTANGLE//CHAR[text()='출판 산업 트렌드']/ancestor::RECTANGLE/descendant::WINDOWBRUSH/@FaceColor"},{"kind":2,"language":"xpath","value":"//CHARSHAPE[@Id=//CHAR[contains(text()[1],'{searchValue}')]/parent::TEXT/@CharShape][BOLD]"}]
|
[{"kind":2,"language":"xpath","value":"//c:catAx//a:defRPr/@i"},{"kind":2,"language":"xpath","value":"count(//CHAR[contains(text(),'◆')]) + count(//CHAR[contains(text(),'※')])"},{"kind":2,"language":"xpath","value":"string-length(//CHAR[contains(text(),'◆')]) - string-length(translate(//CHAR[contains(text(),'◆')], '◆', '')) + string-length(//CHAR[contains(text(),'※')]) - string-length(translate(//CHAR[contains(text(),'※')], '※', ''))"}]
|
||||||
Binary file not shown.
63
회차별채점자료/2504/요청사항/0508.txt
Normal file
63
회차별채점자료/2504/요청사항/0508.txt
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
광일 김, [May 8, 2025 at 13:44:23]:
|
||||||
|
<DIW-C>
|
||||||
|
001912 문성빈
|
||||||
|
문구 (서울국제도서박람회) - 견고딕, 25pt, 가운데정렬 맞는데 오답처리
|
||||||
|
- 문서 내에 "서울국제도서박람회" 찾는 문자열이 여러개일 경우 최초 검색된 항목에 대해서 속성비교
|
||||||
|
- 수정중
|
||||||
|
|
||||||
|
000076 박다은
|
||||||
|
특수문자 ① ◆, ② ◆, ③ ※ - ◆ 행사안내 ◆ 인데 1점
|
||||||
|
- 수정완
|
||||||
|
|
||||||
|
001419 김사랑
|
||||||
|
차트 X,Y,범례 기울임 없느데 정답처리됨
|
||||||
|
- 수정완
|
||||||
|
|
||||||
|
글맵시 있는데 오답처리
|
||||||
|
000076 박다은 - 정상채점
|
||||||
|
000285 문예슬 - 글맵시 텍스트에 개행이 들어가 있음 "서울국제도서박람회␍␊"
|
||||||
|
001345 조수빈 - 서울국제도시박람회
|
||||||
|
000203 이지운 - 서울국제도섭가람회
|
||||||
|
|
||||||
|
- 유사도 검색으로 더 일치하는 텍스트가 1페이지 최하단에 있어서 "서울국제도서박람회" 글맵시 부분을 찾지 못함
|
||||||
|
|
||||||
|
001473 노이솜
|
||||||
|
문구 (◆ 행사안내 ◆) - 궁서/가운데정렬 맞는데 오답처리(띄어쓰기 때문인듯)
|
||||||
|
|
||||||
|
- "◆ 행사안내 ◆" 기준으로 검색할 때는 "◆ 행사_안내 ◆" (공백 하나)는 유사도가 높아 찾을 수 있지만
|
||||||
|
- 특수문자를 제외하고 "행사안내" 로만 검색 할 때는 "행사_안내"는 유사도가 낮아 해당 구문을 찾을 수 없음
|
||||||
|
|
||||||
|
001473 노이솜
|
||||||
|
문제1 줄간격 180% 맞는데 오답처리(마지막 엔터값 때문인듯)
|
||||||
|
|
||||||
|
- 1페이지의 문단 속성들의 줄간격이 180% 가 아닌 문단이 있으면 오답으로 처리중
|
||||||
|
- 마지막 엔터값 줄간격 160%를 예외 처리할 기준이 애매모호함
|
||||||
|
|
||||||
|
|
||||||
|
<DIC-B형-곰믹스>
|
||||||
|
002016-조승연
|
||||||
|
001464-이주아
|
||||||
|
000047-전지인
|
||||||
|
.gmep가 아니라 .gmdp라서 0점
|
||||||
|
|
||||||
|
- 수정완
|
||||||
|
|
||||||
|
001662-노연우
|
||||||
|
"화단의 꽃들" 자막 텍스트 맞는데 오답처리
|
||||||
|
"아름다운 꽃 축제(Happy Flower Festival)" 자막 텍스트 맞는데 오답처리
|
||||||
|
|
||||||
|
|
||||||
|
<DPI곰픽>
|
||||||
|
1-10문제 배점이 6점인데 5점으로 잘못기재한거죠?
|
||||||
|
|
||||||
|
001682-노연우
|
||||||
|
"화단의 꽃들" 자막 텍스트 맞는데 오답처리
|
||||||
|
|
||||||
|
000400-서보길
|
||||||
|
"흰 꽃 사이 노란 꽃 " <- 마지막에 띄어쓰기때문에 오답처리 됨/trim한 텍스트로 비교할 수 있을까요?
|
||||||
|
|
||||||
|
|
||||||
|
다 수정 채점 해뒀습니다!
|
||||||
|
|
||||||
|
|
||||||
|
DIC-A형만 확인하면 이번회차도 끝날것같습니다!
|
||||||
Reference in New Issue
Block a user