From 1b29c9c08a1b5fd867de1c231e3971622adb75be Mon Sep 17 00:00:00 2001 From: umsangdon Date: Tue, 17 Nov 2026 20:32:04 +0900 Subject: [PATCH] =?UTF-8?q?fix(854-4):=20=EA=B4=80=EB=A0=A8=20=EC=8B=9C?= =?UTF-8?q?=ED=97=98=20=EC=B0=BE=EA=B8=B0=20=E2=80=94=20=EB=A7=88=EC=8A=A4?= =?UTF-8?q?=ED=84=B0=20=EC=9E=90=EB=A3=8C=20json=20=EA=B3=A0=EC=B9=A8?= =?UTF-8?q?=EC=97=90=20=EC=9E=90=EB=A3=8C=20=EC=8B=9C=ED=97=98=20=EB=AA=A9?= =?UTF-8?q?=EB=A1=9D=EB=8F=84=20=EA=B2=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 새 `tools/master_data_tests.txt`(한 줄 = 시험 파일): 791-1 지문 · 713-3 묶음 · 794-2b 개정 · 801-3 묶음 전수 · 855 대조 · 지문 - `related_tests.py` 가 자료 json 고침 때 핵심 넷과 함께 이 목록을 읽음(853-4 기준선에서 자료 고침으로 낡았는데 안 걸린 넷) Co-Authored-By: Claude Opus 5.5 --- tools/master_data_tests.txt | 8 ++++++++ tools/related_tests.py | 12 ++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 tools/master_data_tests.txt diff --git a/tools/master_data_tests.txt b/tools/master_data_tests.txt new file mode 100644 index 000000000..2af201aca --- /dev/null +++ b/tools/master_data_tests.txt @@ -0,0 +1,8 @@ +# 마스터 자료(resources/master_data/**.json)를 고치면 핵심 넷(sync_core_tests.txt)과 함께 도는 시험 — 한 줄 = 시험 파일 +# 자료 json 은 이름이 시험 글에 안 나와 이름 찾기로 안 걸림 · M01 자료를 통째로 읽어 셈 · 지문 · 건수를 보는 시험 +resources/tester/test_791_1_engine_semantics.py +resources/tester/test_713_3_list.py +resources/tester/test_794_2b_edition.py +resources/tester/test_801_3_groups.py +resources/tester/test_855_engine_parity.py +resources/tester/test_855_golden.py diff --git a/tools/related_tests.py b/tools/related_tests.py index eccd9167f..0987c6833 100644 --- a/tools/related_tests.py +++ b/tools/related_tests.py @@ -40,10 +40,14 @@ def related(files: list[str]) -> list[str]: if h.is_file() and any(s in h.read_text(encoding="utf-8", errors="replace") for s in stems): stems.add(h.stem) hit = set(own) - # 마스터 자료(json)는 이름이 시험 글에 안 나옴 → 싱크 관문 핵심 시험으로 - if any(f.replace("\\", "/").startswith("resources/master_data/") and f.endswith(".json") for f in files): - core = (ROOT / "tools" / "sync_core_tests.txt").read_text(encoding="utf-8").split() - hit |= {pathlib.PurePosixPath(c).name for c in core if c.endswith(".py")} + # 마스터 자료(json)는 이름이 시험 글에 안 나옴 → 싱크 관문 핵심 시험 + 자료 시험 목록으로 + if any( + f.replace("\\", "/").startswith("resources/master_data/") and f.endswith(".json") + for f in files + ): + for name in ("sync_core_tests.txt", "master_data_tests.txt"): + listed = (ROOT / "tools" / name).read_text(encoding="utf-8").split() + hit |= {pathlib.PurePosixPath(c).name for c in listed if c.endswith(".py")} for t in sorted(TESTS.glob("test_*.py")): if t.name in hit: continue