chore: 이전 세션이 남긴 변경을 커밋한다
이번 파이프라인 작업과 무관하게 작업 트리에 남아 있던 것을 그대로 올린다. 사용자가 「전부 커밋」으로 정했고, 이번 작업과 섞이지 않게 커밋만 나눴다. 대부분은 clean-architecture-backend-template 의 그림 정본 재배치다 — final/assets/diagrams/<이름>/ 에 있던 것이 CLAUDE.md 가 적은 배치인 final/assets/<이름>/ 로 옮겨졌고 .techviz/<이름>/ 이 함께 들어왔다. 삽입 줄의 대부분(3.15M)이 그 .techviz context.json 이다. 그 밖에 ca-tmpl·document-haness 의 정리, .claude/agents/ 열한 개, writing-practitioner-guides 스킬, .playwright-mcp 세션 산출물, scripts/check-ssot-facts.py 와 그 시험이 들어 있다. 이 커밋의 내용은 내가 만든 것이 아니라 이전 세션이 남긴 것이고 검증하지 않았다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
2109f726fe
commit
ab59130196
@@ -89,3 +89,34 @@ class Project(unittest.TestCase):
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
||||
|
||||
class UnseenIsNotClean(unittest.TestCase):
|
||||
"""「안 겹친다」와 「못 봤다」는 다른 출력이다.
|
||||
|
||||
이 검사기는 techviz 렌더러가 붙인 `class` 로만 상자를 알아본다. 손으로 그린 SVG 에는
|
||||
그 class 가 없어 `boxes()` 가 비고, 겹칠 짝이 없으니 겹침 0 이 나온다. 고치기 전에는
|
||||
그것을 `그림 182 · 겹친 그림 0` 으로 찍었는데 **실제로 본 것은 18장**이었다.
|
||||
나머지 164장은 안 겹친 것이 아니라 볼 수 없었던 것이다.
|
||||
"""
|
||||
|
||||
HAND_DRAWN = ('<svg xmlns="http://www.w3.org/2000/svg">'
|
||||
'<rect x="0" y="0" width="400" height="300" fill="#fff"/>'
|
||||
'<rect x="10" y="10" width="100" height="40"/>'
|
||||
'<rect x="20" y="20" width="100" height="40"/>'
|
||||
'<text x="30" y="30">겹친 상자 둘</text></svg>')
|
||||
|
||||
def test_a_hand_drawn_svg_is_counted_as_unseen(self):
|
||||
_, out = run(self.HAND_DRAWN)
|
||||
self.assertIn("못 본 그림 1", out, out)
|
||||
self.assertIn("본 그림 0", out, out)
|
||||
|
||||
def test_a_hand_drawn_svg_does_not_read_as_checked(self):
|
||||
"""상자가 실제로 겹쳐 있는데도 이 검사기는 답하지 못한다. 그 사실이 보여야 한다."""
|
||||
_, out = run(self.HAND_DRAWN)
|
||||
self.assertIn("답하지 못한다", out, out)
|
||||
|
||||
def test_a_techviz_svg_is_counted_as_seen(self):
|
||||
_, out = run(svg(rect("node-shape", 10, 10, 100, 40)))
|
||||
self.assertIn("본 그림 1", out, out)
|
||||
self.assertNotIn("못 본 그림", out, out)
|
||||
|
||||
Reference in New Issue
Block a user