GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: 영구 가드 anti-pattern 테스트 제거 + 파일명 test_ir_* 패턴 통일 · DanMeon/rhwp-python@f7f70dd

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • ci.yml
  • CHANGELOG.md
  • docs
    • implementation/v0.3.1
      • migration.md
    • traces
      • coverage.md
  • tests
    • test_ir_marker_char_offset.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/ci.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
tests/test_ir_formula.py tests/test_ir_footnote.py \
120120
tests/test_ir_list.py tests/test_ir_caption.py \
121121
tests/test_ir_toc.py tests/test_ir_field.py \
122-
tests/test_v0_3_1_marker_char_offset.py \
122+
tests/test_ir_marker_char_offset.py \
123123
tests/test_view_markdown.py tests/test_view_html.py \
124124
tests/test_view_baseline.py \
125125
tests/test_cli.py \
Collapse file

‎CHANGELOG.md‎

Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
- 본 PR 의 a/b/c 결정 비교 + 14개 결정 historical record 는 [docs/implementation/spec-system-overhaul.md](docs/implementation/spec-system-overhaul.md) (Frozen) 가 보유.
2323
- spec body 구조 SSOT 정착 — `/new-spec` skill 안 `templates/spec.md` + `templates/adr.md` 신설 (skeleton + 섹션별 룰 보유, body 구조 SSOT). `docs/CONVENTIONS.md` 에 § Spec / ADR 본문 구조 (짧은 pointer) + § 섹션 역할 분리 — 정보 배치 룩업 (spec ↔ ADR ↔ CHANGELOG ↔ implementation log 의 cross-cutting 표) 신설. SKILL.md step 2/4/5 가 두 template 파일을 markdown 링크로 자연 참조 (공식 Claude Code skill 패턴 — 명령형). multi-template `templates/` sub-dir 은 Anthropic 공식 docs 의 `examples/` / `scripts/` 카테고리 sub-dir 패턴 + GitHub ISSUE_TEMPLATE 선례 follow.
2424

25+
### Build
26+
27+
- `external/rhwp` submodule pin `0fb3e67` (post-v0.7.8) → `62a458a` (v0.7.10). 상류 v0.7.10 GA 흡수 — 외부 기여자 PR 머지 + AI 파이프라인 / VLM 연동 + CLI 바이너리 릴리즈 파이프라인 + macOS cross-compile fix (Issue #612). 본 binding 관점 변경 0 — 공개 API / IR schema (`"1.1"`) / wheel 의존성 모두 동일, `cargo build --release` 통과로 시그니처 호환 직접 검증.
28+
- 부수 — `test_submodule_pin_matches_changelog_record` 제거 ([tests/test_ir_marker_char_offset.py](tests/test_ir_marker_char_offset.py)). 본래 v0.3.1 의 *deliberate* pin bump (v0.7.7 → 0fb3e67) 가 release-readiness 시점 기재됐는지 가드한 일회성 AC-13 의 일부였으나, GA shipped 후에도 영구 runtime 가드로 잔존해 일상 sync 마다 CHANGELOG 갱신을 강제하는 anti-pattern (1회성 release-gating AC 의 영구 테스트화 + 문서 텍스트 매칭 runtime test) 화. CHANGELOG 갱신은 릴리즈 시점 의무 (`publish.yml::verify-version` 로 version 일치 가드, 사람 review 가 핀 bump 정합성 점검) 로 이양. AC-13 의 historical record 검증은 동 파일 `test_changelog_records_pin_bump` (Frozen v0.3.1 섹션 텍스트 회귀 가드) 가 그대로 유지.
29+
- 부수 — 동 파일 이름 `test_v0_3_1_marker_char_offset.py` → `test_ir_marker_char_offset.py` (`test_ir_*` 패턴 통일, 본 spec lifecycle 은 `pytest.mark.spec("v0.3.1/...")` marker 가 보유).
30+
2531
## [0.4.0] — 2026-05-05
2632

2733
MINOR release. Document IR (`HwpDocument`) → Markdown / HTML view 변환 표면을 추가한다. v0.7.0 MCP server (`to_markdown` / `to_html` 도구) + 후속 RAG 프레임워크 통합 (v0.5 LlamaIndex / v0.6 Haystack) 의 *문자열 출력* 1차 인터페이스로 사용. Pure-stdlib 구현 — 신규 의존성 0, schema (`"1.1"`) / 파싱 경로 / `Document` wrapper / extras 모두 변경 없음 (additive only).
Collapse file

‎docs/implementation/v0.3.1/migration.md‎

Copy file name to clipboardExpand all lines: docs/implementation/v0.3.1/migration.md
+3-3Lines changed: 3 additions & 3 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ PATCH release. 단일 세션 규모로 단일 `migration.md` 채택 (CONVENTIONS
4747

4848
| 파일 | 변경 |
4949
|---|---|
50-
| [tests/test_v0_3_1_marker_char_offset.py](../../../tests/test_v0_3_1_marker_char_offset.py) | 신규. AC-1 ~ AC-14 회귀 가드 (mapper 단위 + real fixture 통합) |
50+
| [tests/test_ir_marker_char_offset.py](../../../tests/test_ir_marker_char_offset.py) | 신규. AC-1 ~ AC-14 회귀 가드 (mapper 단위 + real fixture 통합). 파일명: 본 스펙 GA 시점 `test_v0_3_1_marker_char_offset.py` 로 작성, 후속 v0.5.0 에서 `test_ir_*` 패턴 통일 위해 rename (broken-link 보정, lifecycle 은 `pytest.mark.spec("v0.3.1/...")` marker 가 보유) |
5151
| `tests/test_ir_caption.py` / `test_ir_field.py` / `test_ir_footnote.py` / `test_ir_formula.py` / `test_ir_furniture.py` / `test_ir_mapper.py` / `test_ir_picture.py` / `test_ir_schema_export.py` / `test_ir_toc.py` | 기존 v0.3.0 테스트의 raw struct 생성자에 신규 `char_offset` / `marker_char_offset` 필드 추가 (Pydantic strict — 명시 필요). 일부 파일에 `pytest.mark.spec("v0.3.1/ir-marker-char-offset")` marker 추가 (trace report 매핑) |
5252

5353
### 메타
@@ -56,7 +56,7 @@ PATCH release. 단일 세션 규모로 단일 `migration.md` 채택 (CONVENTIONS
5656
|---|---|
5757
| [Cargo.toml](../../../Cargo.toml) | `version = "0.3.0"` → `"0.3.1"` (Cargo.toml 이 SSOT — `pyproject.toml` 의 `dynamic = ["version"]` 가 여기를 읽음) |
5858
| [CHANGELOG.md](../../../CHANGELOG.md) | `[0.3.1] — 2026-05-02` 섹션 신설 (Fixed / Build / Known limitations) |
59-
| [.github/workflows/ci.yml](../../../.github/workflows/ci.yml) | pyright scope list 에 `tests/test_v0_3_1_marker_char_offset.py` 추가 |
59+
| [.github/workflows/ci.yml](../../../.github/workflows/ci.yml) | pyright scope list 에 `tests/test_ir_marker_char_offset.py` 추가 |
6060
| [docs/traces/coverage.md](../../../docs/traces/coverage.md) | trace report 자동 갱신 — v0.3.1 spec 의 22개 테스트 매핑 (AC-1 ~ AC-14 + 파일 레벨 marker) |
6161

6262
## 2. 호환성
@@ -77,7 +77,7 @@ PATCH release. 단일 세션 규모로 단일 `migration.md` 채택 (CONVENTIONS
7777
|---|---|
7878
| `cargo clippy --all-targets -- -D warnings` | clean |
7979
| `uv run pytest -m "not slow"` (전체) | 246 passed, 2 skipped (`test_ir_footnote.py:345` 의 미주 케이스 + `test_ir_formula.py:310` 의 수식 케이스 — `aift.hwp` 샘플에 해당 컨트롤 부재. 합성 fixture 미도입 결정 = AC-14) |
80-
| `uv run pytest tests/test_v0_3_1_marker_char_offset.py -v` | 22 passed (AC-1 ~ AC-14 회귀 가드 전부 그린) |
80+
| `uv run pytest tests/test_ir_marker_char_offset.py -v` | 22 passed (AC-1 ~ AC-14 회귀 가드 전부 그린) |
8181
| Real fixture e2e (`aift.hwp`) | TableBlock 96 (5 populated, 91 None) / PictureBlock 14 (1 populated, 13 None) / FieldBlock 4 (4 populated, 0 None) / FootnoteBlock 1 (1 populated, char_start=333) — 모든 populated 케이스 `char_start == char_end` invariant 준수 |
8282
| Real fixture e2e (`table-vpos-01.hwpx`) | TableBlock 11 / PictureBlock 4 모두 `None` 폴백 (HWPX 샘플은 char_offsets 빈 paragraph 비율 더 높음). FieldBlock 1 populated. 폴백 경로 회귀 가드로서 의미 큼 |
8383
| Cargo 빌드 | `maturin develop --release` 성공. abi3-py310 wheel 단일 산출물 (Python 3.10–3.13+ 커버) 유지 |
Collapse file

‎docs/traces/coverage.md‎

Copy file name to clipboardExpand all lines: docs/traces/coverage.md
+41-43Lines changed: 41 additions & 43 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -390,50 +390,48 @@ v0.4.0+ 신규 spec 의 인수조건 ↔ 테스트 매핑. 기존 v0.1.0 ~ v0.3.
390390
| v0.3.0/ir-expansion | — | `tests/test_ir_toc.py::test_toc_entry_block_full_fields` |
391391
| v0.3.0/ir-expansion | — | `tests/test_ir_toc.py::test_toc_entry_block_is_not_in_block_union` |
392392
| v0.3.0/ir-expansion | — | `tests/test_ir_toc.py::test_toc_entry_block_minimal_roundtrip` |
393-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_changelog_records_pin_bump` |
394-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_char_offsets_empty_falls_back_to_none` |
395-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_endnote_marker_char_offset_populated_zero_width` |
396-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_field_char_offset_populated_zero_width` |
397-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_footnote_marker_char_offset_populated_zero_width` |
398-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_formula_char_offset_populated_zero_width` |
399-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_no_synthetic_fixture_directory` |
400-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_picture_char_offset_populated_zero_width` |
401-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_field_marker_populates_or_falls_back` |
402-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_footnote_marker_populates_or_falls_back` |
403-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_has_none_fallback_paragraphs` |
404-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_ir_json_roundtrip` |
405-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_picture_marker_populates_or_falls_back` |
406-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_table_marker_populates_or_falls_back` |
407-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_zero_width_invariant` |
408-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_rust_uses_assert_eq_not_debug_assert` |
409-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_schema_provenance_char_start_anyof_integer_or_null` |
410-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_schema_version_remains_1_1` |
411-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_submodule_pin_matches_changelog_record` |
412-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_table_char_offset_populated_zero_width` |
413-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_toc_char_offset_populated_zero_width` |
414-
| v0.3.1/ir-marker-char-offset | — | `tests/test_v0_3_1_marker_char_offset.py::test_zero_width_invariant_holds_across_distinct_offsets` |
415-
| v0.3.1/ir-marker-char-offset | AC-1 | `tests/test_v0_3_1_marker_char_offset.py::test_footnote_marker_char_offset_populated_zero_width` |
416-
| v0.3.1/ir-marker-char-offset | AC-1 | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_footnote_marker_populates_or_falls_back` |
393+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_changelog_records_pin_bump` |
394+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_char_offsets_empty_falls_back_to_none` |
395+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_endnote_marker_char_offset_populated_zero_width` |
396+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_field_char_offset_populated_zero_width` |
397+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_footnote_marker_char_offset_populated_zero_width` |
398+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_formula_char_offset_populated_zero_width` |
399+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_no_synthetic_fixture_directory` |
400+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_picture_char_offset_populated_zero_width` |
401+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_real_sample_field_marker_populates_or_falls_back` |
402+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_real_sample_footnote_marker_populates_or_falls_back` |
403+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_real_sample_has_none_fallback_paragraphs` |
404+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_real_sample_ir_json_roundtrip` |
405+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_real_sample_picture_marker_populates_or_falls_back` |
406+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_real_sample_table_marker_populates_or_falls_back` |
407+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_real_sample_zero_width_invariant` |
408+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_rust_uses_assert_eq_not_debug_assert` |
409+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_schema_provenance_char_start_anyof_integer_or_null` |
410+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_schema_version_remains_1_1` |
411+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_table_char_offset_populated_zero_width` |
412+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_toc_char_offset_populated_zero_width` |
413+
| v0.3.1/ir-marker-char-offset | — | `tests/test_ir_marker_char_offset.py::test_zero_width_invariant_holds_across_distinct_offsets` |
414+
| v0.3.1/ir-marker-char-offset | AC-1 | `tests/test_ir_marker_char_offset.py::test_footnote_marker_char_offset_populated_zero_width` |
415+
| v0.3.1/ir-marker-char-offset | AC-1 | `tests/test_ir_marker_char_offset.py::test_real_sample_footnote_marker_populates_or_falls_back` |
417416
| v0.3.1/ir-marker-char-offset | AC-10 | `tests/test_ir_schema_export.py::test_real_hwp_document_validates_against_schema` |
418-
| v0.3.1/ir-marker-char-offset | AC-11 | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_zero_width_invariant` |
419-
| v0.3.1/ir-marker-char-offset | AC-11 | `tests/test_v0_3_1_marker_char_offset.py::test_zero_width_invariant_holds_across_distinct_offsets` |
420-
| v0.3.1/ir-marker-char-offset | AC-12 | `tests/test_v0_3_1_marker_char_offset.py::test_rust_uses_assert_eq_not_debug_assert` |
421-
| v0.3.1/ir-marker-char-offset | AC-13 | `tests/test_v0_3_1_marker_char_offset.py::test_changelog_records_pin_bump` |
422-
| v0.3.1/ir-marker-char-offset | AC-13 | `tests/test_v0_3_1_marker_char_offset.py::test_submodule_pin_matches_changelog_record` |
423-
| v0.3.1/ir-marker-char-offset | AC-14 | `tests/test_v0_3_1_marker_char_offset.py::test_no_synthetic_fixture_directory` |
424-
| v0.3.1/ir-marker-char-offset | AC-2 | `tests/test_v0_3_1_marker_char_offset.py::test_endnote_marker_char_offset_populated_zero_width` |
425-
| v0.3.1/ir-marker-char-offset | AC-3 | `tests/test_v0_3_1_marker_char_offset.py::test_picture_char_offset_populated_zero_width` |
426-
| v0.3.1/ir-marker-char-offset | AC-3 | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_picture_marker_populates_or_falls_back` |
427-
| v0.3.1/ir-marker-char-offset | AC-4 | `tests/test_v0_3_1_marker_char_offset.py::test_formula_char_offset_populated_zero_width` |
428-
| v0.3.1/ir-marker-char-offset | AC-5 | `tests/test_v0_3_1_marker_char_offset.py::test_field_char_offset_populated_zero_width` |
429-
| v0.3.1/ir-marker-char-offset | AC-5 | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_field_marker_populates_or_falls_back` |
430-
| v0.3.1/ir-marker-char-offset | AC-6 | `tests/test_v0_3_1_marker_char_offset.py::test_toc_char_offset_populated_zero_width` |
431-
| v0.3.1/ir-marker-char-offset | AC-7 | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_table_marker_populates_or_falls_back` |
432-
| v0.3.1/ir-marker-char-offset | AC-7 | `tests/test_v0_3_1_marker_char_offset.py::test_table_char_offset_populated_zero_width` |
433-
| v0.3.1/ir-marker-char-offset | AC-8 | `tests/test_v0_3_1_marker_char_offset.py::test_char_offsets_empty_falls_back_to_none` |
434-
| v0.3.1/ir-marker-char-offset | AC-8 | `tests/test_v0_3_1_marker_char_offset.py::test_real_sample_has_none_fallback_paragraphs` |
435-
| v0.3.1/ir-marker-char-offset | AC-9 | `tests/test_v0_3_1_marker_char_offset.py::test_schema_provenance_char_start_anyof_integer_or_null` |
436-
| v0.3.1/ir-marker-char-offset | AC-9 | `tests/test_v0_3_1_marker_char_offset.py::test_schema_version_remains_1_1` |
417+
| v0.3.1/ir-marker-char-offset | AC-11 | `tests/test_ir_marker_char_offset.py::test_real_sample_zero_width_invariant` |
418+
| v0.3.1/ir-marker-char-offset | AC-11 | `tests/test_ir_marker_char_offset.py::test_zero_width_invariant_holds_across_distinct_offsets` |
419+
| v0.3.1/ir-marker-char-offset | AC-12 | `tests/test_ir_marker_char_offset.py::test_rust_uses_assert_eq_not_debug_assert` |
420+
| v0.3.1/ir-marker-char-offset | AC-13 | `tests/test_ir_marker_char_offset.py::test_changelog_records_pin_bump` |
421+
| v0.3.1/ir-marker-char-offset | AC-14 | `tests/test_ir_marker_char_offset.py::test_no_synthetic_fixture_directory` |
422+
| v0.3.1/ir-marker-char-offset | AC-2 | `tests/test_ir_marker_char_offset.py::test_endnote_marker_char_offset_populated_zero_width` |
423+
| v0.3.1/ir-marker-char-offset | AC-3 | `tests/test_ir_marker_char_offset.py::test_picture_char_offset_populated_zero_width` |
424+
| v0.3.1/ir-marker-char-offset | AC-3 | `tests/test_ir_marker_char_offset.py::test_real_sample_picture_marker_populates_or_falls_back` |
425+
| v0.3.1/ir-marker-char-offset | AC-4 | `tests/test_ir_marker_char_offset.py::test_formula_char_offset_populated_zero_width` |
426+
| v0.3.1/ir-marker-char-offset | AC-5 | `tests/test_ir_marker_char_offset.py::test_field_char_offset_populated_zero_width` |
427+
| v0.3.1/ir-marker-char-offset | AC-5 | `tests/test_ir_marker_char_offset.py::test_real_sample_field_marker_populates_or_falls_back` |
428+
| v0.3.1/ir-marker-char-offset | AC-6 | `tests/test_ir_marker_char_offset.py::test_toc_char_offset_populated_zero_width` |
429+
| v0.3.1/ir-marker-char-offset | AC-7 | `tests/test_ir_marker_char_offset.py::test_real_sample_table_marker_populates_or_falls_back` |
430+
| v0.3.1/ir-marker-char-offset | AC-7 | `tests/test_ir_marker_char_offset.py::test_table_char_offset_populated_zero_width` |
431+
| v0.3.1/ir-marker-char-offset | AC-8 | `tests/test_ir_marker_char_offset.py::test_char_offsets_empty_falls_back_to_none` |
432+
| v0.3.1/ir-marker-char-offset | AC-8 | `tests/test_ir_marker_char_offset.py::test_real_sample_has_none_fallback_paragraphs` |
433+
| v0.3.1/ir-marker-char-offset | AC-9 | `tests/test_ir_marker_char_offset.py::test_schema_provenance_char_start_anyof_integer_or_null` |
434+
| v0.3.1/ir-marker-char-offset | AC-9 | `tests/test_ir_marker_char_offset.py::test_schema_version_remains_1_1` |
437435
| v0.4.0/view-renderer | — | `tests/test_view_baseline.py::test_aift_to_ir_byte_equal_to_v0_3_2_baseline` |
438436
| v0.4.0/view-renderer | — | `tests/test_view_baseline.py::test_table_vpos_to_ir_byte_equal_to_v0_3_2_baseline` |
439437
| v0.4.0/view-renderer | — | `tests/test_view_html.py::test_alternating_list_kind_creates_separate_lists` |
Collapse file

‎tests/test_v0_3_1_marker_char_offset.py‎ ‎tests/test_ir_marker_char_offset.py‎tests/test_v0_3_1_marker_char_offset.py renamed to tests/test_ir_marker_char_offset.py

Copy file name to clipboardExpand all lines: tests/test_ir_marker_char_offset.py
+1-26Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""tests/test_v0_3_1_marker_char_offset.py — v0.3.1 inline 컨트롤 마커 character offset.
1+
"""tests/test_ir_marker_char_offset.py — v0.3.1 inline 컨트롤 마커 character offset.
22
33
[v0.3.1/ir-marker-char-offset](../docs/roadmap/v0.3.1/ir-marker-char-offset.md)
44
의 AC-1 ~ AC-14 검증. 짝 페어 ADR:
@@ -35,7 +35,6 @@
3535
"""
3636

3737
import re
38-
import subprocess
3938
from pathlib import Path
4039

4140
import pytest
@@ -379,30 +378,6 @@ def test_changelog_records_pin_bump():
379378
assert "Task #390" in body or "issues/390" in body, "Task #390 인용 누락"
380379

381380

382-
@pytest.mark.spec("v0.3.1/ir-marker-char-offset#AC-13")
383-
def test_submodule_pin_matches_changelog_record():
384-
"""git ls-tree 로 실제 submodule HEAD 가 CHANGELOG 에 기재된 핀과 일치 — 반쪽 갱신 차단.
385-
386-
git 미설치 / repo 외부에서 실행되는 환경에서는 skip (CI 는 항상 git 보유)."""
387-
try:
388-
result = subprocess.run(
389-
["git", "ls-tree", "HEAD", "external/rhwp"],
390-
cwd=str(REPO_ROOT),
391-
check=True,
392-
capture_output=True,
393-
text=True,
394-
)
395-
except (FileNotFoundError, subprocess.CalledProcessError) as exc:
396-
pytest.skip(f"git ls-tree unavailable: {exc!r}")
397-
# ^ 출력 포맷: "<mode> commit <sha>\texternal/rhwp"
398-
parts = result.stdout.split()
399-
assert len(parts) >= 3 and parts[1] == "commit", f"unexpected ls-tree output: {result.stdout!r}"
400-
pin_sha = parts[2]
401-
assert pin_sha.startswith("0fb3e67"), (
402-
f"submodule HEAD = {pin_sha} 이지만 CHANGELOG / spec 기재는 0fb3e67 — 반쪽 갱신"
403-
)
404-
405-
406381
# * AC-14 — fixture 정책: 기존 sample 만 사용, 합성 fixture 미도입
407382

408383

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.