Skip to content

fix(timed-scan): a negated 판정 is no verdict; demote hour offsets in table rows (#2863) - #2932

Merged
jinon86 merged 1 commit into
mainfrom
fix/2863-verdict-negation-table-demote
Nov 27, 2026
Merged

jinon86 merged 1 commit into
mainfrom
fix/2863-verdict-negation-table-demote

Conversation

@jinon86

@jinon86 jinon86 commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

요약

#2863의 남은 결정 A·B(오너 승인 「2863 A·B」)를 구현합니다. 스캐너 1파일 + 테스트 + 문서 + changelog 조각입니다.

A. 부정·역할 「판정」은 판정이 아니다 (expired 모드)

  • VERDICT가 단독 「판정」에 걸려, 종료 뒤 「판정 없이 지났습니다」「미판정 상태로 …」 코멘트가 heading 판정으로 읽히고 expired 알림이 꺼졌습니다.
  • #2864가 SETTLED에 넣은 예외를 _GIVEN_VERDICT 한 곳으로 묶어 VERDICT와 SETTLED가 같이 씁니다: 「미판정」, 「판정(이/은/도) 없…」, 「판정 주체/예정/대기」. 「판정 기준」은 예외가 아닙니다(실제 판정 문구 「판정 기준 충족」).
  • 같은 부정을 첫 줄 판정 EARLY_VERDICT에서도 뺍니다. 빼지 않으면 「판정 없이 지났습니다」가 첫 줄에 있을 때 strict 판정이 되어 followup 창과 checkbox-verdict-recorded를 엽니다(테스트 작성 중 확인).

예약 「종료 일시 2026-11-20 09:00 KST · 판정 주체 오너」 + 종료 뒤 코멘트, --mode expired --now 2026-11-27T10:00:

# 종료 뒤 코멘트 main 이 PR
1 없음 high high
2 「종료 시각이 판정 없이 지났습니다」 알림 없음 ❌ high
3 「판정이 없어 새 종료 일시를 정합니다: 2026-11-30 09:00 KST」 알림 없음 알림 없음 (새 예약, 12-01에는 11-30 기준 high)
4 「판정: 합격 — 유지」 알림 없음 알림 없음
5 「미판정 상태로 종료 시각이 지났습니다」 알림 없음 ❌ high

B. 표 행 안의 시간 오프셋 → table-cell-content (relative 모드)

  • 표 행(|로 시작하는 줄)의 「N시간 후/뒤」는 low로 내립니다. 사유 코드는 REL_TABLE_CELL = "table-cell-content"입니다.
  • 같은 행에 판정 단어(JUDGING_WORD: 판정·확인·점검·승격 …)나 「종료」가 있으면 high를 유지합니다. 관측·소크·카나리 같은 관측 단어는 기존 관측 가드(OBSERVATION_WORD)가 먼저 막습니다.
  • 문장 규칙의 맨 마지막에 둬서 기존 사유 라벨은 바뀌지 않습니다.
입력 결과
nclex#1112 | 4 | \RN-BASIC-0039` | basic_care | 가설 우선순위 | 전완 골절 도수정복·석고붕대 6시간 후 사정 |` low / table-cell-content
| 롤백 | 배포 24시간 후 판정 |, | 3 | 배포 | 6시간 후 확인 |, | 소크 | 48시간 뒤 정리 |, | 배포 | 24시간 후 종료 | high
표 밖의 같은 문장, 표 안의 며칠·T+24h high
a2a-nexus#2395 「소크: 실제 T2 태스크 수일분」, family-messenger#404 「- [ ] 관찰 기간: … 며칠 운영」 high (기존 테스트 그대로 통과)

검증

  • python -m pytest -q scripts/timed_test_deadline_scan_test.py: 193 passed, 173 subtests passed (main 183 + 새 10개: VerdictNegation2863Tests 7, TableCellContent2863Tests 3)
  • ruff check . (0.17.6): All checks passed / mypy (2.4.1): no issues in 186 files
  • scripts/changelog_fragments.py check ok, canon-node-name-scan.sh --repo-wide baseline 일치
  • 실데이터 읽기 전용 비교(ccc-node·nclex·iphone-agent-cast·a2a-nexus·family-messenger, main vs 이 브랜치, 3개 모드): expired 5→5(high 2→2), followup 0→0, relative 12→12에서 high 3→2. 달라진 것은 nclex#1112 하나(high → low table-cell-content)뿐입니다.

Refs #2863

🤖 Generated with Claude Code

…able rows (#2863)

A. VERDICT matched a bare "판정", so a comment after the booked end that
says none was given ("종료 시각이 판정 없이 지났습니다", "미판정 상태로
종료 시각이 지났습니다") read as a heading verdict and silenced expired
mode. VERDICT now shares _GIVEN_VERDICT with SETTLED (the #2864
exclusions: 미판정, 판정(이/은/도) 없…, 판정 주체/예정/대기; 판정 기준
still counts). EARLY_VERDICT excludes the same negations, so such a
first line is not a strict verdict either (follow-up window, checkbox
rule). A re-booking ("판정이 없어 새 종료 일시를 정합니다: 2026-11-30
09:00 KST") is judged on its own new end; "판정: 합격 — 유지" still
settles.

B. Relative mode: table-cell-content demotes an "N시간 후/뒤" in a
markdown table row with no judging word or 종료 in the row (nclex#1112
"| … | 석고붕대 6시간 후 사정 |"). The observation guard applies as for
the other wording rules; a2a-nexus#2395 and family-messenger#404 stay
high.

Live read-only rescan (5 repos, expired/relative/followup, main vs this
branch): the only change is nclex#1112 relative high -> low.

Refs #2863

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@seoseo-ai seoseo-ai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved after exact-head validation and fresh operator authorization using the relay-held seoseo-ai credential.

@jinon86
jinon86 added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit e652c0a Nov 27, 2026
17 checks passed
@jinon86
jinon86 deleted the fix/2863-verdict-negation-table-demote branch November 27, 2026 07:11
@jinon86
jinon86 requested a review from seoseo-ai November 27, 2026 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants