wip: phase_z2 evidence 파이프라인 + matching 실험(phase2~26) + 프론트 trace 패널 진행분 스냅샷
- src: phase_z2 composition/mapper/pipeline/placement_planner/retry, ai_fallback(prompts/schema/validate), mdx_text_atoms 신규 - Front: PipelineTracePanel 신규, FramePanel/SlideCanvas/Home/designAgentApi 등 갱신 + 테스트 4종 추가 - templates/phase_z2: catalog(component_expansion_registry, node_slot_mapping 신규), frames, families, slide_base 갱신 - tests/matching: phase2~26 매칭 실험 스크립트·리포트·온톨로지 전체 (미커밋 진행분) - tests: b4_v4 evidence, task5~28.5 시리즈, regression(imp95 baseline) 등 신규 테스트 대량 추가 - docs/reference: MDX 구조 인벤토리, MDX→Frame 구조 계약 문서 - scripts: mdx 계약/parity/coverage/viewport 체크, gitea comment, run sync 유틸 - .gitignore: tmp*.json, chromedriver, .orchestrator, *.pkl, Front_test* 등 임시/스냅샷 제외 미완성 작업의 보존용 스냅샷 커밋 (2026-07-02) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
FAMILIES = ROOT / "templates" / "phase_z2" / "families"
|
||||
|
||||
|
||||
def test_task11b_three_parallel_uses_dynamic_repeat_grid():
|
||||
html = (FAMILIES / "three_parallel_requirements.html").read_text(encoding="utf-8")
|
||||
assert "{% for pillar in slot_payload.pillars %}" in html
|
||||
assert "grid-template-columns: 1fr 1fr 1fr" in html
|
||||
assert "font-size: var(--font-sub-title)" in html
|
||||
|
||||
|
||||
def test_task11b_three_persona_uses_dynamic_repeat_grid():
|
||||
html = (FAMILIES / "three_persona_benefits.html").read_text(encoding="utf-8")
|
||||
assert "{% for persona in slot_payload.personas %}" in html
|
||||
assert "repeat(auto-fit, minmax(180px, 1fr))" in html
|
||||
assert "grid-auto-rows: minmax(0, 1fr)" in html
|
||||
|
||||
|
||||
def test_task11b_existing_dynamic_partials_remain_loop_based():
|
||||
pre = (FAMILIES / "pre_construction_model_info_stacked.html").read_text(encoding="utf-8")
|
||||
table = (FAMILIES / "bim_dx_comparison_table.html").read_text(encoding="utf-8")
|
||||
|
||||
assert "{% for n in range(1, slot_count + 1) %}" in pre
|
||||
assert "{% for row in slot_payload.rows %}" in table
|
||||
|
||||
|
||||
def test_task11d_three_parallel_has_compact_autofit_text_policy():
|
||||
html = (FAMILIES / "three_parallel_requirements.html").read_text(encoding="utf-8")
|
||||
|
||||
assert "font-size: clamp(7px" not in html
|
||||
assert "font-size: var(--font-body)" in html or ".text-line" in html
|
||||
assert "line-height: clamp(1.2em" in html
|
||||
Reference in New Issue
Block a user